/* Styles partagés : mentions légales, confidentialité, page de remerciement */
:root {
  --navy-950: #071A40; --navy-900: #0A2457; --sky-400: #6F97D6; --sky-100: #E6EEF9;
  --ivory: #F5F8FB; --amber: #E8B04B; --ink: #10203F; --muted: #47557a;
  --line: rgba(10, 36, 87, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--ivory); line-height: 1.65; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 3px; }
a { color: var(--navy-900); }

.top { border-bottom: 1px solid var(--line); background: rgba(245, 248, 251, 0.92); }
.top-inner { max-width: 760px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { height: 28px; width: auto; display: block; }
.back { font-size: 0.9rem; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--navy-900); }

.wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.1; color: var(--navy-900); margin-bottom: 8px; letter-spacing: -0.01em; }
.updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 40px; }
h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.3rem; color: var(--navy-900); margin: 40px 0 12px; }
p, ul { margin-bottom: 14px; font-size: 0.97rem; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }

.btn { display: inline-block; background: var(--amber); color: var(--navy-950); padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; }

/* Page devis */
.intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.notice { background: #FBF0D9; border: 1px solid rgba(232, 176, 75, 0.45); border-radius: 12px; padding: 14px 18px; font-size: 0.92rem; margin-bottom: 32px; }
.devis-form { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--navy-900); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 0.97rem; padding: 12px 14px; border: 1px solid rgba(10, 36, 87, 0.22); border-radius: 10px; background: white; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-900); }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-900); flex: none; }
.form-legal { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); margin: 0; }
.devis-form button { grid-column: 1 / -1; border: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; }
.sent { margin-top: 24px; background: var(--sky-100); border-radius: 16px; padding: 22px 24px; }
.sent { padding: 32px; }
.sent:focus { outline: none; }
.sent h2 { margin-top: 0; font-size: 1.6rem; }
.form-error { grid-column: 1 / -1; background: #FDECEC; color: #8A1C1C; border-radius: 10px; padding: 12px 14px; font-size: 0.92rem; margin: 0; }
.form-error a { color: #8A1C1C; }
.devis-form button:disabled { opacity: 0.7; cursor: wait; }
[hidden] { display: none !important; }
@media (max-width: 560px) { .devis-form { grid-template-columns: 1fr; padding: 22px; } }

footer { border-top: 1px solid var(--line); }
footer .inner { max-width: 760px; margin: 0 auto; padding: 24px; font-size: 0.82rem; color: var(--muted); }
