/*
  Prospera 2026 - Home redesign
  Estilos novos para as seções da Home, isolados sob a classe .p-2026
  para não colidir com o restante do site (Webster template).
*/

:root{
  --p-green: #12281F;
  --p-green-2: #0D1F17;
  --p-yellow: #E8FA6B;
  --p-olive: #C7C4A0;
  --p-topbar: rgba(242, 254, 142, .85); /* #F2FE8E a 85% de opacidade */
  --p-text: #1B2A20;
  --p-muted: #4A4A45;
  --p-section-bg: #F2F2EF;
}

/* Barra de contato abaixo do menu (email/telefone + redes sociais) */
.p-2026 .topbar{ background: var(--p-topbar); border-bottom: none; }

/* Alinhamento vertical da logo e dos itens do menu (afeta todas as páginas) */
@media screen and (min-width: 993px){
  .mega-menu .menu-list-items .col-lg-12{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .mega-menu .menu-logo,
  .mega-menu .menu-bar{
    float: none;
    flex-shrink: 0;
  }
}

/* ===================== HERO ===================== */
.p-hero{ position: relative; }
.p-hero .owl-carousel,
.p-hero .owl-stage-outer,
.p-hero .owl-stage,
.p-hero .owl-item{ height: 620px; }
.p-hero-slide{
  position: relative;
  height: 620px;
  background-size: cover;
  background-position: center;
}
.p-hero-slide:before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,20,15,.65) 0%, rgba(10,20,15,.05) 55%);
}
.p-hero-caption{
  position: absolute;
  left: 0;
  bottom: 55px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  max-width: 680px;
  padding: 0 60px;
  margin: 0;
}
.p-hero .owl-dots{
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}
.p-hero .owl-dot span{
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  display: block;
}
.p-hero .owl-dot.active span{ background: #fff; }

/* ===================== Elementos reutilizáveis ===================== */
.p-pill{
  display: inline-block;
  background: var(--p-olive);
  color: var(--p-text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  padding: 7px 16px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.p-btn{
  display: inline-block;
  background: var(--p-yellow);
  color: var(--p-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .4px;
  padding: 14px 28px;
  border-radius: 2px;
  text-transform: uppercase;
  border: 2px solid var(--p-yellow);
  transition: all .25s ease-in-out;
}
.p-btn:hover, .p-btn:focus{ background: transparent; color: var(--p-text); border-color: var(--p-text); }
.p-btn-outline{
  display: inline-block;
  background: transparent;
  color: var(--p-text);
  font-weight: 400;
  font-size: 13px;
  padding: 14px 28px;
  border: 2px solid var(--p-text);
  border-radius: 2px;
  text-transform: uppercase;
  transition: all .25s ease-in-out;
}
.p-btn-outline:hover, .p-btn-outline:focus{ background: var(--p-text); color: #fff; }
.p-btn-outline.light{ border-color: rgba(255,255,255,.6); color: #fff; }
.p-btn-outline.light:hover{ background: #fff; color: var(--p-text); border-color: #fff; }

/* ===================== Solução ideal (imagem + texto) ===================== */
.p-solution{ padding: 90px 0; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; }
.p-solution h2{ font-size: 40px; font-weight: 400; color: var(--p-text); line-height: 1.25; margin-bottom: 18px; }
.p-solution p{ color: var(--p-muted); font-size: 16px; line-height: 1.75; margin-bottom: 30px; }
.p-solution .p-solution-img{ width: 100%; height: auto; border-radius: 4px; }

/* ===================== Por que prospera (cards sobre foto) ===================== */
.p-why{ position: relative; padding: 90px 0; background-size: cover; background-position: center; }
.p-why:before{ content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.78); }
.p-why .container{ position: relative; z-index: 1; }
.p-why h2{ font-size: 40px; font-weight: 400; color: var(--p-text); margin-bottom: 16px; }
.p-why > .container > p{ color: var(--p-muted); font-size: 16px; line-height: 1.75; max-width: 720px; margin-bottom: 10px; }
.p-why-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.p-why-card{ display: flex; flex-direction: column; }
.p-why-card .head{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.p-why-card .icon-badge{
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-yellow);
  border-radius: 2px;
}
.p-why-card .icon-badge .icon{ font-size: 20px; color: var(--p-text); margin: 0; }
.p-why-card h5{ font-weight: 800; font-size: 15px; color: var(--p-text); margin: 0; }
.p-why-card .box{ background: var(--p-olive); padding: 20px 22px; border-radius: 2px; flex: 1; }
.p-why-card .box p{ font-size: 13px; line-height: 1.6; color: #3c3c37; margin: 0; }
.p-why-card .box a{ font-weight: 800; color: var(--p-text); text-decoration: none; }

/* ===================== Barra de números ===================== */
.p-stats{ background: var(--p-green); padding: 34px 0; }
.p-stats-row{ display: flex; flex-wrap: wrap; }
.p-stat{ flex: 1 1 0; min-width: 200px; display: flex; align-items: center; gap: 16px; padding: 10px 24px; border-right: 1px solid rgba(255,255,255,.15); }
.p-stat:last-child{ border-right: none; }
.p-stat .icon{ color: var(--p-yellow); font-size: 32px; flex-shrink: 0; line-height: 1; }
.p-stat strong{ display: block; font-size: 26px; font-weight: 800; color: var(--p-yellow); line-height: 1; }
.p-stat span{ display: block; font-size: 11px; letter-spacing: .3px; font-weight: 600; color: #fff; margin-top: 6px; }

/* ===================== Diferenciais Prospera (gráfico + accordion) ===================== */
.p-diff{ padding: 90px 0; }
.p-diff-chart{ display: flex; align-items: flex-end; gap: 50px; height: 230px; padding-bottom: 10px; }
.p-diff-bar-wrap{ text-align: center; }
.p-diff-bar-wrap .pct{ font-weight: 800; color: var(--p-text); margin-bottom: 8px; display: block; }
.p-diff-bar-wrap .bar{ width: 64px; margin: 0 auto; background: #E7E6DF; border-radius: 2px 2px 0 0; }
.p-diff-bar-wrap.active .bar{ background: var(--p-yellow); }
.p-diff-bar-wrap label{ display: block; margin-top: 10px; font-size: 12px; color: var(--p-muted); }
.p-diff h2{ font-size: 32px; font-weight: 800; color: var(--p-text); margin-bottom: 16px; }
.p-diff p{ color: var(--p-muted); font-size: 15px; line-height: 1.7; margin-bottom: 26px; }
.p-diff-accordion .item{ margin-bottom: 10px; }
.p-diff-accordion .item .head{
  background: transparent; border: 2px solid var(--p-text); color: var(--p-text);
  font-weight: 800; text-transform: uppercase; font-size: 13px; padding: 14px 20px;
  cursor: pointer; border-radius: 2px; display: block;
}
.p-diff-accordion .item.open .head{ background: var(--p-yellow); border-color: var(--p-yellow); }
.p-diff-accordion .item .body{ background: var(--p-olive); padding: 18px 20px; font-size: 13px; line-height: 1.6; color: #3c3c37; display: none; border-radius: 0 0 2px 2px; }
.p-diff-accordion .item.open .body{ display: block; }

/* ===================== Fazemos de um jeito diferente ===================== */
.p-different{ position: relative; padding: 90px 0; background-size: cover; background-position: center; color: #fff; }
.p-different:before{ content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(13,31,23,.94), rgba(13,31,23,.72)); }
.p-different .container{ position: relative; z-index: 1; }
.p-different h2{ font-weight: 800; font-size: 32px; margin-bottom: 16px; }
.p-different p.lead{ font-size: 16px; line-height: 1.75; opacity: .92; }
.p-different-box{ background: var(--p-olive); color: var(--p-text); padding: 30px; border-radius: 2px; }
.p-different-box p{ font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.p-different-box .p-btn + .p-btn-outline,
.p-different-box .p-btn-outline + .p-btn{ margin-left: 12px; }

/* ===================== Depoimentos ===================== */
.opnioes{ background: var(--p-section-bg) !important; padding: 90px 0; }
.opnioes .owl-carousel .item{ padding: 0 12px; }
.opnioes .testimonial{ padding: 40px 32px; border-radius: 2px; position: relative; min-height: 200px; }
.opnioes .item:nth-child(odd) .testimonial{ background: var(--p-olive); }
.opnioes .item:nth-child(even) .testimonial{ background: var(--p-yellow); }
.opnioes .testimonial:before{
  content: "\201C"; position: absolute; top: 6px; left: 22px;
  font-size: 64px; font-weight: 800; color: rgba(0,0,0,.15); line-height: 1;
}
.opnioes .testimonial-avatar img{ border-radius: 50%; width: 50px; height: 50px; object-fit: cover; }
.opnioes .testimonial-info{ font-size: 14px; line-height: 1.7; color: var(--p-text); margin-top: 18px; }
.opnioes .author-info{ margin-top: 18px; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; color: var(--p-text); }

/* ===================== Responsivo ===================== */
@media (max-width: 991px){
  .p-hero-caption{ font-size: 30px; padding: 0 30px; }
  .p-why-grid{ grid-template-columns: repeat(2, 1fr); }
  .p-stat{ flex: 1 1 50%; border-right: none; margin-bottom: 16px; }
  .p-diff-chart{ gap: 30px; }
}
@media (max-width: 575px){
  .p-hero .owl-carousel, .p-hero .owl-stage-outer, .p-hero .owl-stage, .p-hero .owl-item, .p-hero-slide{ height: 420px; }
  .p-hero-caption{ font-size: 24px; bottom: 30px; }
  .p-why-grid{ grid-template-columns: 1fr; }
  .p-stat{ flex: 1 1 100%; }
}
