@import url("home.css?v=20260508-9");
@import url("docs.css?v=20260508-1");
@import url("euvou.css?v=20260508-1");

:root {
    --paper: #fff6e8;
    --paper-strong: #f4e5d1;
    --paper-soft: #fffdf8;
    --panel: rgba(255, 252, 246, 0.88);
    --panel-strong: rgba(255, 246, 233, 0.96);
    --line: rgba(120, 82, 45, 0.18);
    --line-strong: rgba(120, 82, 45, 0.28);
    --ink: #33261f;
    --muted: #685445;
    --accent: #ff8d23;
    --accent-deep: #cd6125;
    --accent-soft: #ffd3a0;
    --earth: #7a4a30;
    --shadow-lg: 0 28px 70px rgba(97, 61, 30, 0.16);
    --shadow-md: 0 14px 34px rgba(97, 61, 30, 0.12);
    --shadow-sm: 0 10px 22px rgba(97, 61, 30, 0.08);
    --shadow-panel: 0 22px 54px rgba(97, 61, 30, 0.13);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-section: 50px;
    --header-height: 88px;
    --container: min(1160px, calc(100vw - 32px));
    --measure: 620px;
    --measure-narrow: 560px;
    --transition-base: 0.24s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 208, 143, 0.36), transparent 32%),
        radial-gradient(circle at bottom right, rgba(244, 161, 98, 0.18), transparent 28%),
        linear-gradient(180deg, #fff9ef 0%, #fff3e0 100%);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

code {
    padding: 0.12rem 0.46rem;
    border-radius: 999px;
    background: rgba(122, 74, 48, 0.08);
    font-size: 0.88em;
}

body.menu-open {
    overflow: hidden;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

button,
input {
    font: inherit;
}

button {
    border: 0;
    background: transparent;
}

main,
section[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: var(--space-section) 0;
}

.section-paper {
    position: relative;
}

.section-paper::before {
    content: "";
    position: absolute;
    inset: 26px 18px;
    border-radius: 40px;
    /* background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(120, 82, 45, 0.08); */
    z-index: -1;
}

.section-accent {
    background:
        linear-gradient(135deg, rgba(255, 140, 35, 0.08), rgba(205, 97, 37, 0.05)),
        linear-gradient(180deg, rgba(255, 249, 239, 0.96), rgba(255, 242, 223, 0.96));
}

.section-heading {
    display: grid;
    gap: 20px;
    max-width: 740px;
    margin-bottom: var(--space-xl);
}

.section-heading h2 {
    font-family: "League Spartan", sans-serif;
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.cor-branco {
    color: #fff;
}

.section-heading p:last-child {
    /* color: var(--muted); */
    font-size: 1.05rem;
    max-width: var(--measure);
    line-height: 1.72;
}

.video-feature {
    max-width: 960px;
    margin: 0 auto clamp(28px, 5vw, 56px);
}

.video-frame {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(120, 82, 45, 0.12);
    box-shadow: var(--shadow-panel);
}

.video-frame iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 22px;
    background: #000;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-deep);
    font-family: "League Spartan", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: "League Spartan", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.button-primary {
    color: #fff7ef;
    background: linear-gradient(135deg, #ff972d 0%, var(--accent-deep) 100%);
    box-shadow: 0 18px 32px rgba(205, 97, 37, 0.28);
}

.button-secondary {
    color: var(--earth);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(120, 82, 45, 0.18);
    box-shadow: var(--shadow-sm);
}

.button-ghost {
    color: var(--earth);
    background: rgba(255, 255, 255, 0.28);
    border: 1px dashed var(--line-strong);
}

.button:active {
    transform: translateY(0);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 22px 38px rgba(205, 97, 37, 0.32);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible {
    border-color: rgba(205, 97, 37, 0.28);
}

.text-link {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    color: var(--accent-deep);
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent-deep);
    color: #fff;
    transition: top 0.18s ease;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    padding: 16px 0;
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 248, 238, 0.86);
    box-shadow: 0 10px 30px rgba(78, 49, 23, 0.08);
    border-bottom: 1px solid rgba(120, 82, 45, 0.08);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 360px;
    align-items: flex-start;
}

.brand-kicker {
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
    line-height: 1.2;
}

.brand-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav > a {
    position: relative;
    padding: 10px 8px;
    border-radius: 999px;
    font-family: "League Spartan", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--muted);
    transition: color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.site-nav > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
    color: var(--earth);
    background: rgba(255, 255, 255, 0.52);
}

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

.site-nav > a.is-active {
    color: var(--earth);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
}

.nav-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(120, 82, 45, 0.14);
    color: var(--earth);
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.nav-social a:hover,
.nav-social a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 241, 224, 0.95);
    border-color: rgba(205, 97, 37, 0.32);
}

