.header-empresa-section{
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.header-empresa-section > img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: 1;
}

.page-header-bg{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(229, 197, 130, 0.35),
        rgba(229, 197, 130, 0.55)
    );
    z-index: 2;
    object-position: center;
}

.container-header-empresa{
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 250px;
    color: #f6f6f6;
}

.container-header-empresa h2{
    font-family: "Lato", sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.container-header-empresa p{
    font-family: "Lato", sans-serif;
    font-size: 18px;
    max-width: 520px;
    line-height: 1.4;
}


.services-section {
  width: 100%;
  padding: 70px 20px; /* ↓ altura reduzida */
  background-color: #f4f6f8;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* WRAPPER 2 COLUNAS */
.services-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center; /* evita altura excessiva */
}

/* TEXTO */
.services-text {
font-family: "Lato", sans-serif;
  max-width: 520px;
}

.services-subtitle {
font-family: "Lato", sans-serif;
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bb9650;
  margin-bottom: 10px;
}

.services-text h2 {
font-family: "Lato", sans-serif;
  font-size: 2.4rem;
  color: #1f2933;
  margin-bottom: 20px;
}

.services-text p {
font-family: "Lato", sans-serif;
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 18px;
}

.services-highlight {
font-family: "Lato", sans-serif;
  font-weight: 500;
  color: #374151;
}

/* CARDS */
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.service-card {
  background-color: #ffffff;
  padding: 28px 26px; /* ↓ menor que antes */
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.7s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card h3 {
font-family: "Lato", sans-serif;
  font-size: 1.1rem;
  color: #111827;
  margin-bottom: 10px;
}

.service-card p {
font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

/* ANIMAÇÃO */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   SEÇÃO DE VÍDEO INSTITUCIONAL
================================ */

.video-section {
  width: 100%;
  padding: 90px 20px;
  background-color: #ffffff;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* ===============================
   VÍDEO
================================ */

.video-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  animation: fadeUp 0.8s ease forwards;
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 249, 181, 0.6),
    rgba(237, 201, 123, 0.6)
  );
  z-index: 1;
  transition: opacity 0.3s ease;
  object-position: center;
}

.video-wrapper:hover .video-overlay {
  opacity: 0.9;
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: #bb9650;
  font-size: 2rem;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-play:hover {
  transform: scale(1.08);
  background-color: #ffffff;
}

/* ===============================
   TEXTO
================================ */

.video-text {
  max-width: 520px;
}

.video-subtitle {
  display: block;
  color: #bb9650;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.video-text h2 {
  font-size: 2.8rem;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 22px;
}

.video-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
}

/* ===============================
   MODAL YOUTUBE
================================ */

.video-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* BOTÃO FECHAR */
.video-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: #bb9650;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.video-close:hover {
  transform: scale(1.1);
  color: #e6c98b;
}

/* ===============================
   ANIMAÇÃO
================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.secao-regional {
  position: relative;
  padding: 90px 20px;
  min-height: 650px;
  color: #fff;

  background-image: url("img/bg-city-bc.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.secao-regional .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 90, 110, 0.316);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.secao-regional .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.secao-regional h2 {
  font-family: "Lato", sans-serif;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 60px;
}

.cards-regiao {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card-regiao {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-regiao .imagem {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.card-regiao img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-regiao p {
  font-family: "Lato", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
}

.secao-marcas {
  padding: 100px 20px;
  background: #f8f9fb;
}

.container-marcas {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

/* TEXTO */
.texto-marcas .tag-marcas {
  font-size: 12px;
  letter-spacing: 2px;
  color: #c48a3a;
  font-weight: 600;
}

.texto-marcas h2 {
  font-size: 40px;
  font-weight: 700;
  color: #0d1b2a;
  margin: 15px 0 25px;
  line-height: 1.2;
}

.texto-marcas p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
  max-width: 420px;
}

/* LOGOS */
.logos-marcas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.logo-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* =========================
   RESPONSIVIDADE GLOBAL
========================= */

/* NOTEBOOK / TABLET GRANDE */
@media (max-width: 1100px){

  .services-wrapper,
  .video-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .container-marcas {
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: center;
  }

  .services-text,
  .video-text,
  .texto-marcas {
    max-width: 100%;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-regiao {
    grid-template-columns: repeat(2, 1fr);
  }

  .logos-marcas{
    grid-template-columns: repeat(3, 110px);
    justify-content: start;
    gap: 14px;
  }

  .logo-item{
    width: 110px;
    height: 110px;
    padding: 10px;
    border-radius: 10px;
  }

  .logo-item img{
    max-width: 70%;
    max-height: 42px;
    object-fit: contain;
  }

  .texto-marcas h2{
    font-size: 34px;
  }

  .texto-marcas p{
    font-size: 15px;
  }
}


/* TABLET */
@media (max-width: 900px){

  /* HEADER */
  .container-header-empresa{
    padding-left: 40px;
    padding-right: 20px;
  }

  .container-header-empresa h2{
    font-size: 32px;
  }

  .container-header-empresa p{
    font-size: 16px;
  }

  /* VIDEO */
  .video-wrapper{
    height: 280px;
  }

  /* MARCAS */
  .container-marcas{
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .texto-marcas{
    text-align: center;
  }

  .texto-marcas p{
    max-width: 100%;
    margin: 0 auto;
  }

  .logos-marcas{
    grid-template-columns: repeat(5, 95px);
    justify-content: center;
    gap: 12px;
  }

  .logo-item{
    width: 95px;
    height: 95px;
    padding: 8px;
    border-radius: 10px;
  }

  .logo-item img{
    max-width: 68%;
    max-height: 36px;
  }
}


/* MOBILE */
@media (max-width: 600px){

  /* HEADER */
  .header-empresa-section{
    height: 180px;
  }

  .container-header-empresa{
    padding-left: 20px;
  }

  .container-header-empresa h2{
    font-size: 26px;
  }

  .container-header-empresa p{
    font-size: 14px;
  }

  /* SERVICES */
  .services-section{
    padding: 50px 15px;
  }

  .services-text h2{
    font-size: 1.8rem;
  }

  .services-text p{
    font-size: 0.95rem;
  }

  .services-cards{
    grid-template-columns: 1fr;
  }

  /* VIDEO */
  .video-wrapper{
    height: 220px;
  }

  .video-text h2{
    font-size: 2rem;
  }

  .video-text p{
    font-size: 0.95rem;
  }

  /* REGIÕES */
  .cards-regiao{
    grid-template-columns: 1fr;
  }

  .secao-regional h2{
    font-size: 24px;
  }

  /* MARCAS */
  .container-marcas{
    gap: 40px;
  }

  .texto-marcas h2{
    font-size: 28px;
  }

  .logos-marcas{
    grid-template-columns: repeat(3, 90px);
    justify-content: center;
    gap: 12px;
  }

  .logo-item{
    width: 90px;
    height: 90px;
    padding: 7px;
  }

  .logo-item img{
    max-width: 65%;
    max-height: 32px;
  }
}


/* MOBILE PEQUENO */
@media (max-width: 400px){

  .container-header-empresa h2{
    font-size: 22px;
  }

  .video-text h2{
    font-size: 1.7rem;
  }

  .texto-marcas h2{
    font-size: 24px;
  }

  .logos-marcas{
    grid-template-columns: repeat(3, 82px);
    gap: 10px;
  }

  .logo-item{
    width: 82px;
    height: 82px;
    padding: 6px;
  }

  .logo-item img{
    max-width: 62%;
    max-height: 28px;
  }

} 