:root {
    --blue: #0056a6;
    --green: #138a49;
    --yellow: #ffd338;
    --red: #d71920;

    --ink: #171717;
    --muted: #666666;
    --white: #ffffff;
    --soft: #f5f5f0;
    --line: #e5e5df;

    --container: 1180px;
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}

.narrow {
    max-width: 800px;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;

    overflow: visible;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--line);
}

.campaign-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 6px;
}

.strip-blue {
    background: var(--blue);
}

.strip-green {
    background: var(--green);
}

.strip-yellow {
    background: var(--yellow);
}

.strip-red {
    background: var(--red);
}

.header-inner {
    position: relative;

    min-height: 84px;

    display: flex;
    align-items: center;
    gap: 34px;

    overflow: visible;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 5px;

    margin-right: auto;

    font-weight: 900;
    letter-spacing: -1px;
}

.brand-livros {
    color: var(--blue);
    font-size: 1.2rem;
}

.brand-por {
    color: var(--green);
    font-size: .85rem;
    font-weight: 700;
}

.brand-lula {
    color: var(--red);
    font-size: 1.55rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;

    overflow: visible;
}

.main-nav > a,
.nav-dropdown-button {
    padding: 30px 0;

    background: none;
    border: 0;

    color: var(--ink);

    font-weight: 700;
    cursor: pointer;
}

.main-nav > a:hover,
.main-nav > a.is-active,
.nav-dropdown-button:hover {
    color: var(--red);
}

.nav-dropdown {
    position: relative;
    overflow: visible;
}

.nav-dropdown-menu {
    position: absolute;
    z-index: 6000;

    top: calc(100% - 12px);
    left: -20px;

    min-width: 220px;
    padding: 10px;

    overflow: visible;

    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, .12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;

    padding: 11px 12px;

    border-radius: 9px;

    font-weight: 700;
}

.nav-dropdown-menu a:hover {
    background: var(--soft);
    color: var(--red);
}

.login-button {
    padding: 11px 20px;

    background: var(--red);
    color: white;

    border-radius: 999px;

    font-weight: 800;
}


/* HERO */

.hero {
    overflow: hidden;

    padding: 90px 0;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255, 211, 56, .45),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f7f7f2
        );
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, .85fr);

    gap: 60px;

    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--red);

    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.hero h1 {
    max-width: 760px;

    margin: 0 0 24px;

    font-size: clamp(
        2.8rem,
        6vw,
        5.7rem
    );

    line-height: .94;
    letter-spacing: -.055em;
}

.hero-copy > p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 1.3rem;
}

.hero-actions {
    display: flex;
    gap: 14px;

    margin-top: 34px;
}

.hero-art {
    position: relative;

    min-height: 430px;
}

.hero-circle {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    font-weight: 900;
    letter-spacing: -.04em;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, .14);
}

.hero-circle-blue {
    width: 220px;
    height: 220px;

    top: 10px;
    left: 20px;

    background: var(--blue);

    font-size: 2.4rem;
}

.hero-circle-yellow {
    width: 180px;
    height: 180px;

    top: 35px;
    right: 0;

    background: var(--yellow);
    color: var(--ink);

    font-size: 1.6rem;
}

.hero-circle-green {
    width: 210px;
    height: 210px;

    bottom: 0;
    right: 50px;

    background: var(--green);

    font-size: 1.8rem;
}

.hero-circle-red {
    width: 145px;
    height: 145px;

    bottom: 45px;
    left: 0;

    background: var(--red);

    font-size: 1.2rem;
}


/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 22px;

    border-radius: 999px;

    font-weight: 900;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px
        rgba(0, 0, 0, .12);
}

.button-red {
    background: var(--red);
    color: white;
}

.button-yellow {
    background: var(--yellow);
    color: var(--ink);
}

.button-green {
    background: var(--green);
    color: white;
}

.button-outline {
    border: 2px solid var(--ink);
}


/* SECTIONS */

.section {
    padding: 80px 0;
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(
        2rem,
        4vw,
        3.2rem
    );

    letter-spacing: -.04em;
}

