/* =============================================================================
   about.css — Sobre Nós page styles
   Sections: #banner, #quem-somos, #nossa-historia, #proposito, #valores, #video-sec, #logos
   ============================================================================= */

/* ── BANNER ─────────────────────────────────────────────────────────────────── */
#banner {
  position: relative;
  height: 800px;
  overflow: hidden;
}
.banner-track { position: absolute; inset: 0; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.banner-slide--active { opacity: 1; pointer-events: auto; }
.banner-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.banner-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.banner-bg img,
.banner-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.banner-bg video { display: block; }
.banner-youtube {
  position: absolute; top: 50%; left: 50%;
  width: max(100%, 177.78vh); height: max(100%, 56.25vw);
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.banner-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}
.banner-deco {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 360px; height: 360px;
  pointer-events: none;
}
.banner-deco img { width: 100%; height: 100%; }
.banner-content {
  position: absolute;
  bottom: 80px;
  left: var(--pp);
  max-width: 845px;
}
.banner-eyebrow {
  font-size: 16px; font-weight: 700; color: white;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 19px;
  opacity: 0; transform: translateY(20px);
  animation: banFu .7s .3s forwards;
}
.banner-title {
  font-size: 48px; font-weight: 900; color: white;
  line-height: 1.15;
  opacity: 0; transform: translateY(20px);
  animation: banFu .7s .5s forwards;
}
.banner-dots {
  position: absolute;
  bottom: 24px; left: var(--pp);
  display: flex; gap: 8px; align-items: center;
}
.banner-dot--active { width: 56px; height: 4px; background: var(--v); border-radius: 999px; cursor: pointer; }
.banner-dot--inactive { width: 24px; height: 4px; background: var(--g03); border-radius: 999px; cursor: pointer; }
@keyframes banFu { to { opacity: 1; transform: translateY(0); } }

/* ── QUEM SOMOS ─────────────────────────────────────────────────────────────── */
#quem-somos { background: white; }
#quem-somos .grid--start { gap: 20px; }
.qs-left {
  display: flex; flex-direction: column;
  justify-content: space-between;
  height: 100%; min-height: 300px;
}
.qs-left .stag { margin-bottom: 8px; }
.qs-nums {
  display: flex; gap: 24px;
  margin-top: 40px;

  @media (max-width: 640px) {
    flex-direction: column;
  }
}
.ncard-lt {
  border: 1px solid var(--g03);
  border-radius: 8px;
  padding: 16px 24px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.ncard-lt:hover {
  border-color: rgba(255,45,46,.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.nval-r {
  font-size: 32px; font-weight: 700; color: #ff2e2e;
  line-height: 1.2; margin-bottom: 8px;
}
.nlbl-d {
  font-size: 14px; font-weight: 500; color: var(--preto);
  text-transform: uppercase;
}
.qs-tx {
  font-size: 16px; color: var(--g08); line-height: 1.4;
  max-width: 562px;
  margin-left: auto;
}
.qs-tx p { margin-bottom: 1.2em; }
.qs-tx p:last-child { margin-bottom: 0; }

/* ── NOSSA HISTÓRIA ─────────────────────────────────────────────────────────── */
#nossa-historia {
  background: var(--ve);
  position: relative;
  min-height: 589px;
}
.nh-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  /* leave room for the absolute image (572px) + gap between text and image */
  max-width: min(572px, calc(100% - 572px - 64px));
}
.nh-ttl {
  font-size: 48px; font-weight: 500; color: white;
  line-height: 1.2; margin-bottom: 19px;
}
.nh-tx {
  font-size: 16px; color: rgba(255,255,255,.9); line-height: 1.4;
}
.nh-tx p { margin-bottom: 1.4em; }
.nh-tx p:last-child { margin-bottom: 0; }
.nh-tx strong { font-weight: 700; color: white; }

/* image: absolutely positioned, bleeds -40px above */
.nh-img-wrap {
  position: absolute;
  right: var(--pp);
  top: -40px;
  width: 572px; height: 629px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
}
.nh-img-inner {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.nh-img-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* dot decoration right edge */
.nh-dots {
  position: absolute;
  right: 0; top: 0;
  width: 96px; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; padding: 16px 0;
}
.nh-dot-item {
  width: 34px; height: 40px;
  flex-shrink: 0;
  transform: rotate(-90deg);
  opacity: .5;
}
.nh-dot-item img { width: 100%; height: 100%; object-fit: contain; }

/* ── PROPÓSITO ──────────────────────────────────────────────────────────────── */
#proposito { background: #181818; }

.prop-eye {
  font-size: 16px; font-weight: 700; color: #ff2e2e;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.prop-ttl {
  font-size: 40px; font-weight: 500; color: white;
  line-height: 1.2;
}
.prop-tx {
  font-size: 18px; color: var(--g02); line-height: 1.4;
}
.prop-tx strong { font-weight: 700; }

/* ── VALORES ────────────────────────────────────────────────────────────────── */
#valores { background: white; }

.val-list { display: flex; flex-direction: column; }
.val-item {
  border-bottom: 1px solid var(--g02);
  overflow: hidden;
  cursor: pointer;
}
.val-hdr {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 24px 0; gap: 10px;
}
.val-name {
  font-size: 18px; font-weight: 500; color: var(--preto);
  flex: 1;
  transition: color var(--t);
}
.val-item:hover .val-name,
.val-item.open .val-name { color: var(--ve); }
.val-ic {
  width: 24px; height: 24px; flex-shrink: 0;
  color: var(--v);
  transition: transform var(--t), color var(--t);
  display: flex; align-items: center; justify-content: center;
}
.val-item.open .val-name ~ .val-ic,
.val-item:hover .val-ic { color: var(--v); }
.val-item.open .val-ic { transform: rotate(180deg); }
.val-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.val-body p {
  font-size: 16px; color: var(--g08);
  line-height: 1.4; padding-bottom: 24px;
}
.val-item.open .val-body { max-height: 200px; }

/* ── VIDEO SECTION ──────────────────────────────────────────────────────────── */
#video-sec {
  position: relative;
  height: 590px;
  overflow: hidden;
  cursor: pointer;
}
.vid-bg {
  position: absolute; inset: 0;
  will-change: transform;
}
.vid-bg img { width: 100%; height: 100%; object-fit: cover; }
.vid-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.2);
}
.vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background var(--t), transform var(--t);
}
#video-sec:hover .vid-play {
  background: rgba(255,255,255,.85);
  transform: translate(-50%,-50%) scale(1.1);
}
.vid-play-icon {
  width: 0; height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #ff0000;
  margin-left: 6px;
}

