/* Odonto Grátis: página específica sobre a base compartilhada com a CCT. */
.page-odonto main {
    min-width: 0;
    overflow-x: clip;
}

.page-odonto main > section > .container {
    box-sizing: border-box;
}

.page-odonto #apresentacao {
    padding-block: 2rem 2.5rem;
    background: var(--stmc-gray-50);
    border: 0;
}

.page-odonto #apresentacao > .container > nav {
    margin-bottom: 1rem !important;
}

.page-odonto .cct-hero-layout {
    align-items: start;
}

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

.page-odonto .odonto-hero-art {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 1rem;
}

.page-odonto .odonto-hero-art picture,
.page-odonto .odonto-hero-art .home-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.page-odonto .odonto-hero-text:not(.editorial-copy) {
    max-width: 42rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stmc-gray-600);
}

.page-odonto .odonto-hero-text.editorial-copy {
    max-width: 42rem;
    margin-bottom: 1rem;
    font-size: 0.9125rem;
    line-height: 1.65;
    color: var(--stmc-gray-600);
}

.page-odonto .cct-hero-copy > .d-flex.flex-wrap {
    margin-top: 1rem !important;
}

.page-odonto .odonto-price {
    min-width: 0;
}

.page-odonto .odonto-price-title {
    margin: 0 0 1rem;
    color: var(--stmc-gray-900);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
}

.page-odonto .odonto-price-list li {
    gap: 0.5rem;
}

.page-odonto .odonto-price-label {
    font-size: 0.875rem;
    line-height: 1.4;
}

.page-odonto .odonto-price-value {
    font-size: 0.9375rem;
}

.page-odonto .odonto-price-sum strong {
    font-size: 1rem;
}

.page-odonto .section-title {
    margin-bottom: 1rem;
}

.page-odonto .odonto-table-wrap {
    overflow-x: auto;
    border-radius: 0;
}

.page-odonto .odonto-table {
    font-size: 0.875rem;
}

.page-odonto .odonto-table th,
.page-odonto .odonto-table td {
    overflow-wrap: anywhere;
}

.page-odonto .odonto-note,
.page-odonto .odonto-price-foot {
    font-size: 0.8125rem;
    line-height: 1.55;
}

.page-odonto .odonto-faq {
    display: grid;
    gap: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.page-odonto .odonto-faq-item {
    min-width: 0;
    overflow: hidden;
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.page-odonto .odonto-faq-btn {
    padding: 1.125rem 1.5rem;
    min-height: 48px;
    width: 100%;
    border: 0;
    border-radius: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-odonto .odonto-faq-body {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.85rem;
    line-height: 1.65;
}

.page-odonto .odonto-faq-body p {
    font-size: 0.85rem;
    line-height: 1.65;
}

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

.page-odonto .odonto-steps {
    display: grid;
    gap: 1rem;
}

.page-odonto .odonto-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 0;
    padding: 1.5rem;
    background: var(--stmc-white);
    border: 1px solid var(--stmc-gray-200);
    border-top: 4px solid var(--stmc-red);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.page-odonto .odonto-step h3 {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.page-odonto .odonto-step p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.page-odonto .odonto-step-note {
    display: block;
    margin-top: 0.5rem;
    color: var(--stmc-gray-600);
    font-size: 0.75rem;
    line-height: 1.5;
}

.page-odonto .odonto-step-num {
    display: grid;
    place-items: center;
    flex-basis: 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.page-odonto .odonto-aside-link {
    min-height: 3rem;
    border-radius: 0;
}

@media (min-width: 768px) {
    .page-odonto .odonto-step h3 {
        font-size: 1rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

}

@media (min-width: 992px) {
    body.page-odonto .cct-hero-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.8fr);
    }

    body.page-odonto .section-title {
        margin-bottom: 1.5rem;
    }

    body.page-odonto #apresentacao .cct-hero-layout {
        padding-top: 1rem;
    }

    body.page-odonto #apresentacao .cct-hero-aside {
        align-self: start;
        margin-top: 0 !important;
    }

    body.page-odonto #apresentacao .cct-hero-copy {
        transform: translateY(0.5rem);
    }

    body.page-odonto #como-solicitar .row > .col-lg-4 {
        display: none !important;
    }

    body.page-odonto #como-solicitar .row > .col-lg-8 {
        width: 100% !important;
    }

    body.page-odonto #como-solicitar .odonto-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: 1.5rem;
    }

    body.page-odonto #como-solicitar .odonto-step {
        height: 100%;
        padding: 1.5rem;
        background: var(--stmc-white);
        border: 1px solid var(--stmc-gray-200);
        border-top: 4px solid var(--stmc-red);
        border-radius: 16px;
        box-shadow: var(--shadow-sm);
    }
}

