
/* =====================================================
   OPERADORAS CAMPINAS — CSS PADRÃO
   CONSULT VIDA | PRETO E DOURADO
===================================================== */

.operadoras-campinas {
    --op-preto: #111111;
    --op-preto-suave: #211b14;
    --op-dourado: #bc9654;
    --op-dourado-claro: #ead4a2;
    --op-creme: #faf7f1;
    --op-branco: #ffffff;
    --op-texto: #454545;
    --op-borda: #e9dfd1;

    max-width: 1140px;
    margin: 0 auto;
    padding: 55px 20px 65px;
    color: var(--op-texto);
    font-family: Arial, Helvetica, sans-serif;
}

.operadoras-campinas,
.operadoras-campinas * {
    box-sizing: border-box;
}

.operadoras-campinas a {
    color: #89662d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.operadoras-campinas a:hover {
    color: #4d3615;
}

.operadoras-campinas a:focus-visible {
    outline: 3px solid var(--op-dourado);
    outline-offset: 3px;
}

.operadoras-campinas p {
    margin: 0 0 19px;
    font-size: 16px;
    line-height: 1.85;
}

.operadoras-campinas h1,
.operadoras-campinas h2,
.operadoras-campinas h3 {
    color: var(--op-preto);
}

.operadoras-campinas h3 {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.op-etiqueta {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--op-dourado);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    line-height: 1.6;
}

/* =====================================================
   INTRODUÇÃO
===================================================== */

.op-intro {
    max-width: 1050px;
    margin: 0 auto 55px;
}

.op-intro h1 {
    margin: 0 0 28px;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1.3px;
}

