:root {
    --ink: #02050a;
    --ink-2: #07111f;
    --blue-deep: #071a3a;
    --blue: #1d66ff;
    --blue-light: #7ecbff;
    --white: #f7fbff;
    --white-soft: rgba(247, 251, 255, 0.78);
    --line: rgba(247, 251, 255, 0.14);
    --line-strong: rgba(126, 203, 255, 0.38);
    --ochre: #d6a453;
    --earth: #9b5e29;
    --green: #1b6b5f;
    --radius-card: 8px;
    --shadow-heavy: 0 26px 80px rgba(0, 0, 0, 0.42);
    --shadow-blue: 0 0 34px rgba(29, 102, 255, 0.34);
    --speed: 280ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--white);
    background:
        radial-gradient(ellipse at center, rgba(3, 8, 16, 0.55) 0%, rgba(2, 5, 10, 0.88) 100%),
        linear-gradient(180deg, rgba(3, 8, 16, 0.72), rgba(2, 5, 10, 0.86)),
        url('../boneca_indigena.jpeg') center / cover no-repeat fixed;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 28px),
        repeating-linear-gradient(0deg, rgba(126, 203, 255, 0.018) 0 1px, transparent 1px 32px);
    pointer-events: none;
    z-index: -3;
}

a {
    color: inherit;
}

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

button,
input,
textarea {
    font: inherit;
}

::selection {
    background: rgba(29, 102, 255, 0.4);
    color: var(--white);
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 999;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-140%);
    transition: transform var(--speed);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-texture {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.38;
    background-image:
        repeating-linear-gradient(135deg, transparent 0 12px, rgba(214, 164, 83, 0.08) 12px 13px),
        repeating-linear-gradient(45deg, transparent 0 18px, rgba(126, 203, 255, 0.06) 18px 19px);
    mix-blend-mode: screen;
}

.border-indigenous-left,
.border-indigenous-right {
    display: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 48px;
    background: linear-gradient(180deg, rgba(2, 5, 10, 0.76), rgba(2, 5, 10, 0));
    transition: background var(--speed), box-shadow var(--speed), padding var(--speed);
}

.site-header.scrolled {
    padding: 12px 56px;
    background: rgba(2, 5, 10, 0.94);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
}

.logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--shadow-blue);
    animation: logoFloat 5s ease-in-out infinite;
}

.logo span {
    font-size: 0.95rem;
    white-space: nowrap;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: rgba(247, 251, 255, 0.86);
    font-size: 0.9rem;
    font-weight: 760;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--blue), var(--white), var(--ochre));
    transition: transform var(--speed);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform var(--speed), opacity var(--speed);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.flash-stack {
    position: fixed;
    top: 92px;
    left: 50%;
    z-index: 150;
    width: min(680px, calc(100% - 40px));
    transform: translateX(-50%);
    display: grid;
    gap: 10px;
}

.flash {
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(2, 5, 10, 0.92);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(14px);
}

.flash.success {
    border-color: rgba(126, 203, 255, 0.5);
}

.flash.error {
    border-color: rgba(214, 164, 83, 0.65);
}

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 32px 60px;
    overflow: hidden;
    isolation: isolate;
    background-color: #060a10;
    margin: 0;
}

.hero-bg-blur {
    position: absolute;
    inset: -10%;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-blur img {
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: center center;
    filter: blur(40px) brightness(0.85) saturate(1.2);
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgba(2, 5, 10, 0.1) 0%, rgba(2, 5, 10, 0.0) 60%, rgba(2, 5, 10, 0.4) 100%);
    pointer-events: none;
}

.hero-img-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    padding: 70px 0 20px 0;
}

.hero-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero::after {
    display: none;
}

/* Ocultado para remover a pintura vertical anterior */
.hero-grafismo {
    display: none;
}

.hero-content {
    width: min(1040px, 100%);
    text-align: center;
    margin: 0 auto;
}

.hero-logo {
    width: 192px;
    height: 192px;
    margin: 0 auto 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 34px rgba(29, 102, 255, 0.64)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.8));
    animation: logoFloat 5.4s ease-in-out infinite, logoGlow 3.4s ease-in-out infinite;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: #8ed5ff;
    font-size: 0.92rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 18px rgba(0, 0, 0, 0.9);
}

