﻿.hero-home {
  padding-block: 58px 56px;
}

.hero-home .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr);
  grid-template-areas:
    "heading media"
    "support media"
    "trust media";
  gap: 20px clamp(38px, 4.5vw, 64px);
  align-items: stretch;
}

.hero-home .hero-heading {
  grid-area: heading;
}

.hero-home .hero-support {
  grid-area: support;
}

.hero-home .hero-media {
  grid-area: media;
  width: 100%;
  max-width: 560px;
  min-height: 100%;
  display: flex;
  align-self: stretch;
  justify-self: end;
}

.hero-home .trust-row {
  grid-area: trust;
  margin-top: 0;
}

.hero-home .hero-photo-frame {
  width: 100%;
  min-height: clamp(540px, 43vw, 640px);
  flex: 1;
  overflow: hidden;
  border-radius: 84px 26px 26px 26px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-home .hero-photo-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 43%;
  transform: scale(1.11);
  transform-origin: 80% 43%;
}

.hero-home .hero-media::before {
  inset: -14px 28% auto -18px;
  height: 116px;
}

@media (max-width: 1040px) {
  .hero-home {
    padding-block: 48px 50px;
  }

  .hero-home .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "media"
      "support"
      "trust";
    gap: 30px;
  }

  .hero-home .hero-media {
    max-width: 640px;
    min-height: 0;
    display: block;
    justify-self: center;
  }

  .hero-home .hero-photo-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 68px 22px 22px 22px;
  }

  .hero-home .hero-photo-frame > img {
    object-position: 78% 41%;
    transform: scale(1.08);
    transform-origin: 78% 41%;
  }
}

@media (max-width: 560px) {
  .hero-home {
    padding-block: 24px 30px;
  }

  .hero-home .hero-grid {
    gap: 18px;
  }

  .hero-home .hero-photo-frame {
    aspect-ratio: 16 / 10;
    max-height: 300px;
    border-radius: 42px 16px 16px 16px;
  }

  .hero-home .hero-photo-frame > img {
    object-position: 78% 46%;
    transform: scale(1.2);
    transform-origin: 78% 46%;
  }

  .hero-home .floating-card {
    display: none;
  }
}
/* Hero institucional em vídeo — integração governada 2026-07-31 */
.hero-home .hero-video-frame {
  position: relative;
  background: var(--cream);
}

.hero-home .hero-video,
.hero-home .hero-video-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.hero-home .hero-video {
  z-index: 1;
}

.hero-home .hero-video-fallback {
  z-index: 0;
  opacity: 1;
  animation: none !important;
  transition: opacity .35s ease;
}

.hero-home .hero-video.is-ready + .hero-video-fallback {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-video {
    display: none;
  }

  .hero-home .hero-video-fallback {
    opacity: 1;
  }
}



/* Hero video deterministic playback — 2026-08-01 */
.hero-home .hero-video {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  display: block;
}
.hero-home .hero-video-fallback {
  z-index: 1;
  pointer-events: none;
}
.hero-home .hero-video.has-rendered-frame + .hero-video-fallback {
  opacity: 0 !important;
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-video {
    display: block;
  }
  .hero-home .hero-video-fallback {
    opacity: 0 !important;
    visibility: hidden;
  }
}

/* Reconciliação editorial Sara 2026-08-05 */
.hero-home .hero-grid {
  grid-template-areas:
    "heading media"
    "support media";
}

.hero-home .hero-support {
  max-width: 660px;
}

.hero-home .hero-support > p + p {
  margin-top: 14px;
}

.actions--single .btn {
  min-width: min(100%, 330px);
}

.hero-proof {
  margin-top: 14px;
  letter-spacing: .02em;
}

.reading-column {
  max-width: 760px;
}

.reading-column--wide {
  max-width: 900px;
}

.reading-column--compact {
  max-width: 620px;
}

.editorial-breath {
  padding-block: clamp(76px, 9vw, 132px);
}

.editorial-lines {
  margin-block: 28px;
}

.editorial-lines p {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.editorial-lines--soft p {
  margin-bottom: 18px;
}

.split--editorial {
  align-items: start;
  gap: clamp(36px, 6vw, 92px);
}

.section-intro--wide {
  max-width: 900px;
}

.method-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 38px;
  color: var(--sage-dark, #4f6558);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
}

.imagine-section {
  background: linear-gradient(135deg, rgba(245, 239, 230, .72), rgba(220, 230, 220, .52));
}

@media (max-width: 1040px) {
  .hero-home .hero-grid {
    grid-template-areas:
      "heading"
      "media"
      "support";
  }
}

@media (max-width: 560px) {
  .hero-home .hero-heading h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
    line-height: .98;
  }

  .hero-home .hero-support .btn,
  .editorial-breath .btn {
    width: 100%;
  }

  .editorial-breath {
    padding-block: 64px;
  }

  .method-line {
    gap: 10px;
    font-size: 1.08rem;
  }
}

/* Editorial presentation refinement - 2026-08-07 */
.editorial-breath { padding-block: clamp(72px, 7.2vw, 108px); }
.reading-column { max-width: 800px; margin-inline: auto; }
.reading-column--wide, .section-intro--wide { max-width: 940px; margin-inline: auto; }
.editorial-breath .reading-column > p:not(.eyebrow),
#metodo .reading-column > p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  text-align-last: left;
}
.editorial-lines p { text-align: left; }
.editorial-breath h2, .section-intro--wide h2 { text-wrap: balance; }
.method-line { justify-content: center; text-align: center; margin-top: 42px; }
#metodo .section-intro--wide { text-align: center; }
#metodo .reading-column--wide { margin-top: 34px; }
@media (max-width: 760px) {
  .editorial-breath { padding-block: 48px; }
  .editorial-breath .reading-column > p:not(.eyebrow),
  #metodo .reading-column > p { text-align: left; hyphens: none; }
  #metodo .section-intro--wide { text-align: left; }
  .method-line { justify-content: flex-start; text-align: left; }
}