.nav-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(120, 82, 45, 0.14);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--earth);
}

.page-hero-copy {
    display: grid;
    align-content: start;
    gap: var(--space-md);
}

.page-hero-copy p {
    max-width: var(--measure);
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.72;
}

.page-hero-copy-centered {
    width: 100%;
    max-width: min(820px, 100%);
    justify-items: center;
    margin: 0 auto;
    text-align: center;
}

.page-hero-copy-centered .eyebrow,
.page-hero-copy-centered .hero-actions,
.page-hero-copy-centered .page-chip-list {
    justify-content: center;
}

.page-hero-copy-centered .eyebrow {
    justify-self: center;
}

.page-hero-copy-centered h1 {
    max-width: 12ch;
    color: var(--earth);
    font-size: clamp(3.1rem, 7vw, 5.4rem);
}

.page-hero-copy-centered p {
    max-width: 62ch;
}

.page-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(120, 82, 45, 0.14);
    box-shadow: var(--shadow-sm);
    color: var(--earth);
    font-size: 0.94rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-hero-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-hero-card,
.theme-board,
.contact-card,
.cta-panel,
.tool-panel,
.preview-frame,
.arquivo-item,
.docs-empty,
.narrative-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(120, 82, 45, 0.12);
    box-shadow: var(--shadow-panel);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.theme-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
    gap: clamp(26px, 3vw, 40px);
    align-items: center;
}

.theme-layout-editorial {
    align-items: start;
}

.editorial-intro {
    display: grid;
    gap: clamp(28px, 4vw, 38px);
}

.editorial-intro-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: center;
}

.editorial-intro-copy {
    margin-bottom: 0;
}

.editorial-intro-copy p:last-child {
    max-width: 56ch;
}

.editorial-intro-art {
    width: min(100%, 540px);
    justify-self: end;
}

.theme-board {
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 235, 0.78));
}

.theme-board img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 46px rgba(97, 61, 30, 0.13);
}

.editorial-topic-list {
    display: grid;
    gap: 24px;
}

.editorial-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.editorial-topic-item {
    display: grid;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(120, 82, 45, 0.12);
}

.editorial-topic-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.editorial-topic-item-card {
    height: 100%;
    align-content: start;
    padding: 26px 24px 28px;
    border-bottom: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 239, 0.8));
    border: 1px solid rgba(120, 82, 45, 0.1);
    box-shadow: var(--shadow-sm);
}

.editorial-topic-item-card:last-child {
    padding-bottom: 28px;
}

.editorial-topic-item h3,
.editorial-reading-block h3 {
    color: var(--earth);
    font-family: "League Spartan", sans-serif;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.editorial-topic-item p,
.editorial-reading-block p {
    color: var(--muted);
    line-height: 1.8;
}

.editorial-reading-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
}

.editorial-reading-block {
    display: grid;
    gap: 14px;
    padding-left: 22px;
    border-left: 3px solid rgba(205, 97, 37, 0.2);
}

