/* =====================================================================================
   Site de Julien Maalouf — feuille de style unique (aucun framework, aucune police externe)
   Or et crème, Playfair Display (titres) + Lato (texte). Contrastes vérifiés WCAG AA.
   ===================================================================================== */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 400 900; src: url('/fonts/playfair-display-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 400 900; src: url('/fonts/playfair-display-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lato'; font-style: normal; font-display: swap; font-weight: 300; src: url('/fonts/lato-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/lato-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-display: swap; font-weight: 700; src: url('/fonts/lato-latin-700-normal.woff2') format('woff2'); }

:root {
  --cream: #FBF5E6; --cream-2: #F3E6C2; --white: #FFFFFF; --ink: #1C1A16; --muted: #5E574B; --line: #E7DCC0;
  --gold: #C9A23A; --gold-light: #E2C46A; --gold-ink: #8A6510; --dark: #191612; --dark-2: #24201A; --on-dark: #F4EEDF; --on-dark-muted: #C8BFAE;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif; --sans: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 22px; --radius-s: 12px; --shadow: 0 18px 50px -24px rgba(60, 42, 8, .35); --shadow-gold: 0 14px 34px -14px rgba(201, 162, 58, .65);
  --wrap: 1160px; --narrow: 760px; --head-h: 74px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
.bg-dark :focus-visible { outline-color: var(--gold-light); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, var(--narrow)); }
.center { text-align: center; }
.muted { color: var(--muted); }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* Mise en valeur dans les titres : le mot en italique devient doré */
.title em, .hero-title em, .cta-box em, .post-head h1 em { font-style: normal; background: linear-gradient(100deg, #9C7414, #C9A23A 45%, #8A6510); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-dark .title em, .bg-dark .hero-title em { background: linear-gradient(100deg, #E2C46A, #F3DD95 50%, #E2C46A); -webkit-background-clip: text; background-clip: text; }

/* ---------- En-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 245, 230, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(60, 42, 8, .4); }
.head-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--gold-ink); }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { position: relative; padding: .55rem .85rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a[aria-current='page'] { color: var(--gold-ink); }
.nav .btn { margin-left: .5rem; padding: .7rem 1.4rem; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ic { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--cream); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .25rem; padding: 1.5rem 1.25rem 3rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 1.6rem; padding: .7rem .5rem; border-radius: 10px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 1rem 0 0; font-family: var(--sans); font-size: 1.05rem; justify-content: center; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .85rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; font-family: var(--sans); }
.btn-primary { background: linear-gradient(120deg, var(--gold), var(--gold-light)); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(201, 162, 58, .8); }
.btn-ghost { background: rgba(255, 255, 255, .6); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); background: #fff; }
.btn-link { padding-inline: 0; min-height: 44px; color: var(--gold-ink); border-radius: 0; border-bottom: 2px solid rgba(201, 162, 58, .35); }
.btn-link:hover { border-color: var(--gold); color: var(--ink); }
.btn .ic-arrow { transition: transform .2s; }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn-block { width: 100%; justify-content: center; }
.btns { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.bg-dark .btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(244, 238, 223, .35); }
.bg-dark .btn-link { color: var(--gold-light); }

/* ---------- Sections ---------- */
.b { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-gold { background: linear-gradient(160deg, var(--cream-2), #F8EBC8 60%, var(--cream)); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--on-dark); }
.bg-dark .muted, .bg-dark .intro, .bg-dark .lead { color: var(--on-dark-muted); }
.bg-dark a:not(.btn) { color: var(--gold-light); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .9rem; }
.bg-dark .kicker { color: var(--gold-light); }
.b-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.b-head.center { margin-inline: auto; text-align: center; }
.intro, .lead { color: var(--muted); font-size: 1.15rem; font-weight: 300; }
.more { margin-top: 3rem; }
.media { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty { display: grid; place-items: center; min-height: 240px; border: 2px dashed var(--gold); color: var(--gold-ink); }
.frame { box-shadow: var(--shadow); border: 5px solid #fff; }

/* Grand titre */
.b-hero { padding-top: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.b-hero::before { content: ''; position: absolute; width: 46rem; height: 46rem; right: -18rem; top: -20rem; background: radial-gradient(circle, rgba(226, 196, 106, .35), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); min-height: min(78vh, 760px); }
.layout-left .hero-media { order: -1; }
.layout-center .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: 0; }
.layout-center .hero-text { max-width: 820px; margin-inline: auto; }
.layout-center .btns { justify-content: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .45em; }
.lead { max-width: 34rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.layout-center .lead { margin-inline: auto; }
.hero-media .media { aspect-ratio: 4 / 5; max-height: 620px; border-radius: 28px; }
.hero-media { position: relative; }
.hero-media::after { content: ''; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border: 2px solid rgba(201, 162, 58, .45); border-radius: 28px; z-index: -1; }
.layout-left .hero-media::after { inset: 1.5rem 1.5rem -1.5rem -1.5rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-media { order: -1; max-width: 420px; width: 100%; margin-inline: auto; }
  .hero-media .media { aspect-ratio: 1 / 1; }
  .hero-media::after { inset: 1rem -1rem -1rem 1rem; }
  .lead { margin-inline: auto; }
  .btns { justify-content: center; }
  .btns .btn { flex: 1 1 220px; justify-content: center; }
}

/* Texte et photo */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split.side-right .split-media { order: 2; }
.split-media .media { aspect-ratio: 4 / 5; max-height: 560px; }
.frame-offset { position: relative; }
.split-media { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.split-media::before { content: ''; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; background: linear-gradient(140deg, var(--gold), var(--gold-light)); border-radius: var(--radius); }
.split.side-right .split-media::before { inset: 1.2rem 1.2rem -1.2rem -1.2rem; }
.split-text .btn { margin-top: 1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.side-right .split-media { order: 0; } }

/* Texte mis en forme */
.prose { color: var(--muted); font-size: 1.1rem; }
.prose strong { color: var(--ink); }
.prose h3, .prose h4 { margin-top: 1.6em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.5em 0; padding: .5em 1.2em; border-left: 3px solid var(--gold); font-style: italic; }
.bg-dark .prose, .bg-dark .prose strong, .bg-dark .prose h3 { color: var(--on-dark); }

/* Cartes */
.cards { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.cards.cols-2 { --cols: 2; } .cards.cols-3 { --cols: 3; } .cards.cols-4 { --cols: 4; } .cards.cols-1 { --cols: 1; max-width: 760px; margin-inline: auto; }
@media (max-width: 960px) { .cards.cols-3, .cards.cols-4 { --cols: 2; } }
@media (max-width: 620px) { .cards { --cols: 1 !important; } }
.card { position: relative; background: rgba(255, 255, 255, .78); border: 1px solid rgba(231, 220, 192, .9); border-radius: var(--radius); padding: 2.2rem 1.8rem; transition: transform .35s, box-shadow .35s, border-color .35s; }
.bg-white .card { background: var(--cream); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 162, 58, .55); }
.look-icon .card { text-align: center; }
.card-icon { display: inline-grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 18px; color: var(--gold-ink); background: linear-gradient(140deg, rgba(226, 196, 106, .3), rgba(255, 255, 255, .2)); border: 1px solid rgba(201, 162, 58, .35); margin-bottom: 1.4rem; }
.card-icon .ic { width: 1.9rem; height: 1.9rem; }
.card-title { font-size: 1.45rem; margin-bottom: .45em; }
.card-text { color: var(--muted); margin: 0; }
.look-image .card { padding: 0; overflow: hidden; }
.look-image .card-media { border-radius: 0; aspect-ratio: 4 / 3; }
.look-image .card-media img { transition: transform .6s; }
.look-image .card:hover .card-media img { transform: scale(1.05); }
.look-image .card-body { padding: 1.5rem 1.6rem 1.8rem; }
.look-compact .card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem; }
.look-compact .card-icon { width: 3.1rem; height: 3.1rem; border-radius: 14px; margin: 0; }
.look-compact .card-icon .ic { width: 1.4rem; height: 1.4rem; }
.look-compact .card-title { font-size: 1.15rem; font-family: var(--sans); font-weight: 700; margin-bottom: .2em; }
.look-list .card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.5rem; }
.look-list .card-icon.small { width: 2.2rem; height: 2.2rem; border-radius: 50%; margin: .15rem 0 0; }
.look-list .card-icon.small .ic { width: 1.1rem; height: 1.1rem; }
.look-list .card-title { font-size: 1.15rem; font-family: var(--sans); margin-bottom: .2em; }
.bg-dark .card { background: var(--dark-2); border-color: rgba(244, 238, 223, .12); }
.bg-dark .card-text { color: var(--on-dark-muted); }
.bg-dark .card-icon { color: var(--gold-light); }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: s; }
.step { position: relative; padding: 2rem 1.6rem 1.6rem; background: rgba(255, 255, 255, .72); border-radius: var(--radius); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: linear-gradient(140deg, var(--gold), var(--gold-light)); color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-gold); }
.step-title { font-size: 1.35rem; }
.step-text { color: var(--muted); margin: 0; }

/* Témoignages */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.testimonial { position: relative; margin: 0; padding: 2.3rem 2rem 1.8rem; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.bg-cream .testimonial, .bg-gold .testimonial { background: #fff; }
.testimonial .quote-mark { position: absolute; top: 1.2rem; right: 1.4rem; width: 2.6rem; height: 2.6rem; color: rgba(201, 162, 58, .3); }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.6; flex: 1; }
.testimonial figcaption { font-weight: 700; color: var(--gold-ink); }
.stars { display: inline-flex; gap: 2px; color: var(--line); }
.stars .on { color: #B98A12; }
.stars .on svg { fill: currentColor; }
.stars .ic { width: 1.05rem; height: 1.05rem; }
.bg-dark .testimonial { background: var(--dark-2); border-color: rgba(244, 238, 223, .12); }
.bg-dark .testimonial figcaption { color: var(--gold-light); }

/* Questions fréquentes */
.faq { display: grid; gap: .9rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-s); background: rgba(255, 255, 255, .7); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; font-weight: 700; font-size: 1.1rem; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .25s; color: var(--gold-ink); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 1.4rem 1.2rem; margin: 0; }
.bg-dark .faq-item { background: var(--dark-2); border-color: rgba(244, 238, 223, .14); }
.bg-dark .faq-chev { color: var(--gold-light); }

/* Appel à l'action */
.b-cta { padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-box { text-align: center; max-width: 860px; }
.cta-box .lead { margin-inline: auto; }
.cta-box .btn { margin-top: 1.2rem; }

/* Citation */
.big-quote { text-align: center; margin: 0 auto; }
.big-quote .quote-mark { width: 3rem; height: 3rem; color: var(--gold); margin: 0 auto 1rem; }
.big-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.4; }
.big-quote figcaption { margin-top: 1.2rem; font-weight: 700; color: var(--gold-ink); }

/* Vidéo et carte : chargées au clic */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 30% 30%, #3a3020, var(--dark)); display: grid; place-items: center; box-shadow: var(--shadow); }
.video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; background: linear-gradient(140deg, var(--gold), var(--gold-light)); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px rgba(226, 196, 106, .25); transition: transform .2s; }
.video-play:hover { transform: scale(1.06); }
.video-play .ic { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.video-note { position: absolute; bottom: .6rem; left: 0; right: 0; margin: 0; text-align: center; font-size: .82rem; color: #E9E1CC; }
.video.is-empty, .map.is-empty { color: var(--on-dark); }
.caption { text-align: center; color: var(--muted); margin-top: 1rem; font-size: .95rem; }
.map { display: grid; justify-items: center; gap: .8rem; text-align: center; padding: 3rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-height: 340px; align-content: center; position: relative; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin { width: 2.6rem; height: 2.6rem; color: var(--gold-ink); }
.map-addr { font-weight: 700; font-size: 1.15rem; margin: 0; }
.map-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* Tableau d'infos */
.details { margin: 0; border-top: 1px solid var(--line); }
.details .row { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem .2rem; border-bottom: 1px solid var(--line); }
.details dt { font-weight: 700; }
.details dd { margin: 0; color: var(--muted); text-align: right; }
.bg-dark .details, .bg-dark .details .row { border-color: rgba(244, 238, 223, .15); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery .media { aspect-ratio: 1; border-radius: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h3 { font-family: var(--sans); font-size: 1.1rem; margin: 1.6em 0 .3em; color: var(--ink); }
.contact-aside h3:first-child { margin-top: 0; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.bg-white .contact-form { background: var(--cream); }
.contact-form .title { font-size: 1.8rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #CDBF9C; border-radius: 12px; padding: .75rem .95rem; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(201, 162, 58, .3); }
.field [aria-invalid='true'] { border-color: #A3261D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); }
.form-status { margin: 1rem 0 0; font-weight: 700; }
.form-status.ok { color: #23663A; }
.form-status.err { color: #A3261D; }

/* Articles */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; position: relative; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-body { padding: 1.4rem 1.5rem 1.6rem; }
.post-body time { font-size: .85rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.post-body h3 { margin: .4em 0; font-size: 1.35rem; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a::after { content: ''; position: absolute; inset: 0; }
.post-body p { color: var(--muted); margin: 0; font-size: 1rem; }
.post-head { padding: clamp(3rem, 7vw, 5rem) 0 2rem; background: var(--cream); text-align: center; }
.post-head time { color: var(--gold-ink); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.post-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: .4em auto .5em; max-width: 900px; }
.post-cover { width: min(100% - 2.5rem, 1000px); margin: 0 auto; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--dark); color: var(--on-dark-muted); padding: 4rem 0 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; text-align: center; } .socials, .foot-spaces { justify-content: center; } }
.site-foot .logo { color: var(--on-dark); display: inline-block; margin-bottom: .6rem; }
.site-foot .logo span { color: var(--gold-light); }
.site-foot h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: var(--gold-light); text-decoration: underline; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244, 238, 223, .2); }
.socials a:hover { border-color: var(--gold-light); text-decoration: none; }
.foot-spaces { display: flex; flex-wrap: wrap; gap: .5rem; }
.foot-spaces a { padding: .45rem .9rem; border: 1px solid rgba(244, 238, 223, .2); border-radius: 999px; font-size: .92rem; }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(244, 238, 223, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.foot-bottom button { background: none; border: 0; color: var(--on-dark); font: inherit; text-decoration: underline; cursor: pointer; padding: .2rem 0; }

/* ---------- Bandeau cookies ---------- */
.consent { position: fixed; z-index: 120; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); padding: 1.3rem 1.4rem; }
.consent p { margin: 0 0 1rem; font-size: .95rem; color: var(--muted); }
.consent .btns { margin: 0; gap: .6rem; }
.consent .btn { min-height: 44px; padding: .6rem 1.2rem; }

/* ---------- Apparition au défilement (désactivée si l'utilisateur limite les animations) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Page « bientôt de retour » et 404 */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }
.simple-page .big { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); color: var(--gold); line-height: 1; margin: 0; }

/* Bouton « Modifier la page » (visible seulement pour l'administrateur, voir site.js) */
.cms-pill { position: fixed; z-index: 130; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.cms-pill:hover { color: var(--gold-light); }
.login-box { width: min(100%, 460px); text-align: left; }
.login-box h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.testimonials:has(> :only-child) { max-width: 760px; margin-inline: auto; grid-template-columns: 1fr; }
@media (max-width: 620px) { .split-media::before, .split.side-right .split-media::before { inset: .8rem -.5rem -.8rem .8rem; } .hero-media::after { inset: .8rem -.5rem -.8rem .8rem; } }
