/* ============================================================
   PROJETO EU — Página EU RUN
   Reutiliza tokens e componentes de styles.css + eu-experience.css
   ============================================================ */

/* ---------- HERO: conteúdo sempre visível (entrada via CSS, sem depender de JS) ---------- */
.xp-hero .reveal{ opacity:1; transform:none; }
@media (prefers-reduced-motion:no-preference){
  .xp-hero .reveal{ animation:runHeroIn .8s var(--ease) both; }
  .xp-hero .reveal.d1{ animation-delay:.12s; }
  .xp-hero .reveal.d2{ animation-delay:.24s; }
}
@keyframes runHeroIn{ from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:none; } }

/* ---------- HERO: lockup do logo oficial ---------- */
.run-hero-logo{ width:min(420px,68vw); height:auto; margin:0 auto clamp(22px,3vw,34px); filter:drop-shadow(0 10px 40px rgba(0,0,0,.55)); }
.xp-hero-centered h1.run-hero-title{ font-size:clamp(40px,7.6vw,116px); max-width:18ch; }
.xp-hero-centered h1.run-hero-title .red{ color:var(--red); }

/* ---------- BLOCO "O QUE É" (manifesto + texto) ---------- */
.run-about{ background:var(--bone); color:var(--ink); padding:clamp(72px,12vh,150px) var(--gut); }
.run-about-grid{ max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(32px,6vw,90px); align-items:start; }
@media (max-width:920px){ .run-about-grid{ grid-template-columns:1fr; } }
.run-about h2{ font-family:var(--font-display); text-transform:uppercase; font-size:clamp(34px,5.4vw,82px); line-height:.96; color:var(--ink); letter-spacing:.004em; }
.run-about h2 .red{ color:var(--red); }
.run-about-body{ display:flex; flex-direction:column; gap:18px; }
.run-about-body p{ font-size:clamp(16px,1.3vw,18.5px); line-height:1.75; color:#2a2a2a; max-width:50ch; }
.run-about-body p strong{ color:var(--ink); font-weight:700; }
.run-about-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.run-about-tags span{ font-family:var(--font-sub); font-weight:700; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--red); border:1px solid var(--gray-line-d); padding:8px 14px; border-radius:2px; }

