﻿/* ===========================
   AX THEME
=========================== */

.ax-theme {
    background: radial-gradient(circle at top,#04070f,#010208);
    color: #d7dbe7;
    font-family: Georgia,"Times New Roman",serif;
    cursor: crosshair;
    margin: 0;
    padding: 40px 0;
}


/* article continua geral */

article {
    padding: 0 15px;
}


/* ===========================
DOCUMENTO AX
=========================== */

.ax-theme .container {
    max-width: 920px;
    margin: auto;
    background: linear-gradient(180deg,#0a1020,#060a14);
    padding: 55px;
    border: 1px solid rgba(160,170,210,.25);
    position: relative;
}


/* selo observador */

.ax-theme .holographic-seal {
    position: absolute;
    top: -20px;
    right: -35px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(170,180,220,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    color: #b7c1e6;
    background: radial-gradient(circle, rgba(160,170,210,.12), transparent);
}


/* ===========================
TEXTOS
=========================== */

.ax-theme h1 {
    text-align: center;
    letter-spacing: 3px;
    color: #cbd3f5;
    margin-bottom: 6px;
}

.ax-theme h2 {
    text-align: center;
    color: #9faad1;
    margin-top: 0;
    letter-spacing: 2px;
}

.ax-theme .meta {
    border-top: 1px solid rgba(170,180,220,.3);
    border-bottom: 1px solid rgba(170,180,220,.3);
    margin: 35px 0;
    padding: 15px 0;
    line-height: 1.8;
    font-size: 15px;
}

.ax-theme p {
    font-size: 18px;
    line-height: 1.85;
    margin: 18px 0;
}


/* ===========================
REDACTED
=========================== */

.ax-theme .redacted {
    display: inline-block;
    background: #060a14;
    color: transparent;
    border-bottom: 1px dashed rgba(160,170,210,.25);
    padding: 0 .4em;
    margin: 0 .1em;
    border-radius: 2px;
    user-select: none;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    min-width: 6em;
    transition: .25s ease;
}

    .ax-theme .redacted:hover {
        filter: blur(8px);
    }


/* ===========================
BLOCKQUOTE
=========================== */

.ax-theme blockquote {
    border-left: 4px solid #9faad1;
    background: #0b1224;
    margin: 35px 15px;
    padding: 25px;
    font-style: italic;
}


/* ===========================
FOOTER
=========================== */

.ax-theme .footer {
    text-align: center;
    margin-top: 35px;
    font-size: 13px;
    letter-spacing: 3px;
    color: #7f89a6;
}


/* ===========================
HEADER UNIVERSAL
=========================== */

.main-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.header-inner {
    max-width: 920px;
    width: 100%;
    padding: 0 55px;
    box-sizing: border-box;
}

.language-switch {
    font-size: 12px;
    letter-spacing: 2px;
    color: #7f89a6;
    margin-bottom: 20px;
    opacity: .75;
}

    .language-switch a {
        color: #9faad1;
        text-decoration: none;
        margin: 0 6px;
        transition: .25s;
    }

        .language-switch a:hover {
            color: #d7dbe7;
        }

.site-title {
    text-align: center;
    margin: 0;
    letter-spacing: 3px;
    margin-bottom: 8px;
}


/* ===========================
AX EFFECTS
=========================== */

.ax-glitch {
    animation: axScan .28s ease;
}

@keyframes axScan {

    0% {
        opacity: .45;
        filter: blur(3px);
        transform: scale(.997);
    }

    40% {
        opacity: .8;
        filter: brightness(1.4);
    }

    100% {
        opacity: 1;
        filter: none;
        transform: scale(1);
    }
}


.ax-seal-pulse {
    animation: axSealPulse .35s ease;
}

@keyframes axSealPulse {

    0% {
        transform: scale(.92);
        opacity: .6;
        filter: brightness(1.5);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(2);
        box-shadow: 0 0 25px rgba(170,180,220,.35);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: none;
    }
}


/* ===========================
CURSOR DESKTOP
=========================== */

@media(pointer:fine) {

    .ax-theme {
        cursor: crosshair;
    }
}


/* ===========================
   SEKVEN​S GOLD THEME — 7781A
=========================== */

.sekvens-gold-theme {
    background: radial-gradient(circle at top,#050810,#02040a);
    color: #e9e4d0;
    font-family: Georgia,"Times New Roman",serif;
    margin: 0;
    padding: 40px 0;
}


    /* documento */

    .sekvens-gold-theme .container {
        max-width: 920px;
        margin: auto;
        background: linear-gradient(180deg,#0d1424,#0a0f1c);
        padding: 55px;
        border: 1px solid rgba(212,175,55,.25);
        position: relative;
        animation: brilhoSekvens 8s infinite ease-in-out;
    }


    /* selo */

    .sekvens-gold-theme .holographic-seal {
        position: absolute;
        top: -20px;
        right: -35px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 2px solid rgba(212,175,55,.5);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 11px;
        letter-spacing: 2px;
        color: #d4af37;
        background: radial-gradient(circle, rgba(212,175,55,.12), transparent);
        animation: seloPulse 6s infinite ease-in-out;
    }


    /* títulos */

    .sekvens-gold-theme h1 {
        text-align: center;
        color: #f0d98a;
        letter-spacing: 3px;
        margin-bottom: 6px;
    }

    .sekvens-gold-theme h2 {
        text-align: center;
        margin-top: 0;
        color: #ceb876;
        letter-spacing: 2px;
        font-size: 20px;
    }


    /* meta */

    .sekvens-gold-theme .meta {
        border-top: 1px solid rgba(212,175,55,.4);
        border-bottom: 1px solid rgba(212,175,55,.4);
        margin: 35px 0;
        padding: 15px 0;
        font-size: 15px;
        line-height: 1.8;
    }


    /* texto */

    .sekvens-gold-theme p {
        font-size: 18px;
        line-height: 1.85;
        margin: 18px 0;
    }


    /* blockquote */

    .sekvens-gold-theme blockquote {
        border-left: 4px solid #d4af37;
        background: #10182b;
        margin: 35px 15px;
        padding: 25px 28px;
        font-style: italic;
    }


    /* footer */

    .sekvens-gold-theme .footer {
        text-align: center;
        margin-top: 30px;
        font-size: 13px;
        letter-spacing: 3px;
        color: #8f8459;
    }


    /* assinatura */

    .sekvens-gold-theme .assinatura {
        margin-top: 60px;
        border-top: 1px solid rgba(212,175,55,.4);
        padding-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        color: #bba96a;
    }


    /* links diplomáticos */

    .sekvens-gold-theme .archive-link {
        text-decoration: none;
        color: #d4af37;
        letter-spacing: 2px;
        font-size: 14px;
        transition: .3s;
    }

        .sekvens-gold-theme .archive-link:hover {
            color: #fff1b5;
            text-shadow: 0 0 12px rgba(212,175,55,.9);
        }


/* brilho documento */

@keyframes brilhoSekvens {

    0% {
        box-shadow: 0 0 20px rgba(212,175,55,0.05);
    }

    50% {
        box-shadow: 0 0 45px rgba(212,175,55,0.25);
    }

    100% {
        box-shadow: 0 0 20px rgba(212,175,55,0.05);
    }
}


/* selo pulse */

@keyframes seloPulse {

    0% {
        opacity: .7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: .7;
        transform: scale(1);
    }
}

/* ===========================
   MICROTIPOGRAFIA MULTILÍNGUE
   (colar no fim do CSS)
=========================== */

/* Melhor renderização geral */
.ax-theme, .sekvens-gold-theme {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-kerning: normal;
}

    /* Ritmo editorial: títulos e corpo */
    .ax-theme h1, .sekvens-gold-theme h1 {
        line-height: 1.15;
    }

    .ax-theme h2, .sekvens-gold-theme h2 {
        line-height: 1.25;
    }

    .ax-theme p, .sekvens-gold-theme p {
        hanging-punctuation: first last; /* melhora aspas/pontuação em EN (quando suportado) */
    }

/* -------- PT/EN (latino) -------- */
html[lang="pt"] .ax-theme p,
html[lang="en"] .ax-theme p,
html[lang="pt"] .sekvens-gold-theme p,
html[lang="en"] .sekvens-gold-theme p {
    letter-spacing: 0.2px; /* quase imperceptível; dá solenidade */
    line-height: 1.9; /* ligeiro ganho editorial */
}

/* Em EN, melhora legibilidade com hífen e quebra */
html[lang="en"] .ax-theme p,
html[lang="en"] .sekvens-gold-theme p {
    hyphens: auto;
    overflow-wrap: break-word;
}

/* -------- JP (ideográfico) -------- */
html[lang="ja"] .ax-theme,
html[lang="ja"] .sekvens-gold-theme {
    /* stack japonês (sem framework), mantendo “oficial” */
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "Noto Serif JP", "MS Mincho", Georgia, "Times New Roman", serif;
}

    /* JP precisa de mais ar e menos “tracking” ocidental */
    html[lang="ja"] .ax-theme p,
    html[lang="ja"] .sekvens-gold-theme p {
        line-height: 2.05; /* JP respira melhor */
        letter-spacing: 0.03em; /* leve, sem virar “cartaz” */
        word-spacing: normal; /* JP não usa espaçamento de palavra */
    }

    /* JP: meta e selo ficam mais limpos com tracking menor */
    html[lang="ja"] .ax-theme .meta,
    html[lang="ja"] .sekvens-gold-theme .meta,
    html[lang="ja"] .ax-theme .holographic-seal,
    html[lang="ja"] .sekvens-gold-theme .holographic-seal {
        letter-spacing: 0.06em;
    }

    html[lang="ja"] .ax-theme h1 {
        letter-spacing: 0.12em;
    }

/* JP: container um pouco mais estreito melhora leitura */
@media (min-width: 900px) {
    html[lang="ja"] .ax-theme .container,
    html[lang="ja"] .sekvens-gold-theme .container {
        max-width: 860px;
    }
}
