/* Flamme YL Conciergerie — feuille de style globale
   Palette : noir #0b0a09, doré #c9a227, blanc cassé #f6f3ee */

:root {
  --bg: #0b0a09;
  --surface: #151311;
  --gold: #b8860b;
  --gold-soft: #e3c168;
  --text: #f6f3ee;
  --text-dim: #ece8e1;
  --text-mut: #cfcac2;
  --text-mut2: #ded9d2;
  --line: rgba(184, 134, 11, .55);
  --line-soft: rgba(184, 134, 11, .35);
  --max: 1180px;
  --pad: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Happy Monkey", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-soft); }
::selection { background: rgba(184, 134, 11, .35); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; }
h1, h2, h3, .brand-name b, .brand-name span { font-family: "Happy Monkey", "Inter", cursive; letter-spacing: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
}
.skip:focus {
  left: 8px; top: 8px; background: var(--gold); color: var(--bg);
  padding: 12px 18px; font-weight: 800; text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 26px; font-weight: 800; font-size: 15px;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: filter .18s ease, background .18s ease, color .18s ease;
}
.btn-sm { padding: 10px 18px; font-size: 14px; letter-spacing: .04em; }
.btn-gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--bg); border-color: var(--gold); }
.btn-gold:hover { filter: brightness(1.08); color: var(--bg); }
.btn-outline { border-color: var(--gold); color: var(--text); background: transparent; }
.btn-outline:hover { background: rgba(184, 134, 11, .12); color: var(--text); }
.btn-dark { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn-dark:hover { color: var(--text); filter: brightness(1.4); }
.btn-outline-dark { border-color: var(--bg); color: var(--bg); background: transparent; }
.btn-outline-dark:hover { background: rgba(11, 10, 9, .1); color: var(--bg); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

.kicker { font-size: 12px; letter-spacing: .3em; color: var(--gold); margin: 0 0 18px; text-transform: uppercase; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 10, 9, .96); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 46px; height: 46px; object-fit: cover; border: 1px solid rgba(184, 134, 11, .6); }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.brand-name span { font-size: 11px; letter-spacing: .3em; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a {
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--text-dim);
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none; background: transparent; border: 2px solid var(--gold);
  color: var(--gold); padding: 8px 10px; cursor: pointer; line-height: 0;
}

/* ---------- Sections ---------- */
.section { border-bottom: 2px solid var(--line); }
.section-pad { padding: 72px 0; }

/* Hero */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0; align-items: center;
}
.hero-copy { padding: 76px 48px 76px 0; border-right: 2px solid var(--line-soft); animation: rise .5s ease both; }
.hero h1 { font-size: 58px; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 24px; }
.hero h1 .accent { color: var(--gold); }
.hero-lead { font-size: 18px; max-width: 44ch; color: var(--text-dim); margin: 0 0 32px; }
.hero-media { position: relative; aspect-ratio: 3 / 2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; }

/* Sur ordinateur, la photo touche le bord droit de la fenêtre. */
@media (min-width: 901px) {
  .hero-media {
    margin-right: calc(-1 * (max(0px, (100vw - var(--max)) / 2) + var(--pad)));
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line-soft); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat b { font-size: 34px; font-weight: 800; color: var(--gold); display: block; margin-top: 6px; }
.stat span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); display: block; }

/* Section head */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { font-size: 36px; margin: 0; }
.link-more { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); text-decoration: none; }

/* Prestations grid (home) */
.prest-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line-soft); }
.prest-grid li { background: var(--bg); padding: 28px 24px 30px; }
.prest-grid .prest-num { font-size: 12px; letter-spacing: .2em; color: var(--gold-soft); margin: 0 0 14px; }
.prest-grid h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.2; }
.prest-grid p { margin: 0; font-size: 15px; color: var(--text-mut); }

/* Logements gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; aspect-ratio: 4/3; border: 2px solid rgba(184, 134, 11, .5); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-mut); font-size: 14px; background: var(--surface); text-align: center; padding: 12px; }

/* Carrousel logements — défilement automatique droite→gauche */
.carousel { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.carousel-track { display: flex; width: max-content; animation: carousel-scroll 45s linear infinite; will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .carousel:hover .carousel-track { animation-play-state: paused; }
}
.carousel-item { position: relative; margin: 0 20px 0 0; flex: 0 0 auto; width: 360px; max-width: 78vw; aspect-ratio: 4/3; border: 2px solid rgba(184, 134, 11, .5); overflow: hidden; }
.carousel-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: 14px; color: var(--text); background: linear-gradient(0deg, rgba(11, 10, 9, .85), transparent); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.carousel-item:hover figcaption, .carousel-item:focus-within figcaption { opacity: 1; transform: translateY(0); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.carousel-item:hover img { transform: scale(1.05); }
.carousel-item .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-mut); font-size: 14px; background: var(--surface); text-align: center; padding: 12px; }
@keyframes carousel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .carousel-item { width: 280px; } }

/* CTA band */
.cta-band { background: var(--bg); color: var(--text); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.cta-band .container { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta-band h2 { font-size: 40px; margin: 0; line-height: 1.08; letter-spacing: -.02em; color: var(--gold); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* Page header (interior pages) */
.page { max-width: var(--max); margin: 0 auto; padding: 64px var(--pad) 88px; }
.page.narrow { max-width: 820px; }
.page h1 { font-size: 48px; margin: 0 0 20px; letter-spacing: -.02em; }
.page-lead { max-width: 62ch; color: var(--text-dim); font-size: 18px; margin: 0 0 48px; }

/* Services list */
.svc-list { border-top: 2px solid var(--line); }
.svc-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.svc-item .n { font-size: 14px; letter-spacing: .2em; color: var(--gold-soft); padding-top: 4px; margin: 0; }
.svc-item h2 { font-size: 22px; margin: 0; line-height: 1.2; }
.svc-item p { margin: 0; font-size: 16px; color: var(--text-mut2); }

/* Tarifs chart */
.chart-fig { margin: 0; border: 2px solid var(--line); padding: 44px 40px 32px; }
.chart-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; align-items: end; height: 320px; background: rgba(184, 134, 11, .3); }
.chart-col { background: var(--bg); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 28px; }
.chart-col .pct { font-size: 42px; font-weight: 800; color: var(--gold); margin: 0 0 10px; }
.chart-col .bar { background: linear-gradient(180deg, var(--gold), #0b0a09); width: 100%; }
.chart-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 2px; background: rgba(184, 134, 11, .3); }
.chart-labels div { background: var(--bg); padding: 20px 28px 4px; }
.chart-labels .l { display: flex; flex-direction: column; align-items: center; font-size: 15px; font-weight: 800; line-height: 1.35; margin: 0; }
.chart-labels .l span { display: block; }
.chart-labels .note { font-size: 14px; color: var(--text-mut); margin: 4px 0 0; }
.chart-fig figcaption { margin-top: 20px; font-size: 14px; color: var(--text-mut); }

/* Table */
table.table { border-collapse: collapse; width: 100%; margin-top: 56px; color: var(--text); }
table.table td { vertical-align: top; }
table.table caption { text-align: left; font-size: 22px; font-weight: 800; color: var(--text); padding-bottom: 16px; }
table.table th, table.table td { padding: 12px 8px; text-align: left; }
table.table thead th { color: var(--text-mut); border-bottom: 2px solid var(--line); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
table.table tbody th { font-weight: 400; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line-soft); }
table.table .mobile-line { display: inline; }
table.table tbody td { border-bottom: 1px solid var(--line-soft); color: var(--text-mut2); }
table.table tbody td.pct { color: var(--gold); font-weight: 800; }

/* Avis */
.avis-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.avis-grid li { border: 2px dashed var(--line); padding: 32px 24px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.avis-grid .q { font-size: 40px; color: var(--gold); line-height: 1; font-weight: 800; margin: 0; }
.avis-grid .who { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); margin: 0; }
.fineprint { font-size: 14px; color: var(--text-mut); max-width: 70ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: 0 0 18px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
label.field { display: block; }
label.field > .lbl { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 8px; }
.help { display: block; font-size: 13px; color: var(--text-mut); margin-top: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 14px; background: var(--surface);
  border: 1px solid rgba(184, 134, 11, .9); color: var(--text); font-size: 16px;
  font-family: inherit;
}
input[type="file"] { padding: 11px 14px; color: var(--text-mut2); font-size: 14px; }
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; max-width: 70ch; margin: 0 0 24px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.consent span { font-size: 14px; color: var(--text-mut2); }
.submit-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.submit-row p { font-size: 14px; color: var(--text-mut); max-width: 34ch; margin: 0; }
.aside-card { border: 2px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 22px; }
.aside-card h2 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.aside-card h2 svg { flex: none; }
.aside-card > div { display: flex; flex-direction: column; }
.aside-card .mail-1l { white-space: nowrap; font-size: 13px; letter-spacing: -.01em; }

/* Page « Merci » — étapes de suivi */
.merci-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 48px 0 0; text-align: left; }
.merci-steps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin-left: auto; margin-right: auto; }
.merci-steps > div { border: 1px solid var(--line-soft); padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.merci-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; }
.merci-steps p { margin: 0; font-size: 15px; color: var(--text-mut2); }
@media (max-width: 700px) { .merci-steps { grid-template-columns: 1fr; } }
.aside-card a, .aside-card p { font-size: 16px; margin: 0; }
.aside-card .big { font-size: 18px; font-weight: 800; color: var(--text); text-decoration: none; }
.form-status { margin: 16px 0 0; font-size: 15px; color: var(--gold); }

/* Legal (dl + sections) */
.legal-dl { margin: 0; border-top: 2px solid var(--line); }
.legal-dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.legal-dl dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); }
.legal-dl dd { font-size: 16px; margin: 0; }
.legal-note { margin-top: 24px; font-size: 15px; color: var(--text-mut2); }
.legal-sec { border-top: 1px solid var(--line-soft); padding: 26px 0; }
.legal-sec:first-of-type { border-top: 2px solid var(--line); }
.legal-sec h2 { font-size: 21px; margin: 0 0 10px; }
.legal-sec p { margin: 0; font-size: 16px; color: var(--text-mut2); }
.legal-date { font-size: 14px; color: var(--text-mut); margin: 0 0 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 2px solid var(--line); background: var(--bg); }
.footer-top { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer img { width: 144px; height: 144px; object-fit: cover; border: 1px solid rgba(184, 134, 11, .5); margin-bottom: 16px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer p.about { font-size: 14px; color: var(--text-mut); max-width: 36ch; margin: 0; }
.footer nav, .footer .fcol { display: flex; flex-direction: column; gap: 10px; }
.footer h2 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.footer a, .footer .fcol p { font-size: 15px; color: var(--text-dim); text-decoration: none; margin: 0; }
.footer a:hover { color: var(--gold); }
.footer-social a { display: inline-flex; align-items: center; gap: 9px; }
.footer-social svg { flex: none; color: var(--gold); }
.footer-links a, .footer-links p { display: inline-flex; align-items: center; gap: 9px; }
.footer-links svg { flex: none; color: var(--gold); }
.footer-links a span { word-break: normal; white-space: nowrap; font-size: 13px; letter-spacing: -.01em; }
.footer-bar { max-width: var(--max); margin: 0 auto; padding: 18px var(--pad) 40px; border-top: 1px solid var(--line-soft); display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
/* réserve l'espace du coin bas-droite occupé par les bulles fixes (téléphone + WhatsApp) */
.footer-bar { padding-right: 104px; }
.footer-bar p { font-size: 13px; color: var(--text-mut); margin: 0; margin-right: auto; }
.footer-bar a { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.footer-credit { max-width: var(--max); margin: 0 auto; padding: 10px var(--pad) 28px; text-align: center; }
.footer-credit p { margin: 0; font-size: 11px; letter-spacing: .02em; color: rgba(207, 202, 194, .4); }
.footer-credit p a { color: var(--gold); font-weight: 400; font-size: 11px; letter-spacing: .02em; text-decoration: none; }
.footer-credit a:hover { color: var(--gold-soft); text-decoration: underline; }

/* ---------- Floating buttons ---------- */
.fabs { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .55); }
.fab-call { background: var(--bg); border: 2px solid var(--gold); color: var(--gold); }
.fab-wa { background: var(--gold); color: var(--bg); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .8); display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-box { width: min(440px, 100%); background: var(--bg); border: 2px solid var(--gold); padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; max-height: 92vh; overflow-y: auto; }
.modal-box-wide { width: min(620px, 100%); }
.modal-box-wide .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .modal-box-wide .field-grid { grid-template-columns: 1fr; } }
.modal-head { display: flex; align-items: flex-start; gap: 16px; }
.modal-head h2 { font-size: 24px; margin: 0; flex: 1; }
.modal-close { font-size: 24px; line-height: 1; color: var(--text); background: transparent; border: 0; cursor: pointer; padding: 4px 8px; width: auto; }
.modal-box p { margin: 0; font-size: 15px; color: var(--text-mut2); }
.modal-box form { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Responsive ---------- */

/* Grands écrans : contenu centré, marges généreuses */
@media (min-width: 1440px) {
  :root { --max: 1280px; }
}

/* Tablette paysage / petit portable (901–1200px) */
@media (max-width: 1200px) and (min-width: 901px) {
  .hero h1 { font-size: 50px; }
  .hero-copy { padding: 64px 36px 64px 0; }
  .prest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-item { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; }
}

@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 2px solid var(--line); padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px var(--pad); }
  .nav .btn { margin: 10px var(--pad); }
  .nav-toggle { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 0; border-right: 0; border-bottom: 2px solid var(--line-soft); }
  .hero h1 { font-size: 40px; }
  .hero-media { aspect-ratio: 3 / 2; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }

  .prest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .container { grid-template-columns: 1fr; gap: 28px; }
  .cta-band h2 { font-size: 30px; }

  .svc-item { grid-template-columns: 1fr; gap: 8px; }
  .svc-item .n { padding-top: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }

  .legal-dl > div { grid-template-columns: 1fr; gap: 6px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .page h1, .hero h1 { font-size: 36px; }
}

@media (max-width: 600px) {
  .section-pad { padding: 48px 0; }
  .page { padding: 40px var(--pad) 64px; }
  .page h1 { font-size: 30px; }
  .prest-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .footer-top { grid-template-columns: 1fr; }
  /* Graphique fluide : il reste dans l'écran, même sur les plus petits mobiles. */
  .chart-fig { width: 100%; max-width: 100%; padding: clamp(18px, 5vw, 24px) clamp(8px, 3.5vw, 16px) 18px; overflow: hidden; }
  .chart-bars, .chart-labels { width: 100%; min-width: 0; }
  .chart-bars { height: clamp(170px, 56vw, 240px); }
  .chart-col { min-width: 0; padding: 0 clamp(2px, 1.8vw, 8px); }
  .chart-col .pct { font-size: clamp(17px, 7vw, 30px); margin-bottom: 6px; white-space: nowrap; }
  .chart-labels div { min-width: 0; padding: 12px clamp(2px, 1.8vw, 8px) 4px; }
  .chart-labels .l { font-size: clamp(9px, 3.2vw, 15px); line-height: 1.25; }
  .chart-labels .note { font-size: clamp(9px, 3vw, 14px); white-space: normal; }
  table.table .mobile-line { display: block; }

  /* bulles plus compactes + espace réservé sous le pied de page */
  .fabs { right: 16px; bottom: 16px; gap: 10px; }
  .fab { width: 50px; height: 50px; }
  .footer-bar { padding-right: var(--pad); padding-bottom: 24px; }
  .footer-credit { padding-bottom: 92px; } /* dégage les bulles fixes */
}

/* ============================================================
   Finitions (motion, hover, texture) — même direction visuelle
   ============================================================ */

/* Grain / texture discrète sur le fond */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* le contenu reste au-dessus du grain (sans toucher au positionnement fixe) */
main, .footer, .skip { position: relative; z-index: 2; }
/* .header reste sticky, .fabs et .modal restent fixed — on ne change QUE le z-index */

/* Liseré doré animé sous les liens de nav */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }

/* Boutons : légère élévation dorée au survol (sans reflow) */
.btn-gold { box-shadow: 0 0 0 rgba(184, 134, 11, 0); }
.btn-gold:hover { box-shadow: 0 10px 26px -8px rgba(184, 134, 11, .55); transform: translateY(-1px); }
.btn-outline:hover { box-shadow: 0 8px 22px -10px rgba(184, 134, 11, .5); }
.btn { transition: filter .18s ease, background .18s ease, color .18s ease, box-shadow .24s ease, transform .24s ease; }

/* Flèche « voir plus » qui glisse */
.link-more { display: inline-flex; align-items: center; gap: 6px; transition: gap .25s ease, color .2s ease; }
.link-more:hover { gap: 12px; }

/* Cartes prestations : surbrillance + lift au survol */
.prest-grid li { position: relative; transition: transform .28s ease, box-shadow .28s ease; }
.prest-grid li::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow .28s ease;
}
.prest-grid li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9); }
.prest-grid li:hover::after { box-shadow: inset 0 0 0 2px var(--gold); }
.prest-grid li:hover .prest-num { letter-spacing: .32em; }
.prest-num { transition: letter-spacing .3s ease; }

/* Galerie logements : zoom doux + cadre doré */
.gallery figure { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.gallery figure:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .95); }
.gallery img { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.gallery figure:hover img { transform: scale(1.05); }

/* Lignes services : accent doré à gauche au survol */
.svc-item { position: relative; padding-left: 0; transition: padding-left .3s ease, background .3s ease; }
.svc-item::before {
  content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.svc-item:hover { padding-left: 18px; }
.svc-item:hover::before { transform: scaleY(1); }

/* Icône thématique de chaque prestation : animée au survol de la ligne */
.svc-item .n { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.svc-ico-wrap { display: inline-flex; color: var(--gold); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.svc-ico { display: block; }
.svc-item:hover .svc-ico-wrap { transform: translateY(-2px) scale(1.15) rotate(-4deg); }

/* Liens réseaux sociaux (page Avis) */
.social-links { display: inline-flex; align-items: center; gap: 14px; }
.social-links a { display: inline-flex; color: var(--gold); transition: transform .25s ease, color .2s ease; }
.social-links a:hover { color: var(--gold-soft); transform: translateY(-2px) scale(1.08); }

/* Champ anti-spam (honeypot Web3Forms) : masqué aux humains */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* États du message de statut des formulaires */
.form-status.is-error { color: #ff9b8a; }
.form-status.is-ok { color: var(--gold); }

/* Cartes avis */
.avis-grid li { transition: transform .28s ease, border-color .28s ease; }
.avis-grid li:hover { transform: translateY(-4px); border-color: var(--gold); }

/* Boutons flottants : rebond au survol */
.fab { transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease; }
.fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 26px rgba(0, 0, 0, .7); }

/* Modale : entrée depuis le point de déclenchement */
.modal { animation: modal-fade .2s ease both; }
.modal-box { animation: modal-pop .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* Barres du barème : croissance au défilement (scaleY = pas de reflow) */
.chart-col .bar { transform-origin: bottom; }
html.js .chart-bars .bar { transform: scaleY(0); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js .chart-bars.in .bar { transform: scaleY(1); }
html.js .chart-bars.in .bar { transition-delay: 0s; }
html.js .chart-bars.in .chart-col:nth-child(2) .bar { transition-delay: .12s; }
html.js .chart-bars.in .chart-col:nth-child(3) .bar { transition-delay: .24s; }

/* Révélations au défilement (uniquement si JS actif) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .06s; }
html.js .reveal.d2 { transition-delay: .12s; }
html.js .reveal.d3 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  body::before { display: none; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  html.js .chart-bars .bar { transform: scaleY(1) !important; }
}


/* ---------- Avis : cartes publiées + formulaire d'avis ---------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.avis-grid li.avis-real { border-style: solid; border-color: var(--line); justify-content: flex-start; gap: 14px; }
.avis-grid .avis-stars { margin: 0; color: var(--gold-soft); font-size: 20px; letter-spacing: .12em; line-height: 1; }
.avis-grid .avis-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-dim); white-space: pre-line; flex: 1; }
.rating-field { margin: 0; }
.rating-field legend { padding-bottom: 10px; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; border: 0; }
.stars label { font-size: 34px; line-height: 1; padding: 0 3px; cursor: pointer; color: rgba(246, 243, 238, .28); transition: color .15s; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--gold-soft); }
.stars input:focus-visible + label { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