/* ---------- EDIÇÃO: mídia em foto (sem recap) ---------- */
.ed-photo{ position:relative; aspect-ratio:4/5; border-radius:6px; overflow:hidden; background:#0a0a0a; border:1px solid var(--gray-line); }
.ed-photo image-slot{ position:absolute; inset:0; width:100%; height:100%; transition:transform .7s var(--ease); }
.ed-photo:hover image-slot{ transform:scale(1.04); }
body[data-duotone="on"] .ed-photo image-slot{ filter:grayscale(1) contrast(1.08) brightness(.94); transition:filter .5s ease, transform .7s var(--ease); }
body[data-duotone="on"] .ed-photo:hover image-slot{ filter:none; }
.ed-photo .cap{ position:absolute; left:0; bottom:0; z-index:2; padding:clamp(16px,1.8vw,24px); font-family:var(--font-sub); font-weight:700; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:#fff; text-shadow:0 1px 10px rgba(0,0,0,.7); }
.ed-photo::after{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg, rgba(10,10,10,.05), rgba(10,10,10,.55)); }

/* ---------- PARA QUEM É ---------- */
.run-for{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(34px,6vw,90px); align-items:start; }
@media (max-width:880px){ .run-for{ grid-template-columns:1fr; } }
.run-for h2{ font-family:var(--font-display); text-transform:uppercase; font-size:clamp(40px,7vw,118px); line-height:.86; color:#fff; }
.run-for h2 .red{ color:var(--red); }
.run-for-list{ display:flex; flex-direction:column; }
.run-for-list li{ list-style:none; display:flex; gap:20px; align-items:baseline; padding:clamp(18px,2vw,26px) 0; border-top:1px solid var(--gray-line); color:var(--bone); font-size:clamp(16px,1.5vw,20px); line-height:1.5; }
.run-for-list li:last-child{ border-bottom:1px solid var(--gray-line); }
.run-for-list li .n{ font-family:var(--font-sub); font-weight:800; font-size:13px; letter-spacing:.1em; color:var(--red); flex-shrink:0; padding-top:5px; min-width:34px; }

/* ---------- O QUE VOCÊ LEVA ---------- */
.run-take-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,28px); }
@media (max-width:820px){ .run-take-grid{ grid-template-columns:1fr; } }
.run-take{ border:1px solid var(--gray-line-d); border-radius:6px; padding:clamp(28px,3vw,42px); background:#fff; display:flex; flex-direction:column; gap:14px; transition:border-color .3s ease, transform .4s var(--ease); }
.run-take:hover{ border-color:var(--red); transform:translateY(-4px); }
.run-take .ic{ width:54px; height:54px; color:var(--red); }
.run-take .ic svg{ width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.6; }
.run-take h3{ font-family:var(--font-display); text-transform:uppercase; font-size:clamp(22px,2.2vw,32px); line-height:.98; color:var(--ink); }
.run-take p{ color:#4a4a4a; font-size:15.5px; line-height:1.6; }

/* ---------- GALERIA: cabeçalho ---------- */
.run-gal-intro{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:clamp(8px,1.5vw,18px); padding:0 var(--gut); }

/* ---------- CARROSSEL DE FOTOS POR EDIÇÃO ---------- */
.ed-carousel-wrap{ padding:0 0 clamp(48px,7vh,90px); }
.ed-carousel-head{ display:flex; align-items:center; justify-content:space-between; gap:18px; padding:0 var(--gut); margin-bottom:clamp(16px,2vw,22px); }
.ed-carousel-head .lbl{ font-family:var(--font-sub); font-weight:700; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--gray); }
.ed-carousel-nav{ display:flex; gap:10px; }
.ed-carousel-nav .vcar-nav{ width:46px; height:46px; }
.ed-carousel{ display:flex; gap:clamp(12px,1.4vw,18px); overflow-x:auto; scroll-snap-type:x mandatory; padding:0 var(--gut) 8px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.ed-carousel::-webkit-scrollbar{ display:none; }
.ec-card{ flex:0 0 clamp(230px,26vw,340px); aspect-ratio:4/3; scroll-snap-align:start; border-radius:6px; overflow:hidden; background:#0a0a0a; border:1px solid var(--gray-line); position:relative; }
.ec-card image-slot{ position:absolute; inset:0; width:100%; height:100%; transition:transform .5s var(--ease); }
.ec-card:hover image-slot{ transform:scale(1.04); }
body[data-duotone="on"] .ec-card image-slot{ filter:grayscale(1) contrast(1.08) brightness(.94); transition:filter .4s ease, transform .5s var(--ease); }
body[data-duotone="on"] .ec-card:hover image-slot{ filter:none; }

/* ---------- HOVER interativo (realce vermelho) ---------- */
.run-for-list li{ position:relative; transition:padding-left .3s var(--ease), color .3s ease, background .3s ease; }
.run-for-list li::after{ content:""; position:absolute; left:0; top:-1px; bottom:-1px; width:0; background:var(--red); transition:width .3s var(--ease); }
.run-for-list li:hover{ padding-left:20px; color:#fff; background:linear-gradient(90deg, rgba(225,6,0,.12), transparent 72%); }
.run-for-list li:hover::after{ width:3px; }
.run-for-list li:hover .n{ color:#fff; }
.ed-photo{ transition:border-color .35s ease, box-shadow .35s ease; }
.ed-photo:hover{ border-color:var(--red); box-shadow:0 26px 54px -30px rgba(225,6,0,.55); }
.ec-card{ transition:border-color .35s ease, transform .5s var(--ease); }
.ec-card:hover{ border-color:var(--red); }
