/* ═══════════════════════════════════════════════
   JESSICA ALEGRE — v3
   Dark forest hero · Clean white sections
   Fonts: Cormorant (display) + Outfit (body)
═══════════════════════════════════════════════ */

:root {
  /* Palette */
  --forest:     #1c2820;
  --forest-2:   #243028;
  --forest-3:   #2e3c30;
  --ivory:      #f8f4ee;
  --cream:      #f0ebe1;
  --white:      #ffffff;
  --terra:      #c4694a;
  --terra-2:    #d4836a;
  --terra-3:    #a8503a;
  --gold:       #c9a86c;
  --text:       #1a1f1b;
  --text-2:     #4a5248;
  --text-3:     #8a958a;
  --border:     #e2ddd6;
  --border-dk:  rgba(255,255,255,.1);

  /* Sport colors */
  --swim:  #6ab4c2;
  --ride:  #c4694a;
  --run:   #c9a86c;
  --other: #8ea690;

  /* Fonts */
  --serif: 'Cormorant', serif;
  --sans:  'Outfit', sans-serif;

  /* Radii */
  --r:   10px;
  --r-lg:18px;
  --r-xl:26px;

  /* Shadows */
  --sh-sm: 0 2px 12px rgba(0,0,0,.08);
  --sh-md: 0 6px 32px rgba(0,0,0,.12);
  --sh-lg: 0 20px 64px rgba(0,0,0,.18);

  --t: .28s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ivory); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 36px; }
.section { padding: 100px 0; background: var(--ivory); }
.section-dark { background: var(--forest); }

/* ── Typography helpers ── */
.eyebrow {
  display: block; font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 12px;
}
.eyebrow-light { color: var(--terra-2); }

h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05; color: var(--text); margin-bottom: 28px;
}
h2 em { font-style: italic; color: var(--terra); }
.h2-light { color: var(--ivory); }
.h2-light em { color: var(--terra-2); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--terra); color: #fff;
  border-radius: 100px; font-size: .86rem; font-weight: 500;
  transition: var(--t); box-shadow: 0 4px 20px rgba(196,105,74,.35);
}
.btn-primary:hover { background: var(--terra-3); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border: 1.5px solid rgba(248,244,238,.25);
  color: rgba(248,244,238,.8); border-radius: 100px;
  font-size: .86rem; font-weight: 500; transition: var(--t);
}
.btn-outline:hover { border-color: rgba(248,244,238,.6); color: var(--ivory); }

.btn-outline-sm {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border: 1px solid var(--border);
  color: var(--text-2); border-radius: 100px;
  font-size: .78rem; font-weight: 500; transition: var(--t);
}
.btn-outline-sm:hover { border-color: var(--terra); color: var(--terra); }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border: 1px solid var(--border-dk);
  color: rgba(248,244,238,.6); border-radius: 100px;
  font-size: .8rem; font-weight: 500; transition: var(--t);
  white-space: nowrap; align-self: flex-end;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ── AOS (scroll reveal) ── */
[data-aos] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-aos].aos-in { opacity: 1; transform: none; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 16px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 36px;
  height: 68px; display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 52px; width: auto; display: block; object-fit: contain; }

.nav-links {
  display: flex; gap: 4px; list-style: none;
  justify-content: center;
}
.nav-links a {
  padding: 7px 14px; font-size: .82rem; color: var(--text-2);
  border-radius: 100px; transition: var(--t);
}
.nav-links a:hover { color: var(--text); background: var(--cream); }

.nav-btn-right {
  background: var(--terra); color: #fff !important;
  padding: 8px 20px; border-radius: 100px;
  font-size: .82rem; font-weight: 500; transition: var(--t);
  white-space: nowrap;
}
.nav-btn-right:hover { background: var(--terra-3); }

