/* Flotilha Guará 524 — estilos compartilhados
   Tokens e componentes conforme design_handoff_flotilha_guara_524/README.md */

:root {
  --ink: #05141f;
  --ink-2: #0a2436;
  --blue: #2f9fd8;
  --ice: #8fd4f5;
  --red: #d8232a;
  --white: #ffffff;

  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-tertiary: rgba(255, 255, 255, 0.55);
  --text-tertiary-2: rgba(255, 255, 255, 0.5);
  --text-footer: rgba(255, 255, 255, 0.35);
  --border: rgba(143, 212, 245, 0.16);
  --border-strong: rgba(143, 212, 245, 0.28);
  --tag-fill: rgba(143, 212, 245, 0.14);
  --tag-border: rgba(143, 212, 245, 0.4);
  --row-hover: rgba(143, 212, 245, 0.07);
  --nav-bg: rgba(5, 20, 31, 0.78);
  --cal-highlight: rgba(216, 35, 42, 0.12);
  --cal-highlight-hover: rgba(216, 35, 42, 0.22);

  --content-max: 1280px;
  --pad-x: clamp(16px, 4vw, 56px);
  --pad-y: clamp(64px, 9vw, 120px);
  --pad-y-sm: clamp(48px, 7vw, 96px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: 'Montserrat', system-ui, sans-serif;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--ice); }
a:hover { color: var(--white); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

::selection { background: var(--blue); color: var(--ink); }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

h1, h2, h3, p { margin: 0; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes kenburns { 0% { transform: scale(1.06) translate3d(0,0,0); } 100% { transform: scale(1.22) translate3d(-2%,-2%,0); } }
@keyframes kenburns-alt { 0% { transform: scale(1.05); } 100% { transform: scale(1.18) translate3d(2%,-1%,0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(9px); opacity: .4; } }
@keyframes sheen { 0% { opacity: .25; transform: translateY(0); } 50% { opacity: .6; transform: translateY(-14px); } 100% { opacity: .25; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: .9; transform: scale(1.35); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px var(--pad-x);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav__brand { display: flex; align-items: center; text-decoration: none; color: var(--white); }

.logo {
  height: 40px;
  width: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 10px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.nav__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); }
.nav__link[aria-current="page"] { color: var(--ice); }

.nav__ig { color: var(--text-secondary); display: inline-flex; align-items: center; text-decoration: none; }
.nav__ig:hover { color: var(--white); }

.nav__lang {
  display: flex;
  align-items: center;
  border: 1px solid rgba(143, 212, 245, 0.35);
  border-radius: 999px;
  overflow: hidden;
}
.nav__lang button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 7px 9px;
  cursor: pointer;
  line-height: 1;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}
.nav__toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}
.nav__toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  padding: 16px 24px;
  transition: transform .25s var(--ease);
}
.btn--primary:hover { transform: translateY(-3px); color: var(--white); }

.btn--on-red {
  background: var(--white);
  color: var(--red);
  font-size: 16px;
  padding: 18px 26px;
  transition: transform .3s var(--ease);
}
.btn--on-red:hover { transform: translateY(-4px); color: var(--red); }

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  font-size: 15px;
  padding: 15px 24px;
  transition: background .25s ease, border-color .25s ease;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); }

.btn--outline-on-red {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-size: 16px;
  padding: 17px 26px;
  transition: background .3s ease;
}
.btn--outline-on-red:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }

.btn--cta-nav {
  background: var(--red);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ice);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid rgba(143, 212, 245, 0.4);
  padding-bottom: 6px;
  transition: gap .3s ease, border-color .3s ease;
}
.link-arrow:hover { gap: 20px; border-color: var(--ice); color: var(--ice); }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tag-fill);
  border: 1px solid var(--tag-border);
  color: var(--ice);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.tag--dot { gap: 9px; }
.tag__dot {
  width: 7px;
  height: 7px;
  background: var(--ice);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

.kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero__media { position: absolute; inset: -6%; will-change: transform; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  animation: kenburns 26s ease-in-out infinite alternate;
}

.hero__gradient-1 {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,20,31,0.86) 0%, rgba(5,20,31,0.28) 38%, rgba(5,20,31,0.94) 100%);
}
.hero__gradient-2 {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 12% 92%, rgba(47,159,216,0.35) 0%, transparent 58%);
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(48px,9vw,104px) var(--pad-x) clamp(40px,6vw,72px);
  display: grid;
  gap: 28px;
}

