/* =========================================================
   SGSA — ORDENS
   ========================================================= */

:root {
    --gold: #d7a33d;
    --gold-light: #f0c66b;
    --gold-pale: #f6d991;

    --wine: #721b20;
    --wine-dark: #430d14;

    --purple: #17091f;
    --purple-light: #2a1235;

    --black: #090706;
    --text: #f7f0e8;
    --muted: #bdb3ac;

    --menu-height: 82px;
    --max-width: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}


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

.ordens-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.light-beam {
    position: absolute;

    width: 55vw;
    height: 18vh;

    opacity: .08;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(215,163,61,.8),
        transparent
    );

    filter: blur(50px);
    transform: rotate(-17deg);

    animation: driftLight 20s ease-in-out infinite;
}

.light-beam-1 {
    top: 12%;
    left: -25%;
}

.light-beam-2 {
    top: 58%;
    right: -30%;
    animation-delay: -10s;
    animation-duration: 27s;
}

.particle {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--gold-light);
    box-shadow: 0 0 10px rgba(240,198,107,.85);

    opacity: 0;

    animation: floatParticle 12s ease-in-out infinite;
}

.p1  { left: 7%;  top: 78%; animation-delay: -1s; }
.p2  { left: 15%; top: 25%; animation-delay: -7s; animation-duration: 15s; }
.p3  { left: 28%; top: 72%; animation-delay: -4s; }
.p4  { left: 39%; top: 17%; animation-delay: -9s; animation-duration: 14s; }
.p5  { left: 51%; top: 82%; animation-delay: -3s; animation-duration: 13s; }
.p6  { left: 64%; top: 26%; animation-delay: -6s; animation-duration: 16s; }
.p7  { left: 76%; top: 73%; animation-delay: -10s; }
.p8  { left: 84%; top: 19%; animation-delay: -5s; animation-duration: 15s; }
.p9  { left: 91%; top: 59%; animation-delay: -8s; animation-duration: 13s; }
.p10 { left: 46%; top: 49%; animation-delay: -11s; animation-duration: 17s; }


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

.orders-hero {
    position: relative;
    z-index: 1;

    min-height: 92vh;
    min-height: 92svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-bottom: 1px solid rgba(215,163,61,.16);
}

.hero-content {
    position: relative;
    z-index: 5;

    width: min(850px, 90%);

    text-align: center;
}

.hero-mark {
    width: 86px;
    height: 86px;

    margin: 0 auto 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(215,163,61,.42);
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(215,163,61,.14),
        rgba(23,9,31,.15) 60%,
        transparent 62%
    );

    box-shadow:
        0 0 25px rgba(215,163,61,.08),
        inset 0 0 25px rgba(215,163,61,.04);

    animation: markPulse 4s ease-in-out infinite;
}

.hero-mark span {
    color: var(--gold-light);
    font-size: 1.8rem;

    text-shadow:
        0 0 12px rgba(240,198,107,.7);
}

.eyebrow,
.section-label {
    color: var(--gold);

    font-family: "Montserrat", sans-serif;
    font-size: .64rem;
    font-weight: 700;

    letter-spacing: .25em;
}

.eyebrow {
    margin-bottom: 20px;
}

.orders-hero h1 {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 600;

    line-height: .92;
    letter-spacing: -.06em;
}

.orders-hero h1 span {
    color: var(--gold-light);
}

.orders-hero p {
    width: min(610px, 100%);

    margin: 30px auto 0;

    color: var(--muted);

    font-size: .98rem;
    line-height: 1.85;
}

.hero-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    margin-top: 42px;

    color: rgba(255,255,255,.68);

    font-family: "Montserrat", sans-serif;
    font-size: .56rem;
    font-weight: 700;

    letter-spacing: .17em;

    transition: .3s ease;
}

.hero-action:hover {
    color: var(--gold-light);
    transform: translateY(4px);
}

.hero-action b {
    color: var(--gold);
    font-size: 1.2rem;
}

.hero-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid rgba(215,163,61,.08);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;
}

.hero-ring-1 {
    width: 680px;
    height: 680px;

    animation: rotate 45s linear infinite;
}

.hero-ring-2 {
    width: 980px;
    height: 980px;

    border-style: dashed;

    animation: rotateReverse 65s linear infinite;
}


/* =========================================================
   INTRO
   ========================================================= */

.orders-intro {
    position: relative;
    z-index: 1;

    width: min(850px, 88%);

    margin: 0 auto;

    padding: 145px 0 65px;

    text-align: center;
}

