:root {
  --video-radius: 28px;
  --video-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}
.innovation-hero,
.page-hero {
  padding: 42px 0 34px !important;
  min-height: auto !important;
}
.innovation-grid,
.page-hero-grid {
  align-items: center !important;
  gap: 42px !important;
}
.tech-title {
  font-size: clamp(48px, 5vw, 70px) !important;
  line-height: 0.98 !important;
}
.tech-subtitle {
  font-size: clamp(18px, 1.45vw, 21px) !important;
  line-height: 1.55 !important;
}
.tech-section {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}
.tech-section-head {
  margin-bottom: 28px !important;
}
.tech-callout {
  padding: 48px !important;
  min-height: auto !important;
}
.innovation-band .tech-section {
  padding-top: 54px !important;
  padding-bottom: 54px !important;
}
.hero-video-shell,
.showcase-video {
  position: relative;
  overflow: hidden;
  border-radius: var(--video-radius);
  background: #061126;
  box-shadow: var(--video-shadow);
  border: 1px solid rgba(77, 94, 255, 0.16);
}
.hero-video-shell {
  min-height: 420px;
  aspect-ratio: 16/9;
}
.hero-video-shell video,
.showcase-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #061126;
}
.hero-video-shell video {
  position: absolute;
  inset: 0;
}
.hero-video-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 15px 17px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(90deg, rgba(3, 10, 27, 0.92), rgba(3, 10, 27, 0.58));
  backdrop-filter: blur(10px);
  z-index: 3;
}
.hero-video-label b {
  display: block;
  font-size: 16px;
}
.hero-video-label span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #d9e2ff;
}
.video-live-chip {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 4;
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(3, 10, 27, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.video-live-chip i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3a7;
  margin-right: 6px;
  box-shadow: 0 0 0 5px rgba(34, 211, 167, 0.13);
}
.static-video-story {
  padding: 38px 0 52px;
  background: linear-gradient(180deg, #fff 0, #f7f9ff 100%);
}
.static-video-story .video-story-head {
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: center;
}
.static-video-story .video-story-head h2 {
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 10px 0 12px;
}
.static-video-story .video-story-head p {
  font-size: 18px;
  line-height: 1.55;
  color: #53627a;
  max-width: 780px;
  margin: auto;
}
.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.video-showcase-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.video-showcase-card {
  overflow: hidden;
  border: 1px solid #e3e8f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}
.video-showcase-card .showcase-video {
  border: 0;
  border-radius: 0;
  aspect-ratio: 16/9;
  box-shadow: none;
}
.video-showcase-card.portrait .showcase-video {
  aspect-ratio: 4/5;
  background: #061126;
}
.video-showcase-card.portrait video {
  object-fit: contain;
}
.video-showcase-copy {
  padding: 18px 19px 20px;
}
.video-showcase-copy small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #635bff;
}
.video-showcase-copy h3 {
  font-size: 23px;
  line-height: 1.1;
  margin: 7px 0 8px;
  letter-spacing: -0.025em;
}
.video-showcase-copy p {
  font-size: 15px;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}
.video-play-fallback {
  display: none;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  background: #fff;
  color: #0b1530;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.video-shell-blocked .video-play-fallback {
  display: block;
}
.video-proof-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.video-proof-strip span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #eef2ff;
  color: #29365b;
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 920px) {
  .innovation-grid,
  .page-hero-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-video-shell {
    min-height: 0;
  }
  .video-showcase-grid,
  .video-showcase-grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .tech-title {
    font-size: clamp(42px, 9vw, 58px) !important;
  }
}
@media (max-width: 640px) {
  .innovation-hero,
  .page-hero {
    padding: 24px 0 20px !important;
  }
  .tech-section {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }
  .tech-title {
    font-size: clamp(36px, 10.8vw, 46px) !important;
    line-height: 1 !important;
  }
  .tech-subtitle {
    font-size: 17px !important;
  }
  .innovation-grid,
  .page-hero-grid {
    gap: 24px !important;
  }
  .hero-video-shell {
    border-radius: 20px;
  }
  .hero-video-label {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 11px 12px;
  }
  .static-video-story {
    padding: 24px 0 38px;
  }
  .static-video-story .video-story-head {
    text-align: left;
  }
  .static-video-story .video-story-head h2 {
    font-size: 35px;
  }
  .static-video-story .video-story-head p {
    font-size: 17px;
  }
  .video-showcase-grid,
  .video-showcase-grid.two {
    grid-template-columns: 1fr;
  }
  .video-showcase-card {
    border-radius: 20px;
  }
  .tech-callout {
    padding: 30px 22px !important;
  }
  .video-live-chip {
    top: 10px;
    left: 10px;
  }
  .innovation-proof {
    grid-template-columns: 1fr !important;
  }
}

/* QA final: impedir que aspect-ratio force a coluna além do container */
.hero-video-shell {
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  aspect-ratio: 16/9;
}
.innovation-copy,
.page-hero-grid > div {
  min-width: 0;
}
@media (max-width: 640px) {
  .innovation-grid,
  .page-hero-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-video-shell {
    order: -1 !important;
    width: 100% !important;
  }
  .innovation-hero .tech-container,
  .page-hero .tech-container {
    width: min(100% - 24px, 1180px) !important;
  }
  .innovation-hero,
  .page-hero {
    padding-top: 14px !important;
  }
  .hero-video-shell {
    margin-bottom: 4px;
  }
  .hero-video-label span {
    font-size: 11px;
  }
}

/* Final visual tightening: less dead space, larger mobile proofs and real video instead of illustrative panels. */
.tech-section {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}
.innovation-band .tech-section {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}
.static-video-story {
  padding: 30px 0 38px !important;
}
.tech-callout {
  padding: 38px !important;
}
.ai-highlight {
  gap: 30px !important;
  padding: 34px !important;
  align-items: center !important;
}
.video-showcase-copy {
  padding: 15px 17px 17px !important;
}
.video-showcase-grid {
  align-items: start;
}
.video-showcase-card.portrait {
  max-width: 430px;
  width: 100%;
  justify-self: center;
}
.video-showcase-card.portrait .showcase-video {
  aspect-ratio: 9/16 !important;
}
.video-showcase-card.portrait video {
  object-fit: cover !important;
}
.page-visual.whatsapp-proof {
  min-height: 0 !important;
  aspect-ratio: 9/16;
  max-width: 430px;
  width: 100%;
  justify-self: center;
  background: #061126;
}
.page-visual.whatsapp-proof > video {
  object-fit: cover !important;
}
.proof-video-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #061126;
  box-shadow: var(--video-shadow);
  border: 1px solid rgba(77, 94, 255, 0.16);
  aspect-ratio: 16/9;
  min-width: 0;
}
.proof-video-panel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #061126;
}
.proof-video-label {
  position: absolute;
  z-index: 4;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(90deg, rgba(3, 10, 27, 0.94), rgba(3, 10, 27, 0.56));
  backdrop-filter: blur(10px);
}
.proof-video-label b {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}
.proof-video-label span {
  display: block;
  font-size: 11px;
  color: #d9e2ff;
  margin-top: 3px;
}
.ai-highlight > .proof-video-panel {
  width: 100%;
}
@media (max-width: 920px) {
  .ai-highlight {
    grid-template-columns: 1fr !important;
  }
  .video-showcase-card.portrait {
    max-width: 390px;
  }
  .page-visual.whatsapp-proof {
    max-width: 390px;
  }
}
@media (max-width: 640px) {
  .tech-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .innovation-band .tech-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  .static-video-story {
    padding: 22px 0 30px !important;
  }
  .ai-highlight {
    padding: 22px 16px !important;
    gap: 22px !important;
  }
  .tech-callout {
    padding: 28px 20px !important;
  }
  .video-showcase-card.portrait,
  .page-visual.whatsapp-proof {
    max-width: 100%;
  }
  .proof-video-label {
    left: 9px;
    right: 9px;
    bottom: 9px;
    padding: 10px 11px;
  }
  .proof-video-label b {
    font-size: 14px;
  }
}
.mixed-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 430px)) !important;
  justify-content: center;
}
.mixed-proof-grid > .video-showcase-card:nth-child(3) {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.65fr);
  width: 100%;
  max-width: 878px;
  justify-self: center;
}
.mixed-proof-grid > .video-showcase-card:nth-child(3) .showcase-video {
  aspect-ratio: 16/8 !important;
}
.mixed-proof-grid > .video-showcase-card:nth-child(3) .video-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 760px) {
  .mixed-proof-grid {
    grid-template-columns: 1fr !important;
  }
  .mixed-proof-grid > .video-showcase-card:nth-child(3) {
    grid-column: auto;
    display: block;
  }
  .mixed-proof-grid > .video-showcase-card:nth-child(3) .showcase-video {
    aspect-ratio: 16/9 !important;
  }
}

