@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0f172a; /* Navy Dark */
  --secondary-color: #334155; /* Slate */
  --accent-color: #2563eb; /* Blue */
  --bg-color: #ffffff;
  --bg-alt: #f8fafc;
  --text-color: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --white: #ffffff;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Styles Généraux */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.025em;
}

nav {
  background-color: var(--white);
  padding: 0;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  color: var(--secondary-color);
  margin: 0 16px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

nav a:hover {
  color: var(--accent-color);
}

section {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-color);
  letter-spacing: -0.025em;
}

section p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.app-card {
  background: var(--bg-alt);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.app-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border: 1px solid var(--primary-color);
  border-radius: 6px;
  text-transform: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
}

section.legal {
  text-align: left;
  max-width: 900px;
}

section.legal h2 {
  font-size: 1.5rem;
  margin-top: 40px;
}

section.legal p {
  max-width: none;
  margin: 0 0 16px;
  font-size: 1rem;
}

#conditions-links a {
  display: inline-block;
  margin: 10px 20px 10px 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}

#conditions-links a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  text-align: center;
  padding: 48px 20px;
  margin-top: auto;
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    padding: 32px 20px;
  }
  
  header h1 {
    font-size: 1.875rem;
  }

  nav {
    height: auto;
    padding: 16px;
  }

  nav a {
    margin: 8px 12px;
    font-size: 0.875rem;
  }

  section {
    padding: 48px 20px;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    padding: 14px;
  }

  header {
    padding: 24px 20px;
  }

  header h1 {
    font-size: 1.5rem;
  }
}
