/* =====================================================
   MIRAGE AUTOPEÇAS
   Página estática de tela única
===================================================== */

:root {
    --background: #030303;
    --card: rgba(14, 14, 14, 0.92);

    --gold: #d9aa36;
    --gold-light: #f6d77d;
    --gold-dark: #8f6216;

    --green: #25d366;
    --green-dark: #128c4a;

    --white: #ffffff;
    --text: #f3f3f3;
    --text-secondary: #aaaaaa;
    --text-muted: #707070;

    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(217, 170, 54, 0.28);

    --radius: 28px;
    --transition: 220ms ease;
}


/* Reset */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

html {
    background: var(--background);
}

body {
    margin: 0;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 22% 20%,
            rgba(217, 170, 54, 0.1),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(217, 170, 54, 0.06),
            transparent 28%
        ),
        var(--background);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    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: 64px 64px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 82%
        );

    -webkit-mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 82%
        );
}

img,
svg {
    display: block;
    max-width: 100%;
}

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


/* Página */

.page {
    position: relative;
    z-index: 1;

    width: min(1220px, calc(100% - 40px));
    height: 100vh;
    height: 100svh;

    margin: 0 auto;
    padding: 28px 0 18px;

    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
}


/* Card principal */

.content-card {
    min-height: 0;
    overflow: hidden;

    display: grid;
    grid-template-columns:
        minmax(340px, 0.9fr)
        minmax(420px, 1.1fr);

    border: 1px solid var(--border-gold);
    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            rgba(217, 170, 54, 0.035),
            transparent 45%
        ),
        var(--card);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* Área da logo */

.logo-area {
    position: relative;
    overflow: hidden;

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

    min-height: 0;
    padding: clamp(26px, 4vw, 58px);

    border-right: 1px solid var(--border);

    background:
        radial-gradient(
            circle at center,
            rgba(217, 170, 54, 0.09),
            transparent 55%
        );
}

.logo-area::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(217, 170, 54, 0.08);
    border-radius: 50%;
}

.logo-area::after {
    content: "";

    position: absolute;

    width: 310px;
    height: 310px;

    border: 1px dashed rgba(217, 170, 54, 0.1);
    border-radius: 50%;
}

.status {
    position: absolute;
    top: 28px;
    left: 30px;
    z-index: 3;

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

    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--green);

    box-shadow:
        0 0 0 5px rgba(37, 211, 102, 0.1),
        0 0 16px rgba(37, 211, 102, 0.68);
}

.logo-container {
    position: relative;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 100%;
}

.logo-light {
    position: absolute;

    width: 70%;
    height: 50%;

    border-radius: 50%;

    background: rgba(217, 170, 54, 0.12);
    filter: blur(55px);
}

.logo {
    position: relative;

    width: min(100%, 480px);
    max-height: 340px;

    object-fit: contain;

    filter:
        drop-shadow(0 22px 35px rgba(0, 0, 0, 0.78))
        drop-shadow(0 0 25px rgba(217, 170, 54, 0.12));
}

.logo-caption {
    position: absolute;
    bottom: 28px;
    z-index: 3;

    margin: 0;

    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Área de informações */

.information-area {
    min-width: 0;
    min-height: 0;

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

    padding: clamp(34px, 5vw, 76px);
}

.tag {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    max-width: 680px;

    margin:
        clamp(12px, 2vh, 22px)
        0
        0;

    font-size: clamp(2.4rem, 4.9vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.description {
    max-width: 590px;

    margin:
        clamp(16px, 2.5vh, 26px)
        0
        0;

    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
}


/* Instruções */

.instructions {
    display: grid;
    gap: 10px;

    margin:
        clamp(18px, 3vh, 30px)
        0;
}

.instruction {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 13px;
}

.instruction > span {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border-gold);
    border-radius: 11px;

    background: rgba(217, 170, 54, 0.06);
    color: var(--gold);

    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 800;
}

.instruction p {
    margin: 0;

    color: var(--text-secondary);
    font-size: 0.87rem;
}


/* Botão do WhatsApp */

.whatsapp-button {
    position: relative;
    overflow: hidden;

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

    width: fit-content;
    min-height: 58px;
    padding: 0 28px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #36df78,
            var(--green-dark)
        );

    color: var(--white);

    font-size: 0.94rem;
    font-weight: 900;

    box-shadow:
        0 18px 45px rgba(37, 211, 102, 0.21),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.whatsapp-button::before {
    content: "";

    position: absolute;
    top: -170%;
    left: -70%;

    width: 32%;
    height: 430%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.42),
            transparent
        );

    transform: rotate(24deg);
    transition: left 700ms ease;
}

