/* ═══════════════════════════════════════════════════════
   pages/sobre.css — estilos exclusivos da página Sobre
   ═══════════════════════════════════════════════════════ */

/* ─── INTRO / QUEM SOMOS ─────────────────────────────── */
.about-intro {
  padding: var(--section-y) 0;
  background: #fff;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro-left p {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-intro-left p strong { color: var(--text-dark); font-weight: 700; }
.about-intro-left p:last-of-type { margin-bottom: 0; }

.about-intro-right { position: relative; }

.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.about-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0.3;
}
.about-img-placeholder svg { width: 80px; height: 80px; }
.about-img-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  color: #999; letter-spacing: 0.5px;
}

.about-img-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}
.about-img-badge-icon {
  width: 40px; height: 40px;
  background: #fdecea;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-img-badge-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 20px;
  color: var(--text-dark); line-height: 1;
}
.about-img-badge-label { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.about-img-badge2 {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--red);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-red);
  text-align: center;
}
.about-img-badge2-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 22px;
  color: #fff; line-height: 1; display: block;
}
.about-img-badge2-label {
  font-size: 11px; color: rgba(255,255,255,0.8);
  font-weight: 500; margin-top: 3px; display: block;
}

/* ─── NÚMEROS ────────────────────────────────────────── */
.numbers {
  padding: var(--section-y-sm) 0;
  background: var(--red);
  position: relative; overflow: hidden;
}
.numbers::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative; z-index: 1;
}
.number-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.number-item:last-child { border-right: none; }
.number-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 42px;
  color: #fff; display: block;
  line-height: 1; margin-bottom: 8px;
}
.number-label { font-size: 13.5px; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ─── MISSÃO VISÃO VALORES ───────────────────────────── */
.mvv {
  padding: var(--section-y) 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.mvv-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 52px;
}
.mvv-header-right p { font-size: 15px; color: var(--text-light); line-height: 1.75; }
/* O <p> direto no mvv-header (segundo filho) */
.mvv-header > p { font-size: 15px; color: var(--text-light); line-height: 1.75; }

.mvv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.mvv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mvv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.mvv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(192,57,43,0.2); }
.mvv-card:hover::before { transform: scaleX(1); }

.mvv-icon {
  width: 48px; height: 48px; background: #fdecea;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: background 0.3s;
}
.mvv-card:hover .mvv-icon { background: var(--red); }
.mvv-card:hover .mvv-icon svg { stroke: #fff; }
.mvv-icon svg { transition: stroke 0.3s; }
.mvv-card h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--text-dark); margin-bottom: 12px;
}
.mvv-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; }

/* ─── DIFERENCIAIS ───────────────────────────────────── */
.diferenciais {
  padding: var(--section-y) 0;
  background: #fff;
}
.diferenciais-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.diferenciais-sticky {
  position: sticky;
  top: calc(68px + 32px);
}
.diferenciais-sticky p { font-size: 15px; color: var(--text-light); line-height: 1.75; margin-top: 8px; }
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.dif-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.dif-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(192,57,43,0.18); }
.dif-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 38px;
  color: #f0f0f0; line-height: 1;
  flex-shrink: 0; min-width: 48px;
  transition: color 0.3s;
}
.dif-card:hover .dif-num { color: #fdecea; }
.dif-content h3 {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 15.5px; color: var(--text-dark); margin-bottom: 8px;
}
.dif-content p { font-size: 13.5px; color: var(--text-light); line-height: 1.75; }

/* ─── EQUIPE — carrossel ─────────────────────────────── */
.team {
  padding: var(--section-y) 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.team-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}
.team-header > p { font-size: 15px; color: var(--text-light); line-height: 1.75; }

.team-carousel-wrap { position: relative; overflow: hidden; }
.team-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Card fullbleed ───────────────────────────────────── */
.team-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  aspect-ratio: 3 / 4;
  background: #1a1a1a;
  cursor: default;
  opacity: 0;
  transform: translateY(16px);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.team-card.animated {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
}
.team-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transform: translateY(-6px);
}

/* Foto ocupa 100% do card */
.team-avatar-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  background: #2a2a2a;
  display: block;
  overflow: hidden;
}
.team-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.team-card:hover .team-avatar-photo img {
  transform: scale(1.05);
}

/* Gradiente escuro na parte inferior */
.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0,0,0,0.15) 55%,
    rgba(0,0,0,0.75) 80%,
    rgba(0,0,0,0.90) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Badge Fundador — canto superior direito */
.team-founder-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Texto sobreposto na parte inferior */
.team-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 22px;
  z-index: 2;
}
.team-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.team-specialty {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Controles do carrossel */
.carousel-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--border); cursor: pointer;
  transition: background 0.2s, width 0.3s;
  border: none;
}
.carousel-dot.active { background: var(--red); width: 22px; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1.5px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.carousel-arrow:hover { border-color: var(--red); color: var(--red); background: var(--red-glow); }
.carousel-arrow:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

.team-cta { text-align: left; margin-top: 32px; }

/* ─── CTA FINAL ──────────────────────────────────────── */
.cta-final {
  background: var(--red);
  padding: var(--section-y-sm) 0;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 100% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; position: relative; z-index: 1;
}
.cta-final-text h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 30px; color: #fff; margin-bottom: 10px;
  letter-spacing: -0.4px; line-height: 1.18;
}
.cta-final-text p { color: rgba(255,255,255,0.82); font-size: 15px; max-width: 380px; line-height: 1.7; }
.cta-final-btns { display: flex; gap: 14px; flex-shrink: 0; }

.btn-white-red {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--red);
  font-size: 14px; font-weight: 700; padding: 14px 24px;
  border-radius: 8px; text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white-red:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-white-red svg { transition: transform 0.2s; }
.btn-white-red:hover svg { transform: translateX(3px); }

.btn-outline-white-final {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff; font-size: 14px; font-weight: 600; padding: 13px 22px;
  border-radius: 8px; text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-white-final:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.85); }

/* ─── RESPONSIVIDADE MOBILE ──────────────────────────── */
@media (max-width: 1024px) {
  .about-intro-grid { gap: 48px; }
  .diferenciais-layout { grid-template-columns: 260px 1fr; gap: 48px; }
  .mvv-header { gap: 40px; }
  .team-header { gap: 40px; }
}

@media (max-width: 768px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-badge { bottom: -12px; left: -12px; padding: 12px 16px; }
  .about-img-badge2 { top: -10px; right: -10px; padding: 10px 14px; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .number-item { padding: 24px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .number-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .number-item:nth-last-child(-n+2) { border-bottom: none; }
  .number-val { font-size: 30px; }

  .mvv-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .mvv-cards { grid-template-columns: 1fr; }

  .diferenciais-layout { grid-template-columns: 1fr; gap: 32px; }
  .diferenciais-sticky { position: static; }

  .team-header { grid-template-columns: 1fr; gap: 20px; }
  .team-card { flex: 0 0 calc((100% - 20px) / 2); }

  .cta-final-inner { flex-direction: column; gap: 24px; text-align: center; }
  .cta-final-btns { flex-direction: column; width: 100%; }
  .cta-final-btns a { width: 100%; justify-content: center; }
  .cta-final-text h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  .about-intro-grid { gap: 32px; }
  .team-card { flex: 0 0 100%; }
  .mvv-card { padding: 24px 20px; }
  .dif-card { padding: 20px; }
}
