/* MPAC - Miguel Pereira Atlético Clube */
:root {
  --navy: #0f2d6b;
  --navy-2: #163c8c;
  --blue: #1d56c9;
  --water: #16a6d9;
  --accent: #f6c21c;      /* amarelo do ipê */
  --accent-2: #e0ab00;
  --ink: #16213a;
  --muted: #5b6784;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-alt: #f3f7fd;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 45, 107, .10);
  --shadow-lg: 0 20px 50px rgba(15, 45, 107, .18);
  --head: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-xl { width: 44px; height: 44px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95em 1.7em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(29, 86, 201, .3); }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 8px 20px rgba(246, 194, 28, .35); }
.btn-accent:hover { background: #ffd23a; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand strong { display: block; font: 800 1.25rem/1 var(--head); letter-spacing: .04em; }
.brand small { display: block; font-size: .72rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.nav ul a:hover { background: var(--bg-alt); color: var(--blue); }
.nav ul a[aria-current="page"] { color: var(--blue); background: var(--bg-alt); }
.nav-social { display: flex; gap: 4px; }
.nav-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--navy); }
.nav-social a:hover { background: var(--bg-alt); color: var(--blue); }
.nav-cta { padding: .6em 1.1em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 12px; font-size: 1.05rem; }
  .nav-social { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(10, 32, 80, .92) 0%, rgba(15, 45, 107, .78) 45%, rgba(22, 166, 217, .35) 100%),
    var(--hero) center / cover no-repeat;
  padding: clamp(80px, 12vw, 150px) 0 clamp(120px, 14vw, 180px);
}
.hero-in { max-width: 1180px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 560px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); opacity: .95; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; font: 600 .8rem/1 var(--body);
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow.dark { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 80px;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40c240 40 480 40 720 20S1200 0 1440 30v50H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40c240 40 480 40 720 20S1200 0 1440 30v50H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

.page-hero {
  color: #fff; text-align: left;
  background:
    linear-gradient(115deg, rgba(10, 32, 80, .92), rgba(15, 45, 107, .7)),
    var(--hero) center / cover no-repeat;
  padding: clamp(60px, 9vw, 110px) 0;
}
.page-hero h1 { color: #fff; }

/* ---------- Destaques rápidos ---------- */
.quick {
  position: relative; z-index: 2; margin-top: -70px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.quick-item {
  display: flex; align-items: center; gap: 14px; background: #fff;
  padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.quick-item .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--bg-alt); color: var(--blue); }
.quick-item strong { display: block; font-family: var(--head); color: var(--navy); font-size: 1.08rem; }
.quick-item span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick { grid-template-columns: 1fr; } }

/* ---------- Seções ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}
.rounded { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }

.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 440px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.mosaic img:first-child { grid-row: 1 / 3; }
@media (max-width: 560px) { .mosaic { height: 320px; } }

.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.checks .ico { color: #fff; background: var(--water); border-radius: 50%; padding: 3px; margin-top: 3px; width: 20px; height: 20px; }
.checks.light li { color: #fff; }
.checks.light .ico { background: var(--accent); color: var(--navy); }

/* ---------- Cards de estrutura ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { position: relative; padding: 30px 20px 20px; }
.card-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.card-ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent); color: var(--navy);
}
.card-body .card-ico { position: absolute; top: -23px; left: 20px; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }

/* ---------- Banner eventos ---------- */
.banner {
  color: #fff; text-align: center;
  background: linear-gradient(rgba(10, 25, 60, .78), rgba(10, 25, 60, .85)), var(--hero) center / cover no-repeat;
  padding: clamp(70px, 10vw, 120px) 0;
}
.banner h2 { color: #fff; }
.banner-in { max-width: 720px; }
.banner .hero-actions { justify-content: center; }

/* ---------- Redes sociais ---------- */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: var(--radius);
  color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease;
}
.social-card:hover { transform: translateY(-3px); }
.social-card div { flex: 1; }
.social-card strong { display: block; font: 700 1.3rem/1.2 var(--head); }
.social-card span { display: block; font-weight: 500; }
.social-card small { opacity: .85; }
.social-card.insta { background: linear-gradient(120deg, #7a2cc9, #d62976 55%, #f7a13a); }
.social-card.fb { background: linear-gradient(120deg, #0f4fb8, #1877f2); }

/* ---------- CTA sócio ---------- */
.cta-socio { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin-bottom: .2em; }
.cta-in p { margin: 0; opacity: .9; }

/* ---------- Contato / mapa ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.contact-list .ico { margin-top: 3px; color: var(--water); }
.contact-list.big li { font-size: 1.02rem; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 360px; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map.small, .map.small iframe { min-height: 240px; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { background: var(--bg-alt); padding: 28px; border-radius: var(--radius); align-self: start; }
.social.big { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.social.big a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--navy); text-decoration: none; font-weight: 600; box-shadow: var(--shadow);
}

/* ---------- Formulários ---------- */
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 86, 201, .15); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; margin-bottom: 20px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert.ok { background: #e7f8ee; color: #125c30; border: 1px solid #b7e6c9; }
.alert.ok .ico { width: 26px; height: 26px; }
.alert.err { background: #fdecec; color: #8a1c1c; border: 1px solid #f5c2c2; }

/* ---------- Área do sócio ---------- */
.login-page {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(10, 32, 80, .94), rgba(15, 45, 107, .8) 55%, rgba(22, 166, 217, .5)),
    var(--hero) center / cover no-repeat;
  padding: clamp(50px, 8vw, 100px) 0;
}
.login-page h1 { color: #fff; }
.login-grid { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: center; }
@media (max-width: 860px) { .login-grid { grid-template-columns: 1fr; } }
.login-card {
  background: #fff; color: var(--ink); border-radius: 22px; padding: 34px 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3); text-align: left;
}
.login-card img { margin: 0 auto 10px; }
.login-card h2 { text-align: center; font-size: 1.5rem; margin-bottom: 22px; }
.input-ico { position: relative; margin-bottom: 18px; }
.input-ico > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-ico input { padding-left: 44px; }
.show-pass {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--blue); font: 600 .8rem var(--body); cursor: pointer; padding: 6px 8px;
}
.login-help { text-align: center; font-size: .88rem; color: var(--muted); margin: 18px 0 0; }

/* ---------- O Clube ---------- */
.quote {
  margin: 0 0 20px; font: 600 clamp(1.4rem, 3vw, 2rem)/1.3 var(--head); color: var(--navy);
  border-left: 5px solid var(--accent); padding-left: 22px;
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.pillar h3 { margin-top: 16px; font-size: 1.4rem; }
.pillar p { color: var(--muted); margin: 0; }
.pillar .checks li { font-size: .95rem; color: var(--muted); }

.group-title { margin: 30px 0 14px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.person { padding: 18px 20px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); }
.person small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.person strong { font: 600 1.1rem/1.3 var(--head); color: var(--navy); }
.person.featured { border-left: 4px solid var(--accent); }
.people-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 20px;
}
.people-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.chip {
  font: 600 .9rem var(--body); padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 30px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-weight: 600; font-size: .92rem;
}
.gallery-item.hide { display: none; }
.gallery-item video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.gallery-item .play {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: rgba(0, 0, 0, .55); border: 2px solid #fff;
}
.gallery-item .play::after {
  content: ""; position: absolute; left: 22px; top: 16px;
  border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #fff;
}

/* ---------- Eventos ---------- */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-bottom: 20px; }
.event-card { position: relative; display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s ease; }
.event-card:hover { transform: translateY(-4px); }
.event-img { aspect-ratio: 400 / 460; background: var(--line); }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-date { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--navy); border-radius: 12px; padding: 6px 10px; text-align: center; line-height: 1.1; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.event-date strong { display: block; font: 800 1.5rem/1 var(--head); }
.event-date span { font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.event-body { padding: 14px 16px 16px; }
.event-body h3 { font-size: 1.05rem; margin: 0 0 4px; }
.event-body small { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.event-body small .ico { width: 14px; height: 14px; color: var(--water); }
.events.past .event-card { opacity: .85; }
.gallery-item span small { display: block; font-weight: 400; font-size: .8rem; opacity: .85; }

/* ---------- Paginação ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 10px 0 26px; }
.pager a, .pager span { min-width: 42px; padding: 9px 14px; border-radius: 999px; text-align: center; font-weight: 600; font-size: .92rem; text-decoration: none; }
.pager a { background: #fff; color: var(--blue); border: 1.5px solid var(--line); }
.pager a:hover { border-color: var(--blue); }
.pager .atual { background: var(--blue); color: #fff; }
.pager .off { color: #b5bfd3; }
.pager .gap { min-width: auto; padding: 0 2px; color: var(--muted); }
@media (max-width: 520px) { .pager a[rel], .pager span.off { flex-basis: 45%; } }

/* ---------- Painel ---------- */
.admin-upload { background: var(--bg-alt); padding: 28px; border-radius: var(--radius); }
.admin-upload input[type=file] { background: #fff; padding: 14px; }
.admin-upload small { display: block; margin-top: 6px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.admin-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.admin-item img, .admin-item video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.admin-item-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.admin-item-body form { margin-top: 6px; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); font-weight: 600; }
.btn-sm { padding: .45em .9em; font-size: .82rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 30, .92);
  display: grid; place-items: center; padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1000px; text-align: center; }
.lightbox img, .lightbox video { max-height: 80vh; max-width: 100%; margin: 0 auto; border-radius: 10px; display: block; }
.lightbox figure { width: 100%; }
.lb-yt { width: min(1000px, 100%); aspect-ratio: 16 / 9; border: 0; border-radius: 10px; display: block; margin: 0 auto; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-weight: 500; }
.lb-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; cursor: pointer; }
.lb-close .ico { width: 34px; height: 34px; }
.lb-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lightbox.lb-varias .lb-nav { display: block; }
.lb-anterior { left: 10px; }
.lb-proxima { right: 10px; }
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.album-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s ease; }
.album-card:hover { transform: translateY(-4px); }
.album-card .album-capa { position: relative; aspect-ratio: 4 / 3; background: var(--line); }
.album-card .album-capa img { width: 100%; height: 100%; object-fit: cover; }
.album-card .album-qtd { position: absolute; right: 10px; bottom: 10px; background: rgba(15,45,107,.85); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.album-card .album-info { padding: 14px 16px 16px; }
.album-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.album-card small { color: var(--muted); }

/* ---------- Rodapé ---------- */
.footer { background: #0a1f4d; color: #c9d4ec; padding-top: 60px; font-size: .95rem; }
.footer a { color: #fff; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { text-decoration: none; color: #c9d4ec; }
.footer ul a:hover { color: var(--accent); }
.footer .contact-list .ico { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { margin-bottom: 14px; }
.footer-brand strong { color: #fff; }
.social { display: flex; gap: 10px; }
.footer .social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
}
.footer .social a:hover { background: var(--accent); color: var(--navy); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px; font-size: .85rem;
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Botão flutuante do WhatsApp (só aparece se o número estiver preenchido no /sistema) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }
