/* ═══════════════════════════════════════════════════════
   S7 GROUP — OPÇÃO 1: THE MONOLITH
   Luxury Dark + Restrained Gold Accents
   Typography: Cormorant Garamond (serif) + Inter (sans)
   ═══════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
    --black:      #0a0a0a;
    --surface:    #111111;
    --surface-2:  #1a1a1a;
    --border:     rgba(255,255,255,.06);
    --border-h:   rgba(255,255,255,.12);
    --white: #f4f4de;
    --muted: #8a8a8a;
    --s7-blue: #3e77bb;
    --s7-blue-soft: rgba(62,119,187,.15);
    --s7-blue-glow: rgba(62,119,187,.08);

    --serif:  'Cormorant Garamond', Georgia, serif;
    --sans:   'Inter', -apple-system, sans-serif;

    --ease:   cubic-bezier(.16, 1, .3, 1);
    --fast:   .3s var(--ease);
    --med:    .6s var(--ease);
    --slow:   1s var(--ease);
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; background: none; border: none; color: inherit; }
::selection { background: var(--s7-blue); color: var(--black); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--s7-blue); border-radius: 2px; }

/* ── PRELOADER ──────────────────────────────────────── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
}
.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.s7-svg-logo {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(244, 244, 222, 0.2));
}

.s7-path {
    fill: transparent;
    stroke-width: 4;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawStroke 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               fillIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.2s;
}

.s7-path-white { stroke: #f4f4de; }
.s7-path-blue { stroke: #3e77bb; }

/* Adiciona o efeito "Vaporize" ao SVG quando o preloader sumir */
.preloader.is-hidden .s7-svg-logo {
    animation: vaporizeOut 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawStroke {
    to { stroke-dashoffset: 0; }
}

@keyframes fillIn {
    to { fill: currentColor; }
}

/* Fallback para preencher com as cores certas via currentColor do CSS */
.s7-path-white { color: #f4f4de; }
.s7-path-blue { color: #3e77bb; }

@keyframes vaporizeOut {
    0% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        filter: blur(30px);
        transform: scale(1.1) translateX(20px);
    }
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.heading-xl {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.heading-lg {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.01em;
}
.heading-lg em, .heading-xl em {
    font-style: italic;
    color: var(--s7-blue);
}
.body-text {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 540px;
}
.body-text + .body-text { margin-top: 1.2rem; }

.label {
    display: inline-block;
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--s7-blue);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}
.label::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 1.2rem; height: 1px;
    background: var(--s7-blue);
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 2.2rem;
    font-size: .8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .15em;
    border-radius: 0;
    transition: var(--fast);
    position: relative;
}
.btn--primary {
    background: var(--s7-blue);
    color: var(--black);
}
.btn--primary:hover {
    background: var(--white);
}
.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-h);
}
.btn--ghost:hover {
    border-color: var(--s7-blue);
    color: var(--s7-blue);
}
.btn--lg { padding: 1.1rem 3rem; font-size: .85rem; }

/* ── SECTION ────────────────────────────────────────── */
.section { padding: clamp(6rem, 12vw, 12rem) 0; }
.section + .section { border-top: 1px solid var(--border); }

