/* En mouvement vers Soi — site vitrine (reprise de l'ancien site) */

@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-latin-600-italic.woff2") format("woff2"); font-weight: 600 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --ink: #181818;
  --line: rgba(24, 24, 24, .85);
  --rose: #c25a6d;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --side: max(20px, 4.2vw);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 18px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* ---------- En-tête ---------- */
.hd { padding: 0 var(--side); }
.hd-top { display: flex; align-items: flex-start; justify-content: space-between; padding-top: 31px; min-height: 228px; }
.hd-brand { display: flex; gap: 15px; text-decoration: none; color: var(--ink); align-items: flex-start; }
.hd-brand img { width: 83px; height: 80px; flex: none; }
.hd-name { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.41; padding-top: 0; }
.hd-name strong { font-weight: 600; letter-spacing: .01em; }
.hd-bar { display: flex; align-items: flex-start; justify-content: space-between; border-top: 1px solid var(--line); padding: 14px 0 0; min-height: 72px; }
.hd-nav { display: flex; flex-wrap: wrap; gap: 4px 17px; }
.hd-nav a { text-decoration: none; font-size: 15px; letter-spacing: .02em; padding: 2px 0; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { color: var(--rose); }
.social { display: flex; gap: 10px; align-items: center; margin: 0; }
.social a { display: inline-flex; color: var(--ink); }
.social a:hover { color: var(--rose); }
.burger { display: none; }

/* ---------- Contenu ---------- */
.page { padding-bottom: 60px; min-height: 50vh; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.row { margin-top: 0; }
.row.cols { display: flex; gap: 60px; align-items: flex-start; }
.col { min-width: 0; }
.blk { margin-left: var(--ml, 0); }
.band { position: relative; background-size: cover; background-position: center; padding-top: 1px; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .72); pointer-events: none; }
.band > .wrap { position: relative; }
.row.full { padding: 0; }

.rt { overflow-wrap: anywhere; }
.rt h1, .rt h2, .rt h3, .rt h4, .rt h5, .rt h6, .rt p, .rt li, .rt blockquote { margin: 0; }
.rt h1, .rt h2, .rt h3, .rt h4 { font-weight: 400; line-height: 1.3; }
.rt p, .rt li { line-height: 1.75; }
.rt p:empty::before { content: "\00a0"; }
.rt strong, .rt b { font-weight: 400; }
.rt h1 strong, .rt h2 strong, .rt h3 strong { font-weight: 600; }
.rt ul, .rt ol { margin: 0; padding-left: 1.3em; }
.rt blockquote { padding-left: 22px; border-left: 2px solid currentColor; margin: 0 0 6px; }
.rt a { color: inherit; text-underline-offset: 3px; }
.rt a:hover { color: var(--rose); }
.fd { font-family: var(--serif); font-style: italic; font-weight: 400; }
.fs { font-family: var(--sans); }
.it { font-style: italic; }
.ac { text-align: center; }
.ar { text-align: right; }
.aj { text-align: justify; }

/* tailles reprises de l'ancien site, adaptées aux petits écrans */
.z12 { font-size: 12px; } .z13 { font-size: 13px; } .z14 { font-size: 14px; } .z15 { font-size: 15px; } .z16 { font-size: 16px; }
.z17 { font-size: 17px; } .z18 { font-size: 18px; } .z19 { font-size: 19px; } .z20 { font-size: 20px; } .z21 { font-size: 21px; }
.z22 { font-size: 22px; } .z23 { font-size: 23px; } .z24 { font-size: 24px; } .z25 { font-size: 25px; } .z26 { font-size: 26px; }
.z28 { font-size: clamp(24px, 3vw, 28px); } .z30 { font-size: clamp(25px, 3.2vw, 30px); } .z32 { font-size: clamp(26px, 3.4vw, 32px); }
.z35 { font-size: clamp(28px, 3.8vw, 35px); } .z36 { font-size: clamp(28px, 3.8vw, 36px); } .z40 { font-size: clamp(30px, 4.4vw, 40px); }
.z44 { font-size: clamp(32px, 4.8vw, 44px); } .z45 { font-size: clamp(32px, 4.8vw, 45px); } .z48 { font-size: clamp(33px, 5vw, 48px); }
.z50 { font-size: clamp(34px, 5.2vw, 50px); } .z56 { font-size: clamp(36px, 5.6vw, 56px); } .z60 { font-size: clamp(38px, 6vw, 60px); }
.z64 { font-size: clamp(40px, 6.4vw, 64px); } .z72 { font-size: clamp(42px, 7vw, 72px); } .z80 { font-size: clamp(44px, 7.6vw, 80px); }

.im { margin: 0; }
.im img { width: 100%; height: auto; object-fit: cover; }
.im img.contain { width: auto; max-width: 100%; height: auto; object-fit: contain; }

.lk { margin: 0; }
.btn { display: inline-block; font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.2; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.btn:hover { color: var(--rose); }

.emb iframe { width: 100%; height: 100%; border: 0; }

/* Galerie */
.gal { display: flex; flex-direction: column; gap: 10px; }
.gal-row { display: flex; gap: 10px; }
.gal-it { display: block; overflow: hidden; min-width: 0; }
.gal-it img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gal-it:hover img { transform: scale(1.03); }
.lb { position: fixed; inset: 0; background: rgba(255,255,255,.96); display: grid; place-items: center; z-index: 50; cursor: zoom-out; padding: 20px; }
.lb img { max-height: 92vh; max-width: 94vw; width: auto; }

/* Blog */
.posts { display: grid; gap: 40px; }
.post-card a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px; text-decoration: none; color: inherit; border: 1px solid #e6e6e6; }
.post-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pc-body { padding: 26px 26px 26px 0; }
.pc-body h2 { font-size: 28px; margin: 6px 0 12px; line-height: 1.3; }
.pc-date { font-size: 14px; margin: 0; }
.pc-ex { margin: 0; font-size: 16px; }
.post-card a:hover h2 { color: var(--rose); }
.post { max-width: 820px; padding-top: 30px; }
.post-back { font-size: 15px; margin: 0 0 18px; }
.post h1 { line-height: 1.25; margin: 0 0 10px; font-weight: 400; }
.post-meta { font-size: 15px; margin: 0 0 30px; }
.post-body p { margin: 0 0 1.1em; }
.post-body > br { display: none; }
.post-body img { margin: 20px 0; }
.post-body figure { margin: 0; }

/* Formulaire de contact */
.cform { display: grid; gap: 14px; }
.cform label { display: grid; gap: 4px; font-size: 15px; }
.cform input, .cform textarea { width: 100%; font: 300 17px/1.5 var(--sans); color: var(--ink); border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 8px 2px; border-radius: 0; }
.cform textarea { border: 1px solid var(--ink); padding: 10px; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--rose); }
.cf-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .btn { justify-self: start; text-decoration: none; border: 1px solid var(--ink); padding: 10px 28px; }
.cform .btn:hover { background: var(--ink); color: #fff; }
.hp { position: absolute; left: -5000px; }
.cmsg { margin: 0; padding: 10px 14px; font-size: 16px; }
.cmsg.ok { background: #eef5ef; }
.cmsg.er { background: #fbecee; }

/* Pied de page */
.ft { text-align: center; font-size: 14px; padding: 40px 20px 50px; }
.ft p { margin: 0; }
.ft a { text-underline-offset: 3px; }

/* ---------- Petits écrans ---------- */
@media (max-width: 900px) {
  .hd-top { min-height: 0; padding-top: 18px; padding-bottom: 14px; align-items: center; }
  .hd-brand img { width: 58px; height: 56px; }
  .hd-name { font-size: 16px; }
  .hd-bar { display: none; }
  .burger { display: block; position: relative; }
  .burger summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; align-content: center; gap: 6px; padding: 8px; }
  .burger summary::-webkit-details-marker { display: none; }
  .burger summary span { display: block; height: 1px; background: var(--ink); }
  .burger nav { position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid #ddd; padding: 12px 22px; display: grid; gap: 4px; z-index: 30; min-width: 230px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .burger nav a { text-decoration: none; font-size: 17px; padding: 6px 0; }
  .burger nav a[aria-current="page"] { color: var(--rose); }
  .hd { border-bottom: 1px solid var(--line); }
  .page { padding-top: 24px; }
  .row { margin-top: min(var(--gap, 0px), 40px); }
  .row.cols { flex-direction: column; gap: 24px; }
  .col { flex: 1 1 auto !important; width: 100%; }
  .blk { margin-left: 0; }
  .band { padding: 0 0 10px; }
  .gal-row { flex-wrap: wrap; }
  .gal-it { flex: 1 1 45% !important; }
  .post-card a { grid-template-columns: 1fr; }
  .pc-body { padding: 0 20px 22px; }
  .cf-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .row[style*="margin-top"] { margin-top: 28px !important; }
  .blk[style*="margin-top"]:not(:first-child) { margin-top: 18px !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