.section-heading h2 {
    margin: 20px 0 24px;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    font-weight: 600;

    line-height: 1;
    letter-spacing: -.05em;
}

.section-heading h2 span {
    color: var(--gold-light);
}

.section-heading p {
    max-width: 610px;

    margin: 0 auto;

    color: var(--muted);

    font-size: .94rem;
    line-height: 1.85;
}

.orders-line {
    width: 100px;
    height: 1px;

    margin: 48px auto 0;

    background: var(--gold);

    box-shadow: 0 0 12px rgba(215,163,61,.5);
}


/* =========================================================
   GRID
   ========================================================= */

.orders-grid-section {
    position: relative;
    z-index: 1;

    width: min(var(--max-width), 92%);

    margin: 0 auto;

    padding: 35px 0 150px;
}

.orders-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 26px;
}

.order-card {
    position: relative;

    min-height: 430px;

    display: grid;
    grid-template-columns: 44% 56%;

    overflow: hidden;

    border: 1px solid rgba(215,163,61,.2);
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(42,18,53,.93),
            rgba(9,7,8,.96)
        );

    box-shadow:
        0 22px 50px rgba(0,0,0,.35),
        inset 0 1px rgba(255,255,255,.035);

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        border-color .45s ease,
        box-shadow .45s ease;
}

.order-card:hover {
    transform: translateY(-8px);

    border-color: rgba(215,163,61,.5);

    box-shadow:
        0 30px 65px rgba(0,0,0,.48),
        0 0 30px rgba(215,163,61,.06);
}

.order-card.featured {
    border-color: rgba(215,163,61,.4);
}

.card-number {
    position: absolute;

    top: 15px;
    left: 18px;

    z-index: 5;

    color: rgba(255,255,255,.4);

    font-family: "Montserrat", sans-serif;
    font-size: .55rem;
    font-weight: 700;

    letter-spacing: .14em;
}

.order-image {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(114,27,32,.8),
            rgba(61,12,18,.98)
        );
}

.order-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 70%,
            rgba(8,6,7,.75)
        );

    pointer-events: none;
}

.order-image img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    padding: 24px;

    object-fit: contain;

    filter:
        drop-shadow(0 18px 25px rgba(0,0,0,.55));

    transition:
        transform .6s cubic-bezier(.2,.8,.2,1),
        filter .5s ease;
}

.order-card:hover .order-image img {
    transform: scale(1.055);

    filter:
        brightness(1.06)
        drop-shadow(0 20px 28px rgba(0,0,0,.6));
}

.image-glow {
    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(215,163,61,.13),
        transparent 68%
    );

    filter: blur(8px);

    animation: imageGlow 5s ease-in-out infinite;
}

.image-shine {
    position: absolute;
    z-index: 3;

    top: -30%;
    left: -85%;

    width: 45%;
    height: 170%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        rgba(240,198,107,.13),
        transparent
    );

    filter: blur(5px);

    transform: rotate(18deg);

    animation: imageShine 10s ease-in-out infinite;
}

.order-card:nth-child(2) .image-shine { animation-delay: 1.3s; }
.order-card:nth-child(3) .image-shine { animation-delay: 2.6s; }
.order-card:nth-child(4) .image-shine { animation-delay: 3.9s; }
.order-card:nth-child(5) .image-shine { animation-delay: 5.2s; }
.order-card:nth-child(6) .image-shine { animation-delay: 6.5s; }
.order-card:nth-child(7) .image-shine { animation-delay: 7.8s; }
.order-card:nth-child(8) .image-shine { animation-delay: 9.1s; }

.order-content {
    position: relative;
    z-index: 2;

    padding: 48px 34px 34px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.order-type {
    margin-bottom: 9px;

    color: var(--gold);

    font-family: "Montserrat", sans-serif;
    font-size: .55rem;
    font-weight: 700;

    letter-spacing: .2em;
}

.order-content h3 {
    margin: 0 0 19px;

    color: #fff;

    font-family: "Montserrat", sans-serif;
    font-size: 1.55rem;
    font-weight: 600;

    line-height: 1.12;
}

.order-content p {
    margin: 0;

    color: #c5bdb7;

    font-size: .83rem;
    line-height: 1.75;
}

.order-link {
    width: fit-content;

    margin-top: 27px;
    padding-bottom: 8px;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--gold-light);

    border-bottom: 1px solid rgba(215,163,61,.35);

    font-family: "Montserrat", sans-serif;
    font-size: .55rem;
    font-weight: 700;

    letter-spacing: .12em;

    transition: .3s ease;
}

