
/* =========================================
   BRAWOX FIRE DISTRICT — VERSÃO 2.0
   DESIGN BY VYRQENA
========================================= */

:root {
    --bg: #080808;
    --panel: #121212;
    --fire: #FF6518;
    --orange: #F05A24;
    --gold: #C9A063;
    --cream: #F5EBDD;
    --muted: #B9B1A8;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

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

button,
input,
select {
    font: inherit;
}

button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #FF791C, #F34A0A);
    color: #101010;
    font-weight: 800;
    padding: 13px 22px;
    transition: .25s ease;
}

button:hover,
.btn:hover {
    background: #FF963E;
    box-shadow: 0 0 24px #FF651844;
    transform: translateY(-2px);
}

button:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* AVISO DEMONSTRATIVO */

.demo {
    background: #17120E;
    color: var(--gold);
    padding: 7px 12px;
    text-align: center;
    font-size: 10px;
    letter-spacing: .7px;
}

/* CABEÇALHO */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 5%;
    background: #080808F5;
    border-bottom: 1px solid #FFFFFF12;
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 190px;
    max-width: 100%;
    height: auto;
    max-height: 88px;
    object-fit: contain;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-size: 13px;
    font-weight: 700;
    position: relative;
    transition: .3s;
}

nav a:hover {
    color: var(--fire);
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fire);
    transition: .3s;
}

nav a:hover::after {
    width: 100%;
}

.cart-button {
    white-space: nowrap;
}

#count {
    background: #101010;
    color: var(--cream);
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
}

/* TIPOGRAFIA */

h1,
h2,
h3 {
    font-family: 'Barlow Condensed', Impact, sans-serif;
    line-height: .98;
    margin: 15px 0;
    font-weight: 800;
}

h1 {
    font-size: clamp(52px, 6.1vw, 110px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(38px, 5vw, 68px);
    font-style: italic;
}

h3 {
    font-size: 30px;
}

em {
    color: var(--fire);
    font-style: inherit;
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold);
}

.muted {
    color: var(--muted);
}

/* BANNER PRINCIPAL */

.hero {
    min-height: 530px;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #080808;
}

.hero-copy {
    padding: 65px 0 65px 9.5%;
    position: relative;
    z-index: 2;
}

.hero-line {
    white-space: nowrap;
}

.hero-description {
    max-width: 470px;
    color: #E3DAD0;
    margin: 25px 0 30px;
    font-size: 15px;
}

.hero-art {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 57%;
    z-index: -1;

    background-image:
        linear-gradient(
            90deg,
            #080808 0%,
            #08080880 15%,
            transparent 40%
        ),
        url('imagens/hero-burger.png');

    background-repeat: no-repeat;
    background-position: center, right center;
    background-size: 100% 100%, contain;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        0deg,
        #080808 0%,
        transparent 18%
    );
}

/* FAIXA LARANJA */

.strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    background: linear-gradient(90deg, #E84B0A, #FF791C, #E84B0A);
    color: #101010;
    padding: 15px 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.strip b {
    font-size: 18px;
}

/* SEÇÕES */

.section {
    max-width: 1450px;
    margin: auto;
    padding: 65px 5%;
}

.section-heading {
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0;
}

.section-heading .muted {
    margin-top: 12px;
}

/* FILTROS */

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 38px;
}

.filters button {
    min-width: 120px;
    background: transparent;
    color: var(--cream);
    border: 1px solid #75401F;
    border-radius: 8px;
}

.filters button:hover,
.filters button.active {
    background: var(--fire);
    color: #101010;
    border-color: var(--fire);
}

/* CARDÁPIO */

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

