/* ===============================
   SEÇÃO SOBRE NÓS - RESPONSIVA COMPLETA
   =============================== */

.about-section {
    padding: 5% 0;
    background-color: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

/* === CONTAINER PRINCIPAL - DESKTOP (LADO A LADO) === */
.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    gap: 3rem;
}


.about-video {
  flex: 1 1 48%;
  max-width: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-video .video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 6px;
  overflow: hidden;
  background-color: transparent;
}

.about-video video,
.about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

/* Força a imagem do poster a preencher corretamente o espaço */
.about-video video::poster {
  object-fit: cover;
}

/* === TEXTO À DIREITA === */
.about-text {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    margin-top: -20px;
}

.about-text p {
    font-size: 1rem;
    color: var(--primary-color);
    text-align: left;
    opacity: 0.9;
}

.about-text p:last-child {
    margin-bottom: 0;
}



/* ===============================
   RESPONSIVIDADE COMPLETA
   =============================== */

/* Desktop Grande (acima de 1200px) - já está configurado no CSS base */

/* Tablet Landscape / Desktop Pequeno (até 1200px) - MUDA PARA COLUNA */
@media (max-width: 1200px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
    max-width: 900px;
  }

  .about-video {
    flex: none;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }

  .about-text {
    flex: none;
    width: 100%;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
  }

  .about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Tablet Landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .about-container {
    max-width: 800px;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }

  .about-video {
    width: 100%;
    max-width: 700px;
  }

  .about-text {
    width: 100%;
    max-width: 700px;
    text-align: center;
  }

  .about-text p {
    line-height: 1.6;
    margin-bottom: 1.3rem;
  }
}


/* Tablet Portrait (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  .about-section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .about-container {
    max-width: 600px;
    gap: 2rem;
    padding: 0 2rem;
  }

  .about-video {
    width: 100%;
    max-width: 500px;
    min-height: 280px;
  }

  .about-text {
    width: 100%;
    max-width: 500px;
    text-align: center;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
}

/* Mobile Large (481px - 576px) */
@media (min-width: 481px) and (max-width: 576px) {
  .about-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
  }

  .about-container {
    max-width: 450px;
    gap: 1.8rem;
    padding: 0 1rem;
  }

  .about-video {
    width: 100%;
    max-width: 450px;
    min-height: 250px;
  }

  .about-text {
    width: 100%;
    max-width: 450px;
    text-align: center;
  }

  .about-text p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
  }
}

/* Mobile Medium (361px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
  .about-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .about-container {
    max-width: 380px;
    gap: 1.5rem;
    padding: 0 0.8rem;
  }

  .about-video {
    width: 100%;
    max-width: 380px;
    min-height: 225px;
  }

  .about-text {
    width: 100%;
    max-width: 380px;
    text-align: center;
  }

  .about-text p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
}

/* Mobile Small (320px - 360px) */
@media (max-width: 360px) {
  .about-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .about-container {
    max-width: 320px;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }

  .about-video {
    width: 100%;
    max-width: 320px;
    min-height: 180px;
  }

  .about-text {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .about-text p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.9rem;
  }
}