.hero__eyebrow { display: flex; align-items: center; gap: 14px; overflow: hidden; padding-top: 0.16em; margin-top: -0.16em; }
.hero__eyebrow > span { display: inline-block; animation: rise 0.9s var(--ease) both; }

.h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(34px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h1--page { font-size: clamp(32px, 6.4vw, 86px); }
.h1__line { display: block; overflow: hidden; padding-top: 0.16em; margin-top: -0.16em; }
.h1__line > span { display: block; animation: rise 1s var(--ease) both; }
.h1__line--ice > span { color: var(--ice); }

.hero__lead-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px 40px;
  align-items: end;
  animation: fadein 1.2s ease 0.6s both;
}

.lead {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }

.hero__scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(143, 212, 245, 0.85);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll-cue span { display: inline-block; animation: bob 2.4s ease-in-out infinite; }

/* ---------- Page headers (Galeria, Contato) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.page-header--tall { min-height: 52vh; display: flex; align-items: flex-end; }

.page-header__media { position: absolute; inset: -4%; }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-header__media--galeria img { opacity: 0.4; animation: kenburns 28s ease-in-out infinite alternate; }
.page-header__media--contato img { opacity: 0.42; animation: kenburns-alt 30s ease-in-out infinite alternate; }

.page-header__gradient--galeria {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,20,31,0.8) 0%, rgba(5,20,31,0.5) 40%, #05141f 100%);
}
.page-header__gradient--contato {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,20,31,0.78) 0%, rgba(5,20,31,0.45) 42%, #05141f 100%);
}

.page-header__content {
  position: relative;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(56px,8vw,112px) var(--pad-x) clamp(40px,6vw,72px);
}
.page-header__content--contato { padding: clamp(56px,8vw,104px) var(--pad-x) clamp(36px,5vw,64px); }

.page-header__tag-wrap { display: inline-block; overflow: hidden; padding-top: 0.16em; margin-top: -0.16em; }
.page-header__tag-wrap .tag { animation: rise .9s var(--ease) both; font-size: 11.5px; padding: 8px 13px; }

.page-header .h1 { margin-top: 22px; }

.page-header__lead {
  margin: 26px 0 0;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.78);
  animation: fadein 1.2s ease .5s both;
}
.page-header__lead--contato { max-width: 52ch; color: rgba(255,255,255,0.8); }
.page-header__lead--galeria { max-width: 56ch; }
.page-header__credit { position: absolute; right: var(--pad-x); bottom: 14px; margin: 0; font-size: 11px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.4); z-index: 1; }
.page-header--barco { min-height: 64vh; }
.page-header--patrocinio { min-height: 58vh; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__group {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  font-weight: 500;
  font-size: clamp(15px, 1.7vw, 22px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  align-items: center;
}
.marquee__sep { opacity: .5; }

/* ---------- Stats ---------- */
.stats {
  background: var(--ink);
  border-bottom: 1px solid rgba(143, 212, 245, 0.14);
}
.stats__grid {
  padding: clamp(40px,5vw,64px) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
}
.stat__number {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ice);
}
.stat__label {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Section shells ---------- */
.section { background: var(--ink); }
.section--alt { background: var(--ink-2); }
.section--red { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.section__inner { padding: var(--pad-y) var(--pad-x); }
.section__inner--sm { padding: var(--pad-y-sm) var(--pad-x); }

.h2 {
  margin: 18px 0 0;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* ---------- A flotilha ---------- */
.flotilha__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.flotilha__copy p {
  margin: 22px 0 0;
  font-size: 16.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
  max-width: 50ch;
}
.flotilha__specs {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--border-strong);
}
.flotilha__specs strong { display: block; margin: 0; font-weight: 500; font-size: 15px; }
.flotilha__specs span { display: block; margin: 6px 0 0; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); }

.flotilha__photo { position: relative; }
.flotilha__photo-wrap { overflow: hidden; will-change: transform; }
.flotilha__photo-wrap img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}
.flotilha__photo-wrap:hover img { transform: scale(1.05); }
.flotilha__badge {
  position: absolute;
  left: -10px;
  bottom: -18px;
  background: var(--blue);
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  animation: sheen 6s ease-in-out infinite;
}

