:root {
  --ink: #0e1a2b;
  --ink-soft: #55627a;
  --blue: #1f5c94;
  --blue-deep: #123d68;
  --gold: #f6c453;
  --orange: #f08a3c;
  --peach: #ffe3c7;
  --bg: #ffffff;
  --mist: #f4f5f7;
  --line: #e4e7ec;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px;
  font: 500 15px/1 "Outfit", sans-serif;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, summary:focus-visible, .pill-nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-dark { background: #0b0b0d; color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #17497a; box-shadow: 0 8px 20px rgba(31,92,148,.35); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  background: url("img/logo.png") 49.6% 24.5% / 410% auto no-repeat;
  mix-blend-mode: multiply;
}
.brand-name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--blue-deep); }

.pill-nav {
  display: flex; gap: 4px; padding: 6px;
  background: var(--mist); border-radius: 14px;
}
.pill-nav a {
  padding: 10px 20px; border-radius: 10px;
  font-size: 15px; color: #1d2433;
  transition: background .2s ease;
}
.pill-nav a:hover { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.link-quiet { font-size: 15px; }
.link-quiet:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: clamp(48px, 8vw, 96px) 16px 0; position: relative; }
.hero h1 {
  font-weight: 300; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(40px, 6.4vw, 76px);
  color: #0a0a0c;
}
.hero-sub {
  max-width: 560px; margin: 22px auto 0;
  font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft);
}
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.stage {
  position: relative; max-width: 1000px; margin: clamp(56px, 8vw, 96px) auto 0;
  height: clamp(280px, 48vw, 520px);
}
.layer {
  position: absolute; inset: 0;
  border-radius: 36px 36px 0 0;
  transform-origin: 50% 100%;
}
.layer-gold   { background: var(--gold);   transform: rotate(-3.2deg) translate(-2%, -4%); }
.layer-orange { background: var(--orange); transform: rotate(-1.8deg) translate(-1%, -2%); }
.layer-blue {
  margin: 0; overflow: hidden; background: var(--blue);
  transform: rotate(-.6deg);
  box-shadow: 0 -10px 60px rgba(31,92,148,.25);
}
.layer-blue img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.layer-blue figcaption {
  position: absolute; left: 24px; bottom: 24px; max-width: 340px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(255,255,255,.92); color: var(--blue-deep);
  font-size: 14px; font-weight: 500; text-align: left;
  backdrop-filter: blur(6px);
}
.ring {
  position: absolute; border: 1px solid #c9d3e0; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.ring-a { width: 220px; height: 220px; left: -90px; top: -60px; }
.ring-b { width: 120px; height: 120px; right: -50px; top: 30px; }
.heart {
  position: absolute; z-index: 3; width: clamp(64px, 9vw, 116px);
  right: 6%; top: -9%;
  filter: drop-shadow(0 14px 18px rgba(240,138,60,.35));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px) rotate(4deg); } }

/* ---------- Seções ---------- */
section { padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 48px); }
.hero { padding-bottom: 0; }
.pill-nav a.active { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); font-weight: 500; }

/* Menu para celular */
.tabbar {
  display: none; gap: 4px; padding: 6px; margin: 0 16px;
  background: var(--mist); border-radius: 14px; overflow-x: auto;
}
.tabbar a { flex: 1; text-align: center; white-space: nowrap; padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.tabbar a.active { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.1); font-weight: 500; }