.hero h1 {
    max-width: 980px;
    margin: 0 auto 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.2rem;
    line-height: 0.95;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 1), 0 0 35px rgba(0, 0, 0, 0.85);
}

.hero-lead {
    width: min(760px, 100%);
    margin: 0 auto 34px;
    color: #ffffff;
    font-size: 1.16rem;
    line-height: 1.75;
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 1);
}

.hero-actions,
.center-action {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-outline,
.btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 850;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform var(--speed), box-shadow var(--speed), background var(--speed), border-color var(--speed);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #0d3d9e 52%, var(--ink));
    box-shadow: 0 18px 52px rgba(29, 102, 255, 0.32);
}

.btn-outline {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(7, 26, 58, 0.75), rgba(13, 40, 85, 0.85));
    border: 2px solid rgba(126, 203, 255, 0.65);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(126, 203, 255, 0.2), inset 0 0 14px rgba(126, 203, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 70px rgba(29, 102, 255, 0.42);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(29, 102, 255, 0.4), rgba(7, 26, 58, 0.9));
    border-color: #7ecbff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 40px rgba(29, 102, 255, 0.45), 0 0 25px rgba(126, 203, 255, 0.35);
}

.btn-primary.full {
    width: 100%;
}

.hero-tokens {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-tokens span {
    padding: 8px 12px;
    border: 1px solid rgba(247, 251, 255, 0.22);
    border-radius: 999px;
    background: rgba(2, 5, 10, 0.44);
    color: rgba(247, 251, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 760;
}

.grafismo-divider {
    display: none;
}

.section {
    position: relative;
    padding: 112px 48px;
}

.section::before {
    content: "";
    position: absolute;
    left: 48px;
    right: 48px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-header {
    max-width: 880px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-header h2,
.community-copy h2,
.page-hero h1,
.empty-state h2 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.4rem;
    line-height: 1.03;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 1);
}

.section-header p,
.community-copy p,
.page-hero p,
.empty-state p {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 1);
}

.story-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 42px;
    align-items: stretch;
}

.story-copy {
    padding: 24px 0 24px 32px;
    border-left: 5px solid var(--blue);
}

.story-copy h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 1);
}

.story-copy p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.86;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.identity-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: center;
}

.identity-strip span {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 0 22px;
    border-left: 8px solid var(--blue-light);
    border-right: 8px solid var(--ochre);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 10px, transparent 10px 20px),
        rgba(6, 18, 37, 0.72);
    font-weight: 850;
    text-transform: uppercase;
}

.feature-grid,
.craft-grid,
.upload-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

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

.feature-card,
.craft-card,
.upload-card,
.form-panel,
.form-note,
.admin-item,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        rgba(5, 14, 27, 0.72);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(16px);
}

.feature-card {
    position: relative;
    min-height: 390px;
    padding: 28px;
    overflow: hidden;
    transition: transform var(--speed), border-color var(--speed), box-shadow var(--speed);
}

.feature-card::after,
.upload-card::after,
.craft-card::after {
    display: none;
}

.feature-card:hover,
.craft-card:hover,
.upload-card:hover {
    transform: translateY(-9px) scale(1.01);
    border-color: var(--line-strong);
    box-shadow: 0 34px 96px rgba(0, 0, 0, 0.52), 0 0 42px rgba(29, 102, 255, 0.16);
}

.feature-mark {
    height: 152px;
    margin-bottom: 26px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(247, 251, 255, 0.18);
    background-color: var(--blue-deep);
}

.mark-ritual {
    background:
        linear-gradient(135deg, rgba(29, 102, 255, 0.84), rgba(2, 5, 10, 0.28)),
        repeating-linear-gradient(45deg, var(--white) 0 8px, transparent 8px 20px, var(--ochre) 20px 26px, transparent 26px 40px);
}

.mark-territorio {
    background:
        linear-gradient(135deg, rgba(27, 107, 95, 0.86), rgba(7, 26, 58, 0.64)),
        repeating-linear-gradient(90deg, transparent 0 18px, rgba(126, 203, 255, 0.72) 18px 24px, transparent 24px 38px);
}