/* ── HEADER ─────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 200;
    padding: 1.8rem 0;
    transition: var(--fast);
}
.header.is-scrolled {
    padding: 1rem 0;
    background: rgba(10,10,10,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__logo img { height: 28px; }
.header__nav { display: flex; gap: 2.5rem; }
.header__nav a {
    font-size: .78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    transition: var(--fast);
}
.header__nav a:hover { color: var(--white); }
.header__cta {
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--s7-blue);
    border: 1px solid var(--s7-blue);
    padding: .6rem 1.6rem;
    transition: var(--fast);
}
.header__cta:hover {
    background: var(--s7-blue);
    color: var(--black);
}

.header__menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 200;
}
.header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--fast);
}
.header__menu-btn.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.header__menu-btn.active span:nth-child(2) { opacity: 0; }
.header__menu-btn.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,.98);
    backdrop-filter: blur(10px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--fast);
}
.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}
.mobile-menu__nav a {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--white);
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .30;
    mix-blend-mode: luminosity; /* helps it blend better with dark navy */
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero__eyebrow {
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--s7-blue);
    margin-bottom: 2rem;
}
.hero__title {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.025em;
    margin-bottom: 2rem;
}
.hero__title .anim-line { display: block; overflow: hidden; }
.hero__desc {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
    position: absolute;
    bottom: 3rem;
    right: clamp(1.5rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    z-index: 2;
}
.hero__scroll span {
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--muted);
    writing-mode: vertical-rl;
}
.hero__scroll-line {
    width: 1px; height: 60px;
    background: var(--border-h);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0; width: 1px; height: 100%;
    background: var(--s7-blue);
    animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ── TRUST / MARQUEE ────────────────────────────────── */
.trust {
    padding: 1.2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
}
.trust__track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
}
.trust__track span {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--muted);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── SOBRE ──────────────────────────────────────────── */
.sobre__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}
.sobre__numbers {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.sobre__num strong {
    display: block;
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--s7-blue);
    line-height: 1;
}
.sobre__num span {
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* ── DIRETOR ────────────────────────────────────────── */
.diretor__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}
.diretor__photo {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.diretor__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.8) contrast(1.1);
    transition: filter .8s var(--ease);
}
.diretor__photo:hover img {
    filter: grayscale(0) contrast(1);
}
.diretor__role {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--muted);
    margin-bottom: 2rem;
}
.diretor__quote {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
    padding-left: 1.5rem;
    border-left: 2px solid var(--s7-blue);
    margin-bottom: 2rem;
}

/* ── ACERVO ─────────────────────────────────────────── */
.acervo__header {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    margin-bottom: 3rem;
}
.acervo__categories {
    max-width: 1440px;
    margin: 0 auto 2.5rem;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.cat-btn {
    padding: .5rem 1.4rem;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: var(--fast);
}
.cat-btn:hover, .cat-btn.active {
    border-color: var(--s7-blue);
    color: var(--s7-blue);
    background: var(--s7-blue-soft);
}

.acervo__swiper {
    width: 100%;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.acervo__swiper .swiper-slide {
    width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.acervo__swiper .swiper-slide-active {
    border-color: var(--s7-blue);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.slide-img {
    width: 100%;
    height: 440px;
    overflow: hidden;
    position: relative;
}
.slide-img__bg {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: top center;
    transition: background-position 6s ease-in-out;
}
.swiper-slide-active:hover .slide-img__bg {
    background-position: bottom center;
}
.slide-meta {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
}
.slide-meta__title {
    font-size: .8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.slide-meta__cat {
    font-size: .65rem;
    color: var(--s7-blue);
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* Acervo Controls */
.acervo__controls {
    max-width: 1440px;
    margin: 2.5rem auto 0;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    gap: 2rem;
}
.arrow-btn {
    width: 48px; height: 48px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--fast);
}
.arrow-btn:hover {
    border-color: var(--s7-blue);
    color: var(--s7-blue);
}
.arrow-btn svg { width: 18px; height: 18px; }
.slide-count {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.slide-count #curr { color: var(--white); font-size: 1.3rem; }
.slide-count .divider { margin: 0 .2rem; }

/* ── MÉTODO ─────────────────────────────────────────── */
.metodo__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: clamp(3rem, 8vw, 8rem);
}
.metodo__item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.metodo__item:first-child { border-top: 1px solid var(--border); }
.metodo__number {
    font-family: var(--serif);
    font-size: 1.8rem;
    color: var(--s7-blue);
    opacity: .5;
    flex-shrink: 0;
    width: 2.5rem;
}
.metodo__item h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: .5rem;
}
.metodo__item p {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ── CTA ────────────────────────────────────────────── */
.cta {
    border-top: none !important;
}
.cta__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta__inner::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--s7-blue-glow) 0%, transparent 70%);
    pointer-events: none;
}
.cta .heading-xl { margin-bottom: 1.5rem; position: relative; }
.cta .body-text { margin: 0 auto 2.5rem; text-align: center; }

/* ── ORBITAL TIMELINE ───────────────────────────────── */
.orbital-section {
    padding: var(--section-padding) 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.orbital-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0;
    padding: 4rem 2rem;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.orbital-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 60%, var(--s7-blue) 80%, transparent 100%);
    animation: rotateRay 6s linear infinite;
    transform-origin: center;
    z-index: -2;
}
.orbital-wrapper::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: -1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
@keyframes rotateRay {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbital-header {
    text-align: center;
    margin-bottom: 3rem;
    z-index: 10;
}
.orbital-desc {
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}
.orbital-title {
    color: var(--s7-blue);
    margin-bottom: 1rem;
}
.orbital-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: hintPulse 2.5s infinite;
}
.orbital-hint svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}
@keyframes hintPulse {
    0%, 100% { border-color: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); }
    50% { border-color: rgba(255, 255, 255, 0.4); color: var(--white); box-shadow: 0 0 10px rgba(255,255,255,0.1); }
}
.orbital-container {
    width: 100%;
    height: 500px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orbital-system {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.orbital-ring {
    position: absolute;
    width: 384px; /* w-96 */
    height: 384px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}
.orbital-core {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #3b82f6, var(--s7-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: orbPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.core-pulse-1, .core-pulse-2 {
    position: absolute;
    border-radius: 50%;
    animation: orbPing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.core-pulse-1 {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.2);
    opacity: 0.7;
}
.core-pulse-2 {
    width: 96px;
    height: 96px;
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    animation-delay: 0.5s;
}
.core-center {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
}

@keyframes orbPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes orbPing {
    75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes energyPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

/* Nodes */
.orbital-node {
    position: absolute;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.node-energy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
}
.node-energy.is-pulsing {
    animation: energyPulse 2s infinite;
}
.node-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.4);
    background: var(--black);
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}
.node-icon-wrapper svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}
.orbital-node.is-expanded .node-icon-wrapper {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
    transform: scale(1.5);
}
.orbital-node.is-related .node-icon-wrapper {
    background: rgba(255,255,255,0.5);
    color: var(--black);
    border-color: var(--white);
    animation: orbPulse 2s infinite;
}
.node-title {
    position: absolute;
    top: 48px;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}
