/* ==== Design tokens — ported 1:1 from app-guarda-roupa/src/design-system/tokens.ts
   (Modori rebrand 2026-08: near-monochrome black/cream/white with "Nordic
   Lake" as the primary CTA color — it's the dominant fill for the main
   action per screen (buttons, active nav), not a sparing 1%-of-UI accent.
   Green is explicitly excluded.) ==== */
:root {
  --bg: #FFFFFF;
  --surface: #FFFCFA;
  --text: #2E211B;
  --text-secondary: #8A7B6C;
  --accent: #616F84;
  --success: #5E6B72;
  --warning: #9C7A3F;
  --error: #8B3A2E;
  --surface-secondary: #EAEDF0;
  --input-bg: #F0E9DB;
  --border: #DCD2BC;
  --divider: #DCD2BC;

  --neutral-100: #EAE7E6;
  --neutral-200: #DFDAD8;
  --neutral-300: #CFC7C4;
  --neutral-400: #B8ADA8;
  --neutral-500: #9F9089;
  --neutral-600: #84736C;
  --neutral-700: #625650;
  --neutral-800: #433B37;
  --neutral-900: #2A2522;

  --accent-100: #F3F4F7;
  --accent-200: #E0E4EB;
  --accent-300: #C2CAD6;
  --accent-400: #919DB1;
  --accent-700: #3C4758;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-card: 16px;
  --radius-button: 14px;
  --radius-pill: 999px;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;

  --shadow-sm: 0 2px 10px rgba(46, 33, 27, 0.08);
  --shadow-md: 0 8px 30px rgba(46, 33, 27, 0.12);
  --shadow-lg: 0 20px 60px rgba(46, 33, 27, 0.16);

  --max-width: 1120px;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-Black.woff2') format('woff2'),
       url('../fonts/Fraunces-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Regular.woff2') format('woff2'),
       url('../fonts/Manrope-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-SemiBold.woff2') format('woff2'),
       url('../fonts/Manrope-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Bold.woff2') format('woff2'),
       url('../fonts/Manrope-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

/* ==== Reset ==== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
}
p { margin: 0 0 var(--space-2); color: var(--neutral-700); }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
section { padding: var(--space-8) 0; }

/* ==== Wordmark ==== */
/* SVG vector lockup ported from Modori - Guia de Marca.html (Vilaka font
   isn't available as a file, so the mark ships as fixed path data, same as
   LogoWordmark.tsx in app-guarda-roupa) — .wordmark is now a layout-only
   wrapper around an inline <svg>, not styled text. */
.wordmark {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.site-header .wordmark { font-size: 22px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-links a:not(.btn) {
  font-weight: 600;
  text-decoration: none;
  color: var(--neutral-700);
  font-size: 15px;
}

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius-button);
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--surface);
}
.btn-primary:hover { background: var(--accent-700); }
.btn-primary .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--surface);
  flex-shrink: 0;
}
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: var(--radius-sm); }

/* ==== Hero ==== */
.hero {
  padding-top: var(--space-8);
  padding-bottom: var(--space-4);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  color: var(--text);
}
.hero-sub {
  font-size: 19px;
  color: var(--neutral-700);
  max-width: 46ch;
  margin-bottom: var(--space-4);
}
.hero-cta { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--neutral-500); }

.hero-phone {
  justify-self: center;
}
.phone-frame {
  width: 280px;
  border-radius: 40px;
  background: var(--text);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 26px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
}
.phone-frame img {
  border-radius: 28px;
  overflow: hidden;
  display: block;
}

/* ==== Como funciona ==== */
.how {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.section-heading { text-align: center; max-width: 640px; margin: 0 auto var(--space-6); }
.section-heading h2 { font-size: clamp(28px, 3.5vw, 38px); }
.section-heading p { font-size: 17px; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.step { text-align: center; }
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-2);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

/* ==== Features ==== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
/* 6 feature-icon cards render on the same view — accenting all of them
   would flatten the color back into a second neutral rather than a call
   to action, so these stay on --neutral-100, not --accent. */
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--neutral-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--text); }
.feature-card h3 { font-size: 19px; margin-bottom: 6px; }
.feature-card p { font-size: 15px; margin: 0; }

/* ==== Screenshots showcase ==== */
.showcase { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.showcase-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  align-items: end;
}
.showcase-strip .phone-frame { width: 100%; border-radius: 28px; padding: 8px; }
.showcase-strip .phone-frame img { border-radius: 20px; }
.showcase-caption { text-align: center; font-size: 14px; color: var(--neutral-600); margin-top: var(--space-2); }

/* ==== Download CTA ==== */
.download-cta {
  text-align: center;
}
.download-cta .container { max-width: 720px; }
.download-cta h2 { font-size: clamp(28px, 3.5vw, 40px); }
.download-cta p { font-size: 17px; }
.download-cta .btn { margin-top: var(--space-2); }

/* ==== Footer ==== */
.site-footer {
  padding: var(--space-6) 0 var(--space-4);
  border-top: 1px solid var(--divider);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}
.site-footer .wordmark { font-size: 20px; }
.footer-note { font-size: 14px; color: var(--neutral-500); max-width: 480px; }

/* ==== Responsive ==== */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-phone { order: -1; }
  .steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-strip { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .nav-links a:not(.btn) { display: none; }
}