/* ---------- Três passos ---------- */
.steps__header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: flex-end;
  justify-content: space-between;
}
.steps__support { margin: 0; font-size: 15.5px; line-height: 1.65; max-width: 34ch; color: rgba(255,255,255,0.65); }

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 64px);
}

.step-card {
  position: relative;
  background: var(--ink);
  border: 1px solid rgba(143, 212, 245, 0.18);
  padding: 32px 28px 36px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s ease;
}
.step-card:hover { transform: translateY(-8px); border-color: var(--blue); }
.step-card__number {
  margin: 0;
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(143, 212, 245, 0.28);
}
.step-card__title { margin: 18px 0 0; font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.step-card__text { margin: 12px 0 0; font-size: 15px; line-height: 1.62; color: rgba(255,255,255,0.68); }

/* ---------- Mosaico ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 4vw, 56px);
}
.mosaic__cell { overflow: hidden; background: var(--ink-2); aspect-ratio: 1/1; }
.mosaic__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}
.mosaic__cell:hover img { transform: scale(1.06); }

@media (max-width: 640px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Temporada / calendário ---------- */
.season__header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: flex-end;
  justify-content: space-between;
}
.season__support { margin: 0; font-size: 15.5px; line-height: 1.65; max-width: 36ch; color: rgba(255,255,255,0.65); }

.cal {
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid rgba(143, 212, 245, 0.22);
}
.cal-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--border);
  transition: background .35s ease;
}
.cal-row:hover { background: var(--row-hover); }
.cal-row--highlight { background: var(--cal-highlight); }
.cal-row--highlight:hover { background: var(--cal-highlight-hover); }

.cal-row__date { font-weight: 500; font-size: 15px; color: var(--ice); letter-spacing: 0.02em; }
.cal-row__title { font-weight: 500; font-size: clamp(17px, 2vw, 26px); letter-spacing: -0.02em; }
.cal-row__label { font-size: 11.5px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary-2); }
.cal-row__badge {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 6px 10px;
  border-radius: 999px;
}

@media (max-width: 560px) {
  .cal-row { grid-template-columns: 1fr auto; }
  .cal-row__date { grid-column: 1 / -1; }
}

/* ---------- CTA sections ---------- */
.cta { padding: clamp(72px,10vw,140px) var(--pad-x); }
.cta--gallery { padding: clamp(56px,8vw,112px) var(--pad-x); }
.cta--contact-cards { padding: clamp(56px,8vw,120px) var(--pad-x); }
.cta__kicker { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.cta__title {
  margin: 20px 0 0;
  font-weight: 500;
  font-size: clamp(34px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 22ch;
}
.cta__title--gallery { font-size: clamp(30px, 6vw, 84px); line-height: 0.96; max-width: 24ch; }
.cta__title--contact { font-size: clamp(30px, 6.2vw, 88px); line-height: 0.96; max-width: 22ch; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }
.cta__actions--gallery { margin-top: clamp(26px, 3.5vw, 44px); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--border); }
.footer__grid {
  padding: 44px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  align-items: start;
}
.footer__brand-text { margin: 14px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--text-tertiary); }
.footer__col { display: grid; gap: 10px; }
.footer__col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13.5px; }
.footer__col a:hover { color: var(--white); }
.footer__credit { margin: 0; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-footer); }
.footer .logo { height: 52px; }
.footer__flags { display: grid; gap: 14px; justify-items: start; }
.footer__flags-row { display: flex; align-items: center; gap: 5px; }

