/* Feuille de style standard pour Prévenir Pour Agir */

:root {
  --bg-color: #f7f7f7;
  --surface-color: #ffffff;
  --text-color: #222222;
  --muted-color: #6c6c6c;
  --accent-color: #0066cc;
  --border-color: #d9d9d9;
  --radius: 12px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-color);
  background: var(--bg-color);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-color);
}

img,
svg,
video,
canvas {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100%, calc(100% - 3rem));
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0;
}

header,
main,
footer {
  width: 100%;
}

.brand-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.nav-bar a {
  color: var(--text-color);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-bar a:hover,
.nav-bar a:focus-visible {
  background: rgba(0, 102, 204, 0.1);
  color: var(--accent-color);
}

section {
  margin-bottom: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 2.5vw, 3rem);
}

p {
  margin: 0 0 1.25rem;
  color: var(--muted-color);
}

.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #004a99;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 1.5rem 0;
  }
}
