.protocolos-page {
    --protocolos-container-max: 1180px;
    --protocolos-hero-container-max: 1500px;
    --protocolos-primary: #193853;
    --protocolos-secondary: #3370a6;
    --protocolos-surface: #ffffff;
    --protocolos-text: #324a61;
    --protocolos-muted: #6a7a8b;
    --protocolos-border: #dce6ef;
    --protocolos-surface-soft: #f0f4f8;
    --protocolos-surface-alt: #f8fafc;
    --protocolos-shadow-sm: 0 8px 20px rgba(12, 38, 64, 0.08);
    --protocolos-shadow-md: 0 14px 34px rgba(12, 38, 64, 0.12);
    --protocolos-radius-xl: 24px;
    --protocolos-radius-lg: 18px;
    --protocolos-radius-md: 12px;
    --protocolos-header-offset: 0px;
    --protocolos-hero-vertical-padding: clamp(4.4rem, 8vw, 7.25rem);
    background: var(--protocolos-surface);
    color: var(--protocolos-text);
    margin-top: calc(var(--protocolos-header-offset) * -1);
    overflow-x: clip;
}

.protocolos-page *,
.protocolos-page *::before,
.protocolos-page *::after {
    box-sizing: border-box;
}

.protocolos-container {
    width: min(var(--protocolos-container-max), calc(100% - 3rem));
    margin-inline: auto;
}

.protocolos-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.protocolos-page a,
.protocolos-page button,
.protocolos-page input,
.protocolos-page select,
.protocolos-page textarea {
    transition: all 0.25s ease;
}

.protocolos-page a:focus-visible,
.protocolos-page button:focus-visible,
.protocolos-page input:focus-visible,
.protocolos-page select:focus-visible,
.protocolos-page textarea:focus-visible {
    outline: 2px solid var(--protocolos-secondary);
    outline-offset: 2px;
}

.protocolos-page .animate-on-scroll {
    opacity: 0;
}

.protocolos-page .animate-on-scroll.animated {
    animation: protocolosFadeInUp 0.6s ease-out forwards;
}

.protocolos-page .animate-on-scroll.animated-fade {
    animation: protocolosFadeIn 0.8s ease-out forwards;
}

.protocolos-page .animate-on-scroll.animated-delay-1 {
    animation-delay: 0.1s;
}

.protocolos-page .animate-on-scroll.animated-delay-2 {
    animation-delay: 0.18s;
}

.protocolos-page .animate-on-scroll.animated-delay-3 {
    animation-delay: 0.26s;
}

@keyframes protocolosFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes protocolosFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.protocolos-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.8rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--protocolos-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.protocolos-button:hover {
    color: #fff;
    background: var(--protocolos-secondary);
    transform: translateY(-1px);
}

.protocolos-button--hero {
    background: #2f7db8;
    box-shadow: 0 16px 30px rgba(8, 31, 53, 0.25);
}

.protocolos-button--hero:hover {
    background: #4c97cf;
    box-shadow: 0 18px 34px rgba(8, 31, 53, 0.3);
}

.protocolos-button--dark {
    background: var(--protocolos-primary);
}

.protocolos-button--dark:hover {
    background: var(--protocolos-secondary);
}

.protocolos-button--light {
    background: #fff;
    color: var(--protocolos-primary);
}

.protocolos-button--light:hover {
    background: var(--protocolos-secondary);
    color: #fff;
}

.protocolos-button--submit {
    width: 100%;
    border-radius: 12px;
    font-size: 0.86rem;
}