@media (max-width: 767.98px) {
    /* O hero segue o mesmo ritmo tipográfico de /denuncia-online/. */
    body.page-odonto #apresentacao > .container > nav {
        margin: 0 0 28px !important;
    }

    .page-odonto main > section:not(.home-banner) {
        padding-block: 0.5rem;
    }

    .page-odonto #apresentacao {
        margin-block-start: 0;
        padding-block: 1.25rem 0.5rem;
    }

    .page-odonto #apresentacao > .container > nav {
        margin-bottom: 0.75rem !important;
    }

    body.page-odonto #apresentacao .cct-hero-layout {
        display: block;
        min-width: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

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

    .page-odonto .cct-hero-copy > .servicos-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.5rem;
        margin: 0 0 1rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .page-odonto .odonto-hero-title {
        max-width: none;
        margin: 0 0 0.75rem;
        padding-top: 0;
        font-size: clamp(1.6rem, 7.2vw, 2.05rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .page-odonto .cct-hero-copy > .odonto-hero-text:not(.editorial-copy),
    .page-odonto .cct-hero-copy > .odonto-hero-text.editorial-copy {
        max-width: none;
        margin: 0 0 1.25rem;
        padding-top: 0;
        border-top: 0;
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .page-odonto .cct-hero-copy > .d-flex.flex-wrap {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem !important;
        margin: 0 !important;
    }

    .page-odonto .cct-hero-copy > .d-flex.flex-wrap .btn {
        width: 100%;
        min-height: 3rem;
        margin: 0;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        font-weight: 700;
    }

    .page-odonto .odonto-price {
        margin-top: 1rem;
        padding: 1rem 0 0;
        background: transparent;
        border: 0;
        border-top: 1px solid var(--stmc-gray-200);
        border-radius: 0;
        box-shadow: none;
    }

    .page-odonto .odonto-price-title {
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .page-odonto .odonto-price-list li {
        padding-block: 0.5rem;
    }

    .page-odonto .odonto-price-label,
    .page-odonto .odonto-price-value {
        font-size: 0.8125rem;
    }

    .page-odonto .odonto-price-sum {
        padding-top: 0.625rem;
    }

    .page-odonto .section-title {
        font-size: 1.3rem;
        line-height: 1.25;
    }

    .page-odonto .odonto-table {
        font-size: 0.75rem;
    }

    .page-odonto .odonto-table thead th,
    .page-odonto .odonto-table th[scope="row"],
    .page-odonto .odonto-table td {
        padding: 0.625rem 0.5rem;
    }

    .page-odonto .odonto-faq-item {
        background: var(--stmc-white);
        border: 1px solid var(--stmc-gray-200);
        border-radius: 0.875rem;
        box-shadow: var(--shadow-sm);
    }

    .page-odonto .odonto-faq {
        display: grid;
        gap: 0.75rem;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .page-odonto .odonto-faq-btn {
        min-height: 3rem;
        padding: 0.875rem;
        font-size: 0.9375rem;
        font-weight: 800;
        line-height: 1.3;
    }

    .page-odonto .odonto-faq-body {
        padding: 0 0.875rem 1rem;
    }

    .page-odonto .odonto-faq-body p {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    .page-odonto .odonto-faq-cta {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .page-odonto .odonto-faq-cta .btn,
    .page-odonto #como-solicitar .btn {
        width: 100%;
        min-height: 3rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        font-weight: 700;
    }

    .page-odonto .odonto-step {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .page-odonto .odonto-step h3 {
        font-size: 0.9375rem;
        line-height: 1.3;
    }

    .page-odonto .odonto-step p {
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .page-odonto .odonto-aside-link {
        border-radius: 0.5rem;
    }

    .page-odonto .home-banner + #apresentacao,
    .page-odonto main > .home-banner:first-child + #apresentacao {
        margin-block-start: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-odonto .odonto-faq-btn,
    .page-odonto .odonto-faq-btn i {
        transition: none;
    }
}

/* Final mobile guardrails for fixed UI, table discovery and CTA visibility. */
@media (max-width: 767.98px) {
    .page-odonto main {
        padding-bottom: calc(var(--mobile-bottom-nav-height, 68px) + 96px + env(safe-area-inset-bottom));
        overflow-x: hidden;
    }

    .page-odonto main > section:not(.home-banner) {
        padding-block: 24px;
    }

    .page-odonto main > section:not(.home-banner) + section:not(.home-banner) {
        margin-top: 0;
    }

    .page-odonto #quem-tem-direito {
        display: none;
    }

    .page-odonto #apresentacao,
    .page-odonto #apresentacao .cct-hero-layout {
        padding: 0;
    }

    .page-odonto #apresentacao .cct-hero-layout {
        display: block;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .page-odonto .odonto-hero-art {
        margin-top: 24px;
        display: none;
    }

    .page-odonto #apresentacao .odonto-breadcrumb {
        margin-bottom: 12px !important;
    }

    .page-odonto .cct-hero-copy > .d-flex.flex-wrap {
        gap: 12px !important;
        margin-top: 16px !important;
    }

    .page-odonto .cct-hero-copy > .d-flex.flex-wrap .btn,
    .page-odonto .odonto-faq-cta .btn,
    .page-odonto #como-solicitar .btn {
        width: 100%;
        min-height: 48px;
    }

    .page-odonto .cct-hero-copy,
    .page-odonto .cct-hero-copy > .d-flex.flex-wrap,
    .page-odonto .odonto-price {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .page-odonto .cct-hero-copy > .d-flex.flex-wrap {
        padding-inline: 0;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        margin-inline: 0;
    }

    .page-odonto .neg-hero-acoes {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        margin: 0;
    }

    .page-odonto .neg-hero-acoes .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        margin: 0;
        border-radius: 8px;
    }

    .page-odonto .odonto-price {
        margin-inline: 0;
    }

    .page-odonto .odonto-price {
        margin-top: 1rem;
    }

    .page-odonto .section-title {
        margin-bottom: 0.75rem;
        font-size: 1.125rem;
        line-height: 1.2;
    }

    .page-odonto .odonto-table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: clip;
        height: auto;
        max-height: none;
        padding-top: 0;
    }

    .page-odonto .odonto-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
        font-size: 0.8125rem;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .page-odonto .odonto-table th,
    .page-odonto .odonto-table td {
        min-width: 0;
        padding: 0.7rem 0.55rem;
        overflow-wrap: anywhere;
        word-break: normal;
        vertical-align: middle;
    }

    .page-odonto .odonto-table th:first-child,
    .page-odonto .odonto-table td:first-child {
        width: 42%;
    }

    .page-odonto .odonto-table thead th {
        font-size: 0.7rem;
        line-height: 1.25;
        letter-spacing: 0.02em;
    }

    .page-odonto .odonto-table tbody th {
        font-size: 0.8125rem;
        line-height: 1.35;
    }

    .page-odonto .cookie-consent {
        right: 16px;
        bottom: calc(var(--mobile-bottom-nav-height, 68px) + env(safe-area-inset-bottom) + 8px);
        left: 16px;
        max-height: 150px;
        margin: 0;
        overflow: hidden;
    }

    .page-odonto .cookie-consent-copy p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .page-odonto .cookie-consent-actions button {
        min-height: 42px;
    }

    .page-odonto .page-wrapper > .whatsapp-float {
        position: static;
        width: 48px;
        height: 48px;
        margin: 16px 20px calc(var(--mobile-bottom-nav-height, 68px) + env(safe-area-inset-bottom) + 16px) auto;
    }

    .page-odonto .home-banner-square {
        aspect-ratio: 1 / 1;
        margin-block: 24px;
    }

    .page-odonto main > .home-banner-square {
        display: none;
    }

    .page-odonto .home-banner-square picture,
    .page-odonto .home-banner-square .home-banner-img {
        width: 100%;
        height: auto;
    }

    .page-odonto .cct-hero-copy > .d-flex.flex-wrap .btn,
    .page-odonto .odonto-faq-cta .btn,
    .page-odonto #como-solicitar .btn {
        font-size: 15px;
        line-height: 1.35;
    }

    .page-odonto .cct-hero-copy .btn-primary,
    .page-odonto .odonto-faq-cta .btn-primary,
    .page-odonto #como-solicitar .btn-primary {
        color: #fff;
    }

    .page-odonto .cct-hero-copy .odonto-btn-ghost,
    .page-odonto .odonto-faq-cta .odonto-btn-ghost {
        color: var(--stmc-gray-900);
    }

    .page-odonto .odonto-price-label,
    .page-odonto .odonto-price-value,
    .page-odonto .odonto-note,
    .page-odonto .odonto-price-foot,
    .page-odonto .odonto-faq-body,
    .page-odonto .odonto-faq-body p,
    .page-odonto .odonto-step p,
    .page-odonto .odonto-aside-link {
        font-size: 14px;
        line-height: 1.5;
    }

    .page-odonto .odonto-table {
        font-size: 13px;
    }

    .page-odonto .odonto-table thead th {
        font-size: 12px;
    }

    .page-odonto .odonto-step h3 {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* Mantém o respiro do breadcrumb após os guardrails mobile da página. */
@media (max-width: 767.98px) {
    body.page-odonto #apresentacao {
        padding-block: 24px !important;
    }

    /* Organiza os valores em uma grade compacta e alinhada no mobile. */
    body.page-odonto .odonto-price {
        box-sizing: border-box;
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        background: var(--stmc-white);
        border: 1px solid var(--stmc-gray-200);
        border-top: 3px solid var(--stmc-red);
        border-radius: 14px;
        box-shadow: var(--shadow-sm);
    }

    body.page-odonto .odonto-price-title {
        margin: 0 0 0.5rem;
    }

    body.page-odonto .odonto-price-list li {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: 3.25rem;
        padding: 0.625rem 0;
    }

    body.page-odonto .odonto-price-label,
    body.page-odonto .odonto-price-value,
    body.page-odonto .odonto-price-list .odonto-gratis-tag {
        min-width: 0;
    }

    body.page-odonto .odonto-price-foot {
        margin: 0.875rem 0 0.75rem;
    }

    /* No mobile, o passo a passo segue o tratamento leve da seção de confiança. */
    body.page-odonto #como-solicitar .odonto-steps {
        gap: 1rem;
        margin-top: 1rem;
    }

    body.page-odonto #como-solicitar .odonto-step {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "number"
            "content";
        row-gap: 4px;
        align-items: start;
        height: auto;
        padding: 0.75rem 0 0.75rem 1rem;
        background: transparent;
        border: 0;
        border-left: 2px solid var(--stmc-red);
        border-radius: 0;
        box-shadow: none;
    }

    body.page-odonto #como-solicitar .odonto-step-num {
        grid-area: number;
        justify-self: start;
        margin: 0 0 0.35rem;
    }

    body.page-odonto #como-solicitar .odonto-step > div {
        grid-area: content;
        min-width: 0;
    }
}