/* ── MODAL VÍDEO ────────────────────────────────────────────────────────────── */
.vid-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.vid-modal.is-open { opacity: 1; pointer-events: auto; }
.vid-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.8);
  cursor: pointer;
}
.vid-modal__box {
  position: relative; z-index: 1;
  width: min(900px, 92vw);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(.95);
  transition: transform .3s ease;
}
.vid-modal.is-open .vid-modal__box { transform: scale(1); }
.vid-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t);
}
.vid-modal__close:hover { background: rgba(255,0,0,.8); }
.vid-modal__close svg { width: 18px; height: 18px; }
.vid-modal__frame { position: relative; padding-bottom: 56.25%; height: 0; }
.vid-modal__frame iframe,
.vid-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.vid-modal__frame video { background: #000; }

/* Logos marquee → global.css */

.stitle--mb24 { margin-bottom: 24px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  #quem-somos .col-6        { grid-column: span 12; }
  .nh-img-wrap              { display: none; }
  .nh-dots                  { display: none; }
  #nossa-historia           { min-height: 0; }
  .nh-content               { max-width: 100%; padding: 64px 0; }
  #proposito .col-5,
  #proposito .col-6         { grid-column: span 12; }
  #valores .col-4,
  #valores .col-7           { grid-column: span 11; }
}
@media (max-width: 640px) {
  .banner-bg--desktop { display: none; }
  .banner-bg--mobile  { display: block; }
  .banner-title   { font-size: 32px; }
  .banner-deco  { display: none; }
  .nh-content { padding: 48px 0; }
  .nh-ttl    { font-size: 32px; }
  .prop-ttl  { font-size: 28px; }
  #video-sec { height: 400px; }
}
