/* Layout pages statiques (mentions, RGPD, CGV, 404, contact) */

.page-hero {
  padding: 10rem var(--pad-x) 3rem;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.page-hero .eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
.page-hero p.updated { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.05em; }

.page-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem var(--pad-x) 6rem;
  color: var(--ink-soft);
}
.page-body h2 {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  margin: 3rem 0 1rem;
  letter-spacing: -0.005em;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  margin: 1.75rem 0 0.5rem;
}
.page-body p { margin-bottom: 1rem; line-height: 1.75; font-size: 0.95rem; }
.page-body ul, .page-body ol { margin: 0.5rem 0 1.25rem 1.25rem; }
.page-body li { margin-bottom: 0.4rem; line-height: 1.7; font-size: 0.95rem; }
.page-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: var(--ink-soft); }
.page-body strong { color: var(--ink); font-weight: 500; }
.page-body hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
.page-body table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.page-body th, .page-body td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.page-body th { color: var(--ink); font-weight: 500; }

/* Page Contact */
.contact-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10rem var(--pad-x) 6rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-intro .eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem;
}
.contact-intro .eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}
.contact-intro h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}
.contact-intro p.lead {
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 3rem;
  line-height: 1.65;
}
.contact-methods { display: grid; gap: 1rem; }
.contact-method {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.contact-method:hover { border-color: var(--ink); transform: translateX(4px); background: var(--bg-soft); }
.contact-method svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ink); }
.contact-method .label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.contact-method .value { font-size: 0.95rem; color: var(--ink); font-weight: 400; }
.contact-method-text { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-socials { display: flex; gap: 0.75rem; margin-top: 2rem; }
.contact-socials a {
  width: 44px; height: 44px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.contact-socials a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.contact-socials svg { width: 18px; height: 18px; }

/* Formulaire */
.contact-form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-form-card h2 {
  font-size: 1.1rem; font-weight: 500; margin-bottom: 0.35rem; color: var(--ink);
}
.contact-form-card p.sub { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 1.75rem; }
.form-field { display: flex; flex-direction: column; margin-bottom: 1.15rem; }
.form-field label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea {
  font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  padding: 0.65rem 0; font-size: 0.95rem;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.form-field textarea { min-height: 120px; line-height: 1.6; }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) { border-bottom-color: #b23a3a; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.contact-form-card button[type="submit"] {
  display: inline-flex; align-items: center; gap: 0.85rem;
  margin-top: 1rem;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  padding: 0.95rem 2rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.contact-form-card button[type="submit"]:hover:not(:disabled) { background: transparent; color: var(--ink); }
.contact-form-card button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
.contact-form-card button.loading::after {
  content: ""; display: inline-block; width: 12px; height: 12px;
  border: 1.5px solid rgba(255,255,255,0.35); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-consent {
  font-size: 0.75rem; color: var(--ink-soft); line-height: 1.55; margin-top: 1rem;
}
.form-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; padding-top: 7rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Page 404 dédiée */
.err-hero {
  min-height: 100vh; padding: 8rem var(--pad-x) 4rem;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden;
}
.err-hero::before {
  content: "404"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(12rem, 30vw, 24rem); font-weight: 200;
  color: var(--bg-soft); z-index: -1; line-height: 1;
  letter-spacing: -0.05em;
}
.err-hero-inner { max-width: 560px; }
.err-hero .eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.err-hero .eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.err-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
.err-hero p { color: var(--ink-soft); margin-bottom: 2.5rem; font-size: 1rem; }
.err-hero .actions { display: inline-flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
