/* ============================================================
   A ABRAFATI — Estilos da página
   ============================================================ */

/* ---- CARDS MVV (Missão / Visão / Valores) ---- */
#aab-mvv {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.aab-mvv-wrap {
    position: relative;
    padding-top: 43px; /* espaço para o badge flutuar acima do card */
    height: 100%;
}

.aab-mvv-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #7e71b3;
    border: 2px solid #fff;
    border-radius: 20px;
    height: 86px;
    width: 299px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    white-space: nowrap;
}

.aab-mvv-badge-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.32px;
    line-height: 1.5;
    text-align: center;
}

.aab-mvv-card {
    background: #66589e;
    border-radius: 20px;
    min-height: 327px;
    padding: 88px 36px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aab-mvv-card-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.32px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.aab-mvv-card-text p {
    margin: 0;
    color: #fff;
}

.aab-mvv-card-text ul {
    list-style: disc;
    text-align: left;
    padding-left: 22px;
    margin: 0;
}

.aab-mvv-card-text li {
    margin-bottom: 4px;
}

/* ---- PAINTS DECORATIVOS ---- */
.aab-paint-left,
.aab-paint-right {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.aab-paint-left {
    left: -74px;
    top: 210px;
    transform: rotate(180deg) scaleY(-1);
}

.aab-paint-right {
    right: -100px;
    top: 640px;
    transform: rotate(180deg);
}

.aab-paint-left img { width: 324px; display: block; }
.aab-paint-right img { width: 341px; display: block; }

/* ---- ABOUT (hero + colunas de texto) ---- */
#aab-about {
    padding: 0 0 100px;
    position: relative;
    overflow: hidden;
}

.aab-hero-img {
    width: 100%;
    height: 387px;
    object-fit: cover;
    border-radius: 0 0 0 20px;
    display: block;
}

.aab-col-destaque {
    padding-top: 226px;
    padding-right: 40px;
}

.aab-text-destaque {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #5a738d;
    letter-spacing: -0.32px;
    line-height: 1.62;
    margin: 0;
}

.aab-text-destaque p,
.aab-text-destaque strong,
.aab-text-destaque em {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    margin-bottom: 0;
}

.aab-box-sobre {
    background: #ecf1f6;
    border-radius: 0 0 20px 20px;
    padding: 40px;
}

.aab-text-sobre {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5a738d;
    letter-spacing: -0.32px;
    line-height: 1.88;
    margin: 0;
}

.aab-text-sobre p {
    color: #5a738d;
    margin-bottom: 1em;
}

.aab-text-sobre p:last-child {
    margin-bottom: 0;
}

/* ---- PILARES / COMITÊS ---- */
#aab-pilares {
    padding: 60px 0 0;
    position: relative;
}

.aab-pilares-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #66589e;
    letter-spacing: -0.32px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 16px;
}

.aab-pilares-intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5a738d;
    letter-spacing: -0.32px;
    line-height: 1.88;
    text-align: center;
    max-width: 847px;
    margin: 0 auto 50px;
}

.aab-pilares-grid {
    display: flex;
    gap: 29px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

.aab-pilar-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    min-height: 210px;
    width: 233px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
}

.aab-pilar-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #66589e;
    letter-spacing: -0.32px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* ---- FAIXA ROXA ---- */
.aab-purple-strip {
    background: #66589e;
    height: 262px;
    margin-top: -171px; /* cardH(210) - distancia-acima-da-faixa(39) = 171px de sobreposição */
    position: relative;
    z-index: 1;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 991px) {
    .aab-mvv-badge {
        width: 220px;
        height: 70px;
    }
    .aab-mvv-badge-label { font-size: 16px; }
    .aab-mvv-card {
        padding: 76px 24px 40px;
        min-height: 280px;
    }
    .aab-mvv-card-text { font-size: 16px; }

    .aab-hero-img {
        height: 240px;
        border-radius: 20px;
    }
    .aab-col-destaque {
        padding-top: 40px;
        padding-right: 0;
        order: 2;
    }
    .aab-col-sobre { order: 1; }
    .aab-box-sobre { border-radius: 0 0 20px 20px; }
    .aab-text-destaque { font-size: 20px; }

    .aab-pilar-card {
        width: calc(50% - 15px);
        min-width: 160px;
    }
}

@media (max-width: 575px) {
    #aab-mvv { padding: 40px 0 60px; }
    .aab-mvv-badge { width: 180px; height: 62px; }
    .aab-mvv-badge-label { font-size: 15px; }
    .aab-mvv-wrap { padding-top: 31px; }
    .aab-mvv-card { padding: 64px 20px 36px; }
    .aab-mvv-card-text { font-size: 15px; }

    .aab-hero-img { height: 200px; }
    .aab-text-destaque { font-size: 18px; }
    .aab-box-sobre { padding: 28px 20px; }
    .aab-text-sobre { font-size: 15px; }

    .aab-pilares-title { font-size: 20px; }
    .aab-pilares-intro { font-size: 15px; }
    .aab-pilar-card { width: 100%; max-width: 280px; }
    .aab-pilar-text { font-size: 16px; }

    .aab-purple-strip { margin-top: -100px; }
}

/* RESPONSIVE FIX 1360x768 — page-a-abrafati.php */
@media screen and (max-width: 1360px) and (min-width: 993px) {
  /* padding-top de 226px em viewport de 768px empurra o texto além da dobra.
     Reduzido proporcionalmente para a faixa xl (container 1140px). */
  .aab-col-destaque {
    padding-top: 100px;
  }
}