.op-intro .op-resposta {
    padding: 23px 28px;
    margin-bottom: 26px;
    border-left: 4px solid var(--op-dourado);
    border-radius: 0 12px 12px 0;
    background: linear-gradient(110deg, #fbf8f1, #ffffff);
    color: #302b24;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.8;
}

/* =====================================================
   ÍNDICE DE NAVEGAÇÃO
===================================================== */

.op-indice {
    padding: 35px;
    margin: 0 0 65px;
    border: 1px solid var(--op-borda);
    border-radius: 17px;
    background: linear-gradient(135deg, #ffffff 0%, #fbf7ef 100%);
    box-shadow: 0 12px 32px rgba(0,0,0,0.035);
}

.op-indice__topo {
    margin-bottom: 23px;
}

.op-indice__topo h2 {
    margin: 0 0 10px;
    font-size: 29px;
    font-weight: 750;
    letter-spacing: -0.7px;
}

.op-indice__topo p {
    margin: 0;
    font-size: 15px;
}

.op-indice__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.op-indice__grid a {
    display: flex;
    align-items: center;
    padding: 14px 17px;
    border: 1px solid #ece2d3;
    border-radius: 8px;
    background: #ffffff;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.25s ease;
}

.op-indice__grid a:hover {
    border-color: var(--op-dourado);
    background: #f7eddb;
    color: #171717;
    transform: translateY(-2px);
}

/* =====================================================
   SEÇÕES DE CONTEÚDO
===================================================== */

.op-secao {
    margin-bottom: 66px;
    scroll-margin-top: 100px;
}

.op-secao--suave {
    padding: 36px;
    border: 1px solid #efe8df;
    border-radius: 18px;
    background: #fcfaf7;
}

.op-heading {
    max-width: 1000px;
    margin-bottom: 30px;
}

.op-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(27px, 3vw, 35px);
    font-weight: 750;
    line-height: 1.28;
    letter-spacing: -0.8px;
}

.op-heading p {
    color: #575757;
    font-size: 16px;
}

.op-secao > h3 {
    margin: 30px 0 15px;
}

/* =====================================================
   GRIDS E CARTÕES
===================================================== */

.op-grid {
    display: grid;
    gap: 20px;
    margin: 25px 0 30px;
}

.op-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.op-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.op-card {
    position: relative;
    min-width: 0;
    padding: 27px 24px;
    border: 1px solid var(--op-borda);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 24px rgba(0,0,0,0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.op-card:hover {
    transform: translateY(-4px);
    border-color: #d3bb90;
    box-shadow: 0 14px 32px rgba(0,0,0,0.07);
}

.op-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.op-card p {
    font-size: 14px;
    line-height: 1.85;
}

.op-card p:last-child {
    margin-bottom: 0;
}

.op-card__numero {
    display: block;
    margin-bottom: 22px;
    color: var(--op-dourado);
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 700;
}

.op-card__tag {
    display: inline-block;
    margin-bottom: 17px;
    padding: 6px 11px;
    border-radius: 4px;
    background: #f6eedf;
    color: #86642e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.op-card--hospital {
    border-top: 4px solid var(--op-dourado);
}

.op-card--comparacao {
    display: flex;
    flex-direction: column;
}

.op-card--comparacao p {
    flex-grow: 1;
}

.op-card__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    color: #8a642c !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.op-card__link:hover {
    color: #171717 !important;
}

.op-texto-final {
    margin-top: 20px;
}

/* =====================================================
   TABELA DE PREÇOS E COMPARAÇÕES
===================================================== */

.op-tabela-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 28px 0 35px;
    border: 1px solid var(--op-borda);
    border-radius: 12px;
    background: #ffffff;
}

.op-tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.op-tabela caption {
    padding: 16px;
    color: #5e4a2e;
    background: #f6eddf;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    caption-side: top;
}

.op-tabela thead {
    background: var(--op-preto);
    color: #ffffff;
}

.op-tabela th {
    padding: 16px;
    color: #f3ddaf;
    font-size: 13px;
    font-weight: 750;
    text-align: left;
    vertical-align: top;
}

.op-tabela td {
    padding: 15px 16px;
    border-bottom: 1px solid #eee7dd;
    color: #424242;
    line-height: 1.65;
    vertical-align: top;
}

.op-tabela td:first-child {
    font-weight: 700;
    color: #232323;
}

.op-tabela tbody tr:nth-child(even) {
    background: #faf7f1;
}

.op-tabela tbody tr:hover {
    background: #f5ecd9;
}

.op-tabela tbody tr:last-child td {
    border-bottom: none;
}

/* =====================================================
   NOTAS E ALERTAS
===================================================== */

.op-nota {
    padding: 19px 23px;
    margin: 24px 0;
    border-left: 4px solid var(--op-dourado);
    border-radius: 0 9px 9px 0;
    background: #f9f3e8;
    color: #55452e;
    font-size: 14px;
    line-height: 1.8;
}

.op-alerta {
    padding: 25px 28px;
    margin: 30px 0;
    border: 1px solid #e7d7bb;
    border-left: 4px solid var(--op-dourado);
    border-radius: 10px;
    background: #fcf8f1;
}

.op-alerta strong {
    display: block;
    margin-bottom: 10px;
    color: #5c431d;
    font-size: 16px;
}

.op-alerta p {
    margin: 0;
    font-size: 14px;
}

/* =====================================================
   CHECKLIST
===================================================== */

.operadoras-campinas .checklist-positivo {
    margin: 25px 0;
    padding: 26px 30px;
    border: 1px solid var(--op-borda);
    border-radius: 13px;
    background: #ffffff;
}

.operadoras-campinas .checklist-positivo ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.operadoras-campinas .checklist-positivo li {
    position: relative;
    padding: 9px 0 9px 33px;
    color: #3b3b3b;
    font-size: 15px;
    line-height: 1.65;
}

.operadoras-campinas .checklist-positivo li::before {
    content: "✓";
    position: absolute;
    top: 9px;
    left: 0;
    color: #9a752f;
    font-weight: 900;
}

/* =====================================================
   ETAPAS PARA CONTRATAÇÃO
===================================================== */

.op-passo {
    padding: 28px 25px;
    border: 1px solid var(--op-borda);
    border-radius: 13px;
    background: #ffffff;
}

.op-passo__numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #171717;
    color: #ebcf95;
    font-size: 18px;
    font-weight: 800;
}

