/* Vasco Cortez — site estático. Cores e tipos no topo para ser fácil mudar. */
:root {
  --abyss: #030811;
  --deep: #070e1a;
  --hull: #0c1627;
  --gold: #d4af37;
  --cyan: #00a8cc;
  --mist: #9ba3b5;
  --fog: #5a657a;
  --line: rgba(255, 255, 255, 0.1);
  --display: "Cabinet Grotesk", "Outfit", system-ui, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --pad: clamp(20px, 3.4vw, 80px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--abyss);
  color: #fff;
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* grão subtil por cima de tudo */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(72px, 10vw, 150px); padding-bottom: clamp(72px, 10vw, 150px); }
.section.alt { background: var(--deep); }
.kicker { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 14px; }
.title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 17ch; text-wrap: balance;
}
.title.wide { max-width: none; }
.lead { color: var(--mist); max-width: 62ch; margin-top: 22px; font-size: clamp(0.95rem, 1.1vw, 1.06rem); }
.card { background: rgba(12, 22, 39, 0.72); border: 1px solid var(--line); border-radius: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 500; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--abyss); }
.btn-gold:hover { background: #fff; }
.btn-line { border: 1px solid rgba(255, 255, 255, 0.45); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-goldline { border: 1px solid var(--gold); color: var(--gold); }
.btn-goldline:hover { background: var(--gold); color: var(--abyss); }
.btn-sm { padding: 12px 22px; font-size: 12px; }

/* ---------- Cabeçalho ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.solid { background: rgba(3, 8, 17, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 22px; height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { height: 34px; width: auto; border-radius: 8px; }
.brand span { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 15px; line-height: 1.15; letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); margin-left: auto; }
.nav a { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: #fff; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.lang button { padding: 7px 13px; font-size: 11.5px; letter-spacing: 0.14em; font-weight: 500; color: var(--mist); }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--abyss); }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 24px; margin-left: auto; }
.mobile-nav { display: none; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .header .lang { margin-left: auto; }
  .header .btn-support { display: none; }
  .burger { display: inline-flex; margin-left: 0; }
  .mobile-nav {
    position: fixed; inset: 78px 0 0 0; z-index: 49; background: rgba(3, 8, 17, 0.97);
    flex-direction: column; padding: 28px var(--pad) 40px; gap: 4px; overflow-y: auto;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a:not(.btn) { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 26px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.06); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--abyss) 4%, rgba(3, 8, 17, 0.55) 45%, rgba(3, 8, 17, 0.72) 100%),
              linear-gradient(to right, rgba(3, 8, 17, 0.6), transparent 70%);
}
.hero .wrap { position: relative; width: 100%; padding-top: 130px; padding-bottom: clamp(40px, 6vw, 80px); }
.hero .kicker { letter-spacing: 0.42em; margin-bottom: clamp(10px, 2vw, 26px); }
.hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.84; letter-spacing: -0.05em; font-size: clamp(4.2rem, min(19.5vw, 27vh), 19rem); }
.hero h1 span { display: block; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.38); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(26px, 4vw, 60px); flex-wrap: wrap; }
.hero-sub { font-size: clamp(1rem, 1.45vw, 1.4rem); color: rgba(255, 255, 255, 0.86); max-width: 46ch; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.chip { border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 8px 16px; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.count-label { font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--mist); margin-bottom: 14px; }
.count { display: flex; gap: 12px; }
.count div { text-align: center; }
.count b {
  display: block; min-width: clamp(64px, 7.6vw, 112px); padding: 14px 8px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
  background: rgba(3, 8, 17, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.3vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.count span { display: block; margin-top: 8px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fog); }

/* ---------- Faixa de apoios ---------- */
.marquee { overflow: hidden; padding: clamp(34px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; gap: clamp(36px, 5vw, 80px); width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logo { background: #fff; border-radius: 10px; height: 76px; padding: 10px 20px; display: flex; align-items: center; flex: none; }
.marquee .logo img { height: 100%; width: auto; object-fit: contain; }
.marquee .word { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: 0.14em; color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 55, 0.55); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- O projeto ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; margin-top: clamp(34px, 5vw, 70px); }
.about-photo { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 460px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--abyss) 2%, rgba(3, 8, 17, 0.25) 55%, rgba(3, 8, 17, 0.15)); }
.about-photo blockquote { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; margin: 0; padding: clamp(22px, 3vw, 44px); font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.3; color: rgba(255, 255, 255, 0.9); }
.about-text { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.about-text p { color: var(--mist); font-size: 0.98rem; }
.about-text p.hi { color: #fff; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; }
.facts div { padding: 18px 20px; }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fog); }
.facts dd { margin: 4px 0 0; font-weight: 500; font-size: 1.12rem; }
.hobbies { font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.about-wide { margin-top: 26px; overflow: hidden; }
.about-wide img { width: 100%; height: clamp(240px, 34vw, 520px); object-fit: cover; object-position: 60% 30%; }
.about-wide p { padding: clamp(22px, 3vw, 44px); font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.1vw, 2rem); line-height: 1.3; color: rgba(255, 255, 255, 0.88); }

/* ---------- A vela ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(34px, 5vw, 70px); }
.cards3 .card { overflow: hidden; }
.cards3 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cards3 .body { padding: clamp(22px, 2.4vw, 34px); }
.cards3 .i { color: var(--gold); font-size: 22px; }
.cards3 h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; letter-spacing: -0.01em; margin: 14px 0 12px; }
.cards3 p { color: var(--mist); font-size: 0.94rem; }

/* ---------- Lições ---------- */
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(34px, 5vw, 70px); }
.cards2 .card { overflow: hidden; }
.cards2 img { width: 100%; height: clamp(180px, 22vw, 320px); object-fit: cover; }
.cards2 .body { padding: clamp(22px, 2.6vw, 38px); }
.cards2 h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; margin-bottom: 18px; }
.cards2 h3 .i { color: var(--gold); }
.cards2 li { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: rgba(255, 255, 255, 0.8); border-left: 1px solid rgba(255, 255, 255, 0.2); padding: 7px 0 7px 18px; }

