/* =========================================================
   ARTFIGHT — PÁGINA INICIAL
   Identidade visual: preto, laranja e branco
   Arquivo: _global/css/inicio/inicio.css
   ========================================================= */

/* =========================================================
   VARIÁVEIS E BASE
   ========================================================= */

:root {
    --home-black: #050505;
    --home-black-soft: #0b0b0b;
    --home-card: #101010;
    --home-card-hover: #151515;
    --home-orange: #ff6600;
    --home-orange-light: #ff8533;
    --home-white: #ffffff;
    --home-gray: #b7b7b7;
    --home-border: rgba(255, 255, 255, 0.09);
    --home-orange-border: rgba(255, 102, 0, 0.3);
    --home-container: 1200px;
    --home-radius: 14px;
    --home-transition: 250ms ease;
}

.home {
    width: 100%;
    overflow: hidden;
    background: var(--home-black);
    color: var(--home-white);
}

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

.home section {
    position: relative;
    width: 100%;
    padding: 100px 24px;
    scroll-margin-top: 90px;
}

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

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

.home p {
    color: var(--home-gray);
    line-height: 1.8;
}

.home a {
    transition:
        color var(--home-transition),
        background-color var(--home-transition),
        border-color var(--home-transition),
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.home section > div {
    margin-right: auto;
    margin-left: auto;
}

.home-hero__container,
.home-intro__container,
.home-modalidades__container,
.home-taekwondo__container,
.home-krav-maga__container,
.home-cta__container,
.home-contact__container {
    width: 100%;
    max-width: var(--home-container);
}

/* =========================================================
   ELEMENTOS COMPARTILHADOS
   ========================================================= */

.home-section__eyebrow,
.home-hero__eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--home-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.6;
    text-transform: uppercase;
}

.home-section__eyebrow::before {
    display: inline-block;
    width: 25px;
    height: 2px;
    margin: 0 10px 4px 0;
    background: var(--home-orange);
    content: "";
}

.home .button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.home .button--primary {
    border-color: var(--home-orange);
    background: var(--home-orange);
    color: var(--home-black);
}

.home .button--primary:hover {
    transform: translateY(-3px);
    border-color: var(--home-orange-light);
    background: var(--home-orange-light);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.22);
}

.home .button--secondary {
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--home-white);
}

.home .button--secondary:hover {
    transform: translateY(-3px);
    border-color: var(--home-orange);
    color: var(--home-orange);
}

/* =========================================================
   HERO
   ========================================================= */

.home-hero {
    display: flex;
    min-height: 650px;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 120px;
    isolation: isolate;
    background:
        radial-gradient(
            ellipse at 82% 42%,
            rgba(255, 102, 0, 0.13) 0%,
            rgba(255, 102, 0, 0.035) 30%,
            transparent 62%
        ),
        linear-gradient(
            115deg,
            #050505 0%,
            #0a0a0a 55%,
            #100b07 100%
        );
}

.home-hero::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(
        90deg,
        transparent,
        black 65%,
        black
    );
    pointer-events: none;
}

.home-hero::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent,
        var(--home-orange) 30%,
        var(--home-orange) 70%,
        transparent
    );
    content: "";
    opacity: 0.8;
}

.home-hero__container {
    position: relative;
    z-index: 1;
}

.home-hero__eyebrow {
    padding: 9px 14px;
    border: 1px solid var(--home-orange-border);
    border-radius: 4px;
    background: rgba(255, 102, 0, 0.06);
}

.home-hero h1 {
    max-width: 850px;
    margin-bottom: 26px;
    font-size: clamp(42px, 6.5vw, 78px);
    font-weight: 900;
    letter-spacing: -2.5px;
}

.home-hero h1::first-line {
    color: var(--home-white);
}