.text-link {
    font-weight: 900;
    color: var(--blue);
}


/* TASK */

.task-highlight {
    color: white;
    background: var(--red);
}

.task-highlight .section-kicker,
.task-highlight .text-link {
    color: var(--yellow);
}

.task-card {
    max-width: 880px;

    padding: 38px;

    background: white;
    color: var(--ink);

    border-radius: var(--radius);
}

.task-card h3 {
    margin: 8px 0 14px;

    font-size: clamp(
        1.8rem,
        4vw,
        3rem
    );

    letter-spacing: -.035em;
}

.task-card p {
    max-width: 700px;

    color: var(--muted);

    font-size: 1.15rem;
}

.task-date {
    color: var(--red);

    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
}


/* CARDS */

.cards-grid {
    display: grid;
    gap: 24px;
}

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

.content-card,
.event-card,
.art-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, .04);
}

.content-card {
    padding: 28px;
}

.content-card h3 {
    margin: 10px 0;

    font-size: 1.45rem;
}

.card-label {
    color: var(--red);

    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}


/* ARTES */

.art-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.art-placeholder {
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue) 0 25%,
            var(--green) 25% 50%,
            var(--yellow) 50% 75%,
            var(--red) 75% 100%
        );

    font-size: 2.8rem;
    font-weight: 900;
}

.art-card-body {
    padding: 22px;
}

.art-card-body h2,
.art-card-body h3 {
    margin: 6px 0 8px;
}

.art-image {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    background: var(--soft);
}


/* EVENTOS */

.event-card {
    display: flex;
    flex-direction: column;
}

.event-date {
    padding: 25px;

    background: var(--green);
    color: white;
}

.event-date strong {
    display: block;

    font-size: 3rem;
    line-height: 1;
}

.event-date span {
    font-weight: 900;
}

.event-body {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 26px;
}

.event-body h2 {
    margin: 0;

    font-size: 1.45rem;
}

.event-body p {
    color: var(--muted);
}


/* PAGE HERO */

.page-hero {
    padding: 75px 0;

    color: white;
}

.page-hero h1 {
    margin: 0;

    font-size: clamp(
        3rem,
        7vw,
        5.5rem
    );

    line-height: 1;
    letter-spacing: -.05em;
}

.page-hero p {
    max-width: 650px;

    margin: 20px 0 0;

    font-size: 1.25rem;
}

.page-hero .eyebrow {
    color: inherit;
}

.page-hero-red {
    background: var(--red);
}

.page-hero-blue {
    background: var(--blue);
}

.page-hero-green {
    background: var(--green);
}

.page-hero-yellow {
    background: var(--yellow);
    color: var(--ink);
}


/* PROSE */

.prose {
    font-size: 1.12rem;
    line-height: 1.8;
}

.prose h2 {
    font-size: 2.4rem;
    line-height: 1.1;
}


/* SIGNATÁRIOS */

.signatories {
    margin-top: 70px;
}

.signatory-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.signatory {
    padding: 18px;

    background: var(--soft);

    border-radius: 12px;
}

.signatory strong,
.signatory span {
    display: block;
}

.signatory span {
    margin-top: 4px;

    color: var(--muted);
}


/* TAREFA COMPLETA */

.task-full {
    padding: 40px;

    background: var(--soft);

    border-radius: var(--radius);
}

.task-full h2 {
    margin: 10px 0 18px;

    font-size: clamp(
        2.2rem,
        5vw,
        4rem
    );

    line-height: 1;
    letter-spacing: -.045em;
}

.task-lead {
    font-size: 1.3rem;
    color: var(--muted);
}

.task-history {
    margin-top: 70px;
}

.history-list {
    border-top: 1px solid var(--line);
}

.history-item {
    display: grid;

    grid-template-columns: 130px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid var(--line);
}

.history-item > span {
    color: var(--red);
    font-weight: 900;
}

.history-item h3 {
    margin: 0 0 5px;
}

.history-item p {
    margin: 0;
    color: var(--muted);
}


/* EMPTY */

.empty-state {
    padding: 45px;

    text-align: center;

    background: var(--soft);

    border-radius: var(--radius);
}

