/* ---------- Módulo Convenção Coletiva de Trabalho (CCT) ---------- */
/* Reaproveita os tokens e utilitários de app.uw73r859t3.css
   (--stmc-*, .section-block, .odonto-faq, .servicos-badge). */

@media (max-width: 991.98px) {
    .mobile-bottom-nav--hidden-on-secondary {
        display: none !important;
    }
}

main > section > .container {
    width: min(calc(100% - 40px), 1180px);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.cct-mobile-kicker {
    display: none;
}

/* --- Apresentação --- */
.odonto-hero .container {
    container-type: inline-size;
}

.cct-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5cqi, 5rem);
}

.cct-hero-copy {
    min-width: 0;
}

.cct-hero-copy .odonto-hero-text {
    max-width: 42rem;
}

.cct-hero-aside {
    min-width: 0;
    padding: clamp(1.5rem, 3cqi, 2.25rem);
    background: linear-gradient(145deg, var(--stmc-gray-50), var(--stmc-white));
    border: 1px solid var(--stmc-gray-200);
    border-top: 4px solid var(--stmc-red);
    box-shadow: var(--shadow-sm);
}

.cct-hero-aside-kicker {
    display: inline-block;
    margin-bottom: 0.625rem;
    color: var(--stmc-red);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cct-hero-aside-title {
    margin: 0 0 1.25rem;
    color: var(--stmc-gray-900);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
}

.cct-hero-aside-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    color: var(--stmc-gray-600);
    font-size: 0.75rem;
    line-height: 1.55;
    border-top: 1px solid var(--stmc-gray-200);
}

.cct-hero-aside-note .bi {
    flex: 0 0 auto;
    margin-top: 0.125rem;
    color: var(--stmc-red);
}

@container (max-width: 54rem) {
    .cct-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

body.page-service .cct-hero-layout {
    grid-template-columns: minmax(0, 1fr);
}

body.page-cct .cct-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

body.page-cct .cct-hero-copy {
    width: 100%;
    min-width: 0;
}

body.page-cct .cct-hero-copy .odonto-hero-text {
    max-width: min(100%, 68rem);
}

.cct-mobile-break {
    display: none;
}

body.page-cct #apresentacao > .container > nav {
    margin-bottom: 1.5rem;
}

body.page-cct .cct-hero-copy > .cct-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* --- Pilares educativos --- */
.cct-pillar {
    height: 100%;
    padding: 1.5rem;
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-top: 4px solid var(--stmc-red);
    box-shadow: var(--shadow-sm);
}

.cct-pillar-icon {
    font-size: 1.375rem;
    line-height: 1;
    color: var(--stmc-red);
}

.cct-pillar-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--stmc-gray-900);
    margin: 0.75rem 0 0.25rem;
}

.cct-pillar-lead {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stmc-red);
    margin: 0 0 0.5rem;
}

.cct-pillar-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--stmc-gray-600);
    margin: 0;
}

.cct-pillar .editorial-copy {
    max-width: none;
    line-height: 1.6;
    text-align: left;
    word-spacing: normal;
}

#duvidas .odonto-faq-body p {
    max-width: 72ch;
    line-height: 1.65;
    text-align: left;
    word-spacing: normal;
}

/* FAQ: controles e painéis acessíveis em todos os tamanhos de tela. */
body.page-cct #duvidas .odonto-faq-btn {
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
}

body.page-cct #duvidas .odonto-faq-btn:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid var(--stmc-red);
    outline-offset: -3px;
}

body.page-cct #duvidas .odonto-faq-btn > .bi-chevron-down {
    transition: transform 180ms ease;
}

body.page-cct #duvidas .odonto-faq-btn[aria-expanded="true"] > .bi-chevron-down {
    transform: rotate(180deg);
}

body.page-cct #duvidas .odonto-faq-btn[aria-expanded="true"] > .odonto-faq-icon {
    transform: none;
}

/* --- Formulário --- */
.cct-form-content {
    width: min(100%, 70rem);
    margin-inline: auto;
}

.cct-form-card {
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    box-shadow: var(--shadow-sm);
}

.cct-form-intro {
    font-size: 0.875rem;
    line-height: 1.7;
    text-align: left;
    color: var(--stmc-gray-600);
    margin: 0 0 1.25rem;
}

