/* =========================================================
   PROJETO: DEZPIXELS
   ARQUIVO: Landing Page Temporária
   FINALIDADE: Identidade Visual / Página Institucional

   CRÉDITOS
   Criador / Desenvolvedor: Ricardo S R
   Assistente e Acelerador de Produtividade: ChatGPT

   IDENTIDADE
   Marca: DEZPIXELS
   Padrão visual: Verde / Minimalista / Moderno
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --background: #f5faf7;
    --surface: #ffffff;
    --text: #17352a;
    --text-soft: #587066;
    --text-muted: #8aa097;
    --line: #dcebe2;
    --pixel: #dcefe3;
    --pixel-soft: #b9dec8;
    --pixel-medium: #78b991;
    --pixel-active: #2e8b57;
    --pixel-dark: #174a32;
    --accent: #2e8b57;
    --max-width: 1240px;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    background: radial-gradient(circle at 85% 20%, rgba(168, 213, 186, .18), transparent 32%), var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.page {
    width: 100%;
    min-height: 100vh;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 34px 54px 28px;
    display: flex;
    flex-direction: column;
}

.header { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-symbol { width: 25px; height: 25px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; }
.brand-symbol i { display: block; background: var(--pixel-active); border-radius: 3px; }
.brand-symbol i:nth-child(1) { background: var(--pixel-dark); }
.brand-symbol i:nth-child(2) { background: var(--pixel-active); }
.brand-symbol i:nth-child(3) { background: var(--pixel-medium); }
.brand-symbol i:nth-child(4) { background: var(--pixel-soft); }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .13em; color: var(--text); }
.brand-name span { font-weight: 400; color: var(--accent); }

.status {
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255,255,255,.55);
    font-size: 9px;
    letter-spacing: .17em;
    color: var(--accent);
    font-weight: 650;
}

.hero {
    flex: 1;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 100px;
}

.hero-content { max-width: 670px; }
.eyebrow { margin-bottom: 28px; font-size: 12px; text-transform: uppercase; letter-spacing: .19em; font-weight: 650; color: var(--accent); }
.eyebrow span { margin: 0 6px; color: var(--pixel-medium); }

h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 300;
    color: var(--text);
}

h1 strong { display: block; font-weight: 650; color: var(--accent); }

.description {
    max-width: 540px;
    margin-top: 36px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-soft);
    font-weight: 400;
}

.coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent);
}

.coming-soon::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pixel-active);
    box-shadow: 0 0 0 5px rgba(46,139,87,.10);
}

.visual { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.pixel-grid {
    width: 300px;
    height: 300px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    padding: 18px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
    border-radius: 22px;
    transform: rotate(-5deg);
    box-shadow: 0 25px 70px rgba(31,91,59,.08);
    transition: transform .45s ease, box-shadow .45s ease;
}

.pixel-grid span { background: var(--pixel); border-radius: 5px; transition: transform .3s ease, background .3s ease; }
.pixel-grid span:nth-child(6), .pixel-grid span:nth-child(10) { background: var(--pixel-soft); }
.pixel-grid span:nth-child(7), .pixel-grid span:nth-child(8), .pixel-grid span:nth-child(12) { background: var(--pixel-medium); }
.pixel-grid span:nth-child(13), .pixel-grid span:nth-child(14) { background: var(--pixel-active); }
.pixel-grid span:nth-child(18) { background: var(--pixel-dark); }






.pixel-grid span {
    background: var(--pixel);
    border-radius: 5px;
    transition:
        transform .3s ease,
        background .3s ease,
        opacity .6s ease;
    animation: pixelAppear .7s ease both;
}

.pixel-grid span:nth-child(1)  { animation-delay: .05s; }
.pixel-grid span:nth-child(2)  { animation-delay: .10s; }
.pixel-grid span:nth-child(3)  { animation-delay: .15s; }
.pixel-grid span:nth-child(4)  { animation-delay: .20s; }
.pixel-grid span:nth-child(5)  { animation-delay: .25s; }
.pixel-grid span:nth-child(6)  { animation-delay: .30s; }
.pixel-grid span:nth-child(7)  { animation-delay: .35s; }
.pixel-grid span:nth-child(8)  { animation-delay: .40s; }
.pixel-grid span:nth-child(9)  { animation-delay: .45s; }
.pixel-grid span:nth-child(10) { animation-delay: .50s; }

@keyframes pixelAppear {
    from {
        opacity: 0;
        transform: scale(.65);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pixel-grid,
    .pixel-grid span {
        transition: none;
        animation: none;
    }
}






.visual-caption { width: 300px; margin-top: 36px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 650; letter-spacing: .24em; color: var(--text-muted); }
.visual-caption span:last-child { color: var(--accent); }

.footer { width: 100%; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .08em; color: var(--text-muted); }
.footer > span:first-child { color: var(--accent); font-weight: 700; }
.footer-year { margin-left: auto; }

.pixel-grid:hover { transform: rotate(0deg) scale(1.015); box-shadow: 0 30px 80px rgba(31,91,59,.12); }
.pixel-grid:hover span { transform: scale(.94); }

@media (max-width: 1000px) {
    .page { padding: 30px 36px 24px; }
    .hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; }
    .pixel-grid { width: 250px; height: 250px; }
    .visual-caption { width: 250px; }
}

@media (max-width: 780px) {
    .page { padding: 28px 25px 22px; }
    .status { display: none; }
    .hero { min-height: auto; padding: 110px 0 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 70px; }
    .hero-content { width: 100%; }
    h1 { font-size: clamp(46px, 13vw, 68px); }
    .description { font-size: 16px; }
    .visual { width: 100%; }
    .pixel-grid { width: 230px; height: 230px; }
    .visual-caption { width: 230px; }
    .footer { flex-wrap: wrap; }
    .footer-year { width: 100%; margin-left: 0; margin-top: 8px; }
}

@media (max-width: 480px) {
    .page { padding: 24px 20px 20px; }
    .brand-name { font-size: 15px; }
    .brand-symbol { width: 22px; height: 22px; }
    .hero { padding: 85px 0 80px; gap: 60px; }
    .eyebrow { font-size: 10px; }
    h1 { font-size: 47px; letter-spacing: -.06em; }
    .description { margin-top: 30px; font-size: 15px; line-height: 1.7; }
    .coming-soon { margin-top: 30px; font-size: 10px; }
    .pixel-grid { width: 205px; height: 205px; padding: 14px; gap: 6px; border-radius: 18px; }
    .visual-caption { width: 205px; margin-top: 28px; }
    .footer { font-size: 9px; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pixel-grid, .pixel-grid span { transition: none; }
}