.home-hero__container > p {
    max-width: 660px;
    margin-bottom: 34px;
    font-size: clamp(16px, 1.7vw, 19px);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================================================
   APRESENTAÇÃO
   ========================================================= */

.home-intro {
    background: var(--home-black);
}

.home-intro__container {
    max-width: 900px;
    text-align: center;
}

.home-intro h2 {
    margin-bottom: 28px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1px;
}

.home-intro p {
    margin-bottom: 18px;
    font-size: 16px;
}

.home-intro p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   MODALIDADES
   ========================================================= */

.home-modalidades {
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(255, 102, 0, 0.065),
            transparent 55%
        ),
        #0a0a0a;
}

.home-modalidades__container > h2 {
    margin-bottom: 48px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1px;
}

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

.home-modalidade {
    position: relative;
    display: flex;
    min-height: 350px;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: linear-gradient(
        145deg,
        #141414,
        #0b0b0b
    );
    transition:
        border-color var(--home-transition),
        background-color var(--home-transition),
        transform var(--home-transition),
        box-shadow var(--home-transition);
}

.home-modalidade::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 70px;
    background: var(--home-orange);
    content: "";
    transition: height var(--home-transition);
}

.home-modalidade::after {
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 102, 0, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-modalidade:hover {
    transform: translateY(-6px);
    border-color: var(--home-orange-border);
    background: var(--home-card-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.home-modalidade:hover::before {
    height: 100%;
    opacity: 0.7;
}

.home-modalidade__number {
    margin-bottom: 28px;
    color: var(--home-orange);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
}

.home-modalidade h3 {
    margin-bottom: 12px;
    font-size: clamp(22px, 2.5vw, 29px);
    font-weight: 900;
}

.home-modalidade__subtitle {
    display: block;
    margin-bottom: 20px;
    color: var(--home-orange-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.home-modalidade p {
    margin-bottom: 25px;
    font-size: 14px;
}

.home-modalidade > a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    color: var(--home-orange);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.home-modalidade > a::after {
    content: "→";
    font-size: 19px;
    transition: transform var(--home-transition);
}

.home-modalidade > a:hover {
    color: var(--home-white);
}

.home-modalidade > a:hover::after {
    transform: translateX(5px);
}

.home-modalidades__actions {
    margin-top: 42px;
    padding: 30px;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.home-modalidades__actions > p {
    margin-bottom: 20px;
    color: var(--home-white);
    font-size: 16px;
    font-weight: 700;
}

.home-modalidades__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* =========================================================
   TAEKWONDO
   ========================================================= */

.home-taekwondo {
    background: var(--home-black);
}

.home-taekwondo__container > h2,
.home-krav-maga__container > h2 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(31px, 4.3vw, 48px);
    font-weight: 900;
    letter-spacing: -1.3px;
}

.home-taekwondo__container > p,
.home-krav-maga__container > p {
    max-width: 800px;
    margin-bottom: 44px;
    font-size: 16px;
}

.home-taekwondo__grid,
.home-krav-maga__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-feature {
    position: relative;
    min-width: 0;
    padding: 28px 24px;
    border: 1px solid var(--home-border);
    border-radius: 10px;
    background: var(--home-card);
    transition:
        transform var(--home-transition),
        border-color var(--home-transition),
        background-color var(--home-transition);
}

.home-feature::before {
    display: block;
    width: 32px;
    height: 3px;
    margin-bottom: 24px;
    background: var(--home-orange);
    content: "";
    transition: width var(--home-transition);
}

.home-feature:hover {
    transform: translateY(-5px);
    border-color: var(--home-orange-border);
    background: var(--home-card-hover);
}

.home-feature:hover::before {
    width: 58px;
}

.home-feature h3 {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 800;
}

.home-feature p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.8;
}

.home-section__action {
    margin-top: 38px;
}

/* =========================================================
   KRAV MAGA
   ========================================================= */

.home-krav-maga {
    background:
        radial-gradient(
            ellipse at 100% 50%,
            rgba(255, 102, 0, 0.07),
            transparent 45%
        ),
        #0a0a0a;
}

.home-krav-maga .home-feature {
    background: rgba(16, 16, 16, 0.88);
}

/* =========================================================
   CHAMADA FINAL
   ========================================================= */

.home-cta {
    overflow: hidden;
    background:
        linear-gradient(
            110deg,
            rgba(255, 102, 0, 0.12),
            rgba(255, 102, 0, 0.025) 55%,
            transparent
        ),
        #101010;
    text-align: center;
}

.home-cta::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(600px, 90%);
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        var(--home-orange),
        transparent
    );
    content: "";
}

.home-cta__container {
    max-width: 850px;
}

.home-cta h2 {
    margin-bottom: 22px;
    font-size: clamp(34px, 5vw, 55px);
    font-weight: 900;
    letter-spacing: -1.5px;
}

.home-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 16px;
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* =========================================================
   CONTATO
   ========================================================= */

.home-contact {
    background: var(--home-black);
}

.home-contact__container > h2 {
    margin-bottom: 44px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1px;
}

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

.home-contact__item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: var(--home-card);
    transition:
        transform var(--home-transition),
        border-color var(--home-transition);
}

.home-contact__item:hover {
    transform: translateY(-4px);
    border-color: var(--home-orange-border);
}

.home-contact__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 24px;
    border: 1px solid var(--home-orange-border);
    border-radius: 5px;
    color: var(--home-orange);
    font-size: 12px;
    font-weight: 900;
}

