/* La Plume du Jars — feuille de style
   Pour changer l'ambiance, modifiez seulement les couleurs ci-dessous. */
:root {
  --bg: #f6efe2;        /* parchemin */
  --bg-alt: #ece1cc;
  --ink: #2b2118;       /* encre brune */
  --muted: #6b5a48;
  --accent: #8c2f1b;    /* rouge sceau de cire */
  --accent-ink: #fff8ee;
  --gold: #b8892d;
  --card: #fffaf1;
  --radius: 10px;
  --title: "Georgia", "Palatino Linotype", "Book Antiqua", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; }
a { color: var(--accent); }

h1, h2, h3 { font-family: var(--title); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h2::after {
  content: ""; display: block; width: 60px; height: 3px;
  background: var(--gold); margin-top: .4em;
}
h3 { font-size: 1.25rem; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 64px 20px; }
section[id] { scroll-margin-top: 70px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 20px;
  background: rgba(43, 33, 24, .95); color: var(--accent-ink);
}
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none;
        font-family: var(--title); font-size: 1.2rem; font-weight: bold; }
.nav nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav nav a { color: var(--accent-ink); text-decoration: none; }
.nav nav a:hover { color: var(--gold); }

/* Boutons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink) !important;
  text-decoration: none; font-weight: 600; border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--accent) !important; }
.btn-small { padding: 6px 14px; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at top, rgba(184,137,45,.25), transparent 60%),
    linear-gradient(180deg, #2b2118, #3d2b1d);
  color: var(--accent-ink);
}
.hero .wrap { padding: 110px 20px 120px; text-align: center; }
.hero .btn-ghost { color: var(--accent-ink) !important; border-color: var(--accent-ink); }
.kicker { text-transform: uppercase; letter-spacing: .15em; color: var(--gold); font-size: .85rem; margin: 0 0 1em; }
.lead { font-size: 1.2rem; max-width: 640px; margin: 0 auto 2em; opacity: .9; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* À propos */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { background: var(--card); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: var(--radius); }
.facts strong { display: block; font-family: var(--title); font-size: 1.6rem; color: var(--accent); }
.facts span { color: var(--muted); }

/* Bandeaux */
.band { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--card); padding: 24px; border-radius: var(--radius);
        box-shadow: 0 2px 10px rgba(43,33,24,.08); }
.card p { margin: 0 0 .6em; }
.price { text-align: center; }
.amount { font-family: var(--title); font-size: 2rem; color: var(--accent); font-weight: bold; }
.featured { outline: 3px solid var(--gold); }
#tarifs .cards { max-width: 640px; margin: 0 auto; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1.5em; }

/* Étapes */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 70px;
            background: var(--card); border-radius: var(--radius); }
.steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-family: var(--title); font-weight: bold;
}

/* Contact */
.contact { text-align: center; }
.contact h2::after { margin-left: auto; margin-right: auto; }
.contact-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1.5em; }

/* Pied de page */
footer { background: var(--ink); color: var(--accent-ink); text-align: center; font-size: .9rem; }
footer .wrap { padding: 24px 20px; }
footer a { color: var(--gold); }

/* Page mentions légales */
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Mobile */
@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  .wrap { padding: 48px 16px; }
}
