/* ============================================================
   Bernardo Freire — folha de estilos do site
   ============================================================ */

:root {
  --black: #0a0a0a;
  --white: #f8f7f3;
  --paper: #ebe8e1;
  --ink: #111;
  --muted: #77746d;
  --line: rgba(17, 17, 17, .16);
  --line-dark: rgba(255, 255, 255, .16);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
img { display: block; width: 100%; }

/* ---------- cabeçalho / navegação ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  mix-blend-mode: difference; color: #fff;
}
.header-inner {
  height: 82px; padding: 0 34px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark { font-size: 15px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.desktop-nav { display: flex; gap: 28px; }
.desktop-nav a {
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em; text-decoration: none;
}
.menu-btn {
  display: none; border: 0; background: transparent; color: inherit;
  font-size: 11px; text-transform: uppercase;
}
.mobile-nav {
  display: none; position: fixed; inset: 0; background: #0a0a0a; color: #fff;
  padding: 110px 28px 30px; z-index: 90;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav a { font-size: 34px; text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; background: #0a0a0a; color: #fff;
  position: relative; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.07); opacity: .78; }
.hero-media:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .15) 62%, rgba(0, 0, 0, .42));
}
.hero-content {
  position: relative; z-index: 2; min-height: 100vh; padding: 135px 34px 45px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-kicker {
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 18px; margin-bottom: 22px;
}
.hero-kicker span, .eyebrow {
  font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800;
}
.hero h1 {
  margin: 0; font-size: clamp(78px, 13.5vw, 220px); line-height: .72;
  letter-spacing: -.085em; text-transform: uppercase; font-weight: 800;
}
.hero h1 span { display: block; }
.hero-lower {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-top: 32px;
}
.hero-copy { max-width: 520px; font-size: 18px; line-height: 1.55; color: #d8d8d8; }
.hero-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---------- botões ---------- */
.btn {
  min-height: 46px; padding: 0 18px; border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; text-transform: uppercase; letter-spacing: .11em;
  font-size: 10px; font-weight: 800; cursor: pointer; transition: .25s;
}
.btn:hover { background: #fff; color: #111; border-color: #fff; }
.btn.light { background: #fff; color: #111; border-color: #fff; }
.btn.dark { background: #111; color: #fff; border-color: #111; }

/* ---------- secções ---------- */
.section { padding: 125px 34px; }
.white { background: var(--white); }
.paper { background: var(--paper); }
.black { background: var(--black); color: #fff; }
.max { max-width: 1440px; margin: 0 auto; }
.section-title {
  font-size: clamp(50px, 8vw, 128px); line-height: .86; letter-spacing: -.075em;
  font-weight: 800; text-transform: uppercase; margin: 22px 0;
}
.lead { font-size: clamp(24px, 3.5vw, 52px); line-height: 1.08; letter-spacing: -.045em; max-width: 1050px; }
.body { font-size: 16px; line-height: 1.72; color: #66625c; max-width: 680px; }

/* ---------- sobre / intro ---------- */
.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.intro-copy { padding-top: 70px; }
.editorial-image { position: relative; overflow: hidden; }
.editorial-image img { height: 100%; object-fit: cover; filter: grayscale(1); transition: .6s; }
.editorial-image:hover img { filter: grayscale(0); transform: scale(1.015); }
.intro-image { height: 760px; }
.caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  display: flex; justify-content: space-between; color: #fff;
  font-size: 9px; text-transform: uppercase; letter-spacing: .12em;
}

/* ---------- statement ---------- */
.statement { padding: 100px 34px; background: #111; color: #fff; }
.statement p {
  margin: 0; max-width: 1250px; font-size: clamp(46px, 7vw, 108px); line-height: .92;
  letter-spacing: -.065em; font-weight: 800; text-transform: uppercase;
}
.statement em { font-style: normal; color: #777; }

/* ---------- resultados ---------- */
.result-row {
  display: grid; grid-template-columns: 220px 1fr 220px; gap: 30px; align-items: end;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.result-row:last-child { border-bottom: 1px solid var(--line); }
.result-number { font-size: clamp(44px, 6vw, 96px); line-height: .75; letter-spacing: -.075em; font-weight: 800; min-width: 0; }
.result-name { font-size: clamp(24px, 3vw, 46px); line-height: 1; letter-spacing: -.05em; text-transform: uppercase; }
.result-meta { text-align: right; color: #74716a; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- época ---------- */
.season-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 830px; }
.season-photo { min-height: 830px; overflow: hidden; }
.season-photo img { height: 100%; object-fit: cover; filter: grayscale(1); transition: .6s; }
.season-photo:hover img { filter: grayscale(0); }
.season-side {
  background: #0c0c0c; color: #fff; padding: 85px 54px;
  display: flex; flex-direction: column;
}
.race-list { margin-top: auto; }
.race {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; align-items: center;
  padding: 17px 0; border-top: 1px solid var(--line-dark);
}
.race:last-child { border-bottom: 1px solid var(--line-dark); }
.race-date { font-size: 10px; color: #aaa; }
.race-name { font-size: 18px; text-transform: uppercase; }
.race-type { font-size: 9px; color: #888; text-transform: uppercase; }

/* ---------- entre provas ---------- */
.work-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; margin-bottom: 55px; }
.work-grid { display: grid; grid-template-columns: 1.15fr .85fr .7fr; gap: 14px; }
.work-card { min-height: 520px; position: relative; overflow: hidden; background: #222; }
.work-card:nth-child(2) { margin-top: 85px; }
.work-card:nth-child(3) { margin-top: 170px; }
.work-card img {
  position: absolute; inset: 0; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: .5s;
}
.work-card:hover img { filter: grayscale(0); transform: scale(1.02); }
.work-card:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent 58%);
}
.work-card div { position: absolute; left: 22px; bottom: 22px; z-index: 2; color: #fff; }
.work-card span { font-size: 9px; text-transform: uppercase; }
.work-card h3 { font-size: 32px; text-transform: uppercase; margin: 8px 0 0; }

/* ---------- citação ---------- */
.quote-photo { position: relative; height: 92vh; min-height: 650px; overflow: hidden; background: #111; }
.quote-photo img { height: 100%; object-fit: cover; filter: grayscale(1); }
.quote-photo:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .15));
}
.quote-content {
  position: absolute; left: 34px; bottom: 44px; right: 34px; z-index: 2;
  color: #fff; max-width: 900px;
}
.quote-content blockquote {
  font-size: clamp(26px, 4vw, 58px); line-height: 1.02; letter-spacing: -.04em;
  font-weight: 800; margin: 0; text-transform: uppercase;
}
.quote-content cite { display: block; font-size: 10px; font-style: normal; text-transform: uppercase; margin-top: 26px; }

/* ---------- parceiros ---------- */
.support-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.support-block { padding: 50px 40px 50px 0; min-height: 410px; display: flex; flex-direction: column; }
.support-block + .support-block { border-left: 1px solid var(--line); padding-left: 40px; padding-right: 0; }
.support-block h3 { font-size: clamp(36px, 4vw, 62px); line-height: .95; text-transform: uppercase; margin: 30px 0 18px; }
.support-block p { max-width: 560px; color: #6d6963; line-height: 1.65; }
.support-block .btn { align-self: flex-start; margin-top: auto; }

/* ---------- galeria ---------- */
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
.gallery-left, .gallery-right { display: grid; gap: 12px; }
.gallery-left { grid-template-rows: 1.35fr .65fr; }
.gallery-right { grid-template-rows: .7fr 1.3fr; }
.gallery-img { min-height: 300px; overflow: hidden; }
.gallery-img img { height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: .5s; }
.gallery-img:hover img { filter: grayscale(0); transform: scale(1.015); }

/* ---------- social ---------- */
.social-row { display: flex; border-top: 1px solid var(--line); }
.social-link { flex: 1; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.social-link + .social-link { padding-left: 28px; border-left: 1px solid var(--line); }
.social-link span { display: block; font-size: 9px; text-transform: uppercase; color: #777; }
.social-link strong { font-size: 24px; display: block; margin-top: 8px; }

/* ---------- contacto ---------- */
.contact-black { background: #0a0a0a; color: #fff; padding: 115px 34px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-title { font-size: clamp(56px, 9vw, 140px); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; margin: 0; }
.contact-links { display: flex; flex-direction: column; justify-content: flex-end; }
.contact-links a { font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line-dark); padding: 14px 0; }
.contact-note { font-size: 10px; color: #777; text-transform: uppercase; margin-top: 24px; }

/* ---------- rodapé ---------- */
.footer { position: relative; background: #0a0a0a; color: #777; padding: 24px 34px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.footer-bg { position: absolute; inset: 0; z-index: 0; }
.footer-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .18; }
.footer-bg:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 10, .8), rgba(10, 10, 10, .35)); }
.footer-inner {
  position: relative; z-index: 1; max-width: 1440px; margin: auto; display: flex; justify-content: space-between;
  font-size: 9px; text-transform: uppercase;
}

/* ---------- botões lado a lado nos parceiros ---------- */
.support-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-self: flex-start; margin-top: auto; }
.support-block .support-ctas { margin-top: auto; }

/* ---------- hero das páginas internas ---------- */
.page-hero {
  background: #0a0a0a; color: #fff; min-height: 78vh; padding: 150px 34px 65px;
  display: flex; align-items: flex-end; position: relative; overflow: hidden;
}
.page-hero.has-img img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .46; }
.page-hero.has-img:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .22));
}
.page-hero-inner { max-width: 1440px; width: 100%; margin: auto; position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(75px, 10vw, 180px); line-height: .76; letter-spacing: -.08em;
  text-transform: uppercase; margin: 18px 0 0;
}
.page-hero p { max-width: 690px; color: #bbb; line-height: 1.65; }

/* ---------- provas (filtros e listas) ---------- */
.toolbar { display: flex; gap: 10px; margin-bottom: 36px; }
.filter { background: transparent; border: 1px solid #aaa; padding: 11px 14px; font-size: 9px; text-transform: uppercase; cursor: pointer; }
.filter.active { background: #111; color: #fff; border-color: #111; }
.event-row {
  display: grid; grid-template-columns: 120px 1.4fr .8fr .45fr; gap: 26px; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-date { font-size: 12px; font-weight: 800; }
.event-title { font-size: 30px; text-transform: uppercase; }
.event-meta { font-size: 10px; line-height: 1.5; text-transform: uppercase; color: #777; }
.event-status { font-size: 9px; text-transform: uppercase; text-align: right; }

/* ---------- apoiar ---------- */
.donate-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; }
.cost-row { display: flex; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cost-row strong { font-size: 18px; }
.donate-card { border: 1px solid var(--line); padding: 32px; position: sticky; top: 110px; }
.donate-card h3 { font-size: 36px; text-transform: uppercase; margin: 18px 0; }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0 10px; }
.amount { height: 54px; background: transparent; border: 1px solid var(--line); font-weight: 800; cursor: pointer; }
.amount.active { background: #111; color: #fff; }
.custom { width: 100%; height: 54px; border: 1px solid var(--line); background: transparent; padding: 0 14px; margin-bottom: 10px; color: var(--ink); }
.legal { font-size: 10px; color: #777; line-height: 1.55; margin-top: 16px; }

/* ---------- modal de apoio ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10, 10, 10, .6); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.apoio-modal {
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  width: 460px; max-width: 100%; padding: 34px; position: relative; max-height: 90vh; overflow: auto;
}
.apoio-modal .x { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.apoio-modal h3 { font-size: 28px; text-transform: uppercase; margin: 12px 0 20px; }
.apoio-modal label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); margin: 12px 0 4px; }
.apoio-modal label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.apoio-modal input, .apoio-modal textarea { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 11px 12px; font: inherit; margin-bottom: 4px; }
.apoio-modal input:focus, .apoio-modal textarea:focus { outline: none; border-color: var(--ink); }
.mbway-number { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 16px 0 20px; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }
.form-error { color: #a33; font-size: 11px; min-height: 14px; margin: 8px 0 0; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 950px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .hero-lower, .intro-grid, .work-head, .contact-grid, .donate-grid { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .intro-image { height: 580px; }
  .season-grid { grid-template-columns: 1fr; }
  .season-photo { min-height: 580px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card:nth-child(2), .work-card:nth-child(3) { margin-top: 0; }
  .work-card:nth-child(3) { grid-column: 1 / -1; }
  .support-grid { grid-template-columns: 1fr; }
  .support-block + .support-block { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .event-row { grid-template-columns: 90px 1fr; }
  .event-meta, .event-status { grid-column: 2; text-align: left; }
}

@media (max-width: 650px) {
  .header-inner { padding: 0 18px; }
  .hero-content { padding: 125px 18px 28px; }
  .hero h1 { font-size: 74px; }
  .section, .statement, .contact-black { padding-left: 18px; padding-right: 18px; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .intro-copy { padding-top: 0; }
  .intro-image { height: 460px; }
  .result-row { grid-template-columns: 100px 1fr; }
  .result-meta { grid-column: 2; text-align: left; }
  .season-photo { min-height: 500px; }
  .race { grid-template-columns: 64px 1fr; }
  .race-type { grid-column: 2; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card:nth-child(3) { min-height: 450px; grid-column: auto; }
  .quote-photo { height: 78vh; min-height: 560px; }
  .quote-content { left: 18px; right: 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-left, .gallery-right { grid-template-rows: auto; }
  .gallery-img { height: 430px; }
  .social-row { flex-direction: column; }
  .social-link + .social-link { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .page-hero { padding-left: 18px; padding-right: 18px; min-height: 68vh; }
  .page-hero h1 { font-size: 36px; }
  .footer { padding-left: 18px; padding-right: 18px; }
  .footer-inner { flex-direction: column; gap: 10px; }
}

/* ---------- pacotes de patrocínio ---------- */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.package { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.package-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.package-name { font-size: 22px; font-weight: 800; text-transform: uppercase; }
.package-price { font-size: 16px; font-weight: 800; color: var(--muted); }
.package-desc { font-size: 14px; line-height: 1.6; color: #666; flex: 1; }
.package .btn { margin-top: 18px; align-self: flex-start; }
@media (max-width: 950px) { .package-grid { grid-template-columns: 1fr; } }

/* ---------- páginas legais ---------- */
.legal-content { max-width: 760px; }
.legal-content h3 { font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; margin: 34px 0 12px; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: 1.75; color: #555; margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; }
.legal-content li { font-size: 15px; line-height: 1.75; color: #555; }

/* ---------- links legais no rodapé ---------- */
.footer-right { display: flex; gap: 18px; align-items: center; }
.footer-right a { color: #777; text-decoration: none; }
.footer-right a:hover { color: #fff; }

/* ---------- consentimento nos formulários ---------- */
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; font-size: 11px; line-height: 1.5; color: #777; }
.consent input { width: auto; margin-top: 2px; flex: none; }
.consent a { color: var(--ink); text-decoration: underline; }
.cf-turnstile { margin: 14px 0 4px; }

/* ---------- campos do formulário (placeholder + erro acima) ---------- */
.field { margin-bottom: 5px; }
.field input, .field textarea { margin-bottom: 0; }
.field-error { color: #a33; font-size: 11px; min-height: 0; margin: 0 0 4px; }
.apoio-modal ::placeholder { color: #b0aca3; font-weight: 300; }

/* ---------- texto de apoio nos modais (coerente com o site) ---------- */
.apoio-modal .modal-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }

/* ---------- consentimento de cookies ---------- */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 300;
  background: #0a0a0a; color: #fff; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  border: 1px solid var(--line-dark);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.5; color: #c9c7c0; max-width: 620px; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 650px) {
  .cookie-banner { flex-direction: column; align-items: stretch; left: 16px; right: 16px; }
}

/* ---------- logos de sponsors ---------- */
.sponsors-strip { background: var(--white); padding: 70px 34px; overflow: hidden; }
.sponsor { opacity: .55; filter: grayscale(1); transition: opacity .3s, filter .3s; flex: none; }
.sponsor:hover { opacity: 1; filter: grayscale(0); }
.sponsor img { height: 120px; width: auto; max-width: 280px; object-fit: contain; display: block; }
/* carrossel */
.sponsors-carousel { overflow: hidden; margin-top: 30px; }
.sponsors-track { display: flex; align-items: center; gap: 70px; width: max-content; animation: sponsorsScroll 32s linear infinite; }
.sponsors-track:hover { animation-play-state: paused; }
@keyframes sponsorsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* estático (poucos logos) */
.sponsors-grid { display: flex; flex-wrap: wrap; gap: 40px 70px; align-items: center; justify-content: center; margin-top: 30px; }
@media (max-width: 650px) { .sponsors-strip { padding: 56px 18px; } .sponsor img { height: 80px; } }

/* ---------- página de patrocinadores ---------- */
.sponsors-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.sponsor-page { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 160px; border: 1px solid var(--line); padding: 28px; text-decoration: none; transition: border-color .25s; }
.sponsor-page:hover { border-color: var(--ink); }
.sponsor-page img { height: 80px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: .3s; }
.sponsor-page:hover img { filter: grayscale(0); opacity: 1; }
.sponsor-page-name { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- galeria ---------- */
.gallery-year { margin-bottom: 70px; }
.gallery-page-grid { display: flex; gap: 12px; align-items: flex-start; }
.gal-col { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery-photo { margin: 0; cursor: pointer; overflow: hidden; }
.gallery-photo img { width: 100%; height: auto; display: block; filter: grayscale(.2); transition: .4s; }
.gallery-photo:hover img { filter: grayscale(0); }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 10, .94); z-index: 300; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { width: auto; height: auto; max-width: 90vw; max-height: 88vh; }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0, 0, 0, .6); border: 0; cursor: pointer;
}
.lightbox-close::before, .lightbox-close::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 24px; height: 2px; background: #fff;
}
.lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox-close:hover { background: rgba(0, 0, 0, .85); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0, 0, 0, .6); color: #fff; font-size: 32px; line-height: 1;
  display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  opacity: 0; transition: opacity .2s;
}
.lightbox:hover .lightbox-nav { opacity: 1; }
.lightbox-nav:hover { background: rgba(0, 0, 0, .85); }
#lbPrev { left: 18px; }
#lbNext { right: 18px; }

/* justificado no texto de apresentação */
.intro-copy .body { text-align: justify; }

/* ---------- página de patrocinadores (info extra) ---------- */
.sponsor-page-type { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: #9a968d; margin-top: -6px; }
