/* =========================================================================
   EverPlant — Sistema de diseño compartido (landing + pricing)
   ========================================================================= */

/* Fonts loaded via <link> in HTML head — see index.html / precios.html */

:root {
  /* Paleta forest */
  --bg: #F6F4EF;
  --bg-2: #EFEDE6;
  --ink: #0B1814;
  --ink-2: #1F2D27;
  --ink-soft: #4F5C56;
  --muted: #8A938E;
  --border: rgba(11, 24, 20, 0.10);
  --border-strong: rgba(11, 24, 20, 0.18);

  --forest: #0B1814;
  --forest-2: #143027;
  --forest-3: #1E4435;

  --mint: #86EFAC;
  --mint-2: #4ADE80;
  --green: #16A34A;
  --green-deep: #166534;

  /* Gota (acento secundario) */
  --drop-1: #67E8F9;
  --drop-2: #0891B2;
  --drop-bg: #EFF9FC;
  --drop-ink: #0E7490;

  /* Premium (simulador) */
  --premium: #5B5BD6;
  --premium-soft: #EEEEFB;
  --premium-ink: #3A3AA8;

  /* Reward gold */
  --gold: #F5C842;
  --gold-bg: #FEF6D8;
  --gold-ink: #92670B;

  /* Danger */
  --danger: #EF4444;
  --danger-soft: #FDE9E9;

  /* Type */
  --display: 'Bricolage Grotesque', ui-serif, Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(11,24,20,0.04), 0 1px 1px rgba(11,24,20,0.03);
  --sh-2: 0 8px 24px -8px rgba(11,24,20,0.12), 0 2px 6px rgba(11,24,20,0.04);
  --sh-3: 0 24px 60px -20px rgba(11,24,20,0.25), 0 8px 20px -10px rgba(11,24,20,0.10);
  --sh-glow: 0 0 0 8px rgba(134, 239, 172, 0.25);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }

/* Container */
.wrap { width: min(1240px, 100% - 40px); margin: 0 auto; }
.wrap-tight { width: min(1080px, 100% - 40px); margin: 0 auto; }

/* =========================================================================
   Wordmark
   ========================================================================= */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(180deg, #FCFAF3 0%, #EFECDF 100%);
  border: 1px solid rgba(11,24,20,0.10);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: inset 0 -1px 2px rgba(11,24,20,0.06);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 8px;
  border: 1.5px solid var(--mint-2);
  opacity: 0.55;
  pointer-events: none;
}
.brand-mark svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.wordmark .ever { color: var(--ink); }
.wordmark .plan {
  position: relative;
  color: var(--ink);
}
.wordmark .plan::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'><path d='M2 4 Q 30 -1, 58 4' stroke='%2316A34A' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.wordmark .plan::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--mint-2);
}
.wordmark .t { color: var(--ink); }

/* Larger wordmark variant */
.wordmark.lg { font-size: 32px; }
.wordmark.xl { font-size: 56px; letter-spacing: -0.035em; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 6px 14px -6px rgba(11,24,20,0.45);
}
.btn-primary:hover { background: #18302a; box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 10px 22px -6px rgba(11,24,20,0.45); }
.btn-mint {
  background: var(--green);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 14px -6px rgba(22,163,74,0.50);
}
.btn-mint:hover { background: #15903f; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(11,24,20,0.04); }
.btn-soft {
  background: rgba(11,24,20,0.06);
  color: var(--ink);
}
.btn-soft:hover { background: rgba(11,24,20,0.10); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: var(--r-pill); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Store badges */
.store-badges { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  position: relative;
}
.store-badge svg { width: 22px; height: 22px; }
.store-badge .top { font-size: 11px; opacity: 0.7; line-height: 1; margin-bottom: 3px; letter-spacing: 0.04em; text-transform: uppercase; }
.store-badge .bot { font-size: 17px; font-weight: 600; line-height: 1; font-family: var(--display); letter-spacing: -0.02em; }
.store-badge .stack { display: flex; flex-direction: column; align-items: flex-start; }
.store-badge.soon::after {
  content: 'PRÓXIMAMENTE';
  position: absolute;
  top: -8px; right: -8px;
  font-size: 9px;
  font-family: var(--mono);
  background: var(--mint);
  color: var(--forest);
  padding: 3px 7px;
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* =========================================================================
   Chips & misc
   ========================================================================= */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(11,24,20,0.06);
  color: var(--ink);
}
.chip-mint { background: rgba(134, 239, 172, 0.28); color: var(--green-deep); }
.chip-drop { background: var(--drop-bg); color: var(--drop-ink); }
.chip-premium { background: var(--premium-soft); color: var(--premium-ink); }
.chip-gold { background: var(--gold-bg); color: var(--gold-ink); }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 500;
}

/* =========================================================================
   Top nav
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(246, 244, 239, 0.78);
  border-bottom: 1px solid rgba(11,24,20,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* =========================================================================
   Type scale
   ========================================================================= */
.display-1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.display-2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.muted { color: var(--ink-soft); }
.mono { font-family: var(--mono); }

/* =========================================================================
   Sections
   ========================================================================= */
section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head .lead { max-width: 640px; margin: 16px auto 0; }

/* =========================================================================
   Phone frame (recreate iPhone bezel for mockups)
   ========================================================================= */
.phone {
  width: 320px;
  aspect-ratio: 320 / 670;
  border-radius: 44px;
  background: #0a0a0a;
  padding: 10px;
  box-shadow: var(--sh-3), 0 0 0 1px rgba(11,24,20,0.08);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: 14px;
  background: #0a0a0a;
  z-index: 3;
}
.phone-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 0 26px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
}
.phone-time { font-family: var(--display); font-weight: 700; font-size: 14px; }
.phone-statusbar svg { width: 13px; height: 13px; }
.phone-content {
  padding: 52px 14px 14px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Phone size variants */
.phone.sm { width: 260px; }
.phone.lg { width: 360px; }

/* =========================================================================
   Dashboard mock parts (used in landing)
   ========================================================================= */
.mock-hero-card {
  background: var(--forest);
  border-radius: 22px;
  padding: 18px 16px 22px;
  color: white;
  position: relative;
  overflow: hidden;
}
.mock-hero-card::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.mock-chip-on-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.10);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mock-chip-on-dark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-2); }

.mock-score-big {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--mint);
  letter-spacing: -0.04em;
}

.mock-card {
  background: white;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(11,24,20,0.04);
}

/* =========================================================================
   Animations
   ========================================================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, -10px) rotate(2deg); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(134, 239, 172, 0); }
}
@keyframes water-drop {
  0% { transform: translateY(-20px); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(120px); opacity: 0; }
}
.float { animation: float 6s ease-in-out infinite; }

/* =========================================================================
   Footer
   ========================================================================= */
footer {
  background: var(--forest);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 36px;
}
footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
footer a {
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  transition: color 0.15s;
}
footer a:hover { color: white; }
footer .wordmark { color: white; }
footer .wordmark .ever, footer .wordmark .plan, footer .wordmark .t { color: white; }
footer .wordmark .plan::after { filter: brightness(1.4); }

/* =========================================================================
   Utility
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; justify-content: center; }
.middle { align-items: center; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
.relative { position: relative; }
