/* Hero Imersivo para Casos Reais */
.hero-video-section {
  position: relative;
  height: 65vh;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 40px;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  color: var(--white);
}

.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(50px, 8vw, 100px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .9;
}

.casos-sub {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 237, 230, .5);
  max-width: 620px;
  margin: -16px 0 40px;
}
.casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
  gap: 32px;
  max-width: 1400px; 
  margin: 0 auto 80px;
  padding: 0 20px;
}
.caso-card {
  background: var(--gray);
  border: 1px solid var(--gray2);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;

}
.caso-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}
.caso-top {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.caso-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.caso-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.caso-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.caso-info h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.caso-role {
  font-size: 12px;
  color: rgba(240, 237, 230, .5);
  margin-bottom: 2px;
}
.caso-tag {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--lime);
}
.caso-headline {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 10px;
}


.caso-summary {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(240, 237, 230, .55);
  margin-bottom: 18px;
}
.caso-summary strong { color: var(--white); }
.caso-label {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.caso-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.caso-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ci-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ci-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.ci-text p {
  font-size: 12px;
  color: rgba(240, 237, 230, .45);
  line-height: 1.5;
}
.caso-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray2);
}
.caso-btn {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--black);
  border: none;
  border-radius: 100px;
  padding: 10px 18px;
  cursor: none;
  font-weight: 700;
  transition: transform .15s;
}
.caso-btn:hover { transform: translateY(-2px); }
.caso-share {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--gray2);
  color: rgba(240, 237, 230, .6);
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.caso-share:hover {
  background: #1a2d20;
  color: #4ade80;
  border-color: #166534;
}

/* ── MODAL DE HISTÓRIA ── */
.story-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.story-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.story-modal {
  background: #111;
  border: 1px solid var(--gray2);
  border-radius: 24px;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 36px;
  transform: scale(.94) translateY(16px);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.story-overlay.open .story-modal {
  transform: scale(1) translateY(0);
}
.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray2);
}
.story-head-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.story-head-info .caso-avatar {
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 12px;
}
.story-head-info h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.story-head-info .caso-role {
  font-size: 12px;
  color: rgba(240, 237, 230, .5);
}
.story-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--gray2);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.story-close:hover { background: var(--red); }
.story-text p {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(240, 237, 230, .7);
  margin-bottom: 16px;
  text-align: justify;
}
.story-text p:last-child { margin-bottom: 0; }
.story-quote {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--lime);
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 16px;
  margin: 28px 0;
}
.story-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gray2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.story-source {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, .4);
  text-decoration: none;
  transition: color .2s;
}
.story-source:hover { color: var(--lime); }
.story-footer-actions {
  display: flex;
  gap: 10px;
}
.story-share-btn {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--gray2);
  color: rgba(240, 237, 230, .6);
  border-radius: 100px;
  padding: 10px 18px;
  cursor: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, color .2s, border-color .2s;
}
.story-share-btn:hover {
  background: #1a2d20;
  color: #4ade80;
  border-color: #166534;
}