.order-link:hover {
    color: #fff;
    border-color: var(--gold);
    gap: 16px;
}


/* =========================================================
   ENCERRAMENTO
   ========================================================= */

.orders-closing {
    position: relative;
    z-index: 1;

    min-height: 75vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-top: 1px solid rgba(215,163,61,.13);

    background:
        radial-gradient(
            circle at center,
            rgba(114,27,32,.2),
            transparent 50%
        ),
        linear-gradient(
            rgba(8,6,7,.7),
            rgba(24,10,32,.88)
        );
}

.closing-content {
    position: relative;
    z-index: 3;

    width: min(700px, 88%);

    text-align: center;
}

.closing-symbol {
    margin: 28px 0 18px;

    color: var(--gold);

    font-size: 1.8rem;

    text-shadow: 0 0 15px rgba(215,163,61,.65);

    animation: symbolPulse 3.5s ease-in-out infinite;
}

.orders-closing h2 {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    font-weight: 600;

    line-height: .98;
    letter-spacing: -.05em;
}

.orders-closing h2 span {
    color: var(--gold-light);
}

.orders-closing p {
    max-width: 550px;

    margin: 28px auto 0;

    color: var(--muted);

    line-height: 1.85;
}

.closing-line {
    width: 75px;
    height: 1px;

    margin: 32px auto 0;

    background: var(--gold);
}

.closing-orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 650px;
    height: 650px;

    border: 1px solid rgba(215,163,61,.08);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    animation: rotate 50s linear infinite;
}


/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(45px);

    transition:
        opacity .85s ease,
        transform .85s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.order-card:nth-child(odd).reveal {
    transform: translateX(-45px);
}

.order-card:nth-child(even).reveal {
    transform: translateX(45px);
}

.order-card:nth-child(odd).reveal.visible,
.order-card:nth-child(even).reveal.visible {
    transform: translateX(0);
}


/* =========================================================
   ANIMAÇÕES
   ========================================================= */

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to   { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes markPulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(215,163,61,.06),
            inset 0 0 20px rgba(215,163,61,.03);
    }

    50% {
        box-shadow:
            0 0 35px rgba(215,163,61,.15),
            inset 0 0 25px rgba(215,163,61,.08);
    }
}

@keyframes imageGlow {
    0%, 100% {
        opacity: .35;
        transform: scale(.85);
    }

    50% {
        opacity: .9;
        transform: scale(1.15);
    }
}

@keyframes imageShine {
    0%, 55% {
        left: -85%;
        opacity: 0;
    }

    65% {
        opacity: .8;
    }

    80%, 100% {
        left: 140%;
        opacity: 0;
    }
}

@keyframes symbolPulse {
    0%, 100% {
        opacity: .55;
        transform: scale(.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes driftLight {
    0%, 100% {
        transform: translateX(-12%) rotate(-17deg);
        opacity: .035;
    }

    50% {
        transform: translateX(80%) rotate(-17deg);
        opacity: .12;
    }
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(.5);
    }

    20% {
        opacity: .5;
    }

    75% {
        opacity: .25;
    }

    100% {
        opacity: 0;
        transform: translate(20px, -110px) scale(1);
    }
}


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

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



/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1000px) {

    .orders-grid {
        grid-template-columns: 1fr;
        width: min(720px, 100%);
        margin: 0 auto;
    }

    .order-card {
        grid-template-columns: 42% 58%;
    }
}
@media (max-width: 800px) {

    .orders-hero {
        min-height: 85vh;
    }

    .hero-ring-1 {
        width: 500px;
        height: 500px;
    }

    .hero-ring-2 {
        width: 700px;
        height: 700px;
    }

    .orders-intro {
        padding-top: 105px;
    }

    .order-card {
        min-height: 380px;
    }

    .order-image {
        min-height: 380px;
    }

    .order-content {
        padding: 38px 27px 30px;
    }

    .order-content h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 560px) {

    .orders-hero h1 {
        font-size: clamp(2.9rem, 14vw, 4.3rem);
    }

    .eyebrow {
        font-size: .51rem;
        letter-spacing: .14em;
    }

    .orders-grid-section {
        width: 92%;
        padding-bottom: 100px;
    }

    .order-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .order-image {
        min-height: 255px;
        height: 255px;
    }

    .order-image img {
        padding: 18px;
    }

    .order-content {
        min-height: 250px;
        padding: 28px 25px 30px;
    }

    .order-content h3 {
        font-size: 1.35rem;
    }

    .order-content p {
        font-size: .8rem;
    }

}
