/* Mercito : feuille de style commune à toutes les pages */
:root {
  --bg: #fbf7f0;
  --paper: #ffffff;
  --ink: #1f2a24;
  --muted: #5b665f;
  --green: #1f5c45;
  --green-dark: #174a37;
  --green-soft: #e3efe8;
  --gold: #e0a526;
  --line: #e6dfd2;
  --red-soft: #fbe9e4;
  --red-ink: #8a3b2a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 500; }
p { margin: 0 0 14px; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* En-tête et navigation */
header.site { padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.logo { font-family: "Fraunces", Georgia, serif; font-size: 26px; font-weight: 700; color: var(--green); text-decoration: none; }
.logo span { color: var(--gold); }
.menu { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.menu a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.menu a:hover { background: var(--green-soft); }
.menu a[aria-current="page"] { background: var(--green-soft); color: var(--green); font-weight: 600; }
.menu a.cta-small { background: var(--green); color: #fff; font-weight: 600; }
.menu a.cta-small:hover { background: var(--green-dark); }

/* Boutons et petits textes */
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; padding: 15px 26px; border-radius: 10px; margin-top: 10px;
}
.btn:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--green); border: 2px solid var(--green); padding: 13px 24px; }
.btn.ghost:hover { background: var(--green-soft); }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; }

/* Haut de page des pages intérieures */
.page-head { padding: 56px 20px 40px; }
.page-head .lead { max-width: 640px; }

/* Accueil : bloc principal */
.hero { padding: 48px 20px 72px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero > * { min-width: 0; }
.human { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; max-width: 520px; font-size: 15px; }
.human p { margin: 0; }
.face { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 20px; flex-shrink: 0; }

/* Carte d'avis */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(31,42,36,0.06); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; flex-shrink: 0; }
.who { font-weight: 600; font-size: 15px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.stars .off { color: #d8d2c6; }
.review-text { font-size: 15px; }
.reply { margin-top: 14px; background: var(--green-soft); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.reply .label { font-weight: 600; font-size: 13px; color: var(--green); display: block; margin-bottom: 4px; }
.before { margin-top: 14px; background: var(--red-soft); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--red-ink); }
.trade { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

/* Sections */
section { padding: 64px 0; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 640px; color: var(--muted); margin-bottom: 32px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid2 > *, .grid3 > * { min-width: 0; }
.point { background: var(--bg); border-radius: 14px; padding: 22px; border: 1px solid var(--line); }
.num { font-family: "Fraunces", Georgia, serif; font-size: 34px; color: var(--gold); font-weight: 700; line-height: 1; margin-bottom: 10px; }
.more { margin-top: 28px; }

/* Filtres de la page exemples */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button {
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.filters button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
[hidden] { display: none !important; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plans > * { min-width: 0; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--green); box-shadow: 0 10px 30px rgba(31,42,36,0.08); }
.plan .tag { display: inline-block; align-self: flex-start; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.price { font-family: "Fraunces", Georgia, serif; font-size: 52px; font-weight: 700; color: var(--green); line-height: 1; margin: 6px 0 4px; }
.price small { font-size: 18px; color: var(--muted); font-weight: 500; }
ul.check { list-style: none; padding: 0; margin: 18px 0 20px; flex: 1; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: 10px; font-size: 15px; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Questions */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Bandeau final */
.cta { text-align: center; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 10px; }

/* À propos */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.about > * { min-width: 0; }
.portrait { aspect-ratio: 1; border-radius: 20px; background: var(--green); color: #fff; display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-size: 96px; font-weight: 700; }
.prose p { max-width: 64ch; }
.rules { list-style: none; padding: 0; margin: 0; }
.rules li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rules li:first-child { border-top: 1px solid var(--line); }
.rules strong { display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact-grid > * { min-width: 0; }
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); }
input, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid #d6cdbd; border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 120px; resize: vertical; }
.error { color: var(--red-ink); font-size: 14px; margin-top: 6px; }
.mail-big { font-family: "Fraunces", Georgia, serif; font-size: clamp(22px, 3.5vw, 28px); font-weight: 700; color: var(--green); text-decoration: none; word-break: break-all; }

/* Mentions légales */
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p { max-width: 70ch; }
.todo { background: #fff3cd; padding: 1px 6px; border-radius: 4px; }

/* Pied de page */
footer.site { padding: 40px 0 48px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .hero, .grid2, .grid3, .plans, .about, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 24px 20px 56px; gap: 32px; }
  section { padding: 48px 0; }
  .page-head { padding: 36px 20px 24px; }
  .about .portrait { max-width: 160px; font-size: 64px; }
  .menu { width: 100%; }
  .menu a { padding: 7px 10px; font-size: 14px; }
}