.cct-required-key {
    font-size: 0.75rem;
    color: var(--stmc-gray-500);
    margin: 0 0 1rem;
}

/* Etapas */
.cct-stepper {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.cct-stepper-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    background-color: var(--stmc-gray-50);
    border: 1px solid var(--stmc-gray-200);
    color: var(--stmc-gray-500);
    font-size: 0.75rem;
    font-weight: 600;
}

.cct-stepper-item.is-current {
    background-color: var(--stmc-white);
    border-color: var(--stmc-red);
    color: var(--stmc-gray-900);
}

.cct-stepper-item.is-done {
    background-color: var(--stmc-white);
    border-color: var(--stmc-gray-300);
    color: var(--stmc-gray-600);
}

.cct-stepper-num {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 1.375rem;
    height: 1.375rem;
    background-color: var(--stmc-gray-200);
    color: var(--stmc-gray-600);
    font-size: 0.6875rem;
    font-weight: 700;
}

.cct-stepper-item.is-current .cct-stepper-num {
    background-color: var(--stmc-red);
    color: var(--stmc-white);
}

.cct-stepper-item.is-done .cct-stepper-num {
    background-color: var(--stmc-gray-900);
    color: var(--stmc-white);
}

.cct-stepper-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.cct-progress {
    margin: 0 0 1.5rem;
}

.cct-progress-text {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--stmc-gray-600);
}

.cct-progress-track {
    display: block;
    height: 4px;
    background-color: var(--stmc-gray-200);
}

.cct-progress-fill {
    display: block;
    height: 100%;
    width: calc(var(--cct-step, 1) / var(--cct-total, 4) * 100%);
    background-color: var(--stmc-red);
    transition: width var(--transition-base);
}

.cct-step {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
    scroll-margin-top: 6.5rem;
}

.cct-step-title {
    padding: 0;
    margin: 0 0 0.375rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--stmc-gray-900);
}

.cct-step-hint {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--stmc-gray-600);
}

/* Campos */
.cct-grid {
    display: grid;
    gap: 1.125rem;
    grid-template-columns: 1fr;
}

.cct-field {
    min-width: 0;
}

.cct-field-group {
    margin: 0 0 1.125rem;
    padding: 0;
    border: 0;
    min-width: 0;
}

.cct-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stmc-gray-700);
}

.cct-required {
    color: var(--stmc-red);
}

.cct-input,
.cct-textarea {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    font-family: inherit;
    font-size: 0.7375rem;
    line-height: 1.5;
    color: var(--stmc-gray-900);
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-300);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
}

.cct-input::placeholder,
.cct-textarea::placeholder {
    color: var(--stmc-gray-400);
}

.cct-input:focus,
.cct-textarea:focus {
    outline: 2px solid var(--stmc-red);
    outline-offset: -1px;
    border-color: var(--stmc-red);
}

.cct-input[aria-invalid="true"],
.cct-textarea[aria-invalid="true"] {
    border-color: var(--stmc-red);
}

.cct-textarea {
    min-height: 8rem;
    line-height: 1.7;
    resize: vertical;
}

.cct-error {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--stmc-red);
}

.cct-error .bi {
    flex: 0 0 auto;
    margin-top: 0.125rem;
    font-size: 0.75rem;
}

.cct-help {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--stmc-gray-500);
}

/* Opções de quantidade de operadores */
.cct-options {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr;
}

.cct-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 3rem;
    padding: 0.625rem 0.875rem;
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-300);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--stmc-gray-700);
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.cct-option:hover {
    border-color: var(--stmc-gray-400);
}

.cct-option:has(input:checked) {
    background-color: var(--stmc-red-bg);
    border-color: var(--stmc-red);
    color: var(--stmc-gray-900);
}

.cct-option input {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    accent-color: var(--stmc-red);
}

.cct-option input:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: 2px;
}

/* Caixa de marcação */
.cct-check {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--stmc-gray-700);
    cursor: pointer;
    padding-top: 2rem;
}

.cct-check input {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    accent-color: var(--stmc-red);
}

.cct-check input:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: 2px;
}

/* Ações */
.cct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--stmc-gray-200);
}

