/* =====================================================================
 *  Ekhos — base des pages merci, contact et informations légales
 *  (mêmes couleurs, polices, en-tête et pied de page que l'accueil)
 * =================================================================== */
:root {
  --bg-page: #fbfbf9;
  --bg-card: #ffffff;
  --text-main: #111111;
  --text-muted: #666666;
  --border-subtle: #eaeaea;
  --radius-large: 26px;
  --radius-card: 18px;
  --radius-btn: 9999px;
  --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font-main); -webkit-font-smoothing: antialiased; }

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- En-tête ---------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(16px, 3vw, 48px);
  width: 100%;
  position: relative;
  gap: 16px;
}
.brand-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--text-main);
}
.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-menu > a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.nav-menu > a:hover { opacity: 0.6; }
.nav-actions-group { display: flex; align-items: center; gap: 12px; }

.btn-nav-action,
.btn-noir {
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
  transition: transform 0.2s, background 0.2s;
}
.btn-nav-action:hover,
.btn-noir:hover { background: #000; transform: translateY(-1px); }
.btn-noir:disabled { background: #b0b0a8; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-clair {
  background: #ffffff;
  color: #111;
  border: 1px solid var(--border-subtle);
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.btn-clair:hover { border-color: #111; }

@media (max-width: 1100px) {
  .nav-menu > a { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 600px) {
  .brand-logo { font-size: 22px; }
  .btn-nav-action { display: none; }
}

/* ---------- Pied de page (base identique à l'accueil) ---------- */
.site-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 70px clamp(16px, 3vw, 48px) 40px;
  margin-top: auto;
}
.footer-brand { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
.footer-bottom-row {
  border-top: 1px solid #222;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
}
.payment-icons-strip { display: flex; gap: 8px; }
.badge-card { background: #1a1a1a; padding: 4px 8px; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 700; }

/* ---------- Carte ---------- */
.carte {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* ---------- Formulaires ---------- */
.champ { margin-bottom: 18px; }
.champ label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  color: #111;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.champ textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,0.08); }

/* ---------- Texte long (informations légales) ---------- */
.texte-legal h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  scroll-margin-top: 24px;
}
.texte-legal h3 { font-size: 17px; font-weight: 800; margin: 26px 0 8px; }
.texte-legal p,
.texte-legal li { font-size: 15px; color: #444; line-height: 1.7; }
.texte-legal p + p { margin-top: 10px; }
.texte-legal ul { padding-left: 20px; margin: 8px 0; }
.texte-legal a { color: #111; font-weight: 600; }

/* ---------- Page merci : espacement entre les boutons et l'aide ---------- */
.merci-aide { margin-top: 22px; }
