/* Layout : une marche en avant le long du chemin. Bandes pleine largeur qui alternent brume claire et sous-bois sombre ;
   le texte reste à ~65 caractères, les photos du cabinet et du chemin portent l'ambiance. */
:root {
  --bg: #eef0ea;          /* brume de sous-bois */
  --surface: #f8f9f5;
  --band: #e2e6dc;
  --ink: #1e2a23;
  --muted: #55625a;
  --forest: #22352b;      /* sous-bois profond */
  --forest-ink: #eef0ea;
  --moss: #6e7f5c;
  --ochre: #b07c34;       /* feuille d'automne, rappel du papier peint du cabinet */
  --line: #cfd5c8;
  --btn: #22352b;
  --btn-ink: #eef0ea;
  --display: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(2rem, 4.4vw, 3rem);
  --radius: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131a16; --surface: #1a231e; --band: #172019; --ink: #e6ebe3; --muted: #a3b0a6;
    --forest: #0d130f; --forest-ink: #e6ebe3; --moss: #9db08a; --ochre: #d9a65e; --line: #2c3a31; --btn: #d9a65e; --btn-ink: #131a16; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131a16; --surface: #1a231e; --band: #172019; --ink: #e6ebe3; --muted: #a3b0a6;
  --forest: #0d130f; --forest-ink: #e6ebe3; --moss: #9db08a; --ochre: #d9a65e; --line: #2c3a31; --btn: #d9a65e; --btn-ink: #131a16; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.7;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ochre); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
[id] { scroll-margin-top: 72px; }

.wrap {
  max-width: 1100px; margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(60px, 9vw, 110px); }
.band.alt { background: var(--band); }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--moss); }
.section-head { display: grid; gap: 14px; max-width: 40rem; margin-bottom: 44px; }
.section-head p { color: var(--muted); }

/* En-tête */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: grid; line-height: 1.15; text-decoration: none; color: var(--ink); }
.brand strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.brand span { font-size: .78rem; color: var(--muted); letter-spacing: .05em; }
nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--ochre); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn); color: var(--btn-ink); border: 0; border-radius: 999px;
  padding: 12px 22px; font: 600 .95rem var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--ochre); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ochre); color: var(--ochre); }
@media (max-width: 860px) { nav { display: none; } }
@media (max-width: 480px) {
  .brand { white-space: nowrap; }
  .brand span { display: none; }
  header.top .btn { padding: 10px 16px; font-size: .88rem; }
}

/* Hero */
.hero { padding-block: clamp(44px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); margin-block: 16px 10px; }
.hero .role { font-size: var(--step-1); color: var(--moss); font-family: var(--display); }
.hero .lead { margin-top: 26px; font-size: var(--step-1); color: var(--muted); max-width: 32rem; line-height: 1.55; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero figure { margin: 0; position: relative; }
.hero figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%;
  border-radius: 999px 999px var(--radius) var(--radius);
}
.hero figcaption {
  position: absolute; left: -18px; bottom: 28px; max-width: 15rem;
  background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 14px 18px;
  font-family: var(--hand); font-size: 1.45rem; line-height: 1.2; box-shadow: 0 10px 30px rgb(0 0 0 / .12);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero figure { max-width: 420px; }
  .hero figure img { aspect-ratio: 1 / 1; }
  .hero figcaption { left: 12px; }
}

/* Citation */
.quote { background: var(--forest); color: var(--forest-ink); }
.quote .wrap { padding-block: clamp(56px, 8vw, 96px); display: grid; gap: 18px; justify-items: start; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.3; max-width: 46rem; }
.quote blockquote span { color: var(--ochre); }
.quote cite { font-style: normal; font-size: .9rem; letter-spacing: .08em; opacity: .75; }