.home-contact__item strong {
    display: block;
    margin-bottom: 14px;
    color: var(--home-white);
    font-size: 19px;
    font-weight: 800;
}

.home-contact__value {
    display: block;
    min-height: 50px;
    margin-bottom: 22px;
    color: var(--home-gray);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-decoration: none;
}

a.home-contact__value:hover {
    color: var(--home-orange);
}

.home-contact__item > .button {
    width: 100%;
    margin-top: auto;
}

/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 1000px) {
    .home section {
        padding: 80px 24px;
    }

    .home-hero {
        min-height: 560px;
    }

    .home-taekwondo__grid,
    .home-krav-maga__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .home-contact__item:last-child {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   CELULARES
   ========================================================= */

@media (max-width: 650px) {
    .home section {
        padding: 64px 20px;
    }

    .home-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 95px;
    }

    .home-hero h1 {
        font-size: clamp(36px, 10vw, 52px);
        letter-spacing: -1.5px;
    }

    .home-hero__eyebrow {
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .home-hero__container > p {
        font-size: 15px;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .button {
        width: 100%;
    }

    .home-section__eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .home-intro h2,
    .home-modalidades__container > h2,
    .home-taekwondo__container > h2,
    .home-krav-maga__container > h2,
    .home-contact__container > h2 {
        font-size: 31px;
        letter-spacing: -0.7px;
    }

    .home-intro p,
    .home-taekwondo__container > p,
    .home-krav-maga__container > p {
        font-size: 14px;
    }

    .home-modalidades__grid,
    .home-taekwondo__grid,
    .home-krav-maga__grid,
    .home-contact__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-modalidade {
        min-height: 0;
        padding: 28px 25px;
    }

    .home-modalidade h3 {
        font-size: 23px;
    }

    .home-modalidades__container > h2 {
        margin-bottom: 32px;
    }

    .home-modalidades__actions {
        padding: 24px 18px;
    }

    .home-modalidades__buttons,
    .home-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-modalidades__buttons .button,
    .home-cta__actions .button {
        width: 100%;
    }

    .home-feature {
        padding: 25px;
    }

    .home-feature h3 {
        font-size: 18px;
    }

    .home-contact__item {
        padding: 26px;
    }

    .home-contact__item:last-child {
        grid-column: auto;
    }

    .home-contact__value {
        min-height: auto;
    }

    .home-cta h2 {
        font-size: 35px;
        letter-spacing: -0.8px;
    }

    .home-cta p {
        font-size: 14px;
    }
}

/* =========================================================
   CELULARES PEQUENOS
   ========================================================= */

@media (max-width: 380px) {
    .home section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-hero h1 {
        font-size: 34px;
    }

    .home-modalidade,
    .home-feature,
    .home-contact__item {
        padding: 22px;
    }

    .home .button {
        padding: 12px 16px;
        font-size: 12px;
    }
}

/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

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