/* html/public/css/style.css */

/* Reset simple */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111;
  color: #f5f5f5;
}

a {
  color: #ffd666;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header */

.site-header {
  background: #222;
  border-bottom: 1px solid #333;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
}

.main-nav a {
  margin-left: 1rem;
  font-weight: 600;
}

/* Hero */

.hero {
  margin: 2rem 0;
}

/* Cards responsive */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid #333;
  background: #181818;
  padding: 1rem 0;
  text-align: center;
  margin-top: 2rem;
}

/* Petites améliorations mobiles */

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}
