/* 
LOOKSTYLE - STYLE.CSS V20
SEO: Performance, CLS, LCP otimizados
Accessibility: WCAG AA, reduced-motion
*/

/* === FONTES CUSTOM === */
@font-face {
    font-family: 'Urban Spray';
    src: url('./css/fonts/URBAN SPRAY.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Don Graffiti';
    src: url('./css/fonts/DonGraffiti.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Space+Grotesk:wght@300;400;700&display=swap');

/* === VARIÁVEIS SEO + TEMA === */
:root {
    --bg: #000000;
    --bg-2: #0a0a0a;
    --bg-card: #111111;
    --text: #f5f5f5;
    --text-2: #a0a0a0;
    --accent: #00FF00;
    --accent-glow: rgba(0, 255, 0, 0.3);
    --border: #1a1a1a;
    --overlay: rgba(0, 0, 0, 0.7);
    --shadow: 0 10px 40px rgba(0, 255, 0, 0.1);
    --radius: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg: #f5f5f5;
    --bg-2: #ffffff;
    --bg-card: #fafafa;
    --text: #0a0a0a;
    --text-2: #505050;
    --accent: #00AA00;
    --accent-glow: rgba(0, 170, 0, 0.2);
    --border: #e0e0e0;
    --overlay: rgba(245, 245, 245, 0.7);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* === RESET + BASE SEO === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loaded {
    opacity: 1;
}

/* === TIPOGRAFIA SEO === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

strong {
    font-weight: 700;
    color: var(--text);
}

/* === IMAGENS SEO + PERFORMANCE === */
img {
    display: block;
    max-width: 100%;
    height: auto;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 1rem;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.6s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* === LINKS + ACESSIBILIDADE === */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* === HEADER FIXO === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px var(--accent-glow));
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.15) rotate(-5deg);
}

.btn-zap {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn-zap:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.35;
    filter: grayscale(0.3) contrast(1.1);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg) 90%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 1;
}

.headline {
    font-family: 'Urban Spray', 'Impact', sans-serif;
    font-size: clamp(4rem, 15vw, 12rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 40px var(--accent-glow);
}

.line {
    width: 120px;
    height: 4px;
    background: var(--accent);
    margin: 2rem 0;
    box-shadow: 0 0 20px var(--accent-glow);
    border-radius: 2px;
}

.sub {
    font-family: 'Syne', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.cta {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.25rem 3rem;
    background: var(--accent);
    color: var(--bg);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.15em;
    border-radius: var(--radius);
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.cta:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 50px var(--accent-glow);
}

/* === SECTIONS === */
section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Don Graffiti', 'Impact', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 4rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text);
}

/* === MANIFESTO === */
.manifesto {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}

.txt-manifesto {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    color: var(--text);
}

/* === GRID DROPS === */
.grid-curadoria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.item:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.item:hover img {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--overlay) 100%);
    transition: opacity 0.6s ease;
}

.item.scrolled .overlay {
    opacity: 0.5;
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.95) 100%);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.item.scrolled .item-info {
    transform: translateY(0);
}

.item-info p {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Urban Spray', sans-serif;
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.15;
    transition: all 0.5s ease;
    text-shadow: 0 0 20px var(--accent-glow);
}

.item.scrolled .tag {
    opacity: 0.4;
}

.item:hover .tag {
    opacity: 1;
    transform: scale(1.2) rotate(-5deg);
}

.count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

/* === CARROSSEL === */
.carrossel {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}

.carrossel-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
}

.carrossel-track img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform var(--transition);
}

.carrossel-track img:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

/* === SOBRE === */
.sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.img-loja {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.txt-sobre {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-2);
}

.txt-sobre p {
    margin-bottom: 1rem;
}

.txt-sobre strong {
    color: var(--text);
    font-weight: 700;
}

.txt-sobre a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 700;
    transition: opacity var(--transition);
}

.txt-sobre a:hover {
    opacity: 0.7;
}

/* === FOOTER === */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    background: var(--bg-2);
}

.foot-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 2rem;
}

.socials {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.socials a {
    font-family: 'Syne', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-2);
    transition: all var(--transition);
    position: relative;
}

.socials a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.socials a:hover {
    color: var(--accent);
}

.socials a:hover::after {
    width: 100%;
}

.btn-vip {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--bg);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    border-radius: var(--radius);
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.btn-vip:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 50px var(--accent-glow);
}

.copy {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-2);
    max-width: 1400px;
    margin: 0 auto;
    text-transform: uppercase;
}

/* === RESPONSIVO === */
@media (max-width: 1024px) {
    .grid-curadoria {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .sobre {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .img-loja {
        aspect-ratio: 1/1;
    }
    
    .carrossel-track img {
        width: 200px;
        height: 200px;
    }
    
    .foot-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .grid-curadoria {
        grid-template-columns: 1fr;
    }
    
    .headline {
        font-size: clamp(3rem, 12vw, 8rem);
    }
}

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

/* === PRINT === */
@media print {
    header, footer, .cta, .btn-zap, .btn-vip {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}