.cct-form-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cct-actions .btn {
    font-size: 0.8375rem;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
}

/* Aviso de erro/no topo do formulário */
.cct-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    background-color: var(--stmc-red-bg);
    border: 1px solid var(--stmc-red);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--stmc-gray-800);
}

.cct-alert .bi {
    flex: 0 0 auto;
    margin-top: 0.125rem;
    color: var(--stmc-red);
}

/* Resumo da Etapa 4 */
.cct-summary {
    padding: 1.25rem;
    margin: 0 0 1.25rem;
    background-color: var(--stmc-gray-50);
    border: 1px solid var(--stmc-gray-200);
}

.cct-summary-group+.cct-summary-group {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--stmc-gray-200);
}

.cct-summary-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cct-summary-title {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stmc-gray-600);
}

.cct-summary-list {
    display: grid;
    gap: 0.125rem;
    margin: 0;
    font-size: 0.875rem;
}

.cct-summary-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.0625rem 0.75rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--stmc-gray-100);
}

.cct-summary-row:last-child {
    border-bottom: 0;
}

.cct-summary-row dt {
    font-weight: 600;
    color: var(--stmc-gray-500);
    font-size: 0.75rem;
}

.cct-summary-row dd {
    margin: 0;
    font-weight: 700;
    color: var(--stmc-gray-900);
    overflow-wrap: anywhere;
    font-size: 0.8rem;
}

.cct-lgpd {
    margin: 0 0 1.25rem;
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--stmc-gray-500);
}

/* --- Seleção de CNPJ / estado / cidade --- */
.cct-lookup {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--stmc-gray-600);
}

.cct-lookup.is-error {
    color: var(--stmc-red);
    font-weight: 600;
}

.cct-spinner {
    flex: 0 0 auto;
    width: 0.875rem;
    height: 0.875rem;
    margin-top: 0.1875rem;
    border: 2px solid var(--stmc-gray-300);
    border-top-color: var(--stmc-red);
    border-radius: 50%;
    animation: cct-spin 0.7s linear infinite;
}

@keyframes cct-spin {
    to {
        transform: rotate(360deg);
    }
}

.cct-combo {
    position: relative;
    min-width: 0;
}

.cct-combo-control {
    position: relative;
    display: flex;
}

.cct-combo-input {
    padding-right: 2.75rem;
}

.cct-combo-toggle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2.5rem;
    display: grid;
    place-items: center;
    padding: 0;
    background: none;
    border: 0;
    border-left: 1px solid var(--stmc-gray-200);
    color: var(--stmc-gray-500);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cct-combo-toggle:hover,
.cct-combo-toggle:focus-visible {
    color: var(--stmc-red);
}

.cct-combo-toggle:focus-visible {
    outline: 2px solid var(--stmc-red);
    outline-offset: -2px;
}

.cct-combo-list {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 0.125rem);
    max-height: 17rem;
    margin: 0;
    padding: 0.25rem 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    background-color: var(--stmc-white);
    border: 1px solid var(--stmc-gray-300);
    box-shadow: var(--shadow-md);
}

.cct-combo-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: var(--stmc-gray-700);
    cursor: pointer;
}

.cct-combo-option:hover,
.cct-combo-option.is-active {
    background-color: var(--stmc-gray-100);
    color: var(--stmc-gray-900);
}

.cct-combo-option[aria-selected="true"] {
    background-color: var(--stmc-red-bg);
    font-weight: 700;
    color: var(--stmc-red);
}

.cct-combo-suffix {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--stmc-gray-400);
}

.cct-combo-empty {
    padding: 0.75rem 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--stmc-gray-500);
}

.cct-combo-status {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--stmc-gray-500);
}

.cct-combo-status.is-error {
    color: var(--stmc-red);
    font-weight: 600;
}

button.cct-retry {
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    color: var(--stmc-red);
    text-decoration: underline;
    cursor: pointer;
}

/* --- Responsivo --- */
@media (min-width: 576px) {
    .cct-options {
        grid-template-columns: 1fr 1fr;
    }

    .cct-summary-row {
        grid-template-columns: 11rem 1fr;
        align-items: baseline;
    }
}