.product {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(145deg, #171717, #0E0E0E);
    border: 1px solid #333;
    border-radius: 13px;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.product:hover {
    transform: translateY(-6px);
    border-color: var(--fire);
    box-shadow: 0 0 25px #FF651820;
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #080808;
    color: var(--gold);
    font: 800 28px 'Barlow Condensed', sans-serif;
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s;
}

.product:hover .product-image img {
    transform: scale(1.035);
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        0deg,
        #151515 0%,
        transparent 18%
    );
}

.product-body {
    padding: 18px 20px 23px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-body h3 {
    margin: 0 0 10px;
    font-size: 31px;
}

.product-body p {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 20px;
    flex: 1;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 29px;
    font-style: italic;
    font-weight: 800;
    color: #FFD08A;
    white-space: nowrap;
}

.product-bottom button {
    font-size: 12px;
    padding: 11px 17px;
}

/* NOSSA ESSÊNCIA */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    border-top: 1px solid #FFFFFF10;
}

.about-art {
    min-height: 370px;
    border-radius: 12px;
    border: 1px solid #57321C;

    background:
        linear-gradient(0deg, #08080844, transparent),
        url('imagens/experiencia.png') center/cover;

    box-shadow: 0 0 40px #FF651810;
}

.about-copy p:not(.eyebrow) {
    color: var(--muted);
}

.qualities {
    display: grid;
    gap: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin: 25px 0;
}

/* CHAMADA FINAL */

.final-call {
    padding: 65px 5%;
    text-align: center;
    border-top: 1px solid #57321C;
    border-bottom: 1px solid #57321C;

    background: radial-gradient(
        ellipse at center,
        #371607,
        #080808 70%
    );
}

.final-call p:not(.eyebrow) {
    color: var(--muted);
}

.final-call .btn {
    margin-top: 15px;
}

/* RODAPÉ */

footer {
    padding: 45px 5% 20px;
    background: #050505;
    color: var(--muted);
    font-size: 12px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr .7fr 1.3fr;
    gap: 35px;
}

.footer-content h3 {
    color: var(--cream);
    font-size: 22px;
}

.footer-content a:not(.brand) {
    display: block;
    margin: 8px 0;
}

.footer-content a:hover {
    color: var(--fire);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #FFFFFF15;
}

.footer-bottom strong {
    color: #B8A4FF;
    letter-spacing: 2px;
}

/* JANELAS DO SISTEMA */

dialog {
    width: min(540px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    background: #141414;
    color: var(--cream);
    border: 1px solid #A4491E;
    border-radius: 15px;
    box-shadow: 0 0 60px #000A;
}

dialog::backdrop {
    background: #000C;
    backdrop-filter: blur(5px);
}

.dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.dialog-head h2 {
    font-size: 38px;
}

.close {
    background: transparent;
    color: var(--cream);
    padding: 5px 12px;
    font-size: 27px;
}

.close:hover {
    background: #333;
}

fieldset {
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    margin: 18px 0;
}

legend {
    color: var(--gold);
    font-weight: 700;
}

label.option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 13px;
}

input[type="checkbox"] {
    accent-color: var(--fire);
    width: 18px;
    height: 18px;
}

input:not([type="checkbox"]),
select {
    background: #080808;
    color: var(--cream);
    border: 1px solid #555;
    border-radius: 7px;
    padding: 12px;
    width: 100%;
}

.coupon {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

#couponStatus {
    color: var(--gold);
    font-size: 12px;
}

.cart-item {
    padding: 17px 0;
    border-bottom: 1px solid #333;
}

.cart-item small {
    display: block;
    color: var(--muted);
}

.qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.qty button {
    padding: 4px 13px;
}

.qty .remove {
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
}

.total-line:last-child {
    border-top: 1px solid #555;
    margin: 12px 0;
    font-size: 21px;
    font-weight: 800;
    color: var(--gold);
}

#checkout,
#customForm > .btn {
    width: 100%;
}

#result {
    white-space: pre-wrap;
    color: var(--gold);
    font-size: 13px;
}

/* NOTIFICAÇÕES */

#toast {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 100;
    display: none;
    background: var(--fire);
    color: #101010;
    padding: 15px 22px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 8px 30px #0008;
}

/* TABLETS */

@media (max-width: 1000px) {

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

    nav {
        gap: 15px;
    }

    .brand img {
        width: 150px;
    }

    .hero {
        min-height: 460px;
    }

    .hero-copy {
        padding-left: 7%;
    }

    .hero-description {
        max-width: 350px;
    }
}

/* CELULARES */

@media (max-width: 700px) {

    html {
        scroll-padding-top: 150px;
    }

    header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 5%;
    }

    .brand img {
        width: 130px;
        max-height: 65px;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 8px 0;
        gap: 20px;
    }

    nav a {
        font-size: 11px;
    }

    .cart-button {
        font-size: 12px;
        padding: 10px 13px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hero-copy {
        padding: 40px 5% 10px;
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: clamp(40px, 9vw, 65px);
    }

    .hero-description {
        margin: 20px auto;
        font-size: 13px;
    }

    .hero-art {
        position: relative;
        width: 100%;
        min-height: 280px;
        z-index: 0;

        background-image:
            linear-gradient(180deg, #080808, transparent 25%),
            url('imagens/hero-burger.png');

        background-position: center;
        background-size: 100% 100%, contain;
    }

    .strip {
        gap: 8px;
        font-size: 9px;
        letter-spacing: .5px;
    }

    .section {
        padding: 45px 5%;
    }

    .filters {
        gap: 8px;
    }

    .filters button {
        min-width: auto;
        padding: 10px 14px;
        font-size: 12px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-art {
        min-height: 240px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {

    .products {
        grid-template-columns: 1fr;
    }

    .product-body h3 {
        font-size: 29px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    dialog {
        padding: 18px;
    }

    .hero-line {
        white-space: normal;
    }
}

/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