.mark-documento {
    background:
        linear-gradient(135deg, rgba(214, 164, 83, 0.78), rgba(29, 102, 255, 0.62)),
        repeating-linear-gradient(135deg, transparent 0 16px, rgba(255, 255, 255, 0.72) 16px 20px, transparent 20px 32px);
}

.feature-card h3,
.craft-card h3,
.upload-body h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.feature-card p,
.craft-card p,
.upload-body p {
    margin: 0 0 20px;
    color: var(--white-soft);
    line-height: 1.76;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-light);
    font-weight: 850;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link::after {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
    transition: width var(--speed);
}

.text-link:hover::after,
.text-link:focus-visible::after {
    width: 44px;
}

.section-artesanato {
    background:
        linear-gradient(180deg, rgba(2, 5, 10, 0.2), rgba(7, 17, 31, 0.72)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 16px, transparent 16px 32px);
}

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

.craft-card {
    position: relative;
    min-height: 312px;
    padding: 18px;
    overflow: hidden;
}

.craft-pattern {
    height: 168px;
    margin-bottom: 20px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(247, 251, 255, 0.18);
}

.pattern-one {
    background:
        repeating-linear-gradient(90deg, var(--blue) 0 18px, transparent 18px 28px),
        repeating-linear-gradient(0deg, rgba(247, 251, 255, 0.82) 0 8px, transparent 8px 22px),
        var(--ink);
}

.pattern-two {
    background:
        repeating-linear-gradient(45deg, var(--ochre) 0 12px, transparent 12px 24px),
        repeating-linear-gradient(135deg, rgba(126, 203, 255, 0.82) 0 10px, transparent 10px 22px),
        var(--blue-deep);
}

.pattern-three {
    background:
        linear-gradient(90deg, transparent 0 32%, rgba(247, 251, 255, 0.84) 32% 36%, transparent 36% 64%, rgba(247, 251, 255, 0.84) 64% 68%, transparent 68%),
        repeating-linear-gradient(135deg, var(--blue) 0 16px, transparent 16px 34px),
        var(--ink);
}

.pattern-four {
    background:
        repeating-linear-gradient(90deg, transparent 0 18px, var(--blue-light) 18px 24px, transparent 24px 42px),
        repeating-linear-gradient(0deg, var(--earth) 0 10px, transparent 10px 28px),
        var(--blue-deep);
}

.community-layout {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: 46px;
    align-items: center;
}

.community-copy {
    padding-left: 30px;
    border-left: 5px solid var(--ochre);
}

.community-copy p {
    margin-bottom: 28px;
}

.community-media {
    position: relative;
    margin: 0;
    min-height: 560px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-heavy);
}

.community-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.community-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 5, 10, 0), rgba(2, 5, 10, 0.64)),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(126, 203, 255, 0.16) 18px 20px, transparent 20px 36px);
}

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

.upload-card {
    position: relative;
    overflow: hidden;
    transition: transform var(--speed), border-color var(--speed), box-shadow var(--speed);
}

.upload-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink);
}

.upload-media img,
.admin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-card:hover .upload-media img {
    transform: scale(1.05);
}

.upload-media img {
    transition: transform 520ms ease;
}

.upload-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background:
        linear-gradient(135deg, rgba(29, 102, 255, 0.72), rgba(2, 5, 10, 0.72)),
        repeating-linear-gradient(45deg, var(--white) 0 10px, transparent 10px 22px, var(--ochre) 22px 28px, transparent 28px 42px);
}

.upload-body {
    padding: 22px 22px 30px;
}

.meta-date {
    display: block;
    margin-top: 16px;
    color: rgba(247, 251, 255, 0.56);
    font-size: 0.86rem;
}

.center-action {
    margin-top: 34px;
}

.empty-state {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 42px 30px;
    text-align: center;
}

.empty-state .btn-primary,
.empty-state .btn-outline {
    margin-top: 24px;
}

.page-hero {
    min-height: 54svh;
    display: grid;
    place-items: center;
    padding: 138px 72px 78px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(2, 5, 10, 0.36), rgba(2, 5, 10, 0.92)),
        linear-gradient(90deg, rgba(2, 5, 10, 0.82), rgba(2, 5, 10, 0.34), rgba(2, 5, 10, 0.82)),
        url("../boneca_indigena.jpeg") center / cover no-repeat;
}