@media (min-width: 768px) {
    .cct-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (pointer: coarse) {
    .cct-input,
    .cct-textarea,
    .cct-option,
    .cct-check,
    .cct-combo-toggle,
    .cct-combo-option {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cct-spinner {
        animation: none;
        border-color: var(--stmc-gray-300);
        border-top-color: var(--stmc-red);
    }

    .cct-progress-fill {
        transition: none;
    }

    body.page-cct #duvidas .odonto-faq-btn,
    body.page-cct #duvidas .odonto-faq-btn > .bi-chevron-down,
    body.page-cct #duvidas .collapse.collapsing {
        transition: none;
    }
}

/* ---------- confirmação da solicitação ---------- */

.cct-confirm {
    container-type: inline-size;
    box-sizing: border-box;
    width: min(100%, 36rem);
    max-width: 36rem;
    min-width: 0;
    margin-top: 1.25rem;
    border: 1px solid var(--stmc-gray-200);
    border-left: 4px solid var(--stmc-red);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.cct-confirm-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 1rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--stmc-gray-100);
}

.cct-confirm-row:last-child {
    border-bottom: 0;
}

.cct-confirm-label {
    flex: 0 0 10.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--stmc-gray-500);
}

.cct-confirm-valor {
    flex: 1 1 13rem;
    font-size: 0.875rem;
    color: var(--stmc-gray-900);
    overflow-wrap: anywhere;
}

.cct-confirm-destaque .cct-confirm-valor {
    font-size: 1rem;
}

.cct-confirm-destaque .cct-confirm-valor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    min-width: 0;
}

.cct-confirm-destaque .cct-confirm-valor #btnCopiarProtocolo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    margin: 0 !important;
    white-space: nowrap;
}

.cct-confirm-destaque strong {
    font-weight: 800;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
}

@container (max-width: 34rem) {
    .cct-confirm-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        padding: 0.75rem clamp(0.75rem, 4cqi, 1rem);
    }

    .cct-confirm-label,
    .cct-confirm-valor {
        flex: 0 1 auto;
        min-width: 0;
        width: 100%;
    }

    .cct-confirm-label {
        line-height: 1.4;
    }
}

.cct-confirm-status {
    min-height: 1.25rem;
    margin: 0.375rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stmc-red);
}

.cct-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 42rem;
}

.cct-steps > li {
    display: flex;
    gap: 0.875rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--stmc-gray-200);
}

.cct-steps > li:last-child {
    border-bottom: 0;
}

.cct-steps-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    background: var(--stmc-red);
}

.cct-steps-title {
    margin: 0 0 0.125rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--stmc-gray-900);
}

.cct-steps-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--stmc-gray-600);
}