/* ---------- Percurso ---------- */
.journey { display: grid; grid-template-columns: minmax(220px, 0.42fr) 1fr; gap: clamp(26px, 4vw, 64px); margin-top: clamp(34px, 5vw, 70px); align-items: start; }
.journey-photo { position: sticky; top: 110px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 2 / 3; }
.journey-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.journey-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 8, 17, 0.9), transparent 55%); }
.journey-photo b { position: absolute; z-index: 1; left: 24px; bottom: 20px; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -0.03em; }
.journey-photo b i { font-style: normal; color: var(--gold); }
.steps { position: relative; padding-left: 46px; }
.steps::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 30px; width: 1px; background: linear-gradient(var(--cyan), rgba(0, 168, 204, 0.15)); }
.steps li { position: relative; padding-bottom: clamp(30px, 4vw, 54px); }
.steps li::before { content: ""; position: absolute; left: -46px; top: 6px; width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--cyan); background: var(--abyss); }
.steps li.goal::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.18); }
.steps .yr { font-size: 12px; letter-spacing: 0.3em; color: var(--gold); }
.steps h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.5vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; margin: 4px 0 10px; }
.steps p { color: var(--mist); max-width: 58ch; }

/* ---------- Palmarés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(34px, 5vw, 70px); }
.stats div { padding: clamp(22px, 3vw, 44px); border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
.stats span { display: block; margin-top: 14px; font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.results { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.results .card { padding: clamp(24px, 3vw, 44px); }
.results h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: 22px; }
.results h3 em { font-style: normal; color: var(--gold); }
.results ul.two { columns: 2; column-gap: 34px; }
.results li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; color: var(--mist); font-size: 0.95rem; break-inside: avoid; }
.results li .i { margin-top: 5px; color: var(--fog); font-size: 15px; }
.results li.top { color: #fff; font-weight: 500; }
.results li.top .i { color: var(--gold); }
.results li.pod .i { color: var(--mist); }
.results .side { display: grid; gap: 24px; }
.news h3 { display: flex; gap: 12px; align-items: center; }
.news h3 .i { color: var(--gold); font-size: 20px; }
.news p { color: var(--fog); font-size: 0.9rem; margin-bottom: 20px; }
.news .btn { width: 100%; }

/* ---------- Época ---------- */
.events { margin-top: clamp(34px, 5vw, 70px); border-top: 1px solid var(--line); }
.events li { display: grid; grid-template-columns: 190px 1.5fr 1fr auto; gap: 20px; align-items: center; padding: 24px 14px; border-bottom: 1px solid var(--line); transition: background .2s; }
.events li:hover { background: rgba(255, 255, 255, 0.03); }
.events .when b { display: block; font-weight: 500; font-size: 13.5px; letter-spacing: 0.22em; color: var(--gold); }
.events .when span { font-size: 11px; letter-spacing: 0.2em; color: var(--fog); text-transform: uppercase; }
.events h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
.events .where { display: flex; align-items: center; gap: 8px; color: var(--mist); font-size: 0.9rem; }
.events .where .i { color: var(--cyan); }
.events .tag { justify-self: end; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 5px 12px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.events li.goal { background: rgba(212, 175, 55, 0.07); }
.events li.goal h3 { color: var(--gold); }
.events li.goal .tag { border-color: var(--gold); color: var(--gold); }
.note { margin-top: 16px; font-size: 12px; font-style: italic; color: var(--fog); }

/* ---------- Apoiar ---------- */
.donate { display: grid; grid-template-columns: 0.9fr 1fr; gap: 26px; align-items: stretch; }
.donate-photo { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 520px; display: flex; align-items: flex-end; }
.donate-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.donate-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--abyss), rgba(3, 8, 17, 0.6) 55%, rgba(3, 8, 17, 0.2)); }
.donate-photo > div { position: relative; z-index: 1; padding: clamp(24px, 3.4vw, 50px); }
.donate-photo .title { font-size: clamp(2rem, 3.8vw, 3.5rem); }
.donate-photo blockquote { margin: 18px 0 26px; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.3; color: rgba(255, 255, 255, 0.88); max-width: 26ch; }
.small-label { font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--fog); margin-bottom: 12px; }
.donate-photo .chip { font-size: 10.5px; letter-spacing: 0.06em; text-transform: none; padding: 6px 13px; background: rgba(255, 255, 255, 0.06); }
.donate-photo .chips { margin: 0; gap: 8px; }
.donate-panel { padding: clamp(24px, 3.4vw, 50px); display: flex; flex-direction: column; justify-content: center; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.methods button { border: 1px solid var(--line); border-radius: 12px; padding: 20px 8px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); transition: border-color .2s, color .2s, background .2s; }
.methods button .i { font-size: 22px; }
.methods button:hover { border-color: rgba(255, 255, 255, 0.4); }
.methods button[aria-pressed="true"] { border-color: var(--gold); color: #fff; background: rgba(212, 175, 55, 0.08); }
.methods button[aria-pressed="true"] .i { color: var(--gold); }
.method-desc { color: var(--mist); font-size: 0.92rem; min-height: 3.2em; margin-bottom: 22px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.amounts button { border: 1px solid var(--line); border-radius: 10px; padding: 15px 0; font-weight: 500; font-size: 1.05rem; transition: all .2s; }
.amounts button:hover { border-color: rgba(255, 255, 255, 0.4); }
.amounts button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--abyss); }
.mbway-number { display: none; align-items: center; justify-content: center; border: 1px dashed rgba(212, 175, 55, 0.5); border-radius: 12px; padding: 16px; margin-bottom: 24px; font-family: var(--display); font-weight: 800; font-size: 1.9rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.donate-panel.is-mbway .mbway-number { display: flex; }
.donate-panel .btn-gold { width: 100%; padding: 19px 20px; font-size: 14px; font-weight: 600; }
.thanks { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; font-size: 12px; color: var(--fog); }
.thanks .i { color: var(--gold); }

/* ---------- Patrocínio ---------- */
.sponsor { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(26px, 4vw, 64px); align-items: center; }
.sponsor-photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.sponsor-photo img { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; }
.points { margin: 30px 0 34px; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; color: rgba(255, 255, 255, 0.82); }
.points .i { color: var(--gold); font-size: 20px; margin-top: 3px; }

/* ---------- Contacto ---------- */
.field { width: 100%; background: rgba(12, 22, 39, 0.8); border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; color: #fff; font: inherit; font-size: 0.95rem; }
.field::placeholder { color: var(--fog); }
.field:focus { outline: none; border-color: var(--gold); }
textarea.field { min-height: 130px; resize: vertical; }
.substack { margin-top: 30px; max-width: 480px; border-radius: 14px; overflow: hidden; background: #fff; }
.substack iframe { display: block; width: 100%; height: 320px; border: 0; background: #fff; }
.subscribe { display: flex; gap: 12px; margin-top: 30px; max-width: 620px; flex-wrap: wrap; }
.subscribe .field { flex: 1 1 240px; }
.subscribe .btn { border-radius: 10px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 64px); margin-top: clamp(50px, 7vw, 96px); padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.contact h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -0.02em; }
.contact .links { margin-top: 26px; display: grid; gap: 14px; }
.contact .links a { display: inline-flex; align-items: center; gap: 14px; transition: color .2s; }
.contact .links a:hover { color: var(--gold); }
.contact .links .i { font-size: 18px; color: var(--mist); width: 40px; height: 40px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact form .full { grid-column: 1 / -1; }
.contact form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--gold); min-height: 1.4em; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 54px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-end; }
.footer .brand span { font-size: 16px; }
.footer .brand { align-items: flex-start; }
.footer .brand span { min-width: 0; }
.footer .brand small { display: block; line-height: 1.5; font-family: var(--body); font-weight: 300; font-size: 11px; letter-spacing: 0.24em; color: var(--fog); margin-top: 4px; }
.footer .right { text-align: right; font-size: 12px; color: var(--fog); }
.footer .right nav { display: flex; gap: 22px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.footer .right nav a:hover { color: #fff; }
.footer .right nav span { color: var(--gold); }

/* ---------- Galeria ---------- */
.gal-head { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; }
.back { display: inline-flex; gap: 12px; align-items: center; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist); }
.back:hover { color: #fff; }
.gallery { columns: 3; column-gap: 18px; margin-top: clamp(30px, 4vw, 54px); }
.gallery button { display: block; width: 100%; margin-bottom: 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); break-inside: avoid; }
.gallery img { width: 100%; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(3, 8, 17, 0.96); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(3, 8, 17, 0.7); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.lightbox .x { top: 18px; right: 18px; }
.lightbox .prev { left: 18px; top: 50%; margin-top: -26px; }
.lightbox .next { right: 18px; top: 50%; margin-top: -26px; }

/* ---------- Aviso (toast) ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #fff; color: var(--abyss); padding: 13px 22px; border-radius: 999px; font-weight: 500; font-size: 14px; transition: all .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animação de entrada ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Tablet e telemóvel ---------- */
@media (max-width: 960px) {
  .about-grid, .donate, .sponsor, .contact, .results, .journey { grid-template-columns: 1fr; }
  .journey-photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .cards3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .events li { grid-template-columns: 1fr auto; gap: 6px 14px; padding: 20px 6px; }
  .events .when { grid-column: 1; }
  .events .tag { grid-column: 2; grid-row: 1; }
  .events h3, .events .where { grid-column: 1 / -1; }
  .donate-photo { min-height: 440px; }
  .gallery { columns: 2; }
  .footer .right { text-align: left; }
  .footer .right nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .cards2 { grid-template-columns: 1fr; }
  .results ul.two { columns: 1; }
  .hero-foot { gap: 34px; }
  .count { gap: 8px; width: 100%; }
  .count div { flex: 1; }
  .count b { min-width: 0; }
  .cta-row .btn { flex: 1 1 100%; }
  .contact form { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: 1fr 1fr; }
  .brand span { font-size: 13px; }
  .gallery { column-gap: 10px; }
  .gallery button { margin-bottom: 10px; }
  .steps { padding-left: 36px; }
  .steps li::before { left: -36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}