/* Cabeçalho das páginas internas */
.page-hero { text-align: center; padding: clamp(48px, 7vw, 88px) 16px clamp(8px, 2vw, 24px); }
.page-hero h1 {
  font-weight: 300; letter-spacing: -.03em; line-height: 1.1;
  font-size: clamp(36px, 5.4vw, 64px); color: #0a0a0c;
}
.page-hero .hero-sub { margin-top: 18px; }
.intro { padding-top: clamp(64px, 9vw, 112px); }
.about-wrap { padding-top: clamp(32px, 5vw, 56px); }
.about-text .btn { margin-top: 26px; }
.photo-band { padding-top: 0; padding-bottom: 0; }
.photo-band figure {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  border-radius: 32px; overflow: hidden;
}
.photo-band img { width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 40%; }
.photo-band figcaption {
  position: absolute; left: 24px; bottom: 24px; max-width: 340px;
  padding: 12px 16px; border-radius: 12px;
  background: rgba(255,255,255,.92); color: var(--blue-deep);
  font-size: 14px; font-weight: 500;
}
.photo-band + .cta { padding-top: clamp(64px, 9vw, 112px); }
.faq { padding-top: clamp(32px, 5vw, 56px); }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange);
}
h2 {
  font-weight: 400; letter-spacing: -.025em; line-height: 1.12;
  font-size: clamp(30px, 4.4vw, 50px);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head p:last-child { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }

/* Sobre */
.about {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center;
}
.about-logo {
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(14,26,43,.08);
}
.about-logo img { width: 100%; }
.about-text h2 { margin-bottom: 22px; }
.about-text p + p { margin-top: 14px; }
.about-text p { color: var(--ink-soft); font-size: 18px; }
.about-text .eyebrow { color: var(--orange); font-size: 13px; }

/* Cards de ONG */
.ongs { background: var(--mist); border-radius: 40px; margin: clamp(24px, 4vw, 48px) clamp(8px, 2vw, 24px) clamp(8px, 2vw, 24px); }
.cards {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch;
}
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 32px 28px; gap: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(14,26,43,.1); }
.card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin-top: 18px; }
.card-place { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
.card-logo {
  aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: #fff;
}
.card-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-logo-dark { background: #000; border-color: #000; }
.card-logo-teal { background: #459cb8; border-color: transparent; }
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--gold); color: #2a1d00; font-size: 12.5px; font-weight: 500;
}
.badge-soft { background: var(--peach); color: #8a4410; }

.info { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.info li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; overflow-wrap: anywhere; }
.info svg {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.info small { color: var(--ink-soft); font-size: 14px; }
.card-note { color: var(--ink-soft); font-size: 15px; margin-top: -8px; }
.card-actions { display: flex; flex-direction: column; gap: 10px; }

.card-featured {
  background: linear-gradient(165deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; border-color: transparent;
  transform: translateY(-14px);
  box-shadow: 0 30px 60px rgba(18,61,104,.35);
}
.card-featured:hover { transform: translateY(-20px); box-shadow: 0 36px 70px rgba(18,61,104,.4); }
.card-featured .card-place, .card-featured .info small { color: rgba(255,255,255,.72); }
.card-featured .info svg { stroke: var(--gold); }
.card-featured .btn-primary { background: var(--gold); color: #2a1d00; }
.card-featured .btn-primary:hover { background: #ffd169; box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details {
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  padding: 0 24px; transition: border-color .2s ease, box-shadow .2s ease;
}
details[open] { border-color: var(--blue); box-shadow: 0 12px 30px rgba(31,92,148,.1); }
summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 19px; font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mist);
  font-size: 22px; line-height: 1; transition: transform .25s ease, background .2s ease;
}
details[open] summary::after { transform: rotate(45deg); background: var(--gold); }
details p, details ul { color: var(--ink-soft); font-size: 17px; padding-bottom: 24px; }
details ul { list-style: disc; padding-left: 22px; margin-top: -12px; }
details li + li { margin-top: 6px; }
details p + ul { margin-top: -10px; }

/* CTA */
.cta { padding-top: 0; }
.cta-box {
  max-width: var(--maxw); margin: 0 auto; text-align: center;
  background: var(--blue-deep); color: #fff; border-radius: 40px;
  padding: clamp(48px, 8vw, 88px) 24px; position: relative; overflow: hidden;
}
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; border-radius: 50%;
}
.cta-box::before { width: 340px; height: 340px; background: var(--orange); opacity: .9; left: -120px; bottom: -190px; }
.cta-box::after  { width: 240px; height: 240px; background: var(--gold); right: -70px; top: -110px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box p { margin: 16px auto 30px; max-width: 460px; color: rgba(255,255,255,.8); font-size: 18px; }
.cta-box .btn-primary { background: #fff; color: var(--blue-deep); }

/* Instagram */
.social { padding-top: 0; }
.social-wrap {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: clamp(36px, 7vw, 96px);
}
.social-text { order: 1; }
.social-text h2 { margin-bottom: 18px; max-width: 560px; }
.social-text p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; max-width: 520px; }
.social-text .btn { margin-top: 28px; }
.social-qr { order: 2; position: relative; display: block; width: clamp(240px, 32vw, 360px); aspect-ratio: 1; }
.qr-layer, .qr-card { position: absolute; inset: 0; border-radius: 32px; }
.qr-gold   { background: var(--gold);   transform: rotate(7deg) translate(3%, 2%); }
.qr-orange { background: var(--orange); transform: rotate(3.5deg) translate(1.5%, 1%); }
.qr-card {
  background: #fff; padding: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(14,26,43,.18);
}
.qr-card img { width: 100%; height: 100%; object-fit: contain; }
.qr-layer, .qr-card { transition: transform .5s var(--ease); }
.social-qr:hover .qr-gold   { transform: rotate(10deg) translate(4%, 3%); }
.social-qr:hover .qr-orange { transform: rotate(5deg) translate(2%, 1.5%); }
.social-qr:hover .qr-card   { transform: translateY(-6px); }
.social-qr:focus-visible { outline: 3px solid var(--gold); outline-offset: 8px; border-radius: 32px; }
.btn-insta { gap: 10px; }
.btn-insta svg, .footer-insta svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.btn-insta .dot, .footer-insta .dot { fill: currentColor; stroke: none; }

/* Chat com IA (tela cheia, estilo assistente) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-page { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.chat-page .topbar, .chat-page .tabbar { flex: none; }
.chat-app { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; scroll-behavior: smooth; }

.chat-welcome { margin: auto; width: 100%; max-width: 760px; padding: 32px 16px; text-align: center; }
.chat-welcome[hidden] { display: none; }
.welcome-mark {
  display: block; width: 64px; height: 64px; margin: 0 auto 18px;
  background: url("img/logo.png") 49.6% 24.5% / 410% auto no-repeat; mix-blend-mode: multiply;
}
.chat-welcome h1 { font-weight: 300; letter-spacing: -.03em; line-height: 1.1; font-size: clamp(32px, 5vw, 52px); color: #0a0a0c; }
.chat-welcome p { margin: 14px auto 0; max-width: 480px; color: var(--ink-soft); font-size: 17px; }
.chat-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; text-align: left; }
.chip {
  font: 500 15px/1.35 "Outfit", sans-serif; padding: 16px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ease);
}
.chip:hover { border-color: var(--blue); background: var(--mist); transform: translateY(-2px); }
.chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.chat-thread { width: 100%; max-width: 820px; margin: 0 auto; padding: 28px 16px 12px; display: flex; flex-direction: column; gap: 26px; }
.chat-thread:empty { display: none; }
.msg { display: flex; gap: 14px; font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; animation: fade .35s ease both; }
.msg-body { white-space: pre-wrap; min-width: 0; }
.msg a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.msg-bot .msg-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: #fff url("img/logo.png") 49.6% 24.5% / 410% auto no-repeat; border: 1px solid var(--line);
}
.msg-user { justify-content: flex-end; }
.msg-user .msg-body {
  max-width: 80%; padding: 12px 18px; border-radius: 22px 22px 6px 22px;
  background: var(--mist); color: var(--ink);
}
.msg-erro .msg-body { color: #a1281d; }
.msg-typing .msg-body { display: flex; gap: 5px; align-items: center; height: 34px; }
.msg-typing .msg-body span { width: 8px; height: 8px; border-radius: 50%; background: #9aa6b8; animation: blink 1.2s ease-in-out infinite; }
.msg-typing .msg-body span:nth-child(2) { animation-delay: .15s; }
.msg-typing .msg-body span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-composer { flex: none; width: 100%; max-width: 820px; margin: 0 auto; padding: 8px 16px 14px; }
.chat-form {
  display: flex; gap: 10px; align-items: flex-end; padding: 8px 8px 8px 20px;
  background: #fff; border: 1px solid #d3d9e2; border-radius: 28px;
  box-shadow: 0 8px 30px rgba(14,26,43,.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.chat-form:focus-within { border-color: var(--blue); box-shadow: 0 8px 30px rgba(31,92,148,.15); }
.chat-form textarea {
  flex: 1; resize: none; max-height: 160px; padding: 10px 0;
  font: 400 16px/1.5 "Outfit", sans-serif; color: var(--ink);
  border: 0; background: transparent; outline: none;
}
.chat-form textarea::placeholder { color: #8a94a6; font-size: 15px; }
.chat-send {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  transition: background .2s ease, transform .2s var(--ease);
}
.chat-send:hover { background: #17497a; transform: translateY(-1px); }
.chat-send:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.chat-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-send:disabled, .chat-form textarea:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.chat-note { margin-top: 8px; text-align: center; font-size: 12px; color: #8a94a6; }

@media (max-width: 560px) {
  .chat-chips { grid-template-columns: 1fr; }
  .msg { font-size: 16px; }
  .msg-user .msg-body { max-width: 90%; }
}

/* Rodapé */
.footer {
  text-align: center; padding: 20px 16px 48px; color: var(--ink-soft);
  display: grid; gap: 8px; justify-items: center;
}
.footer-insta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--blue-deep);
  padding: 8px 14px; border-radius: 999px; transition: background .2s ease;
}
.footer-insta:hover { background: var(--mist); }
.footer-insta:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.footer .brand-name { font-size: 20px; }
.copy { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr auto; }
  .pill-nav { display: none; }
  .tabbar { display: flex; }
  .cards { grid-template-columns: 1fr; max-width: 520px; }
  .card-featured { transform: none; }
  .card-featured:hover { transform: translateY(-6px); }
  .about { grid-template-columns: 1fr; }
  .social-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .social-text, .social-qr { order: 0; }
  .social-text h2, .social-text p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .link-quiet { display: none; }
  .brand-name { font-size: 19px; }
  .layer { border-radius: 24px 24px 0 0; }
  .layer-blue figcaption { left: 12px; bottom: 12px; right: 12px; font-size: 13px; }
  .ongs { border-radius: 28px; }
  .ring { display: none; }
}

