/* --- Importa fonte Aller local --- */
@import url('../aller/aller.css');

/* --- Reset e Configurações Gerais --- */
body {
    font-family: "allerregular", "aller", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #2C2D5C;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "allerbold", "allerregular", "aller", sans-serif;
    font-weight: normal;
}

.pag-preparo-cirurgico p {
    font-size: 14px;
    line-height: 150%;
    color: #555670;
    padding: 0;
    margin-bottom: 16px;
}


a:hover, a:focus {
    text-decoration: none;
}

/* --- Variáveis de Cores (Baseadas no Figma) --- */
:root {
    --bp-coral: #F37053;
    --bp-coral-hover: #D06A52;
    --bp-purple: #55489D;
    --bp-purple-dark: #2C2D5C;
    --bp-bg-lavender: #DFD9F1;
    --bp-bg-light: #F4F4F4;
    --bp-bg-pinkish: #F0E5E2;
    --bp-alert-purple: #ECECF9;
    --bp-coral-light: #FDF5F2;
    --bp-text-gray: #555670;
    --bp-text-light: #777894;
}

/* --- Utilitário de Flexbox (Bootstrap 3 não tem) --- */
.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

/* --- Espaçamentos --- */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .pag-preparo-cirurgico{
        margin-top: 92px;
    }

    .section-padding {
        padding: 50px 0;
    }
}

/* --- Categorias / Rótulos --- */
.category-label {
    color: var(--bp-purple);
    font-family: "allerbold", "allerregular", sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: -0.12px;
    margin-bottom: 15px;
    display: block;
    line-height: 16px;
}

