/* Habitation La Pinède — site institutionnel (habitation-la-pinede.fr)
   Charte HLP : crème dominant, encre, accents sand/sage.
   Polices : Dancing Script (hero), Fraunces (titres), DM Sans (corps). */

:root {
  --cream: #f6f1e7;
  --cream-soft: #fbf7ef;
  --ink: #3a3632;
  --ink-soft: #6b6359;
  --sand: #c9a876;
  --sage: #7e8a6a;
  --line: rgba(58, 54, 50, 0.14);
  --maxw: 720px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.site-header {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand b { font-weight: 600; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--sand); }

/* ---- Hero (accueil) ---- */
.hero { text-align: center; padding: 76px 0 78px; }
.hero-arch {
  max-width: 600px;
  margin: 0 auto 38px;
  background: var(--cream-soft);
  border-radius: 300px 300px 34px 34px;
  padding: 80px 56px 56px;
  box-shadow: 0 24px 70px rgba(58, 54, 50, 0.07);
}
.kicker {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero h1 {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  font-size: clamp(46px, 8.5vw, 72px);
  line-height: 1.0;
  color: var(--ink);
  margin: 16px 0 0;
}
.rule { width: 84px; height: 1.5px; background: var(--sand); border: 0; margin: 20px auto 2px; }
.lede {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 540px;
  margin: 0 auto;
}

/* ---- Buttons ---- */
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: #2c2925; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--sand); color: var(--sand); transform: translateY(-1px); }

/* ---- Section générique ---- */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* ---- Pages légales ---- */
.legal { padding: 56px 0 80px; }
.legal .eyebrow {
  font-family: "Fraunces", serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand);
}
.legal h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.15;
  margin: 10px 0 8px;
}
.legal .updated { font-size: 14px; color: var(--ink-soft); margin-bottom: 34px; }
.legal h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 23px;
  margin: 38px 0 12px;
  color: var(--ink);
}
.legal p, .legal li { color: #4a453f; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--sand); }
.legal strong { color: var(--ink); font-weight: 600; }
.placeholder {
  background: rgba(201, 168, 118, 0.14);
  border-left: 3px solid var(--sand);
  padding: 2px 8px;
  border-radius: 3px;
  font-style: italic;
}
.back {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.back:hover { color: var(--sand); }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  text-align: center;
}
.site-footer .fnav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer a {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer a:hover { color: var(--sand); }
.site-footer .sig {
  font-family: "Fraunces", serif;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.site-footer small { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 13px; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { padding: 54px 0 60px; }
  .hero-arch { padding: 60px 30px 44px; border-radius: 210px 210px 26px 26px; }
}