.orbital-node.is-expanded .node-title {
    color: var(--white);
    transform: scale(1.25);
    top: 55px;
}

/* Card */
.node-card {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
    padding: 1.5rem;
    cursor: default;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    z-index: 100;
}
.orbital-node.is-expanded .node-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* Linha conectando o ícone ao card */
.node-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.5);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.card-badge {
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid transparent;
}
.badge-completed { background: var(--black); color: var(--white); border-color: var(--white); }
.badge-in-progress { background: var(--white); color: var(--black); border-color: var(--black); }
.badge-pending { background: rgba(0,0,0,0.4); color: var(--white); border-color: rgba(255,255,255,0.5); }

.card-date {
    font-family: monospace;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.card-content p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.card-energy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}
.energy-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}
.energy-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.energy-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}
.card-related {
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}
.card-related h4 {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}
.related-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.related-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    background: transparent;
    cursor: pointer;
    transition: 0.2s;
}
.related-tag:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
}
.footer__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem clamp(1.5rem, 4vw, 4rem) 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer__brand img { height: 24px; margin-bottom: 1rem; }
.footer__brand p {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.6;
}
.footer__nav {
    display: flex;
    gap: 2rem;
}
.footer__nav a {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    transition: var(--fast);
}
.footer__nav a:hover { color: var(--white); }
.footer__bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem clamp(1.5rem, 4vw, 4rem);
    border-top: 1px solid var(--border);
}
.footer__bottom span {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .05em;
}

/* ── ANIMATIONS ─────────────────────────────────────── */
.anim-fade, .anim-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--slow), transform var(--slow);
}
.anim-line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity var(--slow), transform var(--slow);
}
.anim-fade.is-visible,
.anim-reveal.is-visible,
.anim-line.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .header__nav, .header__cta { display: none; }
    .header__menu-btn { display: flex; }
    .sobre__inner,
    .diretor__inner,
    .metodo__inner {
        grid-template-columns: 1fr;
    }
    .diretor__photo { max-width: 400px; }
    .acervo__swiper .swiper-slide { width: 280px; }
    .slide-img { height: 380px; }
    
    .orbital-wrapper { padding: 3rem 1.5rem; }
    .orbital-container { height: 400px; }
    .orbital-system { transform: scale(0.85); }
}
@media (max-width: 600px) {
    .hero__actions { flex-direction: column; }
    .sobre__numbers { flex-direction: column; gap: 1.5rem; }
    .footer__inner { flex-direction: column; gap: 2rem; }
    .acervo__swiper .swiper-slide { width: 260px; }
    .slide-img { height: 340px; }
    
    .orbital-wrapper { padding: 2rem 1rem; width: 95%; overflow: hidden; }
    .orbital-container { height: 350px; }
    .orbital-system { transform: scale(0.65); }
    .orbital-hint span { font-size: 0.65rem; }
}
