/* =========================
   PÁGINA EMPRESA
========================= */

.empresa-page {
  padding-top: 82px;
  background: #f8f5f1;
  color: #414019;
}

.empresa-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   HERO
========================= */

.empresa-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(31, 24, 16, 0.78) 0%,
      rgba(31, 24, 16, 0.48) 42%,
      rgba(31, 24, 16, 0.08) 75%
    ),
    url("../images/home/new-quemsomos.jpg") center 20% / cover no-repeat;
}

.empresa-hero-overlay {
  width: 100%;
}

.empresa-hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 135px 0 70px;
  color: #fff;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #e79058;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.empresa-hero h1 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 700;
  line-height: 0.98;
}

.empresa-hero p {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

/* =========================
   NOSSA HISTÓRIA + VÍDEO
========================= */

.historia-empresa {
  padding: 95px 0 75px;
  background: #fffaf4;
}

.historia-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
  align-items: stretch;
  gap: 42px;
}

.historia-texto {
  max-width: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.historia-texto h2 {
  margin: 0 0 20px;
  color: #79472a;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.06;
}

.historia-texto p {
  margin: 0 0 16px;
  color: #5a4736;
  font-size: 15px;
  line-height: 1.6;
}

.historia-video-capa {
  position: relative;
  min-height: 430px;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #4f3a2d;
  box-shadow: 0 18px 40px rgba(65, 64, 25, 0.16);
  cursor: pointer;
}

.historia-video-capa img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.historia-video-capa:hover img {
  transform: scale(1.05);
}

.historia-video-sombra {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(45, 28, 18, 0.70) 0%,
    rgba(45, 28, 18, 0.22) 55%,
    rgba(45, 28, 18, 0.10) 100%
  );
}

.historia-video-info {
  position: absolute;
  bottom: 30px;
  left: 34px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  text-align: left;
}

.historia-video-info small {
  color: #f6a86e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.historia-video-info strong {
  max-width: 250px;
  font-size: 24px;
  line-height: 1.15;
}

.historia-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 50%;
  background: rgba(231, 144, 88, 0.92);
  color: #fff;
  font-size: 25px;
  transform: translate(-50%, -50%);
  transition: 0.25s ease;
}

.historia-video-capa:hover .historia-play {
  background: #e79058;
  transform: translate(-50%, -50%) scale(1.08);
}

/* =========================
   NÚMEROS
========================= */

.numeros-empresa {
  padding: 35px 0 100px;
  background: #fffaf4;
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 15px 36px rgba(65, 64, 25, 0.13);
}

.numero-item {
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  border-right: 1px solid #eadfd5;
}

.numero-item:last-child {
  border-right: 0;
}

.numero-icone {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff2e7;
  color: #e79058;
  font-size: 24px;
}

.numero-item strong {
  display: block;
  margin-bottom: 4px;
  color: #79472a;
  font-size: 25px;
  line-height: 1;
}

.numero-item span {
  display: block;
  color: #776658;
  font-size: 13px;
  line-height: 1.3;
}

/* =========================
   MISSÃO, VISÃO E VALORES
========================= */

.proposito-empresa {
   padding: 62px 0 68px;
  background:
    linear-gradient(
      90deg,
      rgba(64, 39, 20, 0.90),
      rgba(64, 39, 20, 0.68)
    ),
    url("../images/general/fabrica-luciane.jpg") center / cover no-repeat;
}

.titulo-secao-empresa {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.proposito-empresa .section-eyebrow {
  color: #f6a86e;
}

.proposito-empresa .titulo-secao-empresa h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proposito-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.proposito-card {
  min-height: 230px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 25px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 12px 28px rgba(20, 12, 8, 0.22);
}

.proposito-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.proposito-card:hover {
  transform: translateY(-7px);
  background: #fff;
  box-shadow: 0 18px 34px rgba(20, 12, 8, 0.32);
}

.proposito-icone {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff2e7;
  color: #e79058;
  font-size: 33px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.proposito-icone {
  transition: transform 0.25s ease, background 0.25s ease;
}

.proposito-card:hover .proposito-icone {
  transform: scale(1.08);
  background: #ffe5d2;
}

.proposito-card h3 {
  margin: 3px 0 11px;
  color: #79472a;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.proposito-card p {
  margin: 0;
  color: #5a4736;
  font-size: 14px;
  line-height: 1.55;
}

/* =========================
   MODAL DO VÍDEO
========================= */

.modal-video {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.modal-video.ativo {
  display: flex;
}

.modal-video-fundo {
  position: absolute;
  inset: 0;
  background: rgba(21, 14, 10, 0.84);
}

.modal-video-caixa {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
}

.modal-video-player {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.modal-video-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.modal-video-fechar {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #79472a;
  font-size: 21px;
  cursor: pointer;
}
/* =========================
   NOTEBOOK
========================= */
@media (max-width: 1500px) and (max-height: 750px) {

  .empresa-hero {
    min-height: 500px;
  }

  .empresa-hero-content {
    padding: 90px 0 45px;
  }

  .historia-empresa {
    padding: 65px 0;
  }

  .historia-video-capa {
    min-height: 360px;
  }

}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {
  .historia-grid {
    grid-template-columns: minmax(250px, 0.85fr) minmax(420px, 1.15fr);
    gap: 32px;
  }

  .numeros-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numero-item:nth-child(2) {
    border-right: 0;
  }

  .numero-item:nth-child(-n + 2) {
    border-bottom: 1px solid #eadfd5;
  }

  .proposito-grid {
    grid-template-columns: 1fr;
  }

  .proposito-card {
    min-height: auto;
  }
}

/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {
  .empresa-container,
  .empresa-hero-content {
    width: min(100% - 30px, 1180px);
  }

  .empresa-hero {
    min-height: 530px;
    background-position: 62% center;
  }

  .empresa-hero-content {
    padding: 105px 0 55px;
  }

  .empresa-hero h1 {
    font-size: 45px;
  }

  .empresa-hero p {
    font-size: 16px;
  }

  .historia-empresa,
  .proposito-empresa {
    padding: 70px 0;
  }

  .historia-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .historia-texto {
    max-width: none;
  }

  .historia-video-capa {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .historia-video-info {
    bottom: 22px;
    left: 22px;
  }

  .historia-video-info strong {
    font-size: 20px;
  }

  .historia-play {
    width: 62px;
    height: 62px;
    font-size: 20px;
  }

  .numeros-empresa {
    padding: 0 0 70px;
  }

  .numeros-grid {
    grid-template-columns: 1fr;
  }

  .numero-item,
  .numero-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #eadfd5;
  }

  .numero-item:last-child {
    border-bottom: 0;
  }

  .titulo-secao-empresa {
    margin-bottom: 30px;
  }

  .proposito-card {
    padding: 24px 20px;
  }

  .modal-video {
    padding: 15px;
  }

  .modal-video-fechar {
    top: -42px;
  }
}

@media (max-width: 420px) {
  .empresa-hero h1 {
    font-size: 39px;
  }

  .historia-texto h2,
  .titulo-secao-empresa h2,
  .proposito-empresa .titulo-secao-empresa h2 {
    font-size: 31px;
  }

  .proposito-card {
    gap: 14px;
  }

 .proposito-icone {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  font-size: 27px;
}

  .proposito-card h3 {
    font-size: 19px;
  }
}