/* 2026-09-11: proportional journey layout fix */
.experience-journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}
.experience-journey-grid > .video-showcase-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.65fr);
  align-items: stretch;
}
.experience-journey-grid > .video-showcase-card:first-child .showcase-video {
  aspect-ratio: 16 / 7 !important;
  min-height: 0;
}
.experience-journey-grid > .video-showcase-card:first-child .video-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px !important;
}
.experience-journey-grid > .video-showcase-card.portrait {
  max-width: none;
}
.experience-journey-grid > .video-showcase-card.portrait .showcase-video {
  aspect-ratio: 4 / 5 !important;
}
.experience-journey-grid > .video-showcase-card.portrait video {
  object-fit: cover !important;
}
@media (max-width: 920px) {
  .experience-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .experience-journey-grid > .video-showcase-card:first-child {
    grid-column: 1 / -1;
    display: block;
  }
  .experience-journey-grid > .video-showcase-card:first-child .showcase-video {
    aspect-ratio: 16 / 9 !important;
  }
}
@media (max-width: 640px) {
  .experience-journey-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .experience-journey-grid > .video-showcase-card:first-child {
    grid-column: auto;
  }
  .experience-journey-grid > .video-showcase-card.portrait .showcase-video {
    aspect-ratio: 4 / 5 !important;
  }
  .experience-journey-grid .video-showcase-copy {
    padding: 14px 15px 16px !important;
  }
}