.op-passo h3 {
    font-size: 20px;
}

.op-passo p {
    margin-bottom: 0;
    font-size: 14px;
}

/* =====================================================
   DESTAQUE EDITORIAL
===================================================== */

.op-destaque {
    margin-top: 38px;
    padding: 33px 35px;
    border: 1px solid #dbc8a8;
    border-radius: 14px;
    background: linear-gradient(135deg, #fcf9f3, #f6edde);
}

.op-destaque h3 {
    margin-bottom: 17px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.35;
}

.op-destaque p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   FAQ — PERGUNTAS FREQUENTES
===================================================== */

.op-faq__lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 27px;
}

.op-faq__lista details {
    overflow: hidden;
    border: 1px solid #e9dfd1;
    border-radius: 10px;
    background: #ffffff;
    transition: border-color 0.25s ease;
}

.op-faq__lista details[open] {
    border-color: #d4b985;
}

.op-faq__lista summary {
    position: relative;
    display: block;
    padding: 20px 55px 20px 22px;
    color: #242424;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.op-faq__lista summary::-webkit-details-marker {
    display: none;
}

.op-faq__lista summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #9c7537;
    font-size: 25px;
    font-weight: 400;
}

.op-faq__lista details[open] summary::after {
    content: "−";
}

.op-faq__lista details[open] summary {
    background: #f8f2e7;
}

.op-faq__resposta {
    padding: 21px 24px 23px;
    border-top: 1px solid #eee4d5;
}

.op-faq__resposta p {
    font-size: 15px;
    line-height: 1.85;
}

.op-faq__resposta p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .operadoras-campinas {
        padding: 45px 20px 55px;
    }

    .op-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .op-indice {
        padding: 28px;
    }

    .op-secao--suave {
        padding: 28px;
    }
}

/* =====================================================
   CELULARES
===================================================== */

@media (max-width: 600px) {

    .operadoras-campinas {
        padding: 35px 15px 45px;
    }

    .op-intro {
        margin-bottom: 37px;
    }

    .op-intro h1 {
        font-size: 29px;
        letter-spacing: -0.6px;
    }

    .op-intro .op-resposta {
        padding: 19px 18px;
        font-size: 15px;
    }

    .operadoras-campinas p {
        font-size: 15px;
    }

    .op-indice {
        margin-bottom: 45px;
        padding: 22px 17px;
    }

    .op-indice__topo h2 {
        font-size: 25px;
    }

    .op-indice__grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .op-indice__grid a {
        font-size: 13px;
        padding: 13px 14px;
    }

    .op-secao {
        margin-bottom: 45px;
        scroll-margin-top: 75px;
    }

    .op-secao--suave {
        padding: 25px 17px;
        border-radius: 12px;
    }

    .op-heading h2 {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    .op-grid--2,
    .op-grid--3 {
        grid-template-columns: 1fr;
    }

    .op-card,
    .op-passo {
        padding: 24px 20px;
    }

    .op-tabela {
        min-width: 650px;
    }

    .op-alerta {
        padding: 21px 19px;
    }

    .operadoras-campinas .checklist-positivo {
        padding: 20px;
    }

    .op-destaque {
        padding: 25px 20px;
    }

    .op-destaque h3 {
        font-size: 25px;
    }

    .op-faq__lista summary {
        padding: 18px 45px 18px 17px;
        font-size: 14px;
    }

    .op-faq__lista summary::after {
        right: 16px;
    }

    .op-faq__resposta {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .operadoras-campinas *,
    .operadoras-campinas *::before,
    .operadoras-campinas *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
