/* =========================================================
   SOBRE.CSS
   Estrutura organizada:
   1. DESKTOP / BASE
   2. TABLET
   3. MOBILE
   ========================================================= */


/* =========================================================
   1. DESKTOP / BASE
   ========================================================= */

/* ---------------------------------------------------------
   QUEM SOMOS
   --------------------------------------------------------- */

.about-hero {
  position: relative;
  min-height: 620px;
  height: 620px;
  overflow: hidden;
}

.about-hero .hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.32) saturate(1.05);
  z-index: 0;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.84) 0%,
      rgba(0,0,0,.58) 45%,
      rgba(0,0,0,.72) 100%
    );
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 80px), 1180px);
  height: 100%;
  margin: 0 auto;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
}

.about-hero-text {
  width: 50%;
  max-width: 560px;
  text-align: left;
}

.about-hero-text .eyebrow {
  margin-bottom: 18px;
}

.about-hero-text h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.03em;
  text-shadow: 0 4px 20px rgba(0,0,0,.65);
}

.about-hero-text p {
  max-width: 500px;
  margin: 24px 0 0;
  color: #dedee3;
  font-size: 17px;
  line-height: 1.7;
}

.about-hero-card {
  width: 50%;
  max-width: 560px;
  padding: 30px;
  border-radius: 26px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.11),
      rgba(255,255,255,.045)
    );
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 25px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-hero-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
}

.about-hero-card p {
  margin: 0;
  color: #c9c9cf;
  font-size: 15px;
  line-height: 1.7;
}

.about-hero-card-line {
  width: 55px;
  height: 3px;
  margin: 22px 0 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--red-strong), var(--red));
}


/* ---------------------------------------------------------
   INTEGRANTES
   Desktop: 5 cards lado a lado
   Mobile: carrossel
   --------------------------------------------------------- */

.members-section {
  overflow: hidden;
}

.member-carousel {
  position: relative;
  width: 100%;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.member-card {
  position: relative;
  min-width: 0;
  overflow: visible !important;
}

.member-photo {
  position: relative;
  overflow: visible;
  cursor: pointer;
}

.member-photo > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition:
    transform .25s ease,
    filter .25s ease;
}

.member-card .card-body {
  padding: 14px;
}

.member-card .card-body small {
  display: block;
  margin-bottom: 5px;
}

.member-card .card-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.member-summary {
  display: none;
}


/* Tooltip Desktop */

.member-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  width: 330px;
  padding: 20px 22px;
  box-sizing: border-box;
  background:
    linear-gradient(
      180deg,
      rgba(18,18,18,.98),
      rgba(7,7,7,.97)
    );
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0,0,0,.65);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px) scale(.96);
  transition:
    opacity .25s ease,
    transform .25s ease,
    visibility .25s ease;
  z-index: 999;
  pointer-events: none;
}

.member-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.member-tooltip span {
  display: block;
  margin-bottom: 12px;
  color: #ffb8bf;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.member-tooltip p {
  margin: 0;
  color: #d0d0d5;
  font-size: 13px;
  line-height: 1.65;
}

.member-tooltip b {
  color: #fff;
}

.member-tooltip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  background: #0a0a0a;
  border-right: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  transform: translateX(-50%) rotate(45deg);
}

.member-photo:hover .member-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.member-photo:hover > img {
  transform: scale(1.025);
  filter: brightness(.78);
}

.member-carousel-arrow,
.member-carousel-dots {
  display: none;
}


/* ---------------------------------------------------------
   THE VOICE
   Desktop: dois vídeos lado a lado e compactos
   --------------------------------------------------------- */

.voice-section {
  overflow: hidden;
}

.voice-highlight {
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 45px 50px;
  box-sizing: border-box;
  overflow: hidden;
}

.voice-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.voice-heading .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.voice-heading .section-title {
  margin: 14px auto 12px;
  text-align: center;
}

.voice-heading .lead {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.voice-videos {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: min(100%, 820px);
  margin: 0 auto;
}

.voice-videos .video-card {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 18px;
}

.voice-videos video {
  display: block;
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  object-fit: cover;
}


/* ---------------------------------------------------------
   POR QUE ESCOLHER
   Mantido como estrutura de fundo em vídeo
   --------------------------------------------------------- */

.about-story {
  position: relative !important;
  width: min(100%, 1200px) !important;
  max-width: 1200px !important;
  min-height: 520px;
  margin: 35px auto 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
  box-sizing: border-box;
}

.about-story .media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 28px !important;
  overflow: hidden;
  background: #000 !important;
  z-index: 0 !important;
  box-shadow: none !important;
}