.page-hero.compact {
    min-height: 42svh;
}

.page-hero-content {
    width: min(840px, 100%);
}

.page-hero h1 {
    color: var(--white);
}

.form-section {
    display: grid;
    justify-items: center;
    gap: 26px;
}

.form-panel {
    width: min(680px, 100%);
    padding: 32px;
}

.admin-form {
    width: min(460px, 100%);
}

.form-panel label {
    display: block;
    margin: 0 0 8px;
    color: var(--white);
    font-weight: 820;
}

.form-panel input,
.form-panel textarea {
    width: 100%;
    margin: 0 0 20px;
    padding: 14px 15px;
    border: 1px solid rgba(247, 251, 255, 0.18);
    border-radius: 8px;
    outline: none;
    background: rgba(2, 5, 10, 0.72);
    color: var(--white);
    transition: border-color var(--speed), box-shadow var(--speed);
}

.form-panel input:focus,
.form-panel textarea:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 4px rgba(29, 102, 255, 0.15);
}

.form-panel input::file-selector-button {
    margin-right: 12px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
}

.form-note {
    width: min(680px, 100%);
    padding: 22px 26px;
}

.form-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-light);
}

.form-note p {
    margin: 0;
    color: var(--white-soft);
    line-height: 1.7;
}

.form-back {
    margin-top: 18px;
}

.admin-section {
    padding-top: 72px;
}

.admin-list {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.admin-item {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 16px;
}

.admin-preview {
    height: 150px;
    overflow: hidden;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    background: var(--ink);
}

.admin-content h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
}

.admin-content p {
    margin: 0 0 10px;
    color: var(--white-soft);
    line-height: 1.7;
}

.admin-actions {
    display: grid;
    gap: 8px;
}

.admin-actions form {
    margin: 0;
}

.btn-admin {
    width: 128px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--white);
    font-size: 0.84rem;
}

.btn-admin.approve {
    background: #145f55;
}

.btn-admin.reject {
    background: #7e2530;
}

.btn-admin.edit {
    background: #0d3d9e;
}

.btn-admin:hover,
.btn-admin:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.site-footer {
    position: relative;
    padding: 58px 140px 42px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(2, 5, 10, 1)),
        repeating-linear-gradient(135deg, rgba(126, 203, 255, 0.07) 0 14px, transparent 14px 28px);
}

.footer-pattern {
    display: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: left;
}

.footer-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 22px rgba(29, 102, 255, 0.45));
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-brand span {
    color: var(--white-soft);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 28px 0 14px;
}

.footer-links a {
    color: var(--white-soft);
    text-decoration: none;
    font-weight: 760;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--blue-light);
}

.footer-credit {
    margin: 0 auto;
    max-width: 760px;
    color: rgba(247, 251, 255, 0.58);
    text-align: center;
    line-height: 1.7;
}

.hero-content,
.section-header,
.story-grid,
.feature-grid,
.craft-grid,
.community-layout,
.upload-grid,
.feature-card,
.craft-card,
.upload-card,
.community-copy,
.story-copy,
.empty-state {
    min-width: 0;
}

.hero h1,
.section-header h2,
.community-copy h2,
.page-hero h1,
.empty-state h2,
.feature-card h3,
.craft-card h3,
.upload-body h3,
.story-copy h3 {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.hero-lead,
.section-header p,
.community-copy p,
.story-copy p,
.feature-card p,
.craft-card p,
.upload-body p,
.empty-state p {
    overflow-wrap: break-word;
}

.reveal {
    opacity: 1;
    transform: none;
}

html.js-ready .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 760ms ease, transform 760ms ease;
}

html.js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 24px rgba(29, 102, 255, 0.46)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.78));
    }
    50% {
        filter: drop-shadow(0 0 48px rgba(126, 203, 255, 0.78)) drop-shadow(0 20px 48px rgba(0, 0, 0, 0.86));
    }
}

