
/* =========================================================
   ARTFIGHT — NOSSA HISTÓRIA
   Identidade visual: preto, laranja e branco
   ========================================================= */

:root {
    --historia-black: #050505;
    --historia-black-soft: #0b0b0b;
    --historia-card: #101010;
    --historia-orange: #FF6600;
    --historia-orange-light: #ff8533;
    --historia-white: #ffffff;
    --historia-gray: #b7b7b7;
    --historia-border: rgba(255, 255, 255, 0.1);
    --historia-orange-border: rgba(255, 102, 0, 0.35);
    --historia-container: 1000px;
    --historia-transition: 250ms ease;
}

/* BASE */
.historia {
    width: 100%;
    overflow: hidden;
    background: var(--historia-black);
    color: var(--historia-white);
}

.historia *,
.historia *::before,
.historia *::after {
    box-sizing: border-box;
}

.historia h1,
.historia h2,
.historia h3,
.historia p {
    margin-top: 0;
}

.historia h1,
.historia h2,
.historia h3 {
    color: var(--historia-white);
    line-height: 1.2;
}

.historia p {
    color: var(--historia-gray);
    line-height: 1.9;
}

/* HERO */
.historia-hero {
    position: relative;
    display: flex;
    min-height: 340px;
    align-items: center;
    padding: 85px 24px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            ellipse at 78% 50%,
            rgba(255, 102, 0, 0.15) 0%,
            rgba(255, 102, 0, 0.045) 32%,
            transparent 65%
        ),
        linear-gradient(
            115deg,
            #050505 0%,
            #0a0a0a 58%,
            #100b07 100%
        );
}

.historia-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 46px 46px;
    mask-image: linear-gradient(
        90deg,
        transparent,
        black 35%,
        black
    );
    pointer-events: none;
}

.historia-hero::after {
    position: absolute;
    top: 12%;
    right: 0;
    width: 5px;
    height: 76%;
    background: #FF6600;
    box-shadow: 0 0 35px rgba(255, 102, 0, 0.35);
    content: "";
}

.historia-hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 28px;
    border-left: 3px solid #FF6600;
}

/* NOME DA ESCOLA — LARANJA VIVO */
.historia-hero__marca {
    margin-bottom: 22px;
    color: #FF6600 !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.6;
    text-transform: uppercase;
}

/* TÍTULO PRINCIPAL */
.historia-hero h1 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(48px, 7.5vw, 88px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.05;
}

.historia-hero h1 span {
    color: #FF6600 !important;
}

.historia-hero__linha {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: min(520px, 65%);
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #FF6600,
        transparent
    );
    opacity: 0.8;
}

/* CONTEÚDO HISTÓRICO */
.historia-conteudo {
    position: relative;
    padding: 75px 24px 100px;
    background:
        radial-gradient(
            ellipse at 0% 10%,
            rgba(255, 102, 0, 0.045),
            transparent 38%
        ),
        #050505;
}

.historia-conteudo__container {
    width: 100%;
    max-width: var(--historia-container);
    margin: 0 auto;
}

/* TEXTO HISTÓRICO */
.historia-texto {
    position: relative;
    padding: 44px 48px;
    border: 1px solid var(--historia-border);
    border-radius: 5px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            transparent 40%
        ),
        var(--historia-black-soft);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.historia-texto::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        180deg,
        #FF6600,
        rgba(255, 102, 0, 0.08)
    );
    content: "";
}

.historia-texto p {
    margin-bottom: 25px;
    color: var(--historia-gray);
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: break-word;
}

.historia-texto p:last-child {
    margin-bottom: 0;
}

/* TABLETS */
@media (max-width: 900px) {
    .historia-hero {
        min-height: 300px;
        padding: 75px 24px;
    }

    .historia-conteudo {
        padding: 65px 24px 80px;
    }

    .historia-texto {
        padding: 36px 34px;
    }
}

/* CELULARES */
@media (max-width: 650px) {
    .historia-hero {
        min-height: 250px;
        padding: 65px 20px;
    }

    .historia-hero__container {
        padding-left: 20px;
    }

    .historia-hero__marca {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 1.4px;
        color: #FF6600 !important;
    }

    .historia-hero h1 {
        font-size: clamp(42px, 11vw, 60px);
        letter-spacing: -1.8px;
    }

    .historia-conteudo {
        padding: 50px 18px 65px;
    }

    .historia-texto {
        padding: 29px 23px;
        border-radius: 3px;
    }

    .historia-texto p {
        margin-bottom: 21px;
        font-size: 14px;
        line-height: 1.9;
    }
}

/* CELULARES PEQUENOS */
@media (max-width: 380px) {
    .historia-hero {
        padding: 55px 16px;
    }

    .historia-hero__container {
        padding-left: 16px;
    }

    .historia-hero__marca {
        font-size: 9px;
        letter-spacing: 1px;
        color: #FF6600 !important;
    }

    .historia-hero h1 {
        font-size: 39px;
        letter-spacing: -1.4px;
    }

    .historia-conteudo {
        padding-right: 14px;
        padding-left: 14px;
    }

    .historia-texto {
        padding: 25px 19px;
    }

    .historia-texto p {
        font-size: 13px;
    }
}

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