/* =====================================================
   Animações
   ===================================================== */
:root { --ease: cubic-bezier(.22, .8, .24, 1); }

/* Transição suave entre páginas (navegadores com View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out .28s ease both; }
::view-transition-new(root) { animation: page-in .5s var(--ease) both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in  { from { opacity: 0; } }

/* Entrada na abertura da página */
@keyframes rise { from { opacity: 0; translate: 0 36px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop  { from { opacity: 0; scale: .6; rotate: -12deg; } }
@keyframes settle { from { scale: 1.12; } }

.topbar { animation: fade .6s ease both; }

.hero h1, .hero-sub, .hero-cta, .page-hero > * {
  animation: rise .9s var(--ease) both;
}
.page-hero .eyebrow { animation-delay: .05s; }
.hero h1, .page-hero h1 { animation-delay: .12s; }
.hero-sub { animation-delay: .24s; }
.hero-cta { animation-delay: .36s; }

.layer-gold   { animation: rise 1.1s var(--ease) .45s both; }
.layer-orange { animation: rise 1.1s var(--ease) .58s both; }
.layer-blue   { animation: rise 1.1s var(--ease) .72s both; }
.layer-blue img { animation: settle 1.9s var(--ease) .72s both; }
.layer-blue figcaption { animation: rise .8s var(--ease) 1.3s both; }
.ring-a { animation: fade 1.2s ease .9s both, drift 9s ease-in-out 2s infinite; }
.ring-b { animation: fade 1.2s ease 1.1s both, drift 11s ease-in-out 2s infinite reverse; }
.heart  { animation: pop .9s var(--ease) 1.2s both, float 5s ease-in-out 2.1s infinite; }
@keyframes drift { 50% { translate: 14px -16px; } }

/* Entrada ao rolar (uma vez, sem efeito parallax) */
.js [data-reveal] {
  opacity: 0; translate: 0 32px;
  transition: opacity .8s ease, translate .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* Cabeçalho ganha sombra ao rolar */
.topbar { transition: box-shadow .3s ease, background .3s ease, padding .3s ease; }
.topbar.scrolled { box-shadow: 0 8px 24px rgba(14, 26, 43, .08); padding-top: 12px; padding-bottom: 12px; }

/* Microinterações */
.btn { transition: transform .2s var(--ease), box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.btn:active { transform: translateY(0) scale(.97); }
.pill-nav a, .tabbar a { transition: background .25s ease, box-shadow .25s ease, color .25s ease; }
.link-quiet { transition: opacity .2s ease; }
.link-quiet:hover { opacity: .65; text-decoration: none; }
.brand { transition: transform .25s var(--ease); }
.brand:hover { transform: translateX(2px); }
.brand-mark { transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.card { transition: transform .35s var(--ease), box-shadow .35s ease; }
.info svg { transition: transform .3s var(--ease); }
.info li:hover svg { transform: scale(1.18) rotate(-6deg); }
.about-logo { transition: transform .5s var(--ease), box-shadow .5s ease; }
.about-logo:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 28px 60px rgba(14, 26, 43, .14); }
.photo-band img { transition: transform 1.2s var(--ease); }
.photo-band figure:hover img { transform: scale(1.04); }
.cta-box::before { animation: drift 10s ease-in-out infinite; }
.cta-box::after  { animation: drift 12s ease-in-out infinite reverse; }

/* Perguntas: abre e fecha deslizando */
details { interpolate-size: allow-keywords; }
details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .4s var(--ease), content-visibility .4s allow-discrete;
}
details[open]::details-content { block-size: auto; }
summary { transition: color .2s ease; }
summary:hover { color: var(--blue); }
details summary::after { transition: transform .35s var(--ease), background .25s ease; }
details:hover { border-color: #b8c6d8; }
details[open]:hover { border-color: var(--blue); }

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  @view-transition { navigation: none; }
}
