/* ============================================================
   M2 Drones — Página Sobre Nós
   ============================================================ */

/* Ocultar título da página Sobre Nós (renderizado pelo tema) */
.page-id-181 .entry-title,
.page-id-181 h1.page-title,
.page-id-181 .elementor-heading-title {
  display: none !important;
}

.m2-sobre {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
  font-family: 'Poppins', sans-serif;
  color: #1c2b18;
}

/* ── Tag de seção ──────────────────────────────────────────── */
.m2-sobre-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4caf28;
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════════
   QUEM SOMOS
   ══════════════════════════════════════════════════════════════ */
.m2-sobre-quem {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 48px 0 56px;
  border-bottom: 1px solid #ddeedd;
}

.m2-sobre-quem h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #12285a;
  line-height: 1.2;
  margin: 0 0 20px;
}

.m2-sobre-quem p {
  font-size: 15px;
  line-height: 1.75;
  color: #4a6042;
  margin: 0 0 14px;
}

/* Card destaque — hectares */
.m2-sobre-stat-destaque {
  background: #12285a;
  border-radius: 18px;
  border: 3px solid #4caf28;
  padding: 36px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  flex-shrink: 0;
}

.m2-sobre-stat-pre {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.m2-sobre-stat-num {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: #8cc63f;
  line-height: 1;
  letter-spacing: -0.02em;
}

.m2-sobre-stat-label {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 8px;
  line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════
   FACHADA
   ══════════════════════════════════════════════════════════════ */
.m2-sobre-fachada {
  margin: 0 0 56px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
}

.m2-sobre-fachada img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   FROTA
   ══════════════════════════════════════════════════════════════ */
.m2-sobre-frota {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #ddeedd;
}

.m2-sobre-frota h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #12285a;
  margin: 0 0 28px;
}

.m2-sobre-frota-totais {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.m2-sobre-frota-total {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #12285a;
  border-radius: 14px;
  padding: 20px 28px;
  flex: 1;
  min-width: 160px;
}

.m2-sobre-frota-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: #8cc63f;
  line-height: 1;
}

.m2-sobre-frota-desc {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.m2-sobre-frota-desc small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.75;
  line-height: 1.3;
}

.m2-sobre-frota-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m2-sobre-frota-lista li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
  color: #2c4a24;
  padding: 10px 16px;
  background: #f3faf0;
  border-left: 4px solid #4caf28;
  border-radius: 0 8px 8px 0;
}

.m2-sobre-frota-lista li strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #4caf28;
  min-width: 28px;
  line-height: 1;
}

.m2-sobre-frota-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  max-height: 380px;
}

/* ══════════════════════════════════════════════════════════════
   CERTIFICAÇÕES
   ══════════════════════════════════════════════════════════════ */
.m2-sobre-cert {
  padding: 56px 0;
  border-bottom: 1px solid #ddeedd;
}

.m2-sobre-cert-descricao {
  font-size: 15px;
  line-height: 1.8;
  color: #4a6042;
  max-width: 860px;
  margin: 0 0 36px;
  padding: 20px 24px;
  background: #f3faf0;
  border-left: 4px solid #4caf28;
  border-radius: 0 10px 10px 0;
}

.m2-sobre-cert-titulo {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #12285a;
  margin: 8px 0 28px;
}

.m2-sobre-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.m2-cert-card {
  background: #f3faf0;
  border: 1.5px solid #ddeedd;
  border-radius: 16px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.m2-cert-card:hover {
  border-color: #4caf28;
  box-shadow: 0 6px 22px rgba(76,175,40,0.13);
  transform: translateY(-2px);
}

/* Área das logos dentro do card */
.m2-cert-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 52px;
}

.m2-cert-logos img {
  height: 40px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  display: block;
}

.m2-cert-card strong {
  font-size: 15px;
  font-weight: 700;
  color: #12285a;
  line-height: 1.3;
}

.m2-cert-card span {
  font-size: 13px;
  color: #4a6042;
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════
   CLIENTES
   ══════════════════════════════════════════════════════════════ */
.m2-sobre-clientes {
  padding: 56px 0 64px;
}

.m2-sobre-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.m2-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid #e8f0e5;
  border-radius: 12px;
  padding: 24px 32px;
  height: 110px;
  box-sizing: border-box;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
  cursor: default;
}