.empty-state strong {
    display: block;

    margin-bottom: 8px;

    font-size: 1.25rem;
}

.error-code {
    color: var(--red);

    font-size: 5rem;
    font-weight: 900;
}


/* FOOTER */

.site-footer {
    color: white;
    background: var(--ink);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;

    padding-top: 55px;
    padding-bottom: 55px;
}

.footer-inner strong {
    font-size: 1.5rem;
}

.footer-inner p {
    color: #bcbcbc;
}

.footer-links {
    display: flex;
    gap: 25px;

    align-items: flex-start;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    padding: 18px 20px;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, .12);

    color: #aaa;
}


/* AUTENTICAÇÃO */

.form-card {
    max-width: 600px;

    margin-inline: auto;
    padding: 35px;

    background: var(--soft);

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 13px 15px;

    background: white;
    color: var(--ink);

    border: 1px solid #cfcfc8;
    border-radius: 10px;

    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(0, 86, 166, .12);
}

.form-footer {
    margin-top: 22px;

    color: var(--muted);
}

.form-footer a {
    color: var(--blue);
    font-weight: 800;
}

.alert {
    max-width: 600px;

    margin: 0 auto 22px;
    padding: 16px 18px;

    border-radius: 12px;
}

.alert-error {
    background: #fdeaea;
    color: #8c1116;

    border: 1px solid #efb9bb;
}

.alert-success {
    background: #e8f6ed;
    color: #136b38;

    border: 1px solid #b5dfc5;
}

.alert ul {
    margin:
        0
        0
        0
        20px;

    padding: 0;
}

.flash-container {
    padding-top: 24px;
}


/* MENU DO USUÁRIO */

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logout-form {
    margin: 0;
}

.logout-button {
    padding: 8px 4px;

    background: none;
    border: 0;

    color: var(--muted);

    cursor: pointer;

    font-weight: 700;
}

.logout-button:hover {
    color: var(--red);
}


/* ÁREA DO MEMBRO */