/* ---------- Galeria: Brasileiros ---------- */
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head__rule { flex: 1; min-width: 40px; height: 1px; background: rgba(143, 212, 245, 0.3); }
.section-head__meta { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.section-head__meta--ice { color: var(--ice); }

.edition { margin-top: clamp(32px, 4vw, 56px); }
.edition__header { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.edition__year { margin: 0; font-weight: 500; font-size: clamp(30px, 4vw, 54px); line-height: 1; letter-spacing: -0.04em; color: var(--ice); }
.edition__place { margin: 0; font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.edition__note { margin: 0; font-size: 11.5px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary-2); }

.results-table { margin-top: 18px; border-top: 1px solid var(--border-strong); width: 100%; border-collapse: collapse; }
.results-table thead th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 11px 6px;
  border-bottom: 1px solid rgba(143, 212, 245, 0.14);
}
.results-table thead th:last-child { text-align: right; }
.results-table tbody td {
  padding: 14px 6px;
  border-bottom: 1px solid rgba(143, 212, 245, 0.1);
  vertical-align: baseline;
  transition: background .3s ease;
  font-size: 15px;
}
.results-table tbody tr:hover td { background: var(--row-hover); }
.results-table .pos { font-weight: 500; }
.results-table .pos--top { color: var(--ice); }
.results-table .pos--rest { color: var(--text-tertiary); }
.results-table .boat { font-weight: 500; letter-spacing: -0.01em; }
.results-table .crew { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.68); }
.results-table .meta { font-size: 12px; text-align: right; color: rgba(255,255,255,0.45); }

.results-table__col { width: 56px; }

/* ---------- Galeria: Paranaenses ---------- */
.paranaenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(32px, 4vw, 56px);
}
.paranaense-card {
  background: var(--ink);
  border: 1px solid var(--border);
  padding: 26px 22px 12px;
  transition: border-color .4s ease, transform .4s var(--ease);
}
.paranaense-card:hover { border-color: var(--blue); transform: translateY(-6px); }
.paranaense-card__header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.paranaense-card__year { margin: 0; font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -0.04em; color: var(--ice); }
.paranaense-card__edition { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary-2); }
.paranaense-card__rows { margin-top: 16px; border-top: 1px solid rgba(143, 212, 245, 0.2); }
.paranaense-card__pending { margin-top: 16px; padding-top: 20px; border-top: 1px solid rgba(143, 212, 245, 0.2); }
.paranaense-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(143, 212, 245, 0.1);
  transition: background .3s ease;
}
.paranaense-row:hover { background: var(--row-hover); }
.paranaense-row .pos { font-weight: 500; font-size: 14px; }
.paranaense-row .pos--top { color: var(--ice); }
.paranaense-row .pos--rest { color: var(--text-tertiary); }
.paranaense-row .boat { display: block; font-weight: 500; font-size: 14.5px; letter-spacing: -0.01em; }
.paranaense-row .crew { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.62); }

/* ---------- Contato: cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
/* Patrocínio's four-up "onde a marca aparece" grid needs a narrower min
   than the three-card Contato layout to fit four columns at 1280px. */
.contact-grid--4up { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.contact-card {
  background: var(--ink-2);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--blue);
  padding: 32px 28px;
  transition: transform .4s var(--ease), border-color .4s ease;
}
.contact-card:hover { transform: translateY(-8px); }
.contact-card--blue { border-top-color: var(--blue); }
.contact-card--blue:hover { border-color: var(--blue); }
.contact-card--ice { border-top-color: var(--ice); }
.contact-card--ice:hover { border-color: var(--ice); }
.contact-card--red { border-top-color: var(--red); }
.contact-card--red:hover { border-color: var(--red); }

.contact-card__eyebrow { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); }
.contact-card__title { margin: 16px 0 0; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.contact-card__text { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.68); }
.contact-card__link {
  margin: 22px 0 0;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 212, 245, 0.45);
  padding-bottom: 4px;
}
.contact-card__link--arrow { display: inline-flex; align-items: center; gap: 8px; }
.contact-card__maps { display: grid; gap: 10px; margin-top: 20px; }
.contact-card__maps a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ice); text-decoration: none; }
.contact-card__maps a span { opacity: .7; }

.together__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.together__text { margin: 20px 0 0; font-size: 16px; line-height: 1.66; color: rgba(255,255,255,0.72); max-width: 48ch; }
.together__photo { overflow: hidden; }
.together__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.together__photo:hover img { transform: scale(1.06); }

/* ---------- Tag variants (pending / dashed) ---------- */
.tag--pending {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border: 1px dashed rgba(143, 212, 245, 0.4);
  padding: 8px 12px;
  border-radius: 999px;
}
.pending-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px dashed rgba(143, 212, 245, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
}
.pending-chip__meta { font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary-2); }