.protocolos-hero {
    position: relative;
    min-height: clamp(680px, 95vh, 1080px);
    min-height: clamp(680px, 95svh, 1080px);
    display: flex;
    align-items: center;
    background-color: #10263e;
    background-image: linear-gradient(100deg, rgba(14, 35, 57, 0.95), rgba(14, 35, 57, 0.68) 46%, rgba(14, 35, 57, 0.2) 82%), var(--protocolos-hero-image, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.protocolos-hero .protocolos-container {
    width: min(var(--protocolos-hero-container-max), calc(100% - 3rem));
}

.protocolos-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.protocolos-hero__content {
    font-family: "Baskervville", sans-serif;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: calc(var(--protocolos-hero-vertical-padding) + var(--protocolos-header-offset));
    padding-bottom: var(--protocolos-hero-vertical-padding);
}

.protocolos-hero__breadcrumb-wrap {
    margin-bottom: 1rem;
}

.protocolos-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
}

.protocolos-breadcrumb a {
    color: rgba(255, 255, 255, 0.94);
    text-decoration: none;
}

.protocolos-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.protocolos-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 1.25rem;
    padding: 0.38rem 0.72rem;
    border-radius: 6px;
    background: var(--protocolos-secondary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.protocolos-hero__title {
    margin: 0;
    max-width: 12ch;
    color: #fff;
    font-size: clamp(2.15rem, 5vw, 4.1rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
}

.protocolos-hero__description {
    margin: 1.4rem 0 2rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    max-width: 62ch;
}

.protocolos-intro {
    padding-block: clamp(4rem, 7vw, 6rem);
    background-color: var(--protocolos-surface);
    background-image: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), url("../img/background-pattern-1.webp");
    background-repeat: no-repeat, repeat;
    background-size: auto, 540px;
    background-position: center, center;
}

.protocolos-intro__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.protocolos-intro__media {
    position: relative;
}

.protocolos-intro__media-shape {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 130px;
    aspect-ratio: 1;
    border-radius: 999px;
    background: #e8f2fb;
    z-index: 0;
}

.protocolos-intro__image {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 300px;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--protocolos-radius-xl);
    box-shadow: var(--protocolos-shadow-md);
}

.protocolos-intro__experience {
    position: absolute;
    right: -18px;
    bottom: -24px;
    z-index: 2;
    padding: 1.2rem 1.35rem;
    border-radius: 14px;
    background: var(--protocolos-secondary);
    box-shadow: var(--protocolos-shadow-sm);
}

.protocolos-intro__experience-value {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
}

.protocolos-intro__experience-label {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    line-height: 1.4;
}

.protocolos-intro__content h2 {
    margin: 0 0 1rem;
    color: var(--protocolos-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.protocolos-intro__divider {
    width: 82px;
    height: 6px;
    border-radius: 99px;
    background: var(--protocolos-secondary);
    margin: 0 0 1.4rem;
}

.protocolos-intro__content p {
    margin: 0 0 1rem;
    color: var(--protocolos-text);
    font-size: 1.04rem;
    line-height: 1.72;
}

.protocolos-intro__content .protocolos-button {
    margin-top: 0.6rem;
}

.protocolos-beneficios {
    padding-block: clamp(4rem, 7vw, 5.5rem);
    background-color: var(--protocolos-secondary);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.protocolos-beneficios__header {
    max-width: 720px;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.protocolos-beneficios__header h2 {
    margin: 0 0 0.7rem;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.protocolos-beneficios__header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.protocolos-beneficios__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.protocolos-beneficio-card {
    padding: 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--protocolos-radius-lg);
    background: #fff;
    box-shadow: var(--protocolos-shadow-sm);
}

.protocolos-beneficio-card:hover {
    transform: translateY(-4px);
}

.protocolos-beneficio-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #edf4fb;
    color: var(--protocolos-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.55rem;
}

.protocolos-beneficio-card__icon img {
    width: 1.65rem;
    height: 1.65rem;
    object-fit: contain;
}

.protocolos-beneficio-card h3 {
    margin: 0 0 0.7rem;
    color: var(--protocolos-primary);
    font-size: 1.25rem;
    line-height: 1.3;
}

.protocolos-beneficio-card p {
    margin: 0;
    color: var(--protocolos-text);
    font-size: 0.95rem;
    line-height: 1.65;
}

.protocolos-grid-section {
    padding-block: clamp(4rem, 7vw, 5.5rem);
    background: var(--protocolos-surface);
}

.protocolos-grid-section__header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.protocolos-grid-section__title-wrap h2 {
    margin: 0 0 0.35rem;
    color: var(--protocolos-primary);
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.protocolos-grid-section__title-wrap p {
    margin: 0;
    color: var(--protocolos-muted);
    line-height: 1.6;
}

.protocolos-grid-section__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.protocolos-chip {
    border: 1px solid #d6dde6;
    background: #fff;
    color: #5f7185;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: default;
}

.protocolos-chip.is-active {
    border-color: var(--protocolos-primary);
    background: var(--protocolos-primary);
    color: #fff;
}

.protocolos-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.protocolos-grid-list > div {
    min-width: 0;
}

.protocolo-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #edf1f6;
    border-radius: var(--protocolos-radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(13, 34, 56, 0.06);
}

.protocolo-card:hover {
    border-color: var(--protocolos-secondary);
    box-shadow: 0 12px 28px rgba(14, 40, 66, 0.12);
}

.protocolo-card__body {
    padding: 1.4rem 1.35rem;
    flex: 1;
}

.protocolo-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.protocolo-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.protocolo-card__status.is-open {
    background: #eaf4ff;
    color: var(--protocolos-secondary);
}

.protocolo-card__status.is-closed {
    background: #fbeaea;
    color: #a63939;
}

.protocolo-card__title {
    margin: 0 0 0.6rem;
    color: var(--protocolos-primary);
    font-size: 1.1rem;
    line-height: 1.35;
}

.protocolo-card__description {
    margin: 0;
    color: #5f6f7f;
    font-size: 0.92rem;
    line-height: 1.65;
}

.protocolo-card__footer {
    padding: 0 1.35rem 1.35rem;
}

.protocolo-card__link {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--protocolos-primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.protocolo-card__link:hover {
    color: #fff;
    background: var(--protocolos-secondary);
}

.protocolo-card__link--disabled,
.protocolo-card__link--disabled:hover {
    background: #aeb8c4;
    color: #fff;
    cursor: not-allowed;
}

.protocolos-empty {
    margin: 1.5rem 0 0;
    text-align: center;
    color: var(--protocolos-muted);
}

.protocolos-como-funciona {
    padding-block: clamp(4rem, 7vw, 5.5rem);
    background-color: var(--protocolos-surface-soft);
    background-image: linear-gradient(rgba(240, 244, 248, 0.94), rgba(240, 244, 248, 0.94)), url("../img/background-pattern-1.webp");
    background-repeat: no-repeat, repeat;
    background-size: auto, 540px;
    background-position: center, center;
}

.protocolos-como-funciona__header {
    text-align: center;
    margin: 0 auto 2.4rem;
}

.protocolos-como-funciona__header h2 {
    margin: 0 0 0.7rem;
    color: var(--protocolos-primary);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.protocolos-como-funciona__divider {
    width: 80px;
    height: 4px;
    border-radius: 999px;
    background: var(--protocolos-secondary);
    margin-inline: auto;
}

.protocolos-como-funciona__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.protocolos-step {
    padding: 1.4rem;
    border-radius: var(--protocolos-radius-lg);
    background: #fff;
    box-shadow: 0 8px 18px rgba(13, 34, 56, 0.08);
    border-bottom: 4px solid var(--protocolos-secondary);
}

.protocolos-step:hover {
    transform: translateY(-4px);
}

.protocolos-step__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.protocolos-step__icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(51, 112, 166, 0.12);
    color: var(--protocolos-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.protocolos-step__number {
    color: #e8edf3;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.protocolos-step h3 {
    margin: 0 0 0.45rem;
    color: var(--protocolos-primary);
    font-size: 1.2rem;
}

.protocolos-step p {
    margin: 0;
    color: #5f6f7f;
    font-size: 0.92rem;
    line-height: 1.65;
}

.protocolos-voluntario {
    position: relative;
    padding-block: clamp(4rem, 7vw, 5.5rem);
    background: var(--protocolos-primary);
    overflow: hidden;
    color: #fff;
}

.protocolos-voluntario__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    background-image: radial-gradient(circle at 2px 2px, #ffffff 1px, transparent 0);
    background-size: 40px 40px;
}

.protocolos-voluntario__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: center;
}

.protocolos-voluntario__content h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 4.3vw, 3.5rem);
    line-height: 1.12;
}

.protocolos-voluntario__content p {
    margin: 0;
    color: rgba(226, 239, 252, 0.94);
    font-size: 1.04rem;
    line-height: 1.72;
    max-width: 58ch;
}

.protocolos-voluntario__content .protocolos-button {
    margin-top: 1.6rem;
    box-shadow: 0 14px 28px rgba(8, 31, 53, 0.28);
}

.protocolos-voluntario__image {
    border-radius: 24px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--protocolos-shadow-md);
}

.protocolos-voluntario__image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
}

@media (min-width: 700px) {
    .protocolos-beneficios__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .protocolos-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .protocolos-como-funciona__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }
}

@media (min-width: 900px) {
    .protocolos-intro__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }

    .protocolos-grid-section__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
    }

    .protocolos-voluntario__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
        gap: 2.6rem;
    }
}

@media (min-width: 1100px) {
    .protocolos-beneficios__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .protocolos-grid-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .protocolos-como-funciona__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .protocolos-voluntario__content {
        order: 1;
    }

    .protocolos-voluntario__image {
        order: 2;
    }
}

@media (max-width: 899px) {
    .protocolos-intro__experience {
        position: static;
        margin-top: 1rem;
        max-width: 220px;
    }
}

@media (max-width: 639px) {
    .protocolos-container {
        width: min(var(--protocolos-container-max), calc(100% - 1.4rem));
    }

    .protocolos-hero__description {
        margin-bottom: 1.5rem;
    }

    .protocolos-button,
    .protocolos-button--hero {
        width: 100%;
    }

    .protocolo-card__link {
        min-height: 42px;
    }

}