.member-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.member-card {
    padding: 30px;

    background: var(--soft);

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.member-card h2 {
    margin:
        16px
        0
        10px;
}

.member-card p {
    margin-bottom: 25px;

    color: var(--muted);
}

.member-icon {
    display: flex;

    width: 52px;
    height: 52px;

    align-items: center;
    justify-content: center;

    background: var(--blue);
    color: white;

    border-radius: 50%;

    font-size: 1.4rem;
    font-weight: 900;
}

.member-secondary-link {
    display: block;

    margin-top: 16px;

    color: var(--blue);

    font-weight: 800;
}


/* ADMIN */

.admin-header-link {
    color: var(--blue);

    font-size: .9rem;
    font-weight: 900;
}

.admin-header-link:hover {
    color: var(--red);
}

.admin-actions {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 60px;
}

.admin-action-card {
    padding: 28px;

    background: var(--soft);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.admin-action-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px
        rgba(0, 0, 0, .08);
}

.admin-action-card strong {
    display: block;

    margin-bottom: 6px;

    color: var(--red);

    font-size: 1.35rem;
}

.admin-action-card span {
    color: var(--muted);
}

.admin-section-title {
    margin-bottom: 25px;

    font-size: 2rem;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.stat-card {
    padding: 25px;

    background: white;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.stat-card strong {
    display: block;

    margin-bottom: 5px;

    color: var(--blue);

    font-size: 2.8rem;
    line-height: 1;
}

.stat-card span {
    color: var(--muted);
}

.admin-toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.admin-table-wrapper {
    overflow-x: auto;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admin-table {
    width: 100%;

    border-collapse: collapse;

    background: white;
}

.admin-table th,
.admin-table td {
    padding: 17px 20px;

    text-align: left;

    border-bottom:
        1px solid var(--line);
}

.admin-table th {
    background: var(--soft);

    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.status-badge {
    display: inline-flex;

    padding: 6px 10px;

    border-radius: 999px;

    font-size: .75rem;
    font-weight: 900;
}

.status-published,
.status-approved {
    color: #126535;
    background: #e4f4e9;
}

.status-draft {
    color: #6b5a14;
    background: #fff4c7;
}

.status-pending {
    color: #7a5b00;
    background: #fff3c2;
}

.status-rejected {
    color: #8c1116;
    background: #fdeaea;
}

.admin-form {
    max-width: none;

    margin-top: 25px;
}

.admin-form-alert {
    margin:
        25px 0
        0;

    max-width: none;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.form-group small {
    display: block;

    margin-top: 6px;

    color: var(--muted);
}

.checkbox-row {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 15px 0 25px;

    cursor: pointer;

    font-weight: 800;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
}

.admin-form-actions {
    display: flex;

    justify-content: flex-end;

    margin-top: 25px;
}


/* MODERAÇÃO */

.moderation-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 28px;

    margin-top: 30px;
}

.moderation-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.moderation-image {
    width: 100%;
    max-height: 520px;

    object-fit: contain;

    background: var(--soft);
}

.moderation-body {
    padding: 26px;
}

.moderation-body h2 {
    margin: 8px 0 14px;
}

.moderation-form {
    margin-top: 22px;
    padding-top: 20px;

    border-top: 1px solid var(--line);
}

.moderation-actions {
    display: flex;

    gap: 12px;
}

.moderation-note {
    margin-top: 14px;
    padding: 12px;

    background: var(--soft);

    border-radius: 10px;
}


/* RESPONSIVO - TABLETS */

@media (max-width: 900px) {

    .site-header {
        overflow: visible;
    }

    .header-inner {
        position: relative;

        flex-wrap: wrap;

        padding: 16px 0;

        overflow: visible;
    }

    .main-nav {
        order: 3;

        width: 100%;

        display: flex;
        flex-wrap: wrap;

        justify-content: flex-start;

        gap: 8px 22px;

        overflow: visible;
    }

    .main-nav > a,
    .nav-dropdown-button {
        padding: 10px 0;
    }

    .nav-dropdown {
        position: relative;
        overflow: visible;
    }

    .nav-dropdown-menu {
        top: calc(100% + 2px);

        z-index: 6000;

        overflow: visible;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 360px;
    }

    .cards-grid-3,
    .art-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* RESPONSIVO - ADMIN / MEMBRO */

@media (max-width: 850px) {

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

    .admin-actions {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 800px) {

    .member-grid {
        grid-template-columns: 1fr;
    }

    .user-menu {
        margin-left: auto;
    }

    .moderation-grid {
        grid-template-columns: 1fr;
    }

    .moderation-actions {
        flex-direction: column;
    }
}


/* RESPONSIVO - CELULARES */

@media (max-width: 620px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }

    .header-inner {
        gap: 14px;
    }

    .login-button {
        padding: 9px 15px;
    }

    .main-nav {
        width: 100%;

        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 4px 16px;

        overflow: visible;

        font-size: .9rem;
    }

    .main-nav > a,
    .nav-dropdown {
        min-width: 0;
    }

    .main-nav > a,
    .nav-dropdown-button {
        width: 100%;

        padding: 8px 0;

        text-align: left;
    }

    .nav-dropdown-menu {
        left: 0;
        right: auto;

        min-width: 210px;

        z-index: 6000;
    }

    .nav-dropdown:last-child .nav-dropdown-menu {
        left: auto;
        right: 0;
    }

    .user-menu {
        margin-left: auto;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-art {
        min-height: 300px;
    }

    .hero-circle-blue {
        width: 160px;
        height: 160px;

        font-size: 1.8rem;
    }

    .hero-circle-yellow {
        width: 135px;
        height: 135px;
    }

    .hero-circle-green {
        width: 155px;
        height: 155px;
    }

    .hero-circle-red {
        width: 110px;
        height: 110px;
    }

    .section {
        padding: 55px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cards-grid-3,
    .art-grid,
    .signatory-grid {
        grid-template-columns: 1fr;
    }

    .task-card,
    .task-full {
        padding: 26px;
    }

    .history-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-inner,
    .footer-links {
        flex-direction: column;
    }

    .stats-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* PÁGINA INDIVIDUAL DA ARTE */

.artwork-detail-section {
    padding: 70px 0;
}

.artwork-detail-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(340px, .95fr);

    gap: 60px;

    align-items: start;
}

.artwork-detail-image {
    overflow: hidden;

    background: var(--soft);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, .08);
}

.artwork-detail-image img {
    width: 100%;
    height: auto;

    object-fit: contain;
}

.artwork-detail-content h1 {
    margin:
        5px
        0
        22px;

    font-size: clamp(
        2.6rem,
        5vw,
        4.8rem
    );

    line-height: .98;
    letter-spacing: -.05em;
}

.artwork-description {
    color: var(--muted);

    font-size: 1.15rem;
    line-height: 1.7;
}

.artwork-credit {
    margin-top: 22px;
}

.share-panel {
    margin-top: 38px;
    padding: 28px;

    background: var(--soft);

    border-radius: var(--radius);
}

.share-panel h2 {
    margin:
        0
        0
        4px;

    font-size: 1.7rem;
}

.share-panel > p {
    margin:
        0
        0
        20px;

    color: var(--muted);
}

.share-primary {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.social-share-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 16px;
}

.social-share-button {
    display: flex;

    min-height: 44px;

    align-items: center;
    justify-content: center;

    padding: 10px 14px;

    border: 0;
    border-radius: 10px;

    cursor: pointer;

    font-weight: 900;

    transition:
        transform .15s ease,
        opacity .15s ease;
}

.social-share-button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.share-whatsapp {
    color: white;
    background: #128c3e;
}

.share-facebook {
    color: white;
    background: #1877f2;
}

.share-copy {
    color: var(--ink);
    background: white;

    border: 1px solid var(--line);
}

.share-feedback {
    min-height: 24px;

    margin-top: 12px !important;

    color: var(--green) !important;

    font-size: .9rem;
    font-weight: 800;
}

.share-hint {
    margin-top: 20px;
    padding-top: 18px;

    border-top:
        1px solid var(--line);
}

.share-hint strong {
    display: block;

    margin-bottom: 4px;
}

.share-hint p {
    margin: 0;

    color: var(--muted);

    font-size: .9rem;
}

.art-share-link {
    margin-top: 18px;
}


@media (max-width: 850px) {

    .artwork-detail-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}


@media (max-width: 620px) {

    .artwork-detail-section {
        padding: 40px 0;
    }

    .share-primary {
        flex-direction: column;
    }

    .share-primary .button {
        width: 100%;
    }

    .social-share-grid {
        grid-template-columns: 1fr;
    }
}
/* EVENTOS - IMAGENS E DETALHES */

.event-image {
    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    background: var(--soft);
}

.event-address {
    color: var(--muted);

    font-size: .92rem;
}

.event-link {
    align-self: flex-start;

    margin-top: 10px;
}

.event-meta {
    margin:
        18px
        0;

    padding:
        16px
        18px;

    background: var(--soft);

    border-radius: 12px;
}

.event-meta p {
    margin:
        5px
        0;
}
/* COMPARTILHAMENTO DE TAREFAS */

.task-actions,
.task-card-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 26px;
}

.task-main-action {
    margin-top: 28px;
}

.task-full .share-panel {
    margin-top: 38px;

    background: white;

    border: 1px solid var(--line);
}

.task-detail-footer {
    margin-top: 30px;
    padding-top: 22px;

    border-top: 1px solid var(--line);
}

.history-share-link {
    display: inline-block;

    margin-top: 8px;

    color: var(--blue);

    font-size: .9rem;
    font-weight: 800;
}

.history-item h3 a:hover,
.history-share-link:hover {
    color: var(--red);
}


@media (max-width: 620px) {

    .task-actions,
    .task-card-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .task-actions .button,
    .task-card-actions .button {
        width: 100%;
    }
}
/* TEXTOS E ROTEIROS */

.written-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.written-card {
    padding: 28px;

    background: white;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, .04);
}

.written-card h2 {
    margin:
        8px
        0
        14px;

    font-size: 1.6rem;
}

.written-summary {
    color: var(--muted);

    font-size: 1.05rem;
}

.written-content {
    margin-top: 18px;

    line-height: 1.75;

    white-space: normal;
}

.written-credit {
    margin-top: 22px;
}

.task-reference,
.task-reference-link {
    display: block;

    margin:
        12px
        0;

    color: var(--blue);

    font-size: .9rem;
    font-weight: 800;
}

.moderation-text {
    max-height: 420px;

    overflow-y: auto;

    padding: 18px;

    background: var(--soft);

    border-radius: 12px;
}


/* MEMBROS */

.member-admin-form {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    align-items: center;
}

.member-admin-form select {
    padding: 8px;

    border: 1px solid var(--line);
    border-radius: 8px;
}

.text-button {
    padding: 0;

    background: none;
    border: 0;

    color: var(--blue);

    cursor: pointer;

    font-weight: 800;
}

.text-button:hover {
    color: var(--red);
}


/* CONVITES */

.invite-created {
    margin:
        30px
        0;

    padding: 25px;

    background: #e8f6ed;

    border: 1px solid #b5dfc5;
    border-radius: var(--radius);
}

.invite-created strong {
    display: block;

    margin-bottom: 12px;

    font-size: 1.3rem;
}

.invite-created input {
    width: 100%;

    padding: 12px 14px;

    margin-bottom: 15px;

    background: white;

    border: 1px solid var(--line);
    border-radius: 9px;
}

.invite-form {
    margin-bottom: 60px;
}


@media (max-width: 800px) {

    .written-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   MÍDIAS SOCIAIS INCORPORADAS
   ========================================================= */

.artwork-detail-media {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.social-embed {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--soft);

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.social-embed iframe {
    display: block;

    width: 100%;

    border: 0;
}

.social-embed-youtube {
    aspect-ratio: 16 / 9;
}

.social-embed-youtube iframe {
    width: 100%;
    height: 100%;
}

.social-embed-instagram iframe {
    min-height: 650px;
}

.social-embed-facebook iframe {
    min-height: 580px;
}

.social-embed-card {
    aspect-ratio: 1 / 1;

    border: 0;
    border-radius: 0;
}

.social-embed-card iframe {
    width: 100%;
    height: 100%;
}

.external-content-link {
    display: inline-flex;

    align-self: flex-start;

    color: var(--blue);

    font-weight: 900;
}

.external-content-link:hover {
    color: var(--red);
}

.external-content-inline {
    display: block;

    margin-top: 14px;

    color: var(--blue);

    font-size: .9rem;
    font-weight: 800;
}

.external-content-inline:hover {
    color: var(--red);
}

.moderation-social-embed {
    border-radius: 0;
}

.moderation-social-embed iframe {
    min-height: 500px;
}

.moderation-external-link {
    padding: 14px 20px;

    border-bottom: 1px solid var(--line);
}

.social-placeholder {
    padding: 20px;

    text-align: center;

    font-size: 1.5rem;
}

.content-task-reference {
    margin-top: 25px;
    padding: 18px;

    background: var(--soft);

    border-radius: 12px;
}

.content-task-reference span {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.content-task-reference a {
    color: var(--blue);

    font-weight: 900;
}


/* =========================================================
   CONTRIBUIÇÕES PARA TAREFAS
   ========================================================= */

.task-community {
    margin-top: 70px;
    padding-top: 60px;

    border-top: 1px solid var(--line);
}

.task-community-heading {
    max-width: 700px;

    margin-bottom: 40px;
}

.task-community-heading h2 {
    margin:
        5px
        0
        12px;

    font-size: clamp(
        2rem,
        4vw,
        3.2rem
    );

    letter-spacing: -.04em;
}

.task-community-heading p {
    color: var(--muted);

    font-size: 1.1rem;
}

.task-contribution-section {
    margin-top: 50px;
}

.task-contribution-section > h3 {
    margin-bottom: 24px;

    font-size: 1.8rem;
}


@media (max-width: 620px) {

    .social-embed-instagram iframe,
    .social-embed-facebook iframe {
        min-height: 520px;
    }

    .task-community {
        margin-top: 50px;
        padding-top: 40px;
    }
}