.about-story .media video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 28px !important;
  display: block;
}

.about-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.68) 42%,
      rgba(0,0,0,.30) 100%
    );
  border-radius: 28px;
  z-index: 1;
}

.about-story > div:first-child {
  position: relative;
  z-index: 2;
  width: 60%;
  min-height: 520px;
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.about-story .section-title {
  color: #fff;
  text-shadow: 0 3px 15px rgba(0,0,0,.8);
}

.about-story .list-clean {
  margin-top: 20px;
}

.about-story .list-clean li {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

.about-story .hero-media-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.cta-band {
  margin-top: 0;
}


/* =========================================================
   2. TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .about-hero-content {
    width: min(calc(100% - 50px), 950px);
    gap: 35px;
  }

  .about-hero-text {
    width: 52%;
  }

  .about-hero-card {
    width: 48%;
  }

  .member-grid {
    gap: 10px;
  }

  .member-tooltip {
    width: 300px;
  }

  .voice-highlight {
    width: min(calc(100% - 40px), 1000px) !important;
    padding: 40px 35px;
  }
}


/* =========================================================
   3. MOBILE
   Tudo que era coluna passa para uma experiência compacta.
   ========================================================= */

@media (max-width: 820px) {

  /* -------------------------------------------------------
     QUEM SOMOS — visual mais moderno e compacto
     ------------------------------------------------------- */

  .about-hero {
    min-height: auto;
    height: auto;
    padding: 105px 0 55px;
  }

  .about-hero .hero-bg-image {
    object-position: center;
    filter: brightness(.30) saturate(1.05);
  }

  .about-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.62) 0%,
        rgba(0,0,0,.52) 45%,
        rgba(0,0,0,.86) 100%
      );
  }

  .about-hero-content {
    width: calc(100% - 28px);
    height: auto;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }

  .about-hero-text {
    width: 100%;
    max-width: none;
    text-align: center;
    padding: 10px 8px 0;
  }

  .about-hero-text .eyebrow {
    display: inline-flex;
    margin: 0 auto 14px;
  }

  .about-hero-text h1 {
    font-size: clamp(31px, 9.2vw, 44px);
    line-height: 1.04;
    letter-spacing: -.035em;
  }

  .about-hero-text p {
    max-width: 500px;
    margin: 16px auto 0;
    font-size: 14px;
    line-height: 1.6;
  }

  .about-hero-card {
    width: 100%;
    max-width: none;
    padding: 22px 20px;
    border-radius: 22px;
    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.12),
        rgba(255,255,255,.045)
      );
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    text-align: center;
  }

  .about-hero-card h3 {
    font-size: 20px;
    margin-bottom: 9px;
  }

  .about-hero-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  .about-hero-card-line {
    margin: 17px auto 0;
  }


  /* -------------------------------------------------------
     INTEGRANTES — CARROSSEL AUTOMÁTICO
     ------------------------------------------------------- */

  .members-section {
    overflow: hidden;
  }

  .members-section .section-header {
    margin-bottom: 18px;
  }

  .member-carousel {
    position: relative;
    width: 100%;
    padding: 0 2px 34px;
  }

  .member-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    transform: translateX(0);
    will-change: transform;
  }

  .member-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 22px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .member-photo {
    width: min(62vw, 230px);
    margin: 0 auto;
    overflow: visible;
  }

  .member-photo > img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    object-fit: cover;
    transform: none !important;
    filter: none !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.38);
  }

  /* No mobile o tooltip não aparece */
  .member-tooltip {
    display: none !important;
  }

  /* Resumo fica fixo abaixo da foto */
  .member-card .card-body {
    width: min(100%, 440px);
    margin: 14px auto 0;
    padding: 18px 18px 0;
    text-align: center;
  }

  .member-card .card-body small {
    margin-bottom: 5px;
  }

  .member-card .card-body h3 {
    font-size: 21px;
  }

  .member-summary {
    display: block;
    margin: 9px auto 0;
    color: #cfcfd5;
    font-size: 13px;
    line-height: 1.55;
    max-width: 390px;
  }

  /* Passador moderno */
  .member-carousel-arrow {
    display: flex;
    position: absolute;
    top: 34%;
    z-index: 10;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(10,10,10,.62);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,.38);
    transition:
      transform .2s ease,
      background .2s ease,
      opacity .2s ease;
  }

  .member-carousel-arrow:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(217,21,34,.88);
  }

  .member-carousel-prev {
    left: 4px;
    transform: translateY(-50%);
  }

  .member-carousel-next {
    right: 4px;
    transform: translateY(-50%);
  }

  .member-carousel-prev:hover,
  .member-carousel-next:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .member-carousel-arrow:disabled {
    opacity: .22;
    cursor: default;
    pointer-events: none;
  }

  .member-carousel-dots {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .member-carousel-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    transition:
      width .25s ease,
      background .25s ease;
  }

  .member-carousel-dots button.active {
    width: 22px;
    background: var(--red, #d91522);
  }


  /* -------------------------------------------------------
     THE VOICE — vídeos pequenos, um abaixo do outro
     ------------------------------------------------------- */

  .voice-section {
    overflow: hidden;
  }

  .voice-highlight {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    padding: 30px 16px;
    border-radius: 22px;
  }

  .voice-heading {
    margin-bottom: 20px;
    text-align: center;
  }

  .voice-heading .section-title {
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.08;
  }

  .voice-heading .lead {
    font-size: 13px;
    line-height: 1.55;
  }

  .voice-videos {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .voice-videos .video-card {
    width: 100% !important;
    border-radius: 14px;
  }

  .voice-videos video {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    max-height: 205px;
    object-fit: cover;
  }


  /* -------------------------------------------------------
     POR QUE ESCOLHER — mantém a estrutura atual
     ------------------------------------------------------- */

  .about-story {
    min-height: 600px;
    margin-top: 30px !important;
  }

  .about-story > div:first-child {
    width: 100%;
    min-height: 600px;
    padding: 50px 30px;
    text-align: center;
  }

  .about-story .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .about-story::before {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.78),
        rgba(0,0,0,.60)
      );
  }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 480px) {

  .about-hero {
    padding-top: 95px;
  }

  .about-hero-content {
    width: calc(100% - 22px);
  }

  .about-hero-text h1 {
    font-size: 30px;
  }

  .about-hero-card {
    padding: 20px 17px;
  }

  .member-card {
    padding: 0 18px;
  }

  .member-photo {
    width: min(58vw, 205px);
  }

  .member-card .card-body {
    padding-left: 8px;
    padding-right: 8px;
  }

  .member-summary {
    font-size: 12.5px;
  }

  .member-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .member-carousel-prev {
    left: 0;
  }

  .member-carousel-next {
    right: 0;
  }

  .voice-highlight {
    width: calc(100% - 20px) !important;
    padding: 26px 12px;
  }

  .voice-videos {
    width: 100%;
  }

  .voice-videos video {
    max-height: 180px;
  }
}

/* =========================================================
   AJUSTE DE ESPAÇAMENTO — PÁGINA SOBRE
   Mantém todo o visual/estrutura original e apenas reduz
   os espaços verticais entre os blocos.
   ========================================================= */

/* As seções usam .section no style.css principal (88px).
   Aqui reduzimos somente nesta página. */
.section {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}

/* Integrantes → The Voice */
.members-section {
  padding-bottom: 25px !important;
}

.voice-section {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

/* The Voice → Diferenciais */
.voice-section + .section {
  padding-top: 25px !important;
}

/* Diferenciais → Próximo passo */
.about-story {
  margin-top: 20px !important;
}

.about-story + * {
  margin-top: 0;
}

/* Próximo passo → Rodapé */
.cta-band {
  margin-top: 0 !important;
}

/* Espaço controlado antes do rodapé */
.site-footer {
  margin-top: 28px;
}

/* No mobile, deixa ainda mais compacto sem alterar o layout. */
@media (max-width: 820px) {
  .section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .members-section {
    padding-bottom: 18px !important;
  }

  .voice-section {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  .voice-section + .section {
    padding-top: 18px !important;
  }

  .about-story {
    margin-top: 18px !important;
  }

  .site-footer {
    margin-top: 22px;
  }
}