.burger { display: none; flex-direction: column; gap: 6px; padding: 4px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 100vh; background: var(--white);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hbg-grad-1 {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,105,74,.08) 0%, transparent 65%);
  top: -180px; right: -180px;
  animation: pulse1 14s ease-in-out infinite;
}
.hbg-grad-2 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,108,.07) 0%, transparent 65%);
  bottom: -100px; left: -100px;
  animation: pulse2 18s ease-in-out infinite;
}
.hbg-noise {
  position: absolute; inset: 0; opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
@keyframes pulse1 { 0%,100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.1) translate(20px,30px); } }
@keyframes pulse2 { 0%,100% { transform: scale(1) translate(0,0); } 50% { transform: scale(1.08) translate(-15px,-20px); } }

.hero-inner {
  position: relative; z-index: 1; flex: 1;
  max-width: 1080px; margin: 0 auto; padding: 0 36px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding-top: 100px; padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid var(--border);
  border-radius: 100px; font-size: .72rem; font-weight: 500;
  color: var(--text-2); margin-bottom: 28px; width: fit-content;
  background: var(--cream);
}
.hb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 6px #22c55e;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.4; } }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.8rem, 8.5vw, 6.8rem);
  font-weight: 700; line-height: .95;
  color: var(--text); letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--terra); display: block; font-weight: 400; }

.hero-desc {
  font-size: .94rem; font-weight: 300; line-height: 1.75;
  color: var(--text-2); max-width: 400px; margin-bottom: 28px;
}

.hero-sports {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.hero-sports span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid var(--border);
  border-radius: 100px; font-size: .78rem; font-weight: 400;
  color: var(--text-2); transition: var(--t); background: var(--white);
}
.hero-sports span:hover { border-color: var(--terra); color: var(--terra); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-actions .btn-outline { border-color: var(--border); color: var(--text-2); }
.hero-actions .btn-outline:hover { border-color: var(--terra); color: var(--terra); }

.btn-outline-offer {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border: 1.5px solid var(--terra);
  color: var(--terra); border-radius: 100px;
  font-size: .86rem; font-weight: 600; transition: var(--t);
  background: rgba(196,105,74,.06);
}
.btn-outline-offer:hover { background: var(--terra); color: #fff; }

.hero-mini-stats {
  display: flex; align-items: center; gap: 0;
  padding: 18px 24px; background: var(--cream);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  width: fit-content;
}
.hms-item { display: flex; flex-direction: column; align-items: center; padding: 0 20px; gap: 2px; }
.hms-num { font-family: var(--serif); font-size: 1.7rem; color: var(--terra); line-height: 1; }
.hms-lbl { font-size: .65rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.hms-sep { width: 1px; height: 32px; background: var(--border); }

.hero-right { display: flex; justify-content: flex-end; align-items: center; }
.hero-card {
  position: relative; width: 340px; max-width: 100%;
  background: var(--ivory); border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,.14), 0 2px 12px rgba(0,0,0,.08);
  border: 1px solid var(--border);
}
.hc-img-wrap { position: relative; }
.hc-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.hc-handle {
  padding: 14px 18px;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 400;
  color: var(--text); letter-spacing: .01em;
  border-top: 1px solid var(--border);
}

.hc-chip {
  position: absolute; display: flex; align-items: center; gap: 6px;
  background: rgba(28,40,32,.88); backdrop-filter: blur(8px);
  color: var(--ivory); border-radius: 100px;
  padding: 7px 14px; font-size: .72rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.1); white-space: nowrap;
}
.hc-chip-2 { bottom: 16px; left: 16px; }

.hc-badge-bottom {
  position: absolute; bottom: 60px; left: -1px;
  background: var(--white); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 12px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-md);
}
.hcb-num { font-family: var(--serif); font-size: 2.4rem; color: var(--terra); line-height: 1; font-weight: 400; }
.hcb-text { display: flex; flex-direction: column; gap: 1px; }
.hcb-main { font-size: .8rem; font-weight: 600; color: var(--text); }
.hcb-sub { font-size: .68rem; color: var(--text-3); }

.hero-scroll {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-bottom: 28px;
}
.hs-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--terra));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
.hero-scroll span { font-size: .62rem; letter-spacing: .22em; color: var(--text-3); text-transform: uppercase; }
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.08)} }

