/* ============================================================
   sobre.css — Estilos exclusivos da página Sobre a Empresa
   ============================================================ */

/* ---- Hero da subpágina ---- */
.page-hero {
  position: relative;
  margin-top: var(--nav-h);
  min-height: 300px;
  display: flex;
  align-items: center;
  background:
    url('slide1.png') center 55% / cover no-repeat;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,50,18,0.92) 40%, rgba(10,50,18,0.55) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: var(--yellow); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb svg { stroke: rgba(255,255,255,0.4); }

.page-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.8rem;
  line-height: 1.15;
}
.page-hero-content h1 .highlight { color: var(--yellow); }

.page-hero-content p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  max-width: 520px;
}

/* ---- Label de seção ---- */
.sobre-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-main);
  background: rgba(30,122,53,0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(30,122,53,0.2);
  margin-bottom: 1rem;
}

/* ============================================================
   HISTÓRIA — grid texto + timeline
   ============================================================ */
.sobre-historia {
  padding: 6rem 0;
  background: #fff;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Texto */
.sobre-texto h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2rem;
  color: var(--dark);
}
.sobre-texto h2 strong { color: var(--green-main); }

.sobre-paragrafos {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sobre-paragrafos p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.75;
}

.sobre-paragrafos p strong { color: var(--green-dark); font-weight: 600; }

/* ---- Linha do tempo ---- */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 8px; left: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-main), var(--yellow));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 1.8rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -0.45rem;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green-main);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--green-main);
}

.timeline-item--now .timeline-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green-main);
  background: rgba(30,122,53,0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  margin-bottom: 0.45rem;
}

.timeline-item--now .timeline-year {
  color: #9a6800;
  background: rgba(245,197,24,0.15);
}

.timeline-content h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.83rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================================
   NÚMEROS
   ============================================================ */
.sobre-numeros {
  background: var(--green-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.sobre-numeros::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.numeros-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.numero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.numero-card.visible { opacity: 1; transform: translateY(0); }
.numero-card:nth-child(2) { transition-delay: 0.1s; }
.numero-card:nth-child(3) { transition-delay: 0.2s; }
.numero-card:nth-child(4) { transition-delay: 0.3s; }

.numero-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.3rem;
}
.numero-icon svg { width: 24px; height: 24px; stroke: var(--yellow); }

.numero-card strong {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.numero-card span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ============================================================
   MISSÃO VISÃO VALORES
   ============================================================ */
.sobre-mvv {
  padding: 6rem 0;
  background: var(--gray-bg);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.mvv-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
}
.mvv-card.visible { opacity: 1; transform: translateY(0); }
.mvv-card:nth-child(2) { transition-delay: 0.12s; }
.mvv-card:nth-child(3) { transition-delay: 0.24s; }

.mvv-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.mvv-missao::before  { background: var(--green-main); }
.mvv-visao::before   { background: #1a3d5c; }
.mvv-valores::before { background: var(--yellow); }

.mvv-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.mvv-missao  .mvv-icon { background: rgba(30,122,53,0.1);  }
.mvv-visao   .mvv-icon { background: rgba(26,61,92,0.1);   }
.mvv-valores .mvv-icon { background: rgba(245,197,24,0.12); }

.mvv-missao  .mvv-icon svg { stroke: var(--green-main); width: 26px; height: 26px; }
.mvv-visao   .mvv-icon svg { stroke: #1a3d5c;           width: 26px; height: 26px; }
.mvv-valores .mvv-icon svg { stroke: #9a6800;            width: 26px; height: 26px; }

.mvv-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
}

.mvv-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.72;
}

.mvv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mvv-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--gray-text);
}

.mvv-list li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* ============================================================
   REGISTROS OFICIAIS
   ============================================================ */
.sobre-registros {
  padding: 6rem 0;
  background: #fff;
}

.registros-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.registros-texto h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--dark);
}
.registros-texto h2 strong { color: var(--green-main); }

.registros-texto p {
  font-size: 0.92rem;
  color: var(--gray-text);
  line-height: 1.75;
}

.registros-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.registro-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
}
.registro-card.visible { opacity: 1; transform: translateX(0); }
.registro-card:nth-child(2) { transition-delay: 0.12s; }
.registro-card:nth-child(3) { transition-delay: 0.24s; }
.registro-card:hover { box-shadow: var(--shadow); background: white; }

.registro-badge {
  width: 56px; height: 56px;
  border-radius: 10px;
  border: 1.5px solid;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.registro-sigla {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.registro-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.registro-info strong {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}

.registro-info span {
  font-size: 0.78rem;
  color: var(--gray-text);
}

.registro-ok {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(30,122,53,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.registro-ok svg { width: 14px; height: 14px; stroke: var(--green-main); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.sobre-cta {
  position: relative;
  padding: 6rem 0;
  background:
    linear-gradient(135deg, rgba(10,50,18,0.93) 0%, rgba(26,92,42,0.92) 100%),
    url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?w=1600&q=80') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.sobre-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sobre-cta-content {
  position: relative;
  z-index: 1;
}

.sobre-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.sobre-cta p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.sobre-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE — sobre.css
   ============================================================ */
@media (max-width: 900px) {
  .sobre-grid       { grid-template-columns: 1fr; gap: 3rem; }
  .registros-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .mvv-grid         { grid-template-columns: 1fr; }
  .numeros-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .numeros-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .sobre-cta-btns { flex-direction: column; align-items: center; }
}