.editorial-reading-block p + p {
    margin-top: 0;
}

.topic-grid {
    display: grid;
    align-content: stretch;
    gap: 18px;
}

.topic-card .button {
    width: fit-content;
    margin-top: 4px;
}


.topic-card {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 28px 28px 30px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 249, 240, 0.78));
    border: 1px solid rgba(120, 82, 45, 0.1);
    box-shadow: var(--shadow-sm);
}

.topic-index {
    font-family: "League Spartan", sans-serif;
    color: var(--accent-deep);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.topic-card h3,
.contact-card h2,
.cta-panel h2,
.tool-panel h2,
.docs-section h2,
.page-hero-copy h1 {
    font-family: "League Spartan", sans-serif;
    line-height: 1;
    letter-spacing: -0.04em;
}

.topic-card h3 {
    font-size: 1.55rem;
}

.topic-card p:last-child {
    color: var(--muted);
}

.theme-copy-card {
    height: 100%;
    align-content: center;
    gap: 18px;
    padding: clamp(28px, 3vw, 42px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 236, 0.84));
}

.theme-copy-card h3 {
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 0.96;
}

.theme-copy-card p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.78;
}

.theme-copy-card .button {
    margin-top: 10px;
}

.dual-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.docs-section h2,
.tool-panel h2,
.contact-card h2,
.cta-panel h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 18px;
}

.cta-panel p,
.contact-card p,
.tool-panel p {
    color: var(--muted);
    max-width: var(--measure);
}

.cta-panel,
.contact-card,
.tool-panel,
.docs-empty {
    padding: 34px;
}

.cta-panel,
.contact-card,
.tool-panel,
.docs-empty,
.page-hero-card,
.arquivo-item,
.narrative-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 239, 0.76));
}

.cta-panel {
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 100%;
}

.cta-panel .button {
    width: fit-content;
    margin-top: 6px;
}

.cta-panel-primary {
    background: linear-gradient(180deg, rgba(255, 247, 235, 0.96), rgba(255, 236, 212, 0.86));
}

.cta-panel-secondary {
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 246, 233, 0.9));
}

.contact-card {
    display: grid;
    align-content: start;
    gap: 24px;
}

.site-footer {
    padding: 64px 0 30px;
    background:
        linear-gradient(180deg, rgba(114, 68, 42, 0.98), rgba(63, 39, 27, 0.99)),
        radial-gradient(circle at top right, rgba(255, 177, 93, 0.12), transparent 22%);
    color: rgba(255, 244, 232, 0.88);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.78fr));
    gap: clamp(28px, 1vw, 48px);
    padding-bottom: 32px;
}

.footer-title {
    font-family: "League Spartan", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff7ef;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 244, 232, 0.1);
}

.footer-description {
    margin-top: 8px;
    margin-bottom: 8px;
    max-width: 34ch;
    color: rgba(255, 244, 232, 0.74);
    line-height: 1.7;
}

.footer-heading {
    font-family: "League Spartan", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffcc94;
}

.footer-links {
    display: grid;
    gap: 12px;
    font-family: "League Spartan", sans-serif;
    font-size: 1rem;
}

.footer-links a,
.footer-info p {
    color: rgba(255, 244, 232, 0.82);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 244, 232, 0.12);
    color: #fff1de;
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.footer-social a:hover,
.footer-social a:focus-visible {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 204, 148, 0.28);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 244, 232, 0.14);
    font-size: 0.94rem;
}

.page-hero {
    padding: calc(var(--header-height) + 56px) 0 var(--space-xl);
}

.page-hero-simple {
    padding-bottom: clamp(48px, 7vw, 88px);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
}

.page-hero-simple .page-hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
}

.page-hero-copy {
    max-width: 580px;
}

.page-hero-copy h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
}

.page-hero-card {
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.page-hero-card img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(97, 61, 30, 0.12);
}