/* Regras mobile da página CCT. Mantenha esta como a única seção mobile da página. */
@media (max-width: 767.98px) {
    body.page-cct {
        --cct-mobile-gutter: 20px;
        --cct-mobile-gap: 16px;
        --cct-mobile-gap-tight: 12px;
        --cct-mobile-radius-card: 16px;
        --cct-mobile-radius-compact: 12px;
        --cct-mobile-radius-control: 8px;
        --cct-mobile-control-height: 48px;
        --cct-mobile-touch-target: 44px;
        --cct-mobile-bottom-nav-height: var(--mobile-bottom-nav-height, 68px);
        --cct-mobile-cookie-max-height: 168px;
        --cct-mobile-cookie-height: 130px;
        --cct-mobile-cookie-reservation: 138px;
        --mobile-cookie-reservation: var(--cct-mobile-cookie-reservation);
    }

    @media (max-width: 349.98px) {
        body.page-cct {
            --cct-mobile-cookie-height: 147px;
            --cct-mobile-cookie-reservation: 155px;
        }
    }

    /* Elementos fixos: banner acima da navegação; WhatsApp permanece no fluxo. */
    body.page-cct .cookie-consent {
        position: fixed;
        z-index: 1070;
        inset-inline: 16px;
        bottom: calc(var(--cct-mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 8px);
        box-sizing: border-box;
        width: auto;
        height: min(
            var(--cct-mobile-cookie-height),
            calc(100vh - var(--cct-mobile-bottom-nav-height) - env(safe-area-inset-bottom, 0px) - 16px)
        );
        height: min(
            var(--cct-mobile-cookie-height),
            calc(100dvh - var(--cct-mobile-bottom-nav-height) - env(safe-area-inset-bottom, 0px) - 16px)
        );
        max-width: none;
        max-height: min(
            var(--cct-mobile-cookie-max-height),
            calc(100vh - var(--cct-mobile-bottom-nav-height) - env(safe-area-inset-bottom, 0px) - 16px)
        );
        max-height: min(
            var(--cct-mobile-cookie-max-height),
            calc(100dvh - var(--cct-mobile-bottom-nav-height) - env(safe-area-inset-bottom, 0px) - 16px)
        );
        margin: 0;
        padding: 8px 12px;
        gap: 8px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.page-cct .cookie-consent-copy h2 {
        margin: 0 0 4px;
        font-size: 14px;
        line-height: 1.25;
    }

    body.page-cct .cookie-consent-copy p {
        display: -webkit-box;
        max-height: calc(1.4em * 3);
        overflow: hidden;
        font-size: 12px;
        line-height: 1.4;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    body.page-cct .cookie-consent-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.page-cct .cookie-consent-actions button {
        box-sizing: border-box;
        min-width: 0;
        min-height: var(--cct-mobile-touch-target);
        padding: 8px;
    }

    body.page-cct .page-wrapper > .whatsapp-float {
        position: static;
        z-index: auto;
        width: 48px;
        height: 48px;
        margin: 16px var(--cct-mobile-gutter) calc(var(--cct-mobile-bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 16px) auto;
    }

    body.page-cct main {
        display: flex;
        flex-direction: column;
        padding-bottom: 24px;
    }

    /* No mobile, o formulário vem antes do conteúdo explicativo. */
    body.page-cct #apresentacao {
        order: 1;
    }

    body.page-cct #solicitar {
        order: 2;
    }

    body.page-cct #importancia {
        order: 3;
    }

    body.page-cct #duvidas {
        order: 4;
        display: none;
    }

    body.page-cct main > section {
        box-sizing: border-box;
        padding-block: 24px;
        scroll-margin-top: 84px;
    }

    body.page-cct main > section + section {
        margin-block-start: 0;
    }

    body.page-cct main > section > .container {
        box-sizing: border-box;
        width: calc(100% - var(--cct-mobile-gutter) - var(--cct-mobile-gutter));
        max-width: none;
        margin-inline: auto;
        padding-inline: 0;
    }

    body.page-cct main > section .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: var(--cct-mobile-gap);
        display: grid;
        gap: var(--cct-mobile-gap);
        margin: var(--cct-mobile-gap) 0 0;
    }

    body.page-cct main > section .row > [class*="col-"] {
        width: 100%;
        max-width: none;
        padding: 0;
        min-width: 0;
    }

    body.page-cct #apresentacao {
        padding-block: 24px;
        background: var(--mobile-shell-bg, #f4f6f8);
        border-bottom: 0;
    }

    body.page-cct #apresentacao > .container > nav {
        margin: 0 0 20px;
    }

    body.page-cct .cct-hero-layout {
        display: block;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "badge"
            "title"
            "lead"
            "description"
            "actions"
            "note";
        gap: 0;
        box-sizing: border-box;
        min-width: 0;
        margin: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body.page-cct .cct-hero-copy {
        display: block;
    }

    body.page-cct .cct-hero-copy > .servicos-badge {
        grid-area: badge;
        justify-self: start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 40px;
        margin: 0 0 16px;
        padding: 8px 12px;
        font-size: 0.65rem;
        text-align: center;
        line-height: 1.2;
    }

    body.page-cct .cct-hero-copy > .odonto-hero-title {
        grid-area: title;
        min-width: 0;
        margin: 0 0 12px;
        padding-top: 0;
        font-size: clamp(1.6rem, 7.2vw, 2.05rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    body.page-cct .cct-hero-copy > .odonto-hero-text:not(.editorial-copy) {
        grid-area: lead;
        min-width: 0;
        margin: 0 0 20px;
        color: var(--stmc-gray-600);
        font-size: 0.86rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    body.page-cct .cct-hero-copy > .odonto-hero-text.editorial-copy {
        grid-area: description;
        max-width: none;
        min-width: 0;
        margin: 0 0 20px;
        padding-top: 0;
        border-top: 0;
        color: var(--stmc-gray-600);
        font-size: 0.860rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    body.page-cct .cct-hero-copy > :is(.d-flex.flex-wrap, .den-hero-acoes, .cct-hero-actions) {
        grid-area: actions;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--cct-mobile-gap-tight);
        width: 100%;
        margin: 0;
    }

    body.page-cct .cct-hero-copy > :is(.d-flex.flex-wrap, .den-hero-acoes, .cct-hero-actions) .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: var(--cct-mobile-control-height);
        margin: 0;
        border-radius: var(--cct-mobile-radius-control);
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
    }

    body.page-cct .cct-hero-copy > .odonto-note {
        grid-area: note;
        width: 100%;
        min-width: 0;
        margin: var(--cct-mobile-gap-tight) 0 0;
        padding: 12px;
        background: var(--stmc-red-bg);
        border: 1px solid rgb(198 40 40 / 0.08);
        border-radius: 10px;
        font-size: 0.8125rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    body.page-cct :is(#importancia, #garantias, #confianca, #solicitar, #duvidas) {
        background: var(--mobile-shell-bg, #f4f6f8);
    }

    body.page-cct :is(#importancia, #garantias, #confianca) .section-title,
    body.page-cct #duvidas .section-title,
    body.page-cct #solicitar .section-title {
        margin: 0 0 12px;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    body.page-cct :is(#importancia, #garantias, #confianca) .cct-pillar {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "icon"
            "title"
            "lead"
            "text";
        align-items: start;
        column-gap: 0;
        row-gap: 4px;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        height: auto;
        margin: 0;
        padding: 12px 0 12px 16px;
        overflow-wrap: anywhere;
        background: transparent;
        border: 0;
        border-left: 2px solid var(--stmc-red);
        border-radius: 0;
        box-shadow: none;
    }

    body.page-cct :is(#importancia, #garantias, #confianca) .cct-pillar::after {
        content: none;
    }

    body.page-cct :is(#importancia, #garantias, #confianca) .cct-pillar-icon {
        grid-area: icon;
        display: block;
        justify-self: start;
        width: auto;
        height: auto;
        margin: 0 0 0.35rem;
        color: var(--stmc-red);
        background: transparent;
        border-radius: 0;
        font-size: 1.125rem;
    }

    body.page-cct :is(#importancia, #garantias, #confianca) .cct-pillar-title {
        grid-area: title;
        min-width: 0;
        margin-top: 0;
        line-height: 1.3;
    }

    body.page-cct :is(#importancia, #garantias, #confianca) .cct-pillar-lead {
        grid-area: lead;
        min-width: 0;
        margin: 0 0 8px;
        color: var(--stmc-gray-700);
    }

    body.page-cct :is(#importancia, #garantias, #confianca) .cct-pillar-text {
        grid-area: text;
        min-width: 0;
        margin: 8px 0 0;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-form-content {
        width: 100%;
        min-width: 0;
        margin-inline: 0;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-form-card,
    body.page-cct .cct-summary {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        padding: 24px;
        background: #fff;
        border: 1px solid var(--stmc-gray-200);
        border-top: 1px solid var(--stmc-gray-200);
        border-radius: var(--cct-mobile-radius-card);
        box-shadow: 0 1px 3px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04);
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-form-intro {
        margin: 0 0 12px;
        font-size: 0.9375rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-required-key {
        margin: 0 0 16px;
        padding: 0;
        font-size: 0.875rem;
        line-height: 1.65;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-stepper {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-progress {
        width: 100%;
        height: auto;
        margin: 0 0 20px;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-progress-text {
        margin: 0 0 6px;
        color: var(--stmc-gray-600);
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.65;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-progress-track {
        height: 6px;
        overflow: hidden;
        background: var(--stmc-gray-200);
        border-radius: 999px;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-progress-fill {
        border-radius: inherit;
    }

    body.page-cct .cct-confirm-row {
        padding: 10px 14px;
    }

    body.page-cct .cct-confirm-label {
        flex: 1 1 100%;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-step {
        min-width: 0;
        scroll-margin-top: 88px;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-step-title {
        margin: 0 0 6px;
        font-size: 1rem;
        line-height: 1.65;
        letter-spacing: 0;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-step-hint {
        margin: 0 0 20px;
        font-size: 0.875rem;
        line-height: 1.7;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-grid,
    body.page-cct :is(#solicitar, #denunciar) .cct-grid-2,
    body.page-cct :is(#solicitar, #denunciar) .cct-grid-3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        min-width: 0;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-field,
    body.page-cct :is(#solicitar, #denunciar) .cct-field-group {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-label {
        display: block;
        margin: 0 0 6px;
        font-size: 0.8125rem;
        line-height: 1.65;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-help,
    body.page-cct :is(#solicitar, #denunciar) .cct-combo-status,
    body.page-cct :is(#solicitar, #denunciar) .cct-lookup {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-error {
        margin-top: 8px;
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-input:focus-visible,
    body.page-cct :is(#solicitar, #denunciar) .cct-select:focus-visible,
    body.page-cct :is(#solicitar, #denunciar) .cct-textarea:focus-visible,
    body.page-cct :is(#solicitar, #denunciar) .cct-combo-toggle:focus-visible,
    body.page-cct :is(#solicitar, #denunciar) .cct-step-title:focus-visible {
        outline: 3px solid var(--stmc-red);
        outline-offset: 2px;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-input,
    body.page-cct :is(#solicitar, #denunciar) .cct-select,
    body.page-cct :is(#solicitar, #denunciar) .cct-textarea,
    body.page-cct :is(#solicitar, #denunciar) .cct-combo-control,
    body.page-cct :is(#solicitar, #denunciar) .cct-combo-control input,
    body.page-cct :is(#solicitar, #denunciar) select,
    body.page-cct :is(#solicitar, #denunciar) textarea {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 2.75rem;
        font-size: 0.7375rem;
        line-height: 1.5;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-input,
    body.page-cct :is(#solicitar, #denunciar) .cct-select,
    body.page-cct :is(#solicitar, #denunciar) .cct-textarea,
    body.page-cct :is(#solicitar, #denunciar) select,
    body.page-cct :is(#solicitar, #denunciar) textarea {
        padding: 0.625rem 0.75rem;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-textarea {
        min-height: 11rem;
        line-height: 1.7;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-help,
    body.page-cct :is(#solicitar, #denunciar) .cct-error,
    body.page-cct :is(#solicitar, #denunciar) .cct-combo-status {
        margin-top: 8px;
        overflow-wrap: anywhere;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-option,
    body.page-cct :is(#solicitar, #denunciar) .cct-check,
    body.page-cct :is(#solicitar, #denunciar) .cct-combo-toggle {
        min-height: var(--cct-mobile-control-height);
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-check {
        padding-top: 12px;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--cct-mobile-gap-tight);
        margin-top: 20px;
        padding-top: 16px;
    }

    body.page-cct :is(#solicitar, #denunciar) .cct-actions .btn,
    body.page-cct #apresentacao .cct-hero-copy .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: var(--cct-mobile-control-height);
        margin: 0;
        border-radius: var(--cct-mobile-radius-control);
        font-size: 0.9375rem;
        line-height: 1.3;
    }

    body.page-cct :is(#solicitar, #denunciar) [hidden] {
        display: none;
    }

    body.page-cct #duvidas .cct-mobile-kicker {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 12px;
        padding: 8px 12px;
        color: #fff;
        background: var(--stmc-red);
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    body.page-cct #duvidas > .container > .odonto-hero-text {
        max-width: 38ch;
        margin: 0 0 20px;
        color: var(--stmc-gray-600);
        font-size: 0.9375rem;
        line-height: 1.5;
        text-align: left;
    }

    body.page-cct #duvidas .odonto-faq {
        display: grid;
        gap: var(--cct-mobile-gap-tight);
        width: 100%;
        min-width: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    body.page-cct #duvidas .odonto-faq-item {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--stmc-gray-200);
        border-radius: 14px;
        box-shadow: 0 3px 12px rgb(17 24 39 / 0.055);
    }

    body.page-cct #duvidas .odonto-faq-heading {
        min-width: 0;
        margin: 0;
        font-size: 1rem;
    }

    body.page-cct #duvidas .odonto-faq-btn {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) 24px;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: 72px;
        padding: 12px;
        color: var(--stmc-gray-900);
        background: #fff;
        border: 0;
        border-radius: inherit;
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.3;
        text-align: left;
    }

    body.page-cct #duvidas .odonto-faq-btn > span {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 0.9375rem;
    }

    body.page-cct #duvidas .odonto-faq-btn > .odonto-faq-icon {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        color: var(--stmc-red);
        background: rgb(198 40 40 / 0.07);
        border-radius: 10px;
        font-size: 1.25rem;
    }

    body.page-cct #duvidas .odonto-faq-btn > .bi-chevron-down {
        display: grid;
        place-items: center;
        width: 24px;
        height: 24px;
        color: var(--stmc-red);
        font-size: 1.125rem;
        transition: transform 180ms ease;
    }

    body.page-cct #duvidas .odonto-faq-btn[aria-expanded="true"] {
        background: rgb(198 40 40 / 0.035);
    }

    body.page-cct #duvidas .odonto-faq-btn[aria-expanded="true"] > .bi-chevron-down {
        transform: rotate(180deg);
    }

    body.page-cct #duvidas .odonto-faq-btn:focus-visible {
        position: relative;
        z-index: 1;
        outline: 3px solid var(--stmc-red);
        outline-offset: -3px;
    }

    body.page-cct #duvidas .odonto-faq-body {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        padding: 0 12px 16px 64px;
        color: var(--stmc-gray-600);
        font-size: 0.875rem;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    body.page-cct #duvidas .odonto-faq-body p {
        margin: 0 0 10px;
        font-size: inherit;
        line-height: inherit;
        text-align: left;
    }

    body.page-cct #duvidas .odonto-faq-body p:last-child {
        margin-bottom: 0;
    }

    body.page-cct #duvidas .odonto-faq-body .odonto-list {
        margin: 10px 0;
        padding-left: 0;
    }

    body.page-cct #duvidas :is(.odonto-faq-item, .odonto-faq-btn, .odonto-faq-body) {
        max-width: 100%;
    }

}

/* O FAQ fica fora da composição desktop; o botão continua disponível no mobile. */
@media (min-width: 992px) {
    body.page-cct #duvidas,
    body.page-cct .cct-hero-actions a[href="#duvidas"] {
        display: none;
    }
}

@media (min-width: 1024px) {
    body.page-cct #apresentacao {
        padding-block: 2.5rem;
    }

    body.page-cct #solicitar {
        padding-block: 2.75rem;
    }

    body.page-cct #importancia {
        padding-block: 2.75rem 3.5rem;
    }

    body.page-cct #apresentacao .cct-hero-copy > p {
        max-width: 78ch;
        text-align: left;
        text-wrap: balance;
    }
}

/* Ajustes mobile específicos que não pertencem ao bloco estrutural principal. */
@media (max-width: 767.98px) {
    body.page-cct #importancia .section-title {
        margin-bottom: 12px;
    }

    body.page-cct #importancia .row {
        gap: 24px;
        margin-top: 0;
    }

    body.page-cct .cct-mobile-break {
        display: block;
    }

    body.page-service main .cct-pillar-title {
        font-size: 16px;
        line-height: 1.3;
    }

    body.page-service main .cct-pillar-lead,
    body.page-service main .cct-pillar-text {
        font-size: 14px;
        line-height: 1.5;
    }

    body.page-service main :is(.cct-hero-actions, .neg-hero-acoes, .cct-actions, .cct-form-nav, .neg-contato-acoes) .btn {
        font-size: 15px;
        line-height: 1.35;
    }

    body.page-service main .btn-primary {
        color: #fff;
    }

    body.page-service main .odonto-btn-ghost {
        color: var(--stmc-gray-900);
    }

    body.page-service main .section-link {
        color: var(--stmc-red);
        font-size: 14px;
        line-height: 1.35;
    }

    body.page-service main .section-link:hover {
        color: var(--stmc-red-dark);
    }

    body.page-cct .cct-hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 16px;
    }

    body.page-cct .cct-hero-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        margin: 0;
    }

    body.page-cct .cct-hero-actions + .odonto-note {
        margin-top: 12px;
    }
}