/* ══════════════════════════════
   TICKER
══════════════════════════════ */
.ticker {
  background: var(--forest); overflow: hidden;
  padding: 0; border-top: 1px solid rgba(255,255,255,.06);
}
.ticker-inner {
  display: inline-flex; gap: 0; white-space: nowrap; align-items: stretch;
  animation: ticker 32s linear infinite;
}
.ticker-inner b { color: rgba(255,255,255,.15); font-weight: 400; display: flex; align-items: center; padding: 0 24px; font-size: .7rem; }
.tk-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 32px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.tk-medal { font-size: 1.1rem; }
.tk-info { display: flex; flex-direction: column; gap: 2px; }
.tk-race { font-size: .78rem; font-weight: 500; color: rgba(248,244,238,.85); white-space: nowrap; }
.tk-year { font-size: .65rem; color: rgba(248,244,238,.3); letter-spacing: .08em; text-transform: uppercase; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ══════════════════════════════
   SOBRE
══════════════════════════════ */
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}

.sobre-video {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 9/16; max-height: 560px;
}
.sv-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.sobre-photos { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.sp-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.sp-aux { display: flex; flex-direction: column; gap: 10px; }
.sp-aux-img { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; }
.sp-aux-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-aux-stat {
  background: var(--forest); border-radius: var(--r-lg);
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; min-height: 100px;
}
.sas-num { font-family: var(--serif); font-size: 2rem; color: var(--terra-2); line-height: 1; }
.sas-lbl { font-size: .65rem; color: rgba(248,244,238,.45); text-transform: uppercase; letter-spacing: .1em; text-align: center; }

.sobre-text h2 { margin-bottom: 14px; }
.sobre-text p { font-size: .9rem; color: var(--text-2); line-height: 1.8; margin-bottom: 12px; }
.sobre-text strong { color: var(--text); font-weight: 600; }

.sobre-trofeus {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.st-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 80px; cursor: default;
}
.st-badge {
  width: 72px; height: 72px; border-radius: 18px;
  overflow: hidden; background: var(--cream);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.st-item:hover .st-badge { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.st-badge img { width: 100%; height: 100%; object-fit: cover; }
.st-pos {
  font-size: .6rem; font-weight: 500; color: var(--terra);
  text-align: center; letter-spacing: .08em; text-transform: uppercase;
}

.sobre-socials { display: flex; gap: 8px; margin-top: 24px; }

/* ══════════════════════════════
   TREINOS — redesign
══════════════════════════════ */
.treinos-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.treinos-header h2 { margin-bottom: 0; }

/* ── Bloco 1: Modalidades ── */
.tr-modalities {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.15fr;
  gap: 12px;
  margin-bottom: 16px;
}

.tr-mod {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 22px 20px 20px;
  display: flex; flex-direction: column;
  transition: background .25s;
  position: relative;
}
.tr-mod:hover { background: rgba(255,255,255,.08); }

.tr-mod::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  border-radius: 20px 20px 0 0;
}
.tr-mod-swim::before { background: var(--swim); }
.tr-mod-ride::before { background: var(--ride); }
.tr-mod-run::before  { background: var(--run);  }
.tr-mod-total::before { background: linear-gradient(90deg, var(--swim), var(--ride), var(--run)); }

.tr-mod-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.tr-mod-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tr-mod-swim .tr-mod-icon { background: rgba(106,180,194,.15); color: var(--swim); }
.tr-mod-ride .tr-mod-icon { background: rgba(196,105,74,.15);  color: var(--ride); }
.tr-mod-run  .tr-mod-icon { background: rgba(201,168,108,.15); color: var(--run);  }

.tr-mod-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(248,244,238,.4);
}

.tr-mod-main {
  font-family: var(--sans); font-size: 1.7rem; font-weight: 300;
  color: var(--ivory); line-height: 1; margin-bottom: 12px;
  letter-spacing: -.01em;
}

.tr-mod-subs {
  display: flex; gap: 14px; margin-bottom: 16px; flex: 1;
}
.tr-mod-sub { display: flex; flex-direction: column; gap: 1px; }
.tr-mod-sub span { font-size: .82rem; font-weight: 500; color: rgba(248,244,238,.8); }
.tr-mod-sub small {
  font-size: .6rem; text-transform: uppercase;
  letter-spacing: .09em; color: rgba(248,244,238,.28);
}

.tr-mod-bar {
  height: 2px; background: rgba(255,255,255,.08);
  border-radius: 2px; overflow: hidden; margin-top: auto;
}
.tr-mod-fill { height: 100%; border-radius: 2px; }
.tr-mod-swim .tr-mod-fill { background: var(--swim); }
.tr-mod-ride .tr-mod-fill { background: var(--ride); }
.tr-mod-run  .tr-mod-fill { background: var(--run);  }

/* Total card */
.tr-mod-total {
  background: rgba(196,105,74,.08);
  border-color: rgba(196,105,74,.2);
  justify-content: flex-start; gap: 0;
}
.tr-total-big {
  font-family: var(--sans); font-size: 3.6rem; font-weight: 200;
  color: var(--terra-2); line-height: 1;
  margin-bottom: 2px; letter-spacing: -.03em;
}
.tr-total-label {
  font-size: .66rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(248,244,238,.3);
  margin-bottom: 20px;
}
.tr-total-divider {
  height: 1px; background: rgba(255,255,255,.07); margin-bottom: 16px;
}
.tr-total-stats { display: flex; flex-direction: column; gap: 8px; }
.tr-total-stats > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.tr-total-stats span { font-size: .86rem; font-weight: 400; color: var(--ivory); }
.tr-total-stats small {
  font-size: .6rem; text-transform: uppercase;
  letter-spacing: .09em; color: rgba(248,244,238,.28); white-space: nowrap;
}

/* ── Bloco 2: Weekly + Feed ── */
.tr-bottom {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 12px; align-items: start;
}

.tr-weekly-header {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.tr-block-title {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(248,244,238,.4);
}
.wl-legend { display: flex; gap: 14px; align-items: center; }
.wl-legend span { font-size: .75rem; font-weight: 500; letter-spacing: .04em; }

/* Weekly bars */
.tr-weekly {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px; padding: 24px 20px;
}
.tr-bars {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 8px; height: 200px; align-items: end;
}
.tr-bar-group {
  display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%;
}
.tr-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.tr-bar-stack {
  width: 100%; height: 100%;
  display: flex; flex-direction: column-reverse;
  border-radius: 8px 8px 3px 3px; overflow: hidden;
  background: rgba(255,255,255,.04);
  transform: scaleY(var(--scale, 1));
  transform-origin: bottom;
  transition: transform 1.1s cubic-bezier(.34,1.2,.64,1);
}
.tr-seg { width: 100%; height: var(--h); }
.ts-swim  { background: var(--swim); opacity: .9; }
.ts-ride  { background: var(--ride); opacity: .9; }
.ts-run   { background: var(--run);  opacity: .9; }
.ts-other { background: var(--other); opacity: .7; }
.tr-bar-name {
  font-size: .67rem; color: rgba(248,244,238,.35);
  text-transform: uppercase; letter-spacing: .08em;
}
.tr-bar-val { font-size: .75rem; font-weight: 600; color: var(--ivory); }

/* Feed wrap */
.tr-feed-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  display: flex; flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.tr-feed-title {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(248,244,238,.4);
  padding: 20px 20px 8px;
  flex-shrink: 0;
}

/* Activity feed — scrollable */
.activity-feed {
  display: flex; flex-direction: column;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 16px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.activity-feed::-webkit-scrollbar { width: 4px; }
.activity-feed::-webkit-scrollbar-track { background: transparent; }
.activity-feed::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

/* Date group header */
.af-date-group {
  font-size: .62rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(248,244,238,.3);
  padding: 16px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 0;
  position: sticky; top: 0;
  background: rgba(28,42,32,.98);
  backdrop-filter: blur(4px);
  z-index: 1;
}
.af-date-group:first-child { padding-top: 2px; }

/* ─────────────────────────────────────────
   af-item
   Estrutura: ícone | nome (auto) | spacer (1fr) | dist | tempo | elev
   O spacer 1fr absorve o espaço sobrando e
   empurra os dados para a direita — limpo e justo.
   Nome usa auto: ocupa só o que precisa, sem vazar.
───────────────────────────────────────── */
.af-item {
  display: grid;
  grid-template-columns: 34px auto 1fr minmax(48px, 56px) minmax(52px, 62px) minmax(40px, 52px);
  gap: 8px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: opacity .2s; cursor: pointer;
  min-width: 0;
}
.af-item:last-child  { border-bottom: none; padding-bottom: 4px; }
.af-item:hover { opacity: .75; }

.af-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.af-icon.swim  { background: rgba(106,180,194,.15); color: var(--swim); }
.af-icon.ride  { background: rgba(196,105,74,.15);  color: var(--ride); }
.af-icon.run   { background: rgba(201,168,108,.15); color: var(--run);  }
.af-icon.other { background: rgba(142,166,144,.15); color: var(--other); }
.af-icon svg   { width: 15px; height: 15px; }

.af-name {
  font-size: .86rem; font-weight: 500; color: var(--ivory);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 180px; /* impede que nomes longos quebrem o layout */
}

/* spacer — absorve espaço entre nome e dados */
.af-spacer { min-width: 0; }

.af-col  { text-align: right; min-width: 0; }
.af-val  { font-size: .82rem; font-weight: 500; color: var(--ivory); white-space: nowrap; }
.af-lbl  { font-size: .6rem; color: rgba(248,244,238,.3); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }

/* ══════════════════════════════
   CONQUISTAS
══════════════════════════════ */
.cq-header { margin-bottom: 40px; }
.cq-header h2 { margin-bottom: 0; }

.cq-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cq-card {
  padding: 28px 24px; border-radius: var(--r-xl);
  border: 1px solid var(--border); background: var(--white);
  transition: var(--t); position: relative; overflow: hidden;
}
.cq-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--terra), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.cq-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.cq-card:hover::after { transform: scaleX(1); }
.cq-card.cq-dark { background: var(--forest); border-color: var(--forest); }
.cq-dark h3 { color: var(--ivory); }
.cq-dark p  { color: rgba(248,244,238,.4); }
.cq-dark .cq-year { background: rgba(255,255,255,.08); color: var(--terra-2); }
.cq-medal { font-size: 1.8rem; margin-bottom: 16px; display: block; }
.cq-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-bottom: 4px; color: var(--text); }
.cq-card p  { font-size: .8rem; color: var(--text-2); margin-bottom: 14px; }
.cq-year {
  display: inline-block; padding: 3px 10px;
  background: rgba(196,105,74,.08); color: var(--terra);
  border-radius: 100px; font-size: .68rem; font-weight: 600;
}

/* ══════════════════════════════
   GALERIA
══════════════════════════════ */
.galeria-section { padding: 100px 0 0; background: var(--ivory); }
.galeria-header {
  max-width: 1080px; margin: 0 auto; padding: 0 36px;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.galeria-header h2 { margin-bottom: 0; }

.galeria-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 8px; padding: 0 36px;
  max-width: 1080px; margin: 0 auto;
}
.gg-item { border-radius: var(--r-lg); overflow: hidden; position: relative; cursor: pointer; }
.gg-item.gg-tall { grid-row: span 2; }
.gg-item.gg-wide { grid-column: span 2; }
.gg-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; filter: brightness(.92);
}
.gg-item:hover img { transform: scale(1.04); filter: brightness(.75); }
.gg-overlay {
  position: absolute; inset: 0; padding: 18px;
  display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(28,40,32,.7) 0%, transparent 60%);
  opacity: 0; transition: var(--t);
}
.gg-item:hover .gg-overlay { opacity: 1; }
.gg-overlay span { font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.9); }

