/* Página "Emotions" (page-emotions.php). Reutiliza variables/clases (eyebrow, accent, section-head, wrap, btn, cta-banner) de style.css. */

/* ===== Hero ===== */
.emotions-hero {
  padding:140px 0 40px;
}
.emotions-hero-card {
  position:relative;
  border-radius:32px;
  overflow:hidden;
  min-height:420px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:flex-end;
  padding:48px;
}
.emotions-hero-card::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,5,16,.15) 0%, rgba(5,5,16,.78) 72%, rgba(5,5,16,.94) 100%);
  pointer-events:none;
}
.emotions-hero-content {
  position:relative;
  z-index:2;
  max-width:640px;
}
.emotions-hero-content .eyebrow {
  margin-bottom:20px;
}
.emotions-hero-content h2 {
  font-size:clamp(28px,4.4vw,57px);
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.16;
  margin-bottom:18px;
}
.emotions-hero-content p {
  color:var(--ink-60);
  font-size:16px;
  line-height:1.7;
  max-width:540px;
}
@media (max-width:767px) {
  .emotions-hero {
    padding:90px 0 24px;
  }
  .emotions-hero-card {
    min-height:340px;
    padding:28px;
    border-radius:22px;
  }
}

/* ===== Intro ===== */
.emotions-intro {
  padding:20px 0 8px;
}

/* ===== Video gallery ===== */
.emotions-gallery {
  padding:48px 0 100px;
}
.emotions-gallery-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.emotions-video-card {
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:3/4;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--bg-1) center/contain no-repeat;
  border:1px solid var(--line);
  padding:0;
  cursor:pointer;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s;
}
.emotions-video-card:hover,
.emotions-video-card:focus-visible {
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.25);
}
.emotions-video-card video {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
}
.emotions-video-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(5,5,16,0) 60%, rgba(5,5,16,.75) 100%);
  transition:background .35s;
}
.emotions-video-card:hover::after {
  background:linear-gradient(180deg, rgba(5,5,16,.05) 0%, rgba(5,5,16,.6) 100%);
}
.emotions-video-title {
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:14px;
  margin:0;
  color:var(--white);
  font-size:14.5px;
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.3;
  text-shadow:0 2px 8px rgba(0,0,0,.5);
}
.emotions-play {
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,var(--orange-2) 0%, var(--orange) 60%, #d64300 100%);
  box-shadow:0 10px 26px -6px rgba(255,81,0,.55);
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
.emotions-video-card:hover .emotions-play {
  transform:translate(-50%,-50%) scale(1.1);
}
.emotions-play svg {
  width:20px;
  height:20px;
  color:var(--white);
  margin-left:2px;
}

@media (max-width:900px) {
  .emotions-gallery-grid {
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:520px) {
  .emotions-gallery {
    padding:32px 0 64px;
  }
  .emotions-gallery-grid {
    gap:14px;
  }
}

/* ===== LinkedIn ===== */
.emotions-linkedin {
  padding:40px 0 100px;
}
.emotions-linkedin-embed {
  max-width:900px;
  margin:0 auto;
}
.emotions-linkedin-fallback {
  display:flex;
  justify-content:center;
}
@media (max-width:520px) {
  .emotions-linkedin {
    padding:24px 0 64px;
  }
}

/* ===== Lightbox ===== */
.emotions-lightbox {
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.emotions-lightbox.is-open {
  display:flex;
}
.emotions-lightbox-backdrop {
  position:absolute;
  inset:0;
  background:rgba(5,5,16,.92);
  backdrop-filter:blur(6px);
}
.emotions-lightbox-inner {
  position:relative;
  z-index:1;
  width:100%;
  max-width:960px;
}
.emotions-lightbox-inner video {
  width:100%;
  max-height:80vh;
  border-radius:18px;
  background:#000;
  display:block;
  margin:0 auto;
  box-shadow:0 30px 70px -12px rgba(0,0,0,.6);
}
.emotions-lightbox-title {
  margin:16px 0 0;
  text-align:center;
  color:var(--white);
  font-size:16px;
  font-weight:700;
}
.emotions-lightbox-close {
  position:absolute;
  top:-48px;
  right:0;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--bg-1);
  border:1px solid var(--line);
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .25s, border-color .25s;
}
.emotions-lightbox-close:hover {
  background:var(--orange);
  border-color:var(--orange);
}
.emotions-lightbox-close svg {
  width:18px;
  height:18px;
}
@media (max-width:600px) {
  .emotions-lightbox-close {
    top:-42px;
    width:34px;
    height:34px;
  }
}
