/* ============================================
   QUALITY COMBUSTÍVEIS — sobre.css
   Página Institucional
   ============================================ */

/* ── HERO INSTITUCIONAL ── */
.inst-hero {
  background: var(--roxo);
  min-height: 52vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.inst-hero-chevrons { position: absolute; right: -40px; top: 0; bottom: 0; width: 50%; }
.inst-hero-chevrons .chev-1 { border-top: 400px solid transparent; border-bottom: 400px solid transparent; border-right: 300px solid var(--laranja); right: 0; opacity: .85; position: absolute; }
.inst-hero-chevrons .chev-2 { border-top: 400px solid transparent; border-bottom: 400px solid transparent; border-right: 220px solid var(--roxo-medio); right: 70px; opacity: .5; position: absolute; }
.inst-hero-chevrons .chev-3 { border-top: 400px solid transparent; border-bottom: 400px solid transparent; border-right: 150px solid rgba(255,255,255,.04); right: 210px; position: absolute; }

.inst-hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 80px;
  max-width: 680px;
}
.inst-hero-inner h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 58px);
  color: var(--branco);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 16px 0 20px;
}
.inst-hero-inner h1 em { font-style: normal; color: var(--laranja); }
.inst-hero-inner p { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.65; max-width: 520px; }

/* ── NÚMEROS ── */
.inst-numeros {
  background: var(--laranja);
  padding: 28px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.inst-num-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}
.inst-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 34px;
  color: var(--branco);
  line-height: 1;
}
.inst-num-label {
  font-size: 11.5px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-top: 4px;
}
.inst-num-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.3);
}

/* ── SEÇÃO BASE ── */
.inst-secao { padding: 84px 80px; }

/* ── HISTÓRIA ── */
.inst-historia { background: var(--branco); }
.inst-historia-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}
.inst-historia-texto p {
  font-size: 15.5px;
  color: var(--cinza-texto);
  line-height: 1.75;
  margin-bottom: 18px;
}
.inst-historia-texto p strong { color: var(--roxo); }

.inst-historia-visual { position: relative; }
.inst-foto-principal {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  border: 4px solid var(--laranja);
}
.inst-foto-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cinza-leve);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--roxo);
}
.inst-foto-placeholder span { font-size: 52px; opacity: .4; }
.inst-foto-placeholder p { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; color: var(--roxo); text-align: center; line-height: 1.4; }
.inst-foto-placeholder small { font-size: 11px; color: var(--laranja); font-weight: 600; }

.inst-foto-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--roxo);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.inst-foto-badge-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 30px;
  color: var(--laranja);
  line-height: 1;
}
.inst-foto-badge-txt {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── TIMELINE ── */
.inst-timeline { max-width: 800px; margin: 0 auto; position: relative; }
.inst-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--roxo), var(--laranja));
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 52px;
  position: relative;
}
.tl-item.tl-esq { flex-direction: row; justify-content: flex-end; padding-right: calc(50% + 32px); }
.tl-item.tl-dir { flex-direction: row; padding-left: calc(50% + 32px); }

.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--laranja);
  border: 3px solid var(--branco);
  box-shadow: 0 0 0 3px var(--roxo);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 6px;
  flex-shrink: 0;
  z-index: 2;
}

.tl-content {
  background: var(--branco);
  padding: 24px 22px;
  border-left: 4px solid var(--laranja);
  box-shadow: 0 4px 16px rgba(40,26,78,.08);
  max-width: 320px;
}
.tl-item.tl-dir .tl-content { border-left: none; border-right: 4px solid var(--laranja); }

.tl-ano {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--laranja);
  display: block;
  margin-bottom: 8px;
}
.tl-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: var(--roxo);
  margin-bottom: 8px;
}
.tl-content p { font-size: 13px; color: var(--cinza-texto); line-height: 1.6; }

/* ── MISSÃO VISÃO VALORES ── */
.inst-mvv { background: var(--branco); }
.inst-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  padding: 36px 28px;
  border-top: 5px solid var(--roxo);
  background: var(--cinza-leve);
  transition: transform .2s, box-shadow .2s;
}
.mvv-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(40,26,78,.12); }
.mvv-missao { border-top-color: var(--roxo); }
.mvv-visao  { border-top-color: var(--laranja); }
.mvv-valores { border-top-color: var(--roxo); }

.mvv-icon { font-size: 38px; margin-bottom: 16px; }
.mvv-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--roxo);
  margin-bottom: 14px;
}
.mvv-card p { font-size: 14px; color: var(--cinza-texto); line-height: 1.65; }
.mvv-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mvv-card ul li { font-size: 13.5px; color: var(--cinza-texto); line-height: 1.5; padding-left: 14px; position: relative; }
.mvv-card ul li::before { content: '✔'; position: absolute; left: 0; color: var(--laranja); font-size: 11px; top: 1px; }
.mvv-card ul li strong { color: var(--roxo); }