/* ══════════════════════════════
   PARCEIROS
══════════════════════════════ */
.parc-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.parc-header h2 { margin-bottom: 0; }
.parc-hint { font-size: .75rem; color: rgba(248,244,238,.35); align-self: flex-end; padding-bottom: 4px; }

.parc-grid {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border-dk);
}
.pc {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border-dk);
  transition: var(--t);
}
.pc:last-child { border-bottom: none; }
.pc:hover { background: rgba(255,255,255,.08); }

.pc-logo {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--white); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1); font-weight: 700; color: var(--text-2);
}
.pc-logo.pc-dark { background: #111; }
.pc-logo img { width: 40px; height: 40px; object-fit: cover; }

.pc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pc-info strong { font-size: .88rem; font-weight: 600; color: var(--ivory); }
.pc-info span   { font-size: .73rem; color: rgba(248,244,238,.38); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pc-btn {
  padding: 7px 18px; background: var(--gold); color: var(--forest);
  border-radius: 100px; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; transition: var(--t); flex-shrink: 0;
}
.pc-btn:hover { background: #d9b87c; transform: scale(1.04); }
.pc-btn.ok { background: #22c55e; color: #fff; }

.pc-tag {
  font-size: .68rem; font-weight: 500;
  padding: 5px 12px; border: 1px solid var(--border-dk);
  border-radius: 100px; color: rgba(248,244,238,.35); flex-shrink: 0;
}

/* ══════════════════════════════
   CONTATO
══════════════════════════════ */
.contato-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.contato-grid h2 { margin-bottom: 0; }
.contato-desc { font-size: .9rem; color: var(--text-2); margin-top: 12px; }
.contato-right { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contato-socials { display: flex; gap: 10px; }
.contato-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--text-3);
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.contato-socials a:hover { border-color: var(--terra); color: var(--terra); }
.contato-socials a svg { width: 16px; height: 16px; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--forest); border-top: 1px solid var(--border-dk);
  padding: 28px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); }
.footer-logo em { color: var(--terra); font-style: normal; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .78rem; color: rgba(248,244,238,.4); transition: var(--t); }
.footer-links a:hover { color: var(--ivory); }
.footer-copy { font-size: .72rem; color: rgba(248,244,238,.2); }

/* ══════════════════════════════
   TOAST
══════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--forest); color: var(--ivory);
  padding: 10px 24px; border-radius: 100px;
  font-size: .82rem; font-weight: 500;
  box-shadow: var(--sh-md); z-index: 999;
  border: 1px solid var(--border-dk);
  transition: transform .38s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .tr-modalities { grid-template-columns: 1fr 1fr; }
  .tr-mod-total {
    grid-column: span 2;
    flex-direction: row; align-items: center; gap: 32px;
  }
  .tr-total-divider { width: 1px; height: 60px; margin: 0; }
  .tr-total-stats { flex-direction: row; gap: 24px; }
  .tr-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-right { display: none; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photos { display: none; }
  .cq-grid { grid-template-columns: repeat(2,1fr); }
  .galeria-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gg-item.gg-tall { grid-row: auto; }
  .gg-item.gg-wide { grid-column: span 2; }
  .contato-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-inner { padding: 0 20px; padding-top: 100px; padding-bottom: 40px; }
  .hero-mini-stats { width: 100%; justify-content: center; }
  .tr-modalities { grid-template-columns: 1fr; }
  .tr-mod-total { grid-column: auto; flex-direction: column; }
  .tr-total-divider { width: 100%; height: 1px; margin: 0; }
  .tr-total-stats { flex-direction: column; }
  .tr-bottom { grid-template-columns: 1fr; }
  .af-item {
    grid-template-columns: 34px auto 1fr minmax(44px, 52px) minmax(48px, 56px);
  }
  .af-item > .af-col:last-child { display: none; } /* esconde elevação no mobile */
  .af-name { max-width: 120px; }
  .cq-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .gg-item.gg-wide { grid-column: auto; }
  .galeria-grid { grid-template-rows: auto; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}