/* =========================================================
   HERO (vídeo de fundo + vinhetas + CTA)
   ========================================================= */

/* ocupa a altura da viewport */
.hero{
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate; /* cria contexto de empilhamento p/ overlays */
}

/* vídeo de fundo */

.hero__video{
  position: fixed;           /* ← fixo no viewport */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  z-index: 0;               /* atrás das vinhetas/conteúdo da hero */
}


/* vinhetas/gradientes p/ dar contraste ao conteúdo */
.hero__overlay{
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(50% 50% at 50% 50%, transparent 40%, rgba(0,0,0,.55) 85%),
    linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.65) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
}

/* conteúdo em cima do vídeo/overlays */
.hero__content{
  position: relative; z-index: 2;
  display: grid; align-content: center; justify-items: start;
  min-height: inherit; text-align: left; gap: 8px; color: #fff;
  padding-top: 64px; /* respiro do header fixo */
}

/* tipografia do herói */
.hero__kicker{
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .9; margin: 0 0 2px;
}
.hero__title{
  font-size: clamp(2.2rem, 4.4vw + 1rem, 2.9rem);
  line-height: 1.0; margin: 0; font-weight: 700;
}
.hero__subtitle{
  max-width: 46ch; margin: 8px 0 16px; opacity: .95;
}

/* botões do herói */
.hero__actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

/* dica de scroll */
.scroll-hint{
  position: absolute; left: 50%; bottom: 10%;
  transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  display: grid; place-items: center; cursor: pointer; color: #fff;
  transition: .2s ease; z-index: 2;
}
.scroll-hint:hover{ background: rgba(0,0,0,.5) }
.scroll-hint__dot{
  width: 0; height: 0;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 10px solid #fff; animation: scrollPulse 1.1s infinite;
}
@keyframes scrollPulse{
  0%{ transform: translateY(-2px); opacity:.6 }
  50%{ transform: translateY(2px); opacity:1 }
  100%{ transform: translateY(-2px); opacity:.6 }
}

/* vinheta de costura com a próxima section */
.hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(120% 120% at 100% 50%, transparent 52%, rgba(0,0,0,.85) 86%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.40) 100%);
}
.hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; z-index:0; pointer-events:none;
  height: 40vh;
  background: linear-gradient(to bottom,
              rgba(0,0,0,0) 0%,
              rgba(0,0,0,.55) 50%,
              rgba(0,0,0,.85) 100%);
}

/* responsivo e acessibilidade */
@media (max-width: 960px){
  .hero__content{ justify-items: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce){
  .hero__video{ display: none; }
  .hero{ background: #000 url("Assets/Images/default/hero-poster.jpg") center/cover no-repeat; }
}


/* =========================================================
   SECTION 2 (título central, CTA e 3 cards)
   ========================================================= */

.section-highlight{
  position: relative;
  min-height: 70vh;
  display: grid; place-items: center;
  text-align: center; color: #fff; overflow: hidden;
}

/* gradiente de topo (escuro → claro) e leve vinheta no rodapé */
.section-highlight::before{
  content:""; position:absolute; left:0; right:0; top:0; z-index:0; pointer-events:none;
  height: 46vh;
  background: linear-gradient(to bottom,
              rgba(0,0,0,.92) 0%,
              rgba(0,0,0,.70) 30%,
              rgba(0,0,0,.35) 60%,
              rgba(0,0,0,0) 100%);
}
.section-highlight::after{
  content:""; position:absolute; left:0; right:0; bottom:0; z-index:0; pointer-events:none;
  height: 20vh;
  background: linear-gradient(to bottom,
              rgba(0,0,0,0) 0%,
              rgba(0,0,0,.28) 70%,
              rgba(0,0,0,.40) 100%);
}

/* conteúdo central */
.highlight-content{
  position: relative; z-index: 1; /* acima dos gradientes */
  max-width: 820px; padding: 0 16px;

  /* fallback inicial */
  opacity: 0; transform: translateY(26px);
  transition: opacity .2s ease, transform .2s ease;

  /* animação guiada pelo scroll (CSS View Timelines) */
  animation-name: fadeUp;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 20% cover 30%;
}
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(26px); }
  to  { opacity:1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .highlight-content{ animation: none; opacity: 1; transform: none; }
}
@media (max-width: 960px){
  .highlight-content{ padding: 0 20px; }
}

/* título + CTA */
.section-title{
  margin-top: 10%;
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.2rem);
  line-height: 1.2; color:#fff;
}
.btn-lg{
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; font-weight: 700; border-radius: 8px;
  margin-bottom: 10%;
}