/* ── ESTADOS ── */
.inst-estados { background: var(--roxo); }
.inst-estados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.estado-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 32px 26px;
  transition: background .2s;
}
.estado-card:hover { background: rgba(255,255,255,.12); }

.estado-sigla {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: var(--laranja);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.estado-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--branco);
  margin-bottom: 10px;
}
.estado-card p { font-size: 13.5px; color: rgba(255,255,255,.68); line-height: 1.6; margin-bottom: 18px; }
.estado-destaques { display: flex; flex-wrap: wrap; gap: 6px; }
.estado-destaques span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(232,121,20,.2);
  border: 1px solid rgba(232,121,20,.4);
  color: var(--laranja);
  padding: 3px 10px;
}

/* ── FUNDADORES ── */
.inst-fundadores { background: var(--off-white); }
.inst-fundadores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.fundador-card {
  background: var(--branco);
  display: flex;
  gap: 28px;
  padding: 32px 28px;
  border-left: 5px solid var(--laranja);
  box-shadow: 0 4px 20px rgba(40,26,78,.07);
  transition: transform .2s, box-shadow .2s;
  align-items: flex-start;
}
.fundador-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(40,26,78,.13); }

.fundador-foto { flex-shrink: 0; }
.fundador-foto-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--roxo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--branco);
  border: 3px solid var(--laranja);
}

.fundador-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--roxo);
  margin-bottom: 4px;
}
.fundador-cargo {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 14px;
}
.fundador-info p { font-size: 13.5px; color: var(--cinza-texto); line-height: 1.65; margin-bottom: 16px; }
.fundador-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fundador-tags span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: var(--roxo);
  background: var(--cinza-leve);
  padding: 3px 10px;
  letter-spacing: .3px;
}

/* ── RESPONSABILIDADE SOCIAL ── */
.inst-social { background: var(--cinza-leve); }
.inst-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.social-card {
  background: var(--branco);
  padding: 28px 22px;
  border-top: 4px solid var(--laranja);
  box-shadow: 0 2px 12px rgba(40,26,78,.06);
  transition: transform .2s, box-shadow .2s;
}
.social-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(40,26,78,.12); }
.social-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.social-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: var(--roxo);
  margin-bottom: 10px;
}
.social-card p { font-size: 13px; color: var(--cinza-texto); line-height: 1.6; }

/* ── CTA FINAL ── */
.inst-cta {
  background: var(--roxo);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.inst-cta-chevrons { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; pointer-events: none; }
.inst-cta-chevrons .chev-1 { border-top: 300px solid transparent; border-bottom: 300px solid transparent; border-right: 240px solid var(--laranja); right: 0; opacity: .7; position: absolute; }
.inst-cta-chevrons .chev-2 { border-top: 300px solid transparent; border-bottom: 300px solid transparent; border-right: 160px solid rgba(255,255,255,.06); right: 160px; position: absolute; }

.inst-cta-inner { position: relative; z-index: 2; }
.inst-cta-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--branco);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.inst-cta-inner h2 em { font-style: normal; color: var(--laranja); }
.inst-cta-inner p { font-size: 16px; color: rgba(255,255,255,.72); margin-bottom: 32px; }
.inst-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── NAVBAR ATIVO ── */
.nav-links .ativo { color: var(--laranja) !important; border-bottom-color: var(--laranja) !important; }

/* ── RESPONSIVO ── */
@media (max-width: 1100px) {
  .inst-secao { padding: 64px 40px; }
  .inst-hero-inner { padding: 64px 40px; }
  .inst-numeros { padding: 24px 40px; }
  .inst-historia-inner { grid-template-columns: 1fr; gap: 40px; }
  .inst-foto-principal { max-width: 400px; }
  .inst-mvv-grid { grid-template-columns: 1fr; }
  .inst-estados-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .inst-social-grid { grid-template-columns: repeat(2, 1fr); }
  .inst-cta { padding: 64px 40px; }
}
@media (max-width: 760px) {
  .inst-hero-inner { padding: 52px 24px; }
  .inst-hero-chevrons { display: none; }
  .inst-numeros { flex-direction: column; gap: 16px; padding: 28px 24px; }
  .inst-num-sep { display: none; }
  .inst-secao { padding: 52px 24px; }
  .inst-timeline::before { left: 16px; }
  .tl-item.tl-esq,
  .tl-item.tl-dir { flex-direction: column; padding: 0 0 0 48px; justify-content: flex-start; }
  .tl-dot { left: 16px; }
  .tl-content { max-width: 100%; }
  .tl-item.tl-dir .tl-content { border-right: none; border-left: 4px solid var(--laranja); }
  .inst-fundadores-grid { grid-template-columns: 1fr; }
  .fundador-card { flex-direction: column; }
  .inst-estados-grid { grid-template-columns: 1fr; }
  .inst-social-grid { grid-template-columns: 1fr; }
  .inst-cta { padding: 52px 24px; }
  .inst-cta-chevrons { display: none; }
  .inst-numeros { gap: 20px; }
  .inst-num-item { padding: 0; }
}
