@layer rc-base {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        margin: 0;
        background: var(--rc-color-bg);
        color: var(--rc-color-text-body);
        font-family: var(--rc-font-body);
        font-size: var(--rc-font-size-body);
        font-weight: var(--rc-font-weight-regular);
        font-variation-settings: var(--rc-font-variation-body);
        line-height: var(--rc-line-height-body);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }

    [hidden] {
        display: none !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .rc-h1,
    .rc-h2,
    .rc-h3,
    .rc-h4 {
        margin: 0 0 var(--rc-space-4);
        color: var(--rc-color-text);
        font-family: var(--rc-font-heading);
        font-weight: var(--rc-font-weight-semibold);
        letter-spacing: var(--rc-letter-spacing-heading);
    }

    h1,
    .rc-h1 {
        font-size: var(--rc-font-size-h1);
        line-height: var(--rc-line-height-tight);
    }

    h2,
    .rc-h2 {
        font-size: var(--rc-font-size-h2);
        line-height: var(--rc-line-height-tight);
    }

    h3,
    .rc-h3 {
        font-size: var(--rc-font-size-h3);
        line-height: var(--rc-line-height-h3);
    }

    h4,
    .rc-h4 {
        font-size: var(--rc-font-size-h4);
        line-height: var(--rc-line-height-heading);
        letter-spacing: var(--rc-letter-spacing-h4);
    }

    h5,
    h6 {
        font-family: var(--rc-font-body);
        font-size: var(--rc-font-size-body);
        font-weight: var(--rc-font-weight-bold);
        line-height: var(--rc-line-height-body);
        letter-spacing: 0;
    }

    .rc-display {
        font-family: var(--rc-font-heading);
        font-size: var(--rc-font-size-display);
        font-weight: var(--rc-font-weight-bold);
        line-height: var(--rc-line-height-display);
        letter-spacing: var(--rc-letter-spacing-heading);
    }

    .rc-texto-forte {
        font-weight: var(--rc-font-weight-bold);
    }

    .rc-texto-sm {
        font-size: var(--rc-font-size-sm);
        line-height: var(--rc-line-height-body);
    }

    .rc-texto-secundario {
        color: var(--rc-color-text-muted);
    }

    p {
        margin: 0 0 var(--rc-space-4);
    }

    a {
        color: var(--rc-color-primary);
        text-underline-offset: 0.15em;
    }

    a:hover {
        color: var(--rc-color-primary-hover);
    }

    button,
    input,
    select,
    textarea {
        font: inherit;
        color: inherit;
    }

    :focus-visible {
        outline: 2px solid transparent;
        outline-offset: 2px;
        box-shadow: var(--rc-focus-ring);
    }

    .rc-container {
        width: calc(100% - 2 * var(--rc-gutter));
        margin-inline: auto;
    }

    @media (min-width: 1025px) {
        .rc-container {
            width: var(--rc-container-ratio);
        }
    }

    .rc-oculto-visual {
        position: absolute !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    @media (max-width: 1023px) {
        .rc-alvo {
            position: relative;
        }

        .rc-alvo::before {
            content: "";
            position: absolute;
            inset: min(0px, calc(50% - 1.375rem));
        }
    }

    .rc-pular {
        position: absolute;
        z-index: 200;
        top: var(--rc-space-2);
        left: var(--rc-space-2);
        padding: var(--rc-space-2) var(--rc-space-4);
        border-radius: var(--rc-radius-pill);
        background: var(--rc-color-surface);
        color: var(--rc-color-text);
        font-weight: var(--rc-font-weight-bold);
        transform: translateY(-200%);
    }

    .rc-pular:focus {
        transform: none;
    }

    .rc-conteudo:focus {
        outline: none;
        box-shadow: none;
    }

    .site-main {
        width: calc(100% - 2 * var(--rc-gutter));
        margin-inline: auto;
        padding-block: var(--rc-space-15);
    }

    @media (min-width: 1025px) {
        .site-main {
            width: var(--rc-container-ratio);
        }
    }

    .rc-icone {
        display: block;
        flex-shrink: 0;
    }

    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }
}

/* Fora de camada de propósito: o CSS do Kit do Elementor (sem camada) só guarda a razão
   83,0556% e venceria qualquer @layer. Mesmo teto do .rc-container (--rc-container-ratio),
   para landings e páginas do Elementor não passarem do cabeçalho em telas largas/zoom reduzido. */
@media (min-width: 1025px) {
    [class*="elementor-kit-"] .e-con {
        --container-max-width: min(83.0556%, 74.75rem);
    }

    [class*="elementor-kit-"] .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: min(83.0556%, 74.75rem);
    }
}