/* ---------- Feature cards (Barco: "por que competir"; reused generically) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: clamp(32px, 4vw, 48px); }
.feature-card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  padding: 28px 24px;
  transition: transform .4s var(--ease), border-color .4s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--blue); }
.feature-card__title { margin: 0; font-weight: 500; font-size: 19px; letter-spacing: -0.015em; }
.feature-card__text { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); }

/* ---------- Barco: trajetória (timeline) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--border-strong);
}
.timeline__item { padding: 22px 20px 22px 0; border-bottom: 1px solid rgba(143, 212, 245, 0.14); }
.timeline__year { margin: 0; font-weight: 500; font-size: 28px; color: var(--ice); }
.timeline__text { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.68); }
.timeline__note { margin: 28px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text-tertiary); max-width: 64ch; }

/* ---------- Barco: ficha técnica ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: clamp(32px, 4vw, 48px);
  border: 1px solid var(--border);
}
.spec-cell { background: var(--ink-2); padding: 24px 20px; }
.spec-cell__value { margin: 0; font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.spec-cell__label { margin: 8px 0 0; font-size: 11.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary-2); }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.detail-grid__label { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary-2); }
.detail-grid__text { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }

/* ---------- Barco: a planta ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.plans-figure { margin: 0; }
.plans-figure img { width: 100%; max-width: 340px; display: block; margin: 0 auto; background: var(--white); padding: 16px; }
.plans-figure figcaption { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-tertiary); text-align: center; }

/* ---------- Patrocínio: cotas ---------- */
.sponsor-list { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid rgba(143, 212, 245, 0.22); }
.sponsor-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(260px, 2fr) auto;
  gap: 16px 32px;
  align-items: baseline;
  padding: 28px 8px;
  border-bottom: 1px solid var(--border);
  transition: background .35s ease;
}
.sponsor-row:hover { background: var(--row-hover); }
.sponsor-row__title { margin: 0; font-weight: 500; font-size: clamp(19px, 2.2vw, 26px); letter-spacing: -0.02em; color: var(--ice); }
.sponsor-row__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.sponsor-row__badge { font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.sponsor-row__badge--red { color: var(--white); background: var(--red); }
.sponsor-row__badge--ice { color: var(--ink); background: var(--ice); }
.sponsor-row__badge--outline { color: rgba(255, 255, 255, 0.6); border: 1px solid var(--border-strong); }

/* ---------- Raia: mapa e tabelas ---------- */
.raia-map { height: min(70vh, 660px); width: 100%; background: var(--ink-2); border: 1px solid var(--border-strong); }
.leaflet-container { font-family: 'Montserrat', system-ui, sans-serif; }
.map-mark { display: grid; place-items: center; width: 24px; height: 24px; color: var(--white); border: 2px solid var(--white); border-radius: 50%; font-size: 12px; font-weight: 500; box-sizing: border-box; }
.raia-legend { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; margin-top: 18px; font-size: 12.5px; color: var(--text-tertiary); }
.raia-legend b { font-weight: 500; color: var(--white); }
.raia-legend__swatch { display: inline-block; width: 26px; height: 14px; margin-right: 9px; vertical-align: -2px; }
.raia-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.coord-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.coord-table th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary-2);
  padding: 11px 6px;
  border-bottom: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
}
.coord-table td { padding: 13px 6px; border-bottom: 1px solid rgba(143, 212, 245, 0.1); font-size: 14px; font-variant-numeric: tabular-nums; }
.coord-table tbody tr:hover { background: var(--row-hover); }
.coord-table td.n { font-weight: 500; width: 44px; }
.raia-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--text-tertiary); max-width: 52ch; }
.raia-tables h3 { margin: 0; font-weight: 500; font-size: 19px; letter-spacing: -0.015em; }

/* ---------- Reveal / reduced motion ----------
   Hidden-until-revealed state is opt-in via .js-reveal on <html>, set by main.js
   right before it starts observing. If JS never runs, content stays visible. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__media img, .page-header__media img { animation: none !important; }
  .marquee__track { animation: none !important; }
  .hero__eyebrow > span, .h1__line > span, .hero__lead-row, .page-header__tag-wrap .tag, .page-header__lead {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ---------- Responsive nav ----------
   Below 1100px the toggle shows and .nav__links hides by default; main.js
   applies the "open" state as an inline style directly on click (not a
   class), so it can't be defeated by any cascade/specificity surprise. */
@media (max-width: 1100px) {
  .nav__toggle { display: flex; }
  .nav__links { display: none !important; }
}
