/* ===== Palette — modifie ces variables pour changer les couleurs ===== */
:root {
  --primary: #1f7a8c;      /* teal */
  --primary-dark: #155e6c;
  --accent: #e8a13c;       /* orange doré */
  --bg: #f4f7f8;
  --card: #ffffff;
  --text: #16232a;
  --muted: #5d6f78;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e2e9ec;
  position: sticky; top: 0; z-index: 10;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.navbar nav a { margin-left: 22px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.navbar nav a:hover { color: var(--primary); }

/* Hero */
.hero {
  background:
    linear-gradient(rgba(15, 45, 55, 0.72), rgba(15, 45, 55, 0.72)),
    url("background.png") center / cover no-repeat;
  color: #fff; padding: 90px 0; text-align: center;
}
.hero h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 18px; }
.hero p { max-width: 640px; margin: 0 auto 30px; font-size: 1.08rem; opacity: 0.95; text-align: justify; }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: #e9f1f3; }
.section h2 { text-align: center; font-size: 1.9rem; margin-bottom: 36px; color: var(--primary); }
.help-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 1rem; font-weight: 700;
  text-decoration: none; vertical-align: middle; margin-left: 8px;
}
.help-link:hover { filter: brightness(1.1); }

/* Form */
.form { max-width: 640px; margin: 0 auto; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field label { font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.field input, .field select {
  padding: 12px 14px; border: 1px solid #d3dee2; border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: #fbfdfd;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 122, 140, 0.15);
}
.field input[type="checkbox"] { width: auto; }
.checkbox { flex-direction: row !important; align-items: center; gap: 8px; font-weight: 500; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 4px 16px rgba(20, 60, 70, 0.06);
}
.step-img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 10px;
  margin-bottom: 16px;
}
.step-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }
.step h3 { margin: 8px 0 10px; color: var(--primary); }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--card); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(20, 60, 70, 0.05);
}
.faq summary { font-weight: 700; cursor: pointer; color: var(--text); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff; border: none;
  font-weight: 700; font-size: 1rem; padding: 14px 34px; border-radius: 8px;
  cursor: pointer; text-decoration: none; transition: filter 0.2s;
}
.btn:hover { filter: brightness(1.08); }
.btn-block { grid-column: 1 / -1; }

.status { grid-column: 1 / -1; text-align: center; font-weight: 600; min-height: 1.4em; }
.status.ok { color: #12805a; }
.status.err { color: #c0392b; }

/* Partners */
.partners {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px; max-width: 860px; margin: 0 auto;
}
.partners img {
  width: 110px; height: 64px; object-fit: contain;
  background: var(--card); border-radius: 10px; padding: 8px;
  box-shadow: 0 3px 10px rgba(20, 60, 70, 0.08);
  transition: transform 0.2s ease;
}
.partners img:hover { transform: translateY(-4px); }

/* Footer */
.footer { background: var(--primary); color: #fff; text-align: center; padding: 40px 0; }
.footer .email { font-weight: 700; margin: 8px 0; color: var(--accent); }
.footer p:last-child { opacity: 0.85; font-size: 0.9rem; margin-top: 10px; }

@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; padding: 24px; }
  .hero h1 { font-size: 1.8rem; }
  .navbar nav a { margin-left: 10px; font-size: 0.85rem; }
}
