/* ================================
   SESSÃO: POR QUE ESCOLHER A G.O.S.
   (match visual dos mocks: desktop/iPad/mobile)
   ================================ */

.why {
  position: relative;
  /* fundo cinza claro do mock */
  background: #EFF1F4; /* use #EEF1F5/#EDEDED se preferir mais claro */
  color: #0b1325;
  padding: clamp(150px, 6.2vw, 30px) 0 60px;
  margin-top: -100px;
}


/* Limite de largura da sessão WHY (desktop) */
.why .container{
  max-width: 1000px;        /* cap em 1000px */
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);

}

/* ---------- INTRO (título + linha + parágrafo) ---------- */

.why__intro {
  text-align: center;
  margin: 0 auto clamp(28px, 4vw, 44px);
  max-width: 960px;
}

.why__eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: #0b1325;
  margin-bottom: 12px;
}

.why__underline {
  width: 88px;
  height: 6px;
  margin: 0.4rem auto 1.6rem;
  border-radius: 3px;
  background: #e6b043; /* dourado */
}

.why__lead {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.75;
  color: #394458;  /* cinza-azulado do mock */
}

/* ---------- GRID PRINCIPAL ---------- */

.why__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
  align-items: start;
}

/* coluna esquerda (imagem + thumbs) */
.why__media {
  grid-column: 1 / span 7;
  display: grid;
  grid-template-rows: auto auto;
  gap: clamp(14px, 1.8vw, 20px);
}

/* hero */
.why__hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: clamp(300px, 33vw, 460px);
  background: #0e152c;
  box-shadow: 0 6px 18px rgba(9, 16, 31, .10);
}

.why__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease;
}

.why__hero:hover .why__hero-img { transform: scale(1.02); }

/* thumbs em linha sob o hero */
.why__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.4vw, 16px);
}

.why__thumb {
  display: grid;
  grid-template-rows: auto;
  align-items: center;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(8, 12, 25, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.why__thumb img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  display: block;
}

.why__thumb:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(8, 12, 25, 0.12);
  border-color: rgba(8, 12, 25, 0.14);
}

.why__thumb.is-active {
  border-color: #e6b043;
  box-shadow: 0 0 0 2px rgba(230,176,67,.25) inset;
}

/* coluna direita (logo + título + texto + CTA) */
.why__content {
  grid-column: 8 / span 5;
  display: grid;
  align-content: start;
  gap: clamp(14px, 2vw, 22px);
}

.why__brandrow {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
}

.why__brand {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(8, 12, 25, 0.08);
  box-shadow: 0 4px 10px rgba(8,12,25,.06);
  overflow: hidden;
}

.why__brand img {
  max-width: 40px;
  height: auto;
  display: block;
}

.why__title {
  font-weight: 800;
  color: #f4a90a; /* tom de dourado mais vivo para tipografia */
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.15;
}

.why__text {
  margin-top: 4px;
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.8;
  color: #394458;
}

/* CTA navy */
.btn-cta.why__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: 14px 22px;
  border-radius: 10px;
  background: #0f2136; /* navy */
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  width: fit-content;
}

.btn-cta.why__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(5,16,35,.22);
}

/* bullets (se usar) */
.why__bullets {
  margin: 2px 0 0;
  padding-left: 18px;
  color: #4a566b;
}
.why__bullets li + li { margin-top: 6px; }

/* ---------- RESPONSIVO ---------- */



/* Opcional: mantém um respiro lateral em telas médias */
@media (max-width: 1120px){
  .why .container{
    max-width: min(1000px, 92vw);
  }
}

@media (max-width: 800px) {
  .why__hero { min-height: 340px; }
  .why__thumbs { grid-template-columns: repeat(5, 1fr); }
  .why__thumb { aspect-ratio: 16 / 10; border-radius: 4px;}
  .why__media { grid-column: 1 / span 12; }
  .why__content { grid-column: 1 / span 12; }
  .why__grid { gap: clamp(16px, 2.2vw, 28px); }
}


@media (max-width: 720px) {
  .why { padding: 44px 0 56px; margin:0px auto }
  .why__lead { line-height: 1.7; }
  .why__thumbs { grid-template-columns: repeat(5, 1fr); gap: 10px;  }
  .why__thumb { aspect-ratio: 16 / 10; border-radius: 4px;}
  .why__hero { min-height: 300px; }
  .btn-cta.why__cta {width:100%; min-width:100% !important;}
}

@media (max-width: 560px) {
  .why__thumbs { grid-template-columns: repeat(5, 1fr); }
  .why__brandrow { grid-template-columns: 56px 1fr; gap: 12px; }
  .why__brand { width: 56px; height: 56px; }
  .why__title { font-size: clamp(1.25rem, 5vw, 1.6rem); }
  .why__thumb { aspect-ratio: 16 / 10; border-radius: 4px;}
  .btn-cta.why__cta {width:100%}
  .btn-cta.why__cta {font-size: 0.9em; text-align: center;}
  .why__bullets li { list-style: none;}
  .why__text {height: 100%; font-size: 1.1em; margin:20px}
  

}



/* ---------- ACESSIBILIDADE / MOTION ---------- */

.why__thumb:focus-visible,
.btn-cta.why__cta:focus-visible {
  outline: 3px solid #e6b043;
  outline-offset: 3px;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .why__hero-img, .why__thumb, .btn-cta.why__cta { transition: none; }
}

/* ==== FIX: imagens ocupam 100% do box, sem faixa branca ==== */

/* HERO */
.why__hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  /* define proporção estável no desktop (ajuste se quiser) */
  aspect-ratio: 16 / 10;
  min-height: unset;          /* cancela o min-height anterior */
  background: #0e152c;
}
.why__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;             /* remove espaço de linha */
}

/* THUMBS */
.why__thumb {
  position: relative;
  padding: 0;                 /* remove qualquer respiro interno */
  overflow: hidden;
  border-radius: 12px;
  background: #fff;           /* (do mock) */
  border: 1px solid rgba(8, 12, 25, 0.08);
  aspect-ratio: 4 / 3;        /* proporção igual para todos os thumbs */
}
.why__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;             /* evita “linha” branca no bottom */
  border-radius: inherit;     /* cantos iguais ao container */
}


/* === WHY — incrementos de estilo (não quebra o que já tem) === */

/* Barra amarela do timer na imagem grande */
.why__hero-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 6px;        /* ajuste se quiser mais fina/grossa */
  width: 100%;
  background: rgba(255, 196, 0, 0.95); /* amarelo do site */
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Thumbs: “apagadas” (transparência/saturação) por padrão */
.why__thumb img {
  opacity: .55;
  filter: saturate(.9) contrast(.95);
  transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}

/* Hover/Foco: volta a cor total, levanta um tiquinho */
.why__thumb:hover img,
.why__thumb:focus-visible img {
  opacity: 1;
  filter: none;
}
.why__thumb:hover,
.why__thumb:focus-visible {
  transform: translateY(-1px);
}

/* Contorno amarelo sutil sempre, mais forte no hover/foco */
.why__thumb::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 2px rgba(230,176,67,.35);
  pointer-events: none;
}
.why__thumb:hover::before,
.why__thumb:focus-visible::before {
  box-shadow: 0 0 0 3px rgba(230,176,67,.95);
}