.whatsapp-button:hover::before {
    left: 145%;
}

.whatsapp-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 25px 55px rgba(37, 211, 102, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.whatsapp-button:active {
    transform: translateY(-1px);
}

.whatsapp-button:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.45);
    outline-offset: 4px;
}

.whatsapp-button svg {
    width: 21px;
    height: 21px;

    flex-shrink: 0;
    fill: currentColor;
}

.response-note {
    margin: 11px 0 0;

    color: var(--text-muted);
    font-size: 0.72rem;
}


/* Rodapé */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 28px;

    color: var(--text-muted);
    font-size: 0.7rem;
}


/* Telas menores */

@media (max-width: 850px) {
    .page {
        width: min(100% - 22px, 700px);
        padding: 11px 0;
        gap: 8px;
    }

    .content-card {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(180px, 36%) minmax(0, 64%);

        border-radius: 22px;
    }

    .logo-area {
        padding: 20px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .logo-area::before {
        width: 260px;
        height: 260px;
    }

    .logo-area::after {
        width: 190px;
        height: 190px;
    }

    .status {
        top: 16px;
        left: 18px;

        font-size: 0.64rem;
    }

    .logo {
        width: min(72%, 340px);
        max-height: 190px;
    }

    .logo-caption {
        bottom: 12px;
        font-size: 0.57rem;
    }

    .information-area {
        justify-content: center;
        padding: clamp(22px, 5vw, 38px);
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3.7rem);
    }

    .description {
        font-size: 0.9rem;
    }

    .instructions {
        margin: 18px 0;
    }

    .instruction > span {
        width: 34px;
        height: 34px;
    }

    .whatsapp-button {
        width: 100%;
        min-height: 54px;
    }

    .footer {
        min-height: 18px;
        font-size: 0.58rem;
    }
}


/* Celulares pequenos ou baixos */

@media (max-width: 480px) {
    .content-card {
        grid-template-rows: minmax(145px, 31%) minmax(0, 69%);
    }

    .status {
        font-size: 0.58rem;
    }

    .logo {
        width: min(76%, 280px);
        max-height: 145px;
    }

    .logo-caption {
        display: none;
    }

    .information-area {
        padding: 19px;
    }

    .tag {
        font-size: 0.6rem;
    }

    h1 {
        margin-top: 9px;
        font-size: clamp(1.75rem, 8.6vw, 2.7rem);
    }

    .description {
        margin-top: 12px;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .instructions {
        gap: 8px;
        margin: 13px 0;
    }

    .instruction {
        grid-template-columns: 31px 1fr;
        gap: 10px;
    }

    .instruction > span {
        width: 31px;
        height: 31px;

        border-radius: 9px;
        font-size: 0.62rem;
    }

    .instruction p {
        font-size: 0.73rem;
        line-height: 1.35;
    }

    .whatsapp-button {
        min-height: 49px;
        padding-inline: 15px;

        font-size: 0.79rem;
    }

    .whatsapp-button svg {
        width: 19px;
        height: 19px;
    }

    .response-note {
        margin-top: 7px;
        font-size: 0.6rem;
        text-align: center;
    }

    .footer {
        justify-content: center;
    }

    .footer span:last-child {
        display: none;
    }
}


/* Telas com pouca altura */

@media (max-height: 690px) and (min-width: 851px) {
    .page {
        padding: 14px 0 10px;
    }

    .information-area {
        padding: 38px 50px;
    }

    h1 {
        font-size: clamp(2.6rem, 4.2vw, 4.2rem);
    }

    .description {
        margin-top: 15px;
    }

    .instructions {
        margin: 17px 0;
    }

    .logo-caption {
        bottom: 18px;
    }
}


@media (max-height: 620px) and (max-width: 850px) {
    .content-card {
        grid-template-rows: 150px minmax(0, 1fr);
    }

    .logo {
        max-height: 125px;
    }

    .information-area {
        padding: 16px 24px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .description {
        margin-top: 8px;
        font-size: 0.76rem;
    }

    .instructions {
        margin: 10px 0;
    }

    .instruction p {
        font-size: 0.68rem;
    }

    .response-note {
        display: none;
    }
}


/* Redução de movimentos */

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