/* Chambéry Sans Suie — feuille de style unique, mobile d'abord */
:root {
  --ink: #1b2523;
  --ink-soft: #4a5653;
  --brand: #1f4d45;
  --brand-deep: #153630;
  --sage: #7d9892;
  --sage-soft: #e3ebe8;
  --bg: #f7f5f0;
  --card: #ffffff;
  --line: #dcd9d0;
  --ember: #c4471a;
  --ember-deep: #a53a13;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(27, 37, 35, .06), 0 8px 24px rgba(27, 37, 35, .07);
  --wrap: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 72px; /* place pour la barre d'appel mobile */
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--ember-deep); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 6.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.02rem; line-height: 1.2; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { background: var(--sage-soft); color: var(--brand-deep); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--brand-deep); }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(247, 245, 240, .86); backdrop-filter: blur(10px); }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 50px; height: 50px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.01em; }
.brand-name small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

.nav-desktop { display: none; }
.nav-mobile { position: static; }
.nav-mobile summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px;
  border: 2px solid var(--brand); border-radius: 999px;
  font-weight: 700; font-size: .95rem; color: var(--brand);
  user-select: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary .bars { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
.nav-mobile summary .bars::after { content: ""; position: absolute; inset: 3px 0 auto; border-top: 2px solid currentColor; }
.nav-mobile[open] summary { background: var(--brand); color: #fff; }
.nav-mobile ul {
  position: absolute; left: 0; right: 0; top: 100%;
  margin: 0; padding: 8px 20px 18px; list-style: none;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(27, 37, 35, .12);
}
.nav-mobile li + li { border-top: 1px solid var(--line); }
.nav-mobile a { display: block; padding: 15px 4px; font-weight: 700; font-size: 1.08rem; text-decoration: none; color: var(--ink); }
.nav-mobile a[aria-current="page"] { color: var(--brand); }

/* ---------- Barre d'appel mobile ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(27, 37, 35, .1);
}
.callbar .btn { min-height: 50px; padding: 10px 12px; font-size: .98rem; }

/* ---------- Héro ---------- */
.hero { padding: 34px 0 44px; }
.hero-grid { display: grid; gap: 28px; }
.hero h1 { margin-bottom: .5em; }
.hero .lead { margin-bottom: 1.4em; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 40%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-photo figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(21, 54, 48, .92); color: #fff;
  font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 999px;
}
.hero-photo, figure { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sage-soft); color: var(--brand-deep);
  font-size: .88rem; font-weight: 600; padding: 7px 13px; border-radius: 999px;
}
.chips svg { width: 15px; height: 15px; flex: none; }

/* ---------- Présentation ---------- */
.about { display: grid; gap: 28px; }
.about-card {
  background: var(--brand-deep); color: #eef3f1;
  border-radius: var(--radius); padding: 26px 24px;
}
.about-card h3 { color: #fff; }
.about-card ul { list-style: none; padding: 0; margin: 0; }
.about-card li { padding: 11px 0 11px 30px; position: relative; border-top: 1px solid rgba(255, 255, 255, .14); }
.about-card li:first-child { border-top: 0; }
.about-card li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px;
  border-left: 3px solid var(--sage); border-bottom: 3px solid var(--sage); transform: rotate(-45deg);
}

/* ---------- Cartes prestations ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  position: relative; transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.card .price { margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--brand); font-size: 1.05rem; }
.card .price span { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 70px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: .3em; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- Tarifs ---------- */
.price-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.price-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; padding: 16px 18px; }
.price-list li + li { border-top: 1px solid var(--line); }
.price-list .label { font-weight: 700; flex: 1 1 220px; }
.price-list .label small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .92rem; margin-top: 2px; }
.price-list .amount { font-weight: 800; color: var(--brand); white-space: nowrap; font-size: 1.08rem; }

.service { display: grid; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 8px; }
.service-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery figure { position: relative; }
.gallery figcaption {
  position: absolute; left: 8px; bottom: 8px; background: rgba(21, 54, 48, .9); color: #fff;
  font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
}
.check { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check li { position: relative; padding: 7px 0 7px 32px; }
.check li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 14px; height: 8px;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}
.note { font-size: .93rem; color: var(--ink-soft); }

/* ---------- Bandeau contact ---------- */
.cta-band { background: var(--brand-deep); color: #fff; padding: 52px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5e0dc; max-width: 620px; }
.cta-band .btn-row { margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 52px 18px 18px; font-weight: 700; font-size: 1.05rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary h3 { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: 0; }
.faq .answer { padding: 0 18px 18px; color: var(--ink-soft); }
.faq .answer > :last-child { margin-bottom: 0; }
.towns { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.towns li { background: var(--sage-soft); color: var(--brand-deep); font-size: .88rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }

/* ---------- Pages intérieures ---------- */
.page-head { padding: 36px 0 30px; background: #fff; border-bottom: 1px solid var(--line); }
.page-head .lead { max-width: 720px; margin-bottom: 0; }
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 16px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .45em; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 36px; max-width: 760px; }
.toc p { font-weight: 800; margin-bottom: .5em; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { padding: 3px 0; }
.callout { border-left: 5px solid var(--ember); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 20px; margin: 1.4em 0; }
.callout > :last-child { margin-bottom: 0; }
.callout strong { color: var(--ember-deep); }
.callout--calm { border-left-color: var(--brand); }
.callout--calm strong { color: var(--brand); }

.contact-grid { display: grid; gap: 16px; }
.contact-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.contact-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 12px; }
.contact-card .kicker { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.contact-card .big { display: block; font-size: clamp(1.25rem, 5.4vw, 1.6rem); font-weight: 800; margin: 4px 0 6px; letter-spacing: -.01em; }
.contact-card .hint { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #c9d2cf; padding: 46px 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 30px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; }
.footer-brand strong { color: #fff; font-size: 1.1rem; display: block; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .87rem; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 1.09rem; }
  .callbar, .nav-mobile { display: none; }
  .wrap { padding: 0 32px; }
  .section { padding: 84px 0; }
  .site-header .wrap { min-height: 78px; }
  .brand img { width: 58px; height: 58px; }
  .nav-desktop { display: flex; align-items: center; gap: 26px; }
  .nav-desktop ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
  .nav-desktop a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 0; border-bottom: 2px solid transparent; }
  .nav-desktop a:not(.btn):hover, .nav-desktop a[aria-current="page"] { border-bottom-color: var(--ember); }
  .nav-desktop .btn { min-height: 46px; padding: 10px 20px; font-size: .98rem; }
  .hero { padding: 64px 0 76px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
  .hero-photo img { aspect-ratio: 5 / 5.2; }
  .about { grid-template-columns: 1.25fr .75fr; gap: 54px; align-items: start; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps li { padding: 74px 24px 26px; }
  .steps li::before { left: 24px; top: 22px; }
  .service { grid-template-columns: .9fr 1.1fr; gap: 54px; padding: 60px 0; align-items: start; }
  .service-media { position: sticky; top: 104px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .page-head { padding: 54px 0 46px; }
  .cta-band { padding: 76px 0; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .callbar, .cta-band, .site-footer { display: none; }
  body { background: #fff; padding: 0; }
}

/* Espacement des blocs empilés sur mobile */
.two-col > * + * { margin-top: 32px; }
@media (min-width: 900px) { .two-col > * + * { margin-top: 0; } }