.page-hero-portrait {
    max-height: 760px;
    object-fit: cover;
    object-position: center top;
}

.narrative-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.narrative-card {
    padding: 32px;
}

.narrative-card h3 {
    margin-bottom: 14px;
    color: var(--earth);
    font-family: "League Spartan", sans-serif;
    font-size: 1.55rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.narrative-card p {
    color: var(--muted);
}

.narrative-card p + p {
    margin-top: 14px;
}

.site-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1400;
    padding: 14px 20px;
    border-radius: 999px;
    background: rgba(51, 38, 31, 0.94);
    color: #fff6e8;
    box-shadow: var(--shadow-md);
    transform: translate(-50%, 18px);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal="left"] {
    transform: translateX(-28px);
}

[data-reveal="right"] {
    transform: translateX(28px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.topic-card:hover,
.metric-card:hover,
.history-card:hover,
.cta-panel:hover,
.contact-card:hover,
.tool-panel:hover,
.arquivo-item:hover,
.docs-empty:hover,
.theme-board:hover,
.narrative-card:hover,
.preview-frame:hover,
.page-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(97, 61, 30, 0.14);
    border-color: rgba(205, 97, 37, 0.18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(205, 97, 37, 0.28);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .theme-layout,
    .dual-cta,
    .page-hero-grid,
    .narrative-layout,
    .editorial-intro-hero,
    .editorial-topic-grid,
    .editorial-reading-grid {
        grid-template-columns: 1fr;
    }

    .editorial-intro-art {
        justify-self: center;
    }

    .page-hero-copy {
        order: 2;
    }

    .page-hero-card {
        order: 1;
    }

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

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: calc(var(--header-height) - 8px);
        right: 16px;
        width: min(320px, calc(100vw - 32px));
        padding: 18px;
        display: grid;
        gap: 10px;
        align-items: start;
        background: rgba(255, 248, 238, 0.96);
        border: 1px solid rgba(120, 82, 45, 0.12);
        border-radius: 26px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
        backdrop-filter: blur(16px);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav > a {
        padding: 10px 6px;
    }

    .nav-social {
        margin-left: 0;
        padding-top: 8px;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: 78px;
    }

    .section {
        padding: 76px 0;
    }

    .page-hero-copy {
        gap: 20px;
    }

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

    .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-copy {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    :root {
        --container: min(1160px, calc(100vw - 32px));
        --header-height: 72px;
    }

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

    .brand-title {
        font-size: 1.08rem;
    }

    .page-hero-copy h1 {
        font-size: clamp(2.6rem, 18vw, 4.3rem);
    }

    .page-hero-card {
        padding: 18px;
    }

    .hero-card,
    .contact-card,
    .cta-panel,
    .tool-panel,
    .preview-frame,
    .arquivo-item,
    .docs-empty,
    .theme-board,
    .sponsors-shell,
    .narrative-card,
    .video-frame,
    .programacao-static-card,
    .programacao-content {
        border-radius: 24px;
    }

    .topic-card,
    .metric-card,
    .history-card-body,
    .editorial-topic-item-card {
        padding: 24px;
    }

    .sponsors-heading {
        margin-bottom: 0;
    }

    .sponsors-shell {
        padding: 22px 18px;
    }

    .sponsors-row {
        padding-bottom: 8px;
    }

    .cta-panel,
    .contact-card,
    .tool-panel,
    .docs-empty,
    .narrative-card {
        padding: 24px;
    }

    .hero-motif-cross {
        width: 100px;
    }

    .hero-motif-houses {
        width: 154px;
    }

    .preview-placeholder {
        font-size: 1.05rem;
    }

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

    .history-card img,
    .history-card-featured img {
        height: 240px;
    }

    .evento-card {
        padding: 14px;
    }

    .evento-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .evento-body h4 {
        font-size: 1.05rem;
    }

    .footer-brand {
        align-items: center;
    }
}