.category-label-orange {
    color: var(--bp-coral);
    font-family: "allerbold", "allerregular", sans-serif;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

/* --- Títulos --- */
.title-main {
    color: var(--bp-coral);
    font-family: "allerbold", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 120%;
    margin-top: 0;
    margin-bottom: 24px;
}

.title-section {
    color: var(--bp-coral);
    font-family: "allerbold", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 130%;
    margin-top: 0;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .title-main {
        font-size: 34px;
    }

    .title-section {
        font-size: 28px;
    }
}

/* --- Botões Customizados --- */
.btn-bp {
    display: inline-block;
    border-radius: 30px;
    padding: 14px 32px;
    font-family: "allerbold", "allerregular", sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-bp-purple {
    background-color: var(--bp-purple);
    color: #FFFFFF;
}

    .btn-bp-purple:hover, .btn-bp-purple:focus {
        background-color: #534891;
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(98, 86, 157, 0.3);
    }

.btn-bp-coral {
    background-color: var(--bp-coral);
    color: #FFFFFF;
}

    .btn-bp-coral:hover, .btn-bp-coral:focus {
        background-color: var(--bp-coral-hover);
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(225, 124, 99, 0.3);
    }

.btn-bp-outline-coral {
    background-color: transparent;
    border-color: var(--bp-coral);
    color: var(--bp-coral);
}

    .btn-bp-outline-coral:hover, .btn-bp-outline-coral:focus {
        background-color: var(--bp-coral);
        color: #FFFFFF;
    }

/* === SEÇÕES ESPECÍFICAS === */

/* 1. Hero */
.hero-section {
    background-color: var(--bp-bg-lavender);
    position: relative;
    overflow: hidden;
}

.hero-img-container {
    position: relative;
    border-radius: 16px;
    overflow: visible;
}

    .hero-img-container img {
        width: auto;
        max-width: 100%;
        border-radius: 16px;
    }

.hero-overlay-box {
    position: absolute;
    bottom: 80px;
    left: -10px;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    max-width: 300px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.pag-preparo-cirurgico .hero-overlay-box p {
    font-size:12px;
    line-height:150%;
    margin:0;
}

@media (max-width: 991px) {
    .hero-overlay-box {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 20px;
        max-width: 100%;
    }
}

.hero-overlay-icon {
    width: 44px;
    height: 44px;
    background-color: var(--bp-bg-lavender);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bp-purple);
    font-size: 18px;
    margin-right: 14px;
    flex-shrink: 0;
}

.hero-overlay-text {
    font-size: 13px;
    color: var(--bp-purple);
    margin: 0;
    line-height: 1.4;
    padding: 0;
}

/* 2. Próximas Etapas */
.proximas-etapas-section {
    background-color: #FFFFFF;
}

.proximas-img-container img {
    width: 100%;
    border-radius: 16px;
}

/* Caixa de Alerta Roxo */
.alert-bp-box {
    background-color: #F2F2F2;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
}

.alert-bp-icon {
    font-size: 20px;
    color: var(--bp-purple);
    margin-right: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pag-preparo-cirurgico p.alert-bp-text {
    font-size: 14px;
    color: var(--bp-purple);
    margin: 0;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 3. Cuidados Antes da Internação */
.cuidados-section {
    background-color: var(--bp-bg-light);
}

/* Grid de Cards */
.card-cuidados-tall {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 27px 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .card-cuidados-tall .card-title-icon {
        font-size: 28px;
        color: var(--bp-purple);
        margin-bottom: 20px;
    }

        .card-cuidados-tall .card-title-icon .bp-icon {
            width: 32px;
            height: 32px;
        }

    .card-cuidados-tall h3 {
        font-family: "allerbold", sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0;
        color: var(--bp-purple);
        margin-top: 0;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .card-cuidados-tall p {
        font-size: 14px;
        margin-bottom: 18px;
        line-height: 1.6;
    }

/* Lista com Círculos Vazados */
.list-cuidados-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

    .list-cuidados-bullets li {
        font-size: 14px;
        color: #555670;
        position: relative;
        padding-left: 22px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

        .list-cuidados-bullets li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 6px;
            width: 10px;
            height: 10px;
            border: 2px solid var(--bp-coral);
            border-radius: 50%;
        }

.card-cuidados-subtext {
    font-size: 13px;
    line-height: 1.5;
    color: var(--bp-text-light);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
    margin-bottom: 0;
}

/* Cards Horizontais da Direita */
.card-cuidados-horizontal {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .card-cuidados-horizontal:last-child {
        margin-bottom: 0;
    }

.card-horizontal-icon {
    font-size: 14px;
    color: var(--bp-purple);
    margin-right: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

    .card-horizontal-icon .bp-icon {
        width: 28px;
        height: 28px;
    }

.card-horizontal-content h3 {
    font-family: "allerbold", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--bp-purple);
    margin-top: 0;
    margin-bottom: 10px;
}

.card-horizontal-content p {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .card-cuidados-tall {
        margin-bottom: 25px;
    }
}

/* 4. Jejum e Medicamentos */
.jejum-section {
    background-color: #FFF;
}

.jejum-list-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

    .jejum-list-bullets li {
        font-size: 14px;
        color: #555670;
        position: relative;
        padding-left: 22px;
        margin-bottom: 18px;
        line-height: 1.6;
    }

        .jejum-list-bullets li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 7px;
            width: 10px;
            height: 10px;
            border: 2px solid var(--bp-coral);
            border-radius: 50%;
        }

/* Caixa de Atenção/Warning */
.alert-warning-bp {
    background-color: #F2F2F2;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
}

.alert-warning-icon {
    font-size: 20px;
    color: #E0A24E;
    margin-right: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pag-preparo-cirurgico .alert-warning-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--bp-purple);
    margin: 0;
}

.alert-warning-text strong {
    font-family: "allerbold", "allerregular", sans-serif;
    font-weight: normal;
    color: var(--bp-purple);
}

/* 5. O que levar para o hospital */
.levar-hospital-section {
    background-color: #FDEFEC;
}

/* Acordeões Customizados */
.bp-accordion-container {
    margin-bottom: 12px;
}

.bp-accordion-header {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

    .bp-accordion-header:hover {
        box-shadow: 0 4px 12px rgba(44, 45, 92, 0.04);
    }

.bp-accordion-header-left {
    display: flex;
    align-items: center;
}

.bp-accordion-header-icon {
    font-size: 22px;
    color: var(--bp-purple);
    margin-right: 16px;
    display: flex;
    align-items: center;
}

    .bp-accordion-header-icon .bp-icon {
        width: 24px;
        height: 24px;
    }

.bp-accordion-title {
    font-family: "allerbold", sans-serif;
    font-size: 18px;
    font-weight: normal;
    color: var(--bp-purple);
    margin: 0;
    line-height:140%;
}

.bp-accordion-toggle-icon {
    width: 28px;
    height: 28px;
    border: 2px solid #969696;
    color: #969696;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Estado Ativo do Acordeão */
.bp-accordion-container.active .bp-accordion-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid rgba(44, 45, 92, 0.05);
}

.bp-accordion-container.active .bp-accordion-toggle-icon {
    background-color: #969696;
    color: #FFFFFF;
    transform: rotate(180deg);
}

.bp-accordion-content {
    background-color: #FFFFFF;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    border: 1px solid rgba(44, 45, 92, 0.04);
    border-top: none;
}

.bp-accordion-container.active .bp-accordion-content {
    padding: 24px;
    max-height: 2000px;
}

/* Conteúdo interno dos acordeões */
.accordion-inner-text {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--bp-purple);
    line-height: 1.6;
}

.accordion-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .accordion-list li {
        font-size: 14px;
        line-height: 1.6;
        position: relative;
        padding-left: 18px;
        margin-bottom: 10px;
        color: var(--bp-text-gray);
    }


        .accordion-list li:last-child {
            margin-bottom: 0;
        }

        .accordion-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 6px;
            width: 10px;
            height: 10px;
            border: 2px solid var(--bp-coral);
            border-radius: 50%;
        }

/* --- Carrossel de Unidades --- */
.carousel-units-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-units-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 200%;
}

.carousel-unit-slide {
    width: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 5px;
}

.unit-card {
    background-color: var(--bp-bg-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(44, 45, 92, 0.05);
    display: flex;
    flex-direction: row;
}

@media (max-width: 768px) {
    .unit-card {
        flex-direction: column;
    }
}

.unit-card-img {
    width: 40%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .unit-card-img {
        width: 100%;
        height: 180px;
    }
}

.unit-card-info {
    width: 60%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .unit-card-info {
        width: 100%;
    }
}

.unit-card-info h4 {
    font-family: "allerbold", "allerregular", sans-serif;
    font-size: 18px;
    color: var(--bp-purple);
    margin-top: 0;
    margin-bottom: 12px;
}

.unit-card-address-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.unit-card-address-icon {
    color: var(--bp-coral);
    font-size: 18px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.unit-card-address-text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--bp-text-gray);
    margin: 0;
}

    .unit-card-address-text strong {
        font-family: "allerbold", "allerregular", sans-serif;
        font-weight: normal;
        color: var(--bp-purple);
        display: block;
        font-size: 14px;
        margin-bottom: 2px;
    }

.unit-card-buttons {
    display: flex;
    gap: 12px;
}

    .unit-card-buttons .btn-bp {
        padding: 8px 20px;
        font-size: 13px;
        flex: 1;
    }

/* Indicadores de Paginação do Carrossel */
.carousel-units-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 0;
}

.carousel-units-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D6D6E3;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .carousel-units-dot.active {
        background-color: var(--bp-purple);
    }


/* 6. Dúvidas Frequentes */
.faq-section {
    background-color: #FFFFFF;
}

.bp-faq-container {
    margin-bottom: 0;
    border-bottom: 1px solid #E5E5E5;
}

.bp-faq-header {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-color: transparent;
}

.bp-faq-title {
    font-family: "allerregular", "aller", sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: var(--bp-purple-dark);
    margin: 0;
    padding-right: 20px;
    line-height: 1.4;
}

.bp-faq-toggle-icon {
    font-size: 14px;
    color: var(--bp-text-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Estado Ativo do FAQ */
.bp-faq-container.active .bp-faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--bp-coral);
}

.bp-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

    .bp-faq-content p {
        font-size: 14px;
        line-height: 1.7;
        color: #666782;
        margin-bottom: 20px;
        margin-top: 0;
    }

/* --- SVG Inline Icon Styles --- */
.bp-icon {
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* = Breadcrumbs */
.breadcrumb {
    display: block;
    padding: 8px 16px;
    margin: 0;
    z-index: 1;
    background: #FFF;
}

breadcrumb ul {
}

.breadcrumb li {
    display: inline-block;
}

    .breadcrumb li.active {
        background: none;
    }

    .breadcrumb li a {
        font-size: 12px;
        line-height: 16px;
        color: #969696;
        text-decoration: none;
    }

    .breadcrumb li.active a {
        color: #F37053;
    }

    .breadcrumb li img {
        position: relative;
        top: 2px;
    }