/*=======================CARDS=================================*/
.values{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-top: 8px;
}
.value-card{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 18px; color: #e9e9f0;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transition: transform .18s ease, .20s ease, border-color .18s ease;
}
.value-card:hover{
  transform: translateY(-3px);
  background: rgba(0,0,0,.42);
  border-color: var(--cor-azul-royal);
}
.value-title{
  margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; color: #fff;
}
.value-text{ margin: 0; color:#cfd2da; line-height: 1.5; }

@media (max-width: 960px){
  .values{ grid-template-columns: 1fr; }
  .btn-lg{ width: 100%; max-width: 420px; }
}


/* =========================================================
   VÍDEO “STICKY” (camada de mídia por trás das 2 primeiras sections)
   ========================================================= */
.video-sticky{ position: relative; z-index: 0;}
.video-sticky__video{
  position: absolute; 
  z-index: -1;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; filter: saturate(1.05);
}


/* =========================
   SECTION 3 — Segmentos
   ========================= */

.section-segments{
  background-color:var(--cor-claro);
  position: relative;
  padding: 56px 0;
  color: var(--cor-azul-escuro)
  /* usa o vídeo escuro ao fundo; reforça contraste com um leve degradê */
}

.segments-title{
  position: relative; z-index:1;
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.2rem);
}

/* linha (item) */
.segment-item{
  position: relative; z-index:1;
  display: flex; align-items: center; gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 70, .5);
}
.segment-item:last-child{
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* inverte a ordem com uma única classe */
.segment-item.is-reverse{ flex-direction: row-reverse; }

/* imagem */
.segment-media{
  flex: 1 1 40%;
  min-width: 0;
}
.segment-media img{
  width: 100%; height: auto; display: block;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  object-fit: cover;
  max-height: 300px;
}

/* conteúdo */
.segment-content{
  margin-bottom: 64px;
  flex: 1 1 52%;
  min-width: 0;
}
.segment-subtitle{
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--cor-azul-escuro);
}
.segment-text{
  margin: 0 0 16px;
  color: var(--cor-azul-escuro);
  line-height: 1.55;
  font-size: 1.2rem;
  max-width: 56ch;
}
.segment-actions{ display: flex; gap: 10px; flex-wrap: wrap; }

/* responsivo */
@media (max-width: 960px){
  .segment-item,
  .segment-item.is-reverse{
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .segment-media img{ max-height: none; }
}



/* ================ Segmentos =================== */
.segmentos {
  text-align: center;
  padding: 60px 20px;
  background: var(--cor-azul-claro-background); /* usa sua cor de fundo */
}

.segmentos__titulo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 64px;
  color: var(--cor-azul-escuro);
}

.segmentos__imagem img {
  max-width: 840px;
  margin: 0 auto 32px;
  display: block;
}

.segmentos__subtitulo {
  font-size: 1.1rem;
  margin-top: 80px;
  margin-bottom: 20px;
  color: #555;
}

.segmentos__botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


/* Responsivo */
@media (max-width: 768px) {
  .segmentos__imagem img { max-width: 380px; }
  .btn-segmento { flex: 1 1 calc(50% - 12px); text-align: center; }
}
