/* ============================================
   EV3N — Design System
   Streetwear urbano / MASC preto·grafite / FEM rosa·nude
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo+Black&family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Base */
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --surface: #1a1a1a;
  --surface-2: #212121;
  --line: rgba(245,245,240,0.1);
  --line-strong: rgba(245,245,240,0.22);
  --off-white: #f5f5f0;
  --off-white-dim: rgba(245,245,240,0.6);
  --off-white-faint: rgba(245,245,240,0.35);

  /* MASC */
  --masc: #b8b8b8;
  --masc-strong: #ffffff;
  --masc-glow: rgba(184,184,184,0.25);

  /* FEM */
  --fem: #ff2d6a;
  --fem-strong: #ff5c8a;
  --fem-nude: #e8d5c4;
  --fem-glow: rgba(255,45,106,0.3);

  /* Type */
  --f-display: 'Anton', sans-serif;
  --f-heavy: 'Archivo Black', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  --radius: 2px;
  --radius-lg: 4px;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-back: cubic-bezier(.34,1.56,.64,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--f-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--fem); color: var(--bg); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--fem);
  outline-offset: 3px;
}

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

/* ============ Layout utilities ============ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.mono-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-white-dim);
}

.section-title {
  font-family: var(--f-heavy);
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.navbar .logo {
  font-family: var(--f-heavy);
  font-size: 22px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.navbar .logo .three {
  color: var(--fem);
  position: relative;
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--off-white-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--masc), var(--fem));
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--off-white); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
  position: relative;
}
.icon-btn:hover { background: var(--surface); transform: scale(1.06); }
.icon-btn svg { width: 19px; height: 19px; stroke: var(--off-white); fill: none; stroke-width: 1.7; }

.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--fem);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  width: 15px; height: 15px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.hamburger { display: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease-back), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--off-white);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,245,240,0.15); }

.btn-fem { background: var(--fem); color: var(--bg); }
.btn-fem:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--fem-glow); }

.btn-masc { background: var(--masc-strong); color: var(--bg); }
.btn-masc:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--masc-glow); }

.btn-outline {
  border: 1.5px solid var(--line-strong);
  color: var(--off-white);
}
.btn-outline:hover { border-color: var(--off-white); background: rgba(245,245,240,0.06); }

.btn-ghost {
  color: var(--off-white-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn-ghost:hover { color: var(--off-white); }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  margin-top: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white-dim);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--off-white-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--fem); }
.footer-logo {
  font-family: var(--f-heavy);
  font-size: 26px;
  margin-bottom: 12px;
}
.footer-logo .three { color: var(--fem); }
.footer-col p { font-size: 13px; color: var(--off-white-faint); max-width: 30ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--off-white-faint);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--off-white-faint); }
.footer-bottom a:hover { color: var(--off-white); }

.newsletter-form {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 16px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: var(--off-white);
  font-size: 13px;
  font-family: var(--f-body);
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: var(--fem);
  color: var(--bg);
  padding: 0 18px;
  font-weight: 700;
  font-size: 12px;
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--off-white);
  color: var(--bg);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ============ Scrollbar ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--fem); }

/* ============ Responsive nav ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger {
    display: flex;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
