/* posty/public/landing.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #faf9f6;
  --card:        #ffffff;
  --border:      #e4e1da;
  --border-hi:   #ccc9c0;
  --border-sub:  #f0ede6;
  --fg:          #18181b;
  --fg-muted:    #52525b;
  --fg-subtle:   #78716c;
  --fg-faint:    #a1a1aa;
  --nav-bg:      rgba(250,249,246,0.85);
  --primary:     #18181b;
  --primary-fg:  #fafafa;
}

html.dark {
  --bg:          #09090b;
  --card:        #18181b;
  --border:      #27272a;
  --border-hi:   #3f3f46;
  --border-sub:  #27272a;
  --fg:          #fafafa;
  --fg-muted:    #a1a1aa;
  --fg-subtle:   #71717a;
  --fg-faint:    #52525b;
  --nav-bg:      rgba(9,9,11,0.85);
  --primary:     #fafafa;
  --primary-fg:  #09090b;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.5;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo {
  width: 32px; height: 32px;
  background: #fef08a;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #1a1a1a;
  box-shadow: 2px 2px 0 #c8b800;
  flex-shrink: 0;
}
.nav-name { font-weight: 700; font-size: 16px; color: var(--fg); }
.nav-links { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ── */
.btn {
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity .15s, background .15s;
  border: none;
}
.btn:hover { opacity: .85; }
.btn-outline {
  background: none;
  border: 1px solid var(--border-hi);
  color: var(--fg-muted);
}
.btn-dark {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-dark-lg {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 8px;
}
.btn-outline-lg {
  background: none;
  border: 1px solid var(--border-hi);
  color: var(--fg-muted);
  padding: 12px 22px;
  font-size: 14px;
  border-radius: 8px;
}
.btn-theme {
  background: none;
  border: 1px solid var(--border-hi);
  color: var(--fg-muted);
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  cursor: pointer;
  font-size: 15px;
  flex-shrink: 0;
  transition: background .15s;
}
.btn-theme:hover { background: var(--border); opacity: 1; }

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 61px - 89px);
}

/* Hero left */
.hero-left { display: flex; flex-direction: column; gap: 24px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef08a;
  color: var(--fg-subtle);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  width: fit-content;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero-title .accent {
  position: relative;
  display: inline-block;
  color: var(--fg);
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0; right: 0;
  height: 3px;
  background: #fef08a;
  border-radius: 2px;
}

.hero-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
}

.features-mini { display: flex; flex-direction: column; gap: 10px; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
}
.feature-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.hero-ctas { display: flex; flex-direction: column; gap: 8px; }
.hero-ctas-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cta-hint { font-size: 12px; color: var(--fg-subtle); }

/* Hero right — board mockup */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-card {
  width: 340px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  overflow: visible;
  border: 1px solid var(--border);
}
.board-card-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-sub);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.board-card-brand {
  display: flex; align-items: center; gap: 6px;
}
.board-card-logo {
  width: 20px; height: 20px;
  background: #fef08a;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 10px; color: #1a1a1a;
  box-shadow: 1px 1px 0 #c8b800;
}
.board-card-ws { font-size: 12px; font-weight: 600; color: var(--fg); }
.board-card-action { font-size: 10px; color: var(--fg-faint); }

.board-canvas {
  position: relative;
  height: 220px;
  width: 100%;
}

.postit {
  position: absolute;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.45;
  color: #3d3d3d;
  box-shadow: 2px 4px 8px rgba(0,0,0,.12);
  max-width: 115px;
  font-weight: 500;
}

.badge-float {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--fg-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  white-space: nowrap;
}


/* ── Comment ça marche ── */
.how-section {
  padding: 80px 24px;
  background: var(--bg);
}
.how-inner {
  max-width: 720px;
  margin: 0 auto;
}
.how-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 40px;
  text-align: center;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.how-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.how-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── FAQ ── */
.faq-section {
  padding: 80px 24px;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 40px;
  text-align: center;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  padding: 40px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.footer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--fg); }
.footer-copy {
  width: 100%;
  font-size: 13px;
  color: var(--fg-subtle);
}

/* ── Responsive ── */
/* ── Hamburger ── */
.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-hamburger {
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border-hi);
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 16px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  display: block;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--border);
  text-align: center;
  background: var(--card);
}
.nav-mobile-link:hover { background: var(--secondary); }

.nav-mobile-cta {
  display: block;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-fg);
  text-decoration: none;
  text-align: center;
  background: var(--primary);
}
.nav-mobile-cta:hover { opacity: 0.88; }

@media (max-width: 540px) {
  .nav-links { display: none; }
  .nav-right-mobile { display: flex; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px 32px;
    gap: 32px;
    min-height: unset;
  }
  .hero-right { display: none; }
  .hero-title { font-size: 30px; }
  .hero-desc { max-width: 100%; }
  .btn-dark-lg, .btn-outline-lg { width: 100%; justify-content: center; }

}