@media (max-width: 1120px) {
    .site-header {
        padding: 16px 34px;
    }

    .site-header.scrolled {
        padding: 12px 28px;
    }

    .hero {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero h1 {
        font-size: 4.1rem;
    }

    .hero-grafismo {
        opacity: 0.34;
    }

    .section {
        padding: 92px 38px;
    }

    .feature-grid,
    .upload-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .story-grid,
    .community-layout {
        grid-template-columns: 1fr;
    }

    .admin-item {
        grid-template-columns: 180px 1fr;
    }

    .admin-actions {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 820px) {
    .border-indigenous-left,
    .border-indigenous-right {
        display: none;
    }

    .site-header {
        padding: 12px 18px;
    }

    .site-header.scrolled {
        padding: 10px 16px;
    }

    .logo span {
        max-width: 178px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hamburger {
        display: inline-flex;
    }

    .site-nav ul {
        position: absolute;
        top: calc(100% + 8px);
        right: 18px;
        display: none;
        width: min(310px, calc(100vw - 36px));
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(2, 5, 10, 0.96);
        box-shadow: var(--shadow-heavy);
        backdrop-filter: blur(16px);
    }

    .site-nav ul.is-open {
        display: grid;
        gap: 6px;
    }

    .site-nav a {
        width: 100%;
        min-height: 44px;
    }

    .hero {
        min-height: 88svh;
        padding: 110px 18px 68px;
    }

    .hero-logo {
        width: 142px;
        height: 142px;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 1.02;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions,
    .center-action {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .hero-grafismo {
        display: none;
    }

    .section,
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section::before {
        left: 20px;
        right: 20px;
    }

    .section-header h2,
    .community-copy h2,
    .page-hero h1,
    .empty-state h2 {
        font-size: 2.4rem;
    }

    .feature-grid,
    .craft-grid,
    .upload-grid {
        grid-template-columns: 1fr;
    }

    .story-copy,
    .community-copy {
        padding-left: 18px;
    }

    .community-media {
        min-height: 380px;
    }

    .page-hero {
        min-height: 46svh;
        padding: 118px 20px 58px;
    }

    .form-panel {
        padding: 22px;
    }

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

    .admin-preview {
        height: 220px;
    }

    .btn-admin {
        width: 100%;
    }

    .footer-brand {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    body {
        background:
            linear-gradient(180deg, rgba(3, 8, 16, 0.94), rgba(2, 5, 10, 1)),
            linear-gradient(135deg, #02050a 0%, #071a3a 52%, #000 100%);
    }

    .site-header {
        gap: 10px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .logo {
        gap: 9px;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo span {
        max-width: 156px;
        font-size: 0.82rem;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .site-nav ul {
        left: 14px;
        right: 14px;
        width: auto;
    }

    .flash-stack {
        top: 74px;
        width: calc(100% - 24px);
    }

    .hero {
        min-height: auto;
        padding: 104px 14px 54px;
        background-position: center top;
    }

    .hero::after {
        height: 76px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 18px;
    }

    .eyebrow,
    .section-kicker {
        margin-bottom: 10px;
        font-size: 0.78rem;
    }

    .hero h1 {
        margin-bottom: 16px;
        font-size: 2.55rem;
        line-height: 1;
    }

    .hero-lead {
        margin-bottom: 24px;
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .btn-primary,
    .btn-outline,
    .btn-admin {
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

    .hero-tokens {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 20px;
    }

    .hero-tokens span {
        min-width: 0;
        padding: 8px 6px;
        font-size: 0.78rem;
        text-align: center;
    }

    .grafismo-divider {
        height: 18px;
        background-size: auto;
    }

    .section {
        padding: 64px 14px;
    }

    .section::before {
        left: 14px;
        right: 14px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2,
    .community-copy h2,
    .page-hero h1,
    .empty-state h2 {
        font-size: 2.05rem;
        line-height: 1.08;
    }

    .section-header p,
    .community-copy p,
    .page-hero p,
    .empty-state p {
        font-size: 0.96rem;
        line-height: 1.66;
    }

    .story-grid,
    .feature-grid,
    .craft-grid,
    .community-layout,
    .upload-grid {
        gap: 16px;
    }

    .story-copy {
        padding: 24px 0 24px 16px;
        border-left-width: 4px;
    }

    .story-copy h3 {
        font-size: 1.55rem;
    }

    .identity-strip {
        gap: 8px;
    }

    .identity-strip span {
        min-height: 52px;
        padding: 0 16px;
        border-left-width: 5px;
        border-right-width: 5px;
        font-size: 0.88rem;
    }

    .feature-card {
        min-height: auto;
        padding: 18px;
    }

    .feature-mark {
        height: 116px;
        margin-bottom: 18px;
    }

    .feature-card h3,
    .craft-card h3,
    .upload-body h3 {
        font-size: 1.32rem;
    }

    .feature-card p,
    .craft-card p,
    .upload-body p {
        margin-bottom: 16px;
        line-height: 1.62;
    }

    .craft-card {
        min-height: auto;
        padding: 14px;
    }

    .craft-pattern {
        height: 126px;
        margin-bottom: 16px;
    }

    .community-copy {
        padding-left: 16px;
        border-left-width: 4px;
    }

    .community-media {
        min-height: 300px;
    }

    .upload-media {
        aspect-ratio: 16 / 10;
    }

    .upload-body {
        padding: 18px 18px 26px;
    }

    .empty-state {
        padding: 28px 18px;
    }

    .site-footer {
        padding-top: 46px;
        padding-bottom: 34px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        text-align: center;
    }

    .footer-links a {
        padding: 9px 6px;
        border: 1px solid rgba(247, 251, 255, 0.08);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
    }
}

@media (max-width: 430px) {
    .logo span {
        max-width: 132px;
        font-size: 0.76rem;
    }

    .hero {
        padding-top: 96px;
        padding-bottom: 46px;
    }

    .hero-logo {
        width: 104px;
        height: 104px;
    }

    .hero h1 {
        font-size: 2.16rem;
    }

    .hero-lead {
        font-size: 0.92rem;
    }

    .section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .section-header h2,
    .community-copy h2,
    .page-hero h1,
    .empty-state h2 {
        font-size: 1.82rem;
    }

    .btn-primary,
    .btn-outline {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 0.88rem;
    }

    .hero-tokens span {
        font-size: 0.74rem;
    }

    .feature-mark {
        height: 104px;
    }

    .craft-pattern {
        height: 112px;
    }

    .community-media {
        min-height: 250px;
    }
}

@media (max-width: 360px) {
    .site-header {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .logo span {
        max-width: 108px;
        font-size: 0.7rem;
    }

    .hamburger {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .hero {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero h1 {
        font-size: 1.86rem;
    }

    .hero-lead {
        font-size: 0.88rem;
    }

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

    .section,
    .site-footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .section::before {
        left: 10px;
        right: 10px;
    }

    .section-header h2,
    .community-copy h2,
    .page-hero h1,
    .empty-state h2 {
        font-size: 1.62rem;
    }

    .feature-card,
    .craft-card,
    .form-panel,
    .empty-state {
        padding-left: 12px;
        padding-right: 12px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 92px;
        padding-bottom: 40px;
    }

    .hero-logo {
        width: 88px;
        height: 88px;
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: 2.35rem;
        margin-bottom: 12px;
    }

    .hero-lead {
        margin-bottom: 18px;
    }

    .hero-tokens {
        margin-top: 16px;
    }
}

/* Estilos para o Painel Administrativo Fortalecido */
.admin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.admin-badge.pendente { background: rgba(214, 164, 83, 0.85); color: var(--ink); }
.admin-badge.aprovado { background: rgba(27, 107, 95, 0.85); color: var(--white); }
.admin-badge.rejeitado { background: rgba(139, 0, 0, 0.85); color: var(--white); }

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.admin-pos {
    font-size: 0.75rem;
    color: var(--blue-light);
    font-weight: 800;
    text-transform: uppercase;
}

.reorder-controls {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.btn-reorder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    transition: background var(--speed);
}

.btn-reorder:hover {
    background: var(--blue);
    border-color: var(--blue-light);
}

.btn-admin.delete {
    background: rgba(139, 0, 0, 0.15);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.2);
}

.btn-admin.delete:hover {
    background: #8b0000;
    color: var(--white);
}

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