.m2-logo-card:hover {
  border-color: #4caf28;
  box-shadow: 0 6px 20px rgba(76,175,40,0.14);
  transform: translateY(-3px);
}

.m2-logo-card img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.25s, opacity 0.25s;
  display: block;
}

.m2-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .m2-sobre-quem {
    grid-template-columns: 1fr;
  }
  .m2-sobre-stat-destaque {
    width: 100%;
    min-width: unset;
  }
  .m2-sobre-frota {
    grid-template-columns: 1fr;
  }
  .m2-sobre-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .m2-sobre-cert-titulo {
    font-size: 1.4rem;
  }
  .m2-sobre-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .m2-logo-card {
    height: 90px;
    padding: 16px 20px;
  }
}

@media (max-width: 560px) {
  .m2-sobre-cert-grid,
  .m2-sobre-logos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .m2-sobre-cert-grid,
  .m2-sobre-logos {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FUNDOS PARALLAX — Sobre Nós
   ============================================================ */

/* Quem Somos */
.m2-sobre-quem {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  background: url('/wp-content/uploads/2026/07/fundosobrenos.avif') center 30%/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}
.m2-sobre-quem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240,248,235,0.90);
  z-index: 0;
}
.m2-sobre-quem > * { position: relative; z-index: 1; }

/* Frota */
.m2-sobre-frota {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  background: url('/wp-content/uploads/2026/07/fundosobrenos2.jpg') center 40%/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}
.m2-sobre-frota::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240,248,235,0.88);
  z-index: 0;
}
.m2-sobre-frota > * { position: relative; z-index: 1; }

/* Certificações */
.m2-sobre-cert {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  background: url('/wp-content/uploads/2026/07/fundosobrenos3.webp') center 50%/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}
.m2-sobre-cert::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240,248,235,0.90);
  z-index: 0;
}
.m2-sobre-cert > * { position: relative; z-index: 1; }

/* Clientes */
.m2-sobre-clientes {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  background: url('/wp-content/uploads/2026/07/fundosobrenos4.webp') center 60%/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}
.m2-sobre-clientes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240,248,235,0.88);
  z-index: 0;
}
.m2-sobre-clientes > * { position: relative; z-index: 1; }

/* Missão */
.m2-empresa-missao {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: url('/wp-content/uploads/2026/07/fundosobrenos5.avif') center 70%/cover no-repeat !important;
  background-attachment: fixed !important;
  position: relative;
}
.m2-empresa-missao::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,30,5,0.78);
  z-index: 0;
}
.m2-empresa-missao > * { position: relative; z-index: 1; }

/* ── Hero Sobre Nós ─────────────────────────────── */
.m2-sobre-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  background: url('/wp-content/uploads/2026/07/fundosobrenos6.webp') center 40%/cover no-repeat;
  background-attachment: fixed;
  margin-top: 0;
}
.m2-sobre-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,25,5,0.82) 0%, rgba(20,50,10,0.68) 100%);
  z-index: 0;
}
.m2-sobre-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
  color: #fff;
}
.m2-sobre-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}
.m2-sobre-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Remove espaçamentos entre seções com fundo parallax */
.m2-sobre-quem,
.m2-sobre-frota,
.m2-sobre-cert,
.m2-sobre-clientes {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}
.m2-sobre-fachada {
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Elimina gap entre hero e primeira seção */
.m2-sobre-hero + .m2-sobre-quem,
.m2-sobre > section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.page-id-181 .entry-content > .m2-sobre {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.page-id-181 .entry-content,
.page-id-181 .wp-block-group,
.page-id-181 .wp-block-post-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Força remoção de qualquer gap residual entre seções */
.m2-sobre-hero {
  margin-bottom: 0 !important;
}
.m2-sobre-quem {
  margin-top: 0 !important;
  padding-top: 48px;
}
.page-id-181 .site-main > article,
.page-id-181 .entry-content > *:first-child,
.page-id-181 .wp-block-post-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.page-id-181 .m2-sobre > section + section {
  margin-top: 0 !important;
}