/* Parcours */
.story { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.story .text { display: grid; gap: 18px; max-width: 40rem; min-width: 0; }
.story .text p:first-child::first-letter { font-family: var(--display); font-size: 3.4em; float: left; line-height: .9; padding: 6px 10px 0 0; color: var(--ochre); }
.whole { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.whole li { background: var(--surface); padding: 16px 12px; text-align: center; font-family: var(--display); font-size: 1.1rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .whole { grid-template-columns: repeat(2, 1fr); } }

/* Approches */
.approaches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.approach {
  grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0;
}
.approach:nth-child(4), .approach:nth-child(5) { grid-column: span 3; }
.approach svg { width: 30px; height: 30px; color: var(--moss); }
.approach p { color: var(--muted); font-size: .98rem; }
.tag { justify-self: start; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ochre); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; }
.approach .caveat { font-size: .9rem; font-style: italic; }
@media (max-width: 900px) { .approaches { grid-template-columns: 1fr 1fr; } .approach, .approach:nth-child(4), .approach:nth-child(5) { grid-column: span 1; } .approach:nth-child(5) { grid-column: span 2; } }
@media (max-width: 580px) { .approaches { grid-template-columns: 1fr; } .approach:nth-child(5) { grid-column: span 1; } }

/* Cabinet */
.room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.room img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.room .text { display: grid; gap: 18px; max-width: 34rem; min-width: 0; }
.room .text p { color: var(--muted); }
.promise { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 12px; align-items: baseline; }
.promise li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); transform: translateY(-2px); }
@media (max-width: 860px) { .room { grid-template-columns: 1fr; } .room img { aspect-ratio: 4 / 3; } }

/* Tarifs */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.price .amount { font-family: var(--display); font-size: 2.6rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 6px; }
.price .dur { font-size: .9rem; color: var(--moss); font-weight: 500; }
.price p:last-child { color: var(--muted); font-size: .96rem; margin-top: 8px; }
.note { margin-top: 26px; font-size: .92rem; color: var(--muted); max-width: 46rem; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

/* Valeurs à compléter avant la mise en ligne : supprimer cette règle quand tout est rempli */
.todo { background: color-mix(in srgb, var(--ochre) 22%, transparent); outline: 1px dashed var(--ochre); border-radius: 4px; padding: 0 4px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 46rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; padding-block: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--ochre); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Contact */
.contact { background: var(--forest); color: var(--forest-ink); }
.contact .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.contact .eyebrow { color: var(--ochre); }
.contact h2 { margin-block: 14px 18px; }
.contact .intro { opacity: .85; max-width: 32rem; }
.sign { font-family: var(--hand); font-size: 2.2rem; line-height: 1; margin-top: 28px; color: var(--ochre); }
.card { background: color-mix(in srgb, var(--forest-ink) 7%, transparent); border: 1px solid color-mix(in srgb, var(--forest-ink) 16%, transparent); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); display: grid; gap: 20px; min-width: 0; }
.card dl { margin: 0; display: grid; gap: 18px; }
.card dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; opacity: .7; }
.card dd { margin: 4px 0 0; font-size: 1.1rem; }
.phone { font-family: var(--display); font-size: 1.9rem !important; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.phone a { color: inherit; text-decoration: none; }
.card .btn { background: var(--ochre); color: #fff; justify-self: start; }
.card .btn:hover { background: var(--forest-ink); color: var(--forest); }
.urgence { font-size: .88rem; opacity: .8; border-top: 1px solid color-mix(in srgb, var(--forest-ink) 16%, transparent); padding-top: 16px; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

footer { background: var(--forest); color: var(--forest-ink); border-top: 1px solid color-mix(in srgb, var(--forest-ink) 12%, transparent); padding-block: 26px; font-size: .85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; opacity: .75; }
footer a { color: inherit; }

/* Page mentions légales */
.legal { padding-block: clamp(44px, 7vw, 80px); }
.legal .wrap { max-width: 48rem; display: grid; gap: 40px; }
.legal h1 { font-size: var(--step-3); }
.legal section { display: grid; gap: 14px; }
.legal h2 { font-size: var(--step-2); padding-top: 26px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; font-family: var(--body); font-weight: 600; margin-top: 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal dl { margin: 0; display: grid; grid-template-columns: 12rem 1fr; gap: 10px 20px; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--muted); min-width: 0; }
.back { justify-self: start; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
