/* =========================
   RESET & BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f7f7f7;
  color: #222;
  line-height: 1.6;
}

/* =========================
   LAYOUT
========================= */

.container {
  max-width: 720px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.section {
  margin-top: 2rem;
}

.footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #777;
  font-size: 0.875rem;
}

/* =========================
   HEADER
========================= */

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1rem;
  color: #666;
}

/* =========================
   TEXT
========================= */

.section p {
  margin-bottom: 1rem;
  color: #444;
}

.note {
  font-size: 0.95rem;
  color: #555;
  background: #f2f2f2;
  padding: 1rem;
  border-radius: 10px;
}

/* =========================
   FORM
========================= */

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
}

input,
textarea {
  margin-top: 0.4rem;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ff8a00; /* couleur accent */
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.15);
}

/* =========================
   BUTTON
========================= */

button {
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: #ff8a00;
  color: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

button:hover {
  background: #ff9d26;
  box-shadow: 0 8px 20px rgba(255, 138, 0, 0.35);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {
  .container {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .header h1 {
    font-size: 1.6rem;
  }
}
