
:root {
  color-scheme: light;
  --ink: #101b27;
  --ink-soft: #172634;
  --ivory: #f3efe5;
  --paper: #faf8f2;
  --brass: #c8a56a;
  --brass-light: #dfc18a;
  --burgundy: #6a2d37;
  --muted: #73736d;
  --line: rgba(16, 27, 39, .18);
  --serif: 'Bodoni Moda', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'DM Sans', 'Avenir Next', Avenir, sans-serif;
  --page-gutter: clamp(1.25rem, 7.2vw, 7.5rem);
  --header-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--ink); background: var(--brass-light); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: fixed; z-index: 99; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--ivory); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }

.site-header { height: var(--header-height); position: absolute; z-index: 10; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-gutter); color: var(--ivory); border-bottom: 1px solid rgba(243, 239, 229, .15); }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; letter-spacing: .025em; line-height: 1.1; font-size: 1.04rem; }
.brand-name span { display: block; color: var(--brass-light); font-family: var(--sans); font-size: .58rem; font-weight: 500; letter-spacing: .29em; text-transform: uppercase; margin-top: .25rem; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.7vw, 2.8rem); font-size: .76rem; letter-spacing: .06em; }
.main-nav a, .footer-nav a { color: inherit; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .footer-nav a:hover { color: var(--brass-light); }
.main-nav .nav-contact { border: 1px solid rgba(223, 193, 138, .7); padding: .7rem .92rem; color: var(--brass-light); }
.main-nav .nav-admin { color: var(--brass-light); white-space: nowrap; }
.nav-contact span { margin-left: .5rem; }
.menu-toggle { display: none; }

.hero { min-height: min(850px, 100svh); min-height: min(850px, 100vh); position: relative; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--ivory); padding: calc(var(--header-height) + 5rem) var(--page-gutter) 5.5rem; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; opacity: .75; }
.hero-shade { background: linear-gradient(90deg, rgba(9, 17, 25, .94) 0%, rgba(9, 17, 25, .82) 34%, rgba(9, 17, 25, .23) 76%, rgba(9, 17, 25, .2) 100%), linear-gradient(0deg, rgba(9, 17, 25, .55), transparent 35%); }
.hero-copy { width: min(760px, 80%); position: relative; z-index: 1; padding-bottom: 1.5rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.5rem; color: var(--burgundy); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 2.8rem; height: 1px; background: var(--brass); }
.eyebrow-light { color: var(--brass-light); }
h1, h2, h3, p, figure { margin-top: 0; }
.hero h1, .display-title { margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 7.6vw, 7.25rem); font-weight: 500; letter-spacing: -.055em; line-height: .99; }
.hero h1 em, .display-title em { color: var(--brass-light); font-weight: 500; }
.hero-lede { max-width: 440px; margin: 1.55rem 0 2rem; color: rgba(243, 239, 229, .82); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.45rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; padding: .85rem 1.15rem; border: 1px solid transparent; text-decoration: none; font-size: .73rem; font-weight: 700; letter-spacing: .075em; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--brass); color: var(--ink); }
.button-gold:hover { background: var(--brass-light); }
.button-dark { background: var(--ink); color: var(--ivory); }
.button-dark:hover { background: var(--burgundy); }
.text-link { display: inline-flex; align-items: center; gap: .7rem; color: var(--ivory); text-decoration-color: rgba(243, 239, 229, .55); text-underline-offset: .35rem; font-size: .78rem; }
.text-link span { color: var(--brass-light); font-size: 1.1rem; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.draft-note { display: flex; align-items: center; gap: .55rem; margin: 2.5rem 0 0; color: rgba(243, 239, 229, .68); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--brass); }
.hero-side-note { position: absolute; z-index: 1; right: var(--page-gutter); top: 50%; display: flex; gap: .65rem; color: rgba(243, 239, 229, .77); font-size: .57rem; letter-spacing: .18em; writing-mode: vertical-rl; transform: translateY(-50%); }
.hero-scroll { position: absolute; bottom: 1.75rem; left: var(--page-gutter); display: flex; align-items: center; gap: .7rem; color: rgba(243, 239, 229, .73); text-decoration: none; font-size: .58rem; letter-spacing: .22em; }
.scroll-line { height: 36px; width: 1px; background: var(--brass); }

.section-pad { padding: clamp(5rem, 9vw, 9rem) var(--page-gutter); }
.section-label { display: flex; align-items: center; gap: .8rem; color: var(--burgundy); font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-label > span:first-child { color: var(--brass); font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.label-line { width: 3.1rem; height: 1px; background: currentColor; opacity: .46; }
.intro-section { position: relative; background: var(--ivory); overflow: hidden; }
.intro-layout { display: grid; grid-template-columns: 1.1fr .7fr; gap: clamp(3rem, 9vw, 9rem); align-items: end; margin: 4.5rem 0 0 8%; }
.display-title { color: var(--ink); font-size: clamp(3rem, 6.2vw, 6.3rem); }
.intro-section .display-title em, .services-section .display-title em, .contact-section .display-title em { color: var(--burgundy); }
.intro-text { max-width: 455px; padding-bottom: .4rem; }
.lead-copy { color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.45; }
.intro-text > p:not(.lead-copy) { color: #555953; font-size: .93rem; }
.replace-note { display: flex; align-items: flex-start; gap: .55rem; color: #715e3c; font-size: .72rem; }
.replace-note span { color: #a5834b; }
.intro-signature { display: flex; align-items: center; gap: .8rem; margin: 6rem 0 0 8%; color: var(--burgundy); font-size: .58rem; letter-spacing: .16em; }
.intro-signature > span:first-child { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -.08em; }
.intro-signature i { width: 42px; height: 1px; background: var(--brass); }

.music-section, .gallery-section { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.music-backdrop { position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 45%, rgba(106, 45, 55, .37), transparent 38%), linear-gradient(115deg, transparent 46%, rgba(200, 165, 106, .045) 46.1%, transparent 46.5%); pointer-events: none; }
.section-label-light { position: relative; z-index: 1; color: rgba(243, 239, 229, .79); }
.music-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .65fr; align-items: center; gap: 9%; margin: 4.5rem 0 0 8%; }
.music-title-wrap .eyebrow { margin-bottom: 1.2rem; }
.music-section .display-title, .gallery-section .display-title { color: var(--ivory); font-size: clamp(3.4rem, 7.3vw, 7.2rem); }
.music-copy { max-width: 435px; padding-top: 3rem; }
.music-copy .lead-copy { color: var(--ivory); }
.music-copy > p:not(.lead-copy) { color: rgba(243, 239, 229, .69); font-size: .91rem; }
.text-link-light { margin-top: 1rem; color: var(--ivory); }
.music-stamp { position: absolute; right: var(--page-gutter); bottom: 2.2rem; display: flex; align-items: center; gap: .5rem; border: 1px solid rgba(200, 165, 106, .55); padding: .5rem .7rem; color: var(--brass-light); font-size: .55rem; letter-spacing: .19em; transform: rotate(-7deg); }

.services-section { background: var(--paper); }
.services-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin: 4.3rem 0 3rem 8%; }
.services-heading .eyebrow { margin-bottom: 1rem; }
.services-intro { max-width: 315px; margin: 0 2rem .3rem 0; color: #5f625d; font-size: .88rem; }
.service-list { margin-left: 8%; border-top: 1px solid var(--line); }
.service-card { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 3.4rem; align-items: center; gap: 1rem; padding: 1.8rem .4rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.service-number { align-self: start; padding-top: .4rem; color: var(--brass); font-family: var(--serif); font-size: 1rem; }
.service-card h3 { margin: 0 0 .35rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.02em; }
.service-card p { max-width: 500px; margin: 0; color: #62645f; font-size: .86rem; }
.service-card > a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--burgundy); text-decoration: none; transition: background .2s ease, color .2s ease; }
.service-card > a:hover { background: var(--burgundy); color: var(--ivory); }
.service-disclaimer { margin: 1.3rem 0 0 8%; }
.services-cta { display: flex; justify-content: flex-end; align-items: center; gap: 1.3rem; margin: 3.5rem 0 0 8%; color: var(--muted); font-size: .8rem; }

.gallery-section { padding-bottom: clamp(5.5rem, 9vw, 9rem); }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin: 4.4rem 0 3rem 8%; }
.gallery-heading p { max-width: 270px; margin: 0 2rem .3rem 0; color: rgba(243, 239, 229, .7); font-size: .87rem; }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, .7fr); gap: 1.5rem; margin-left: 8%; }
.gallery-image { min-width: 0; margin: 0; }
.gallery-image img { width: 100%; height: clamp(260px, 34vw, 470px); object-fit: cover; border: 1px solid rgba(200, 165, 106, .28); }
.gallery-image figcaption { display: flex; gap: .75rem; margin-top: .8rem; color: rgba(243, 239, 229, .65); font-size: .64rem; letter-spacing: .045em; }
.gallery-image figcaption span { color: var(--brass-light); }
.gallery-placeholder { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; padding: 1.5rem; border: 1px dashed rgba(200, 165, 106, .48); text-align: center; color: rgba(243, 239, 229, .72); }
.placeholder-icon { width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 1.3rem; border: 1px solid var(--brass); border-radius: 50%; color: var(--brass-light); font-family: var(--serif); font-size: 1.8rem; letter-spacing: -.1em; }
.placeholder-label { color: var(--brass-light); font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.gallery-placeholder figcaption { max-width: 200px; margin-top: .6rem; font-size: .72rem; }

.contact-section { background: var(--ivory); }
.contact-layout { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(3rem, 9vw, 9rem); margin: 4.4rem 0 0 8%; }
.contact-copy .eyebrow { margin-bottom: 1.1rem; }
.contact-copy .display-title { font-size: clamp(3.2rem, 6vw, 6rem); }
.contact-copy .lead-copy { max-width: 410px; margin: 1.8rem 0 2.3rem; }
.contact-detail { display: flex; flex-direction: column; gap: .3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.contact-detail-label { color: #74736c; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-detail-value { color: var(--burgundy); font-family: var(--serif); font-size: 1.22rem; }
.contact-caveat { max-width: 360px; margin: .6rem 0 0; color: #686a64; font-size: .72rem; }
.contact-form { padding: clamp(1.3rem, 3vw, 2.5rem); background: var(--paper); border: 1px solid rgba(16, 27, 39, .08); box-shadow: 0 16px 50px rgba(16, 27, 39, .06); }
.form-demo-label { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem; color: #686a64; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { min-width: 0; margin-bottom: 1.05rem; }
.form-field label { display: block; margin-bottom: .4rem; color: var(--ink); font-size: .73rem; font-weight: 600; }
.form-field label > span:first-child { color: var(--burgundy); }
.optional-label { color: #77776f; font-size: .65rem; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: .72rem .8rem; border: 1px solid #d8d5cc; border-radius: 0; background: #fffefa; color: var(--ink); font-size: .82rem; }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--burgundy); outline: 2px solid rgba(106, 45, 55, .18); outline-offset: 1px; }
.form-field [aria-invalid="true"] { border-color: #9a3030; }
.field-error { display: block; min-height: 1.1rem; margin-top: .2rem; color: #912f33; font-size: .68rem; }
.form-submit { min-width: 235px; margin-top: .3rem; cursor: pointer; }
.form-privacy { margin: .8rem 0 0; color: #73736d; font-size: .66rem; }
.form-status { margin: .7rem 0 0; color: #285039; font-size: .78rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #912f33; }

.site-footer { padding: 3rem var(--page-gutter) 1.4rem; background: #0c151f; color: var(--ivory); }
.footer-brand .brand-name { font-size: .95rem; }
.site-footer > p { margin: .9rem 0 1.5rem 3.2rem; color: rgba(243, 239, 229, .64); font-family: var(--serif); font-size: 1rem; }
.footer-nav { display: flex; gap: 1.5rem; margin-left: 3.2rem; color: rgba(243, 239, 229, .75); font-size: .7rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.1rem; padding-top: 1rem; border-top: 1px solid rgba(243, 239, 229, .14); color: rgba(243, 239, 229, .5); font-size: .62rem; }
.footer-bottom a { color: var(--brass-light); text-decoration: none; }

.rise-in { opacity: 1; transform: none; }
.motion-ready .rise-in:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.motion-ready .rise-in { transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .25, 1); }
.motion-ready .rise-in.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  .main-nav { gap: 1rem; font-size: .68rem; }
  .main-nav .nav-contact { padding: .6rem .65rem; }
  .hero { min-height: 770px; }
  .hero-copy { width: 86%; }
  .intro-layout, .music-layout, .services-heading, .gallery-heading, .contact-layout { margin-left: 0; }
  .intro-signature, .service-list, .service-disclaimer, .services-cta, .gallery-grid { margin-left: 0; }
  .intro-layout { gap: 3rem; }
  .music-layout { gap: 4rem; }
  .contact-layout { gap: 3rem; }
}

@media (min-width: 801px) and (max-width: 900px) {
  .main-nav .nav-admin { display: block; }
}

@media (max-width: 700px) {
  :root { --page-gutter: 1.25rem; --header-height: 70px; }
  .site-header { position: absolute; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: .94rem; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(223, 193, 138, .6); background: transparent; color: var(--ivory); cursor: pointer; }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { width: 18px; height: 1px; display: block; position: relative; background: currentColor; transition: transform .2s ease; }
  .menu-toggle-lines::before, .menu-toggle-lines::after { position: absolute; content: ''; left: 0; }
  .menu-toggle-lines::before { top: -6px; }
  .menu-toggle-lines::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }
  .main-nav { position: absolute; top: calc(100% - 1px); left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: .5rem var(--page-gutter) 1.2rem; background: #111d29; border-bottom: 1px solid rgba(243, 239, 229, .15); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid rgba(243, 239, 229, .1); font-size: .77rem; }
  .main-nav .nav-contact { align-self: flex-start; margin-top: .8rem; padding: .7rem .9rem; }
  .main-nav .nav-admin { display: block; }
  .hero { min-height: 760px; min-height: max(700px, 92svh); align-items: center; padding-top: calc(var(--header-height) + 3.5rem); padding-bottom: 5rem; }
  .hero-image { object-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(9, 17, 25, .91), rgba(9, 17, 25, .56) 72%, rgba(9, 17, 25, .35)), linear-gradient(0deg, rgba(9, 17, 25, .58), transparent 45%); }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 5.4rem); }
  .hero-lede { max-width: 350px; font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .hero-side-note { display: none; }
  .draft-note { margin-top: 2rem; font-size: .57rem; }
  .section-pad { padding-top: 5rem; padding-bottom: 5rem; }
  .intro-layout, .music-layout, .contact-layout { grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
  .display-title { font-size: clamp(3rem, 12vw, 5rem); }
  .intro-text { max-width: 520px; }
  .intro-signature { margin-top: 3.8rem; }
  .music-section .display-title, .gallery-section .display-title { font-size: clamp(3.4rem, 13vw, 5.5rem); }
  .music-copy { max-width: 520px; padding-top: 0; }
  .music-stamp { bottom: 1.3rem; right: 1.5rem; }
  .services-heading, .gallery-heading { align-items: flex-start; flex-direction: column; gap: 1.4rem; margin-top: 3rem; }
  .services-intro, .gallery-heading p { max-width: 420px; margin-right: 0; }
  .service-card { grid-template-columns: 2rem minmax(0, 1fr) 2.7rem; gap: .65rem; padding: 1.35rem 0; }
  .service-card > a { width: 36px; height: 36px; }
  .service-card p { font-size: .79rem; }
  .services-cta { align-items: flex-start; flex-direction: column; gap: .8rem; margin-top: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2.5rem; }
  .gallery-image img { height: 270px; }
  .gallery-placeholder { min-height: 225px; }
  .contact-form { padding: 1.25rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-detail-value { font-size: 1.08rem; }
  .footer-bottom { flex-direction: column; gap: .45rem; margin-top: 2rem; }
  .site-footer > p, .footer-nav { margin-left: 0; }
}

@media (max-width: 380px) {
  .brand { gap: .5rem; }
  .brand-name { font-size: .85rem; }
  .brand-name span { font-size: .52rem; }
  .hero h1 { font-size: 3rem; }
  .button { gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .motion-ready .rise-in, .motion-ready .rise-in:not(.is-visible) { opacity: 1; transform: none; }
}


/* Galerie des portraits fournis */
.gallery-portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.gallery-portraits .gallery-image { min-width: 0; }
.gallery-portraits .gallery-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 24%; }
.gallery-portraits .gallery-brand-art img { object-position: center; background: #050505; }
.gallery-portraits .gallery-image figcaption { align-items: flex-start; font-size: .6rem; line-height: 1.45; }
.gallery-portraits .gallery-image figcaption span:first-child { flex: none; }
.gallery-portraits .gallery-image figcaption span:last-child { min-width: 0; }

@media (max-width: 900px) {
  .gallery-portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .gallery-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
  .gallery-portraits .gallery-image img { aspect-ratio: 3 / 4; }
}


/* Administration privée */
.admin-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--ivory); }
.admin-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: .7rem var(--page-gutter); background: var(--ink); color: var(--ivory); }
.admin-brand .brand-mark { width: 42px; height: 42px; }
.admin-back-link { color: var(--brass-light); text-decoration: none; font-size: .78rem; }
.admin-main { flex: 1; width: min(1050px, 100%); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--page-gutter); }
.admin-login-panel { max-width: 650px; margin: 3vh auto 5vh; padding: clamp(1.4rem, 5vw, 3.5rem); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(16,27,39,.08); }
.admin-login-panel .display-title, .admin-dashboard .display-title { font-size: clamp(2.8rem, 6vw, 5rem); }
.admin-intro { max-width: 650px; margin: 1.2rem 0 1.5rem; color: #565c5a; }
.admin-security-note, .admin-gallery-note { color: #6d706d; font-size: .76rem; }
.admin-alert { min-height: 1.4rem; margin: .75rem 0; color: #285039; font-size: .86rem; font-weight: 600; }
.admin-alert.is-error { color: #912f33; }
.admin-dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.admin-user { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; color: #5f625d; font-size: .75rem; }
.admin-logout { border: 0; background: none; color: var(--burgundy); text-decoration: underline; text-underline-offset: .22rem; cursor: pointer; font-size: .76rem; }
.admin-form { display: grid; gap: 1.3rem; margin-top: 2.2rem; }
.admin-card { padding: clamp(1rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); }
.admin-card-heading { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.admin-card-number { color: var(--brass); font-family: var(--serif); font-size: 1.2rem; }
.admin-card-heading h2 { margin: 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.admin-card-heading p { margin: .3rem 0 0; color: #6b6e68; font-size: .78rem; }
.admin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; margin-bottom: 1.4rem; }
.admin-field { min-width: 0; }
.admin-field label, .admin-gallery-fields label { display: block; margin-bottom: .35rem; color: var(--ink); font-size: .72rem; font-weight: 600; }
.admin-field input, .admin-field textarea, .admin-gallery-fields input:not([type="checkbox"]) { width: 100%; min-height: 44px; padding: .6rem .7rem; border: 1px solid #d8d5cc; border-radius: 0; background: #fffefa; color: var(--ink); font: .8rem var(--sans); }
.admin-field textarea { min-height: 88px; resize: vertical; }
.upload-drop { display: flex; align-items: center; gap: 1rem; margin: .5rem 0 1rem; padding: 1rem; border: 1px dashed #a5834b; background: #fbf8ef; cursor: pointer; }
.upload-symbol { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: 50%; color: var(--burgundy); font-size: 1.4rem; }
.upload-drop strong, .upload-drop small { display: block; }
.upload-drop strong { color: var(--ink); font-size: .85rem; }
.upload-drop small { margin-top: .2rem; color: #666a64; font-size: .7rem; }
.upload-drop input { max-width: 205px; margin-left: auto; font-size: .68rem; }
.admin-gallery { display: grid; gap: .8rem; margin: 1rem 0 1.3rem; }
.admin-gallery-card { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .8rem; border: 1px solid var(--line); background: #fffefa; }
.admin-gallery-card > img { width: 96px; height: 110px; object-fit: cover; object-position: center 25%; background: #111; }
.admin-gallery-card[data-gallery-id="logo"] > img { object-position: center; }
.admin-gallery-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.admin-gallery-fields label { margin: 0; }
.admin-gallery-fields .admin-check-label { display: flex; align-items: center; gap: .45rem; grid-column: 1 / -1; font-weight: 400; }
.admin-check-label input { width: 17px; height: 17px; accent-color: var(--burgundy); }
.admin-gallery-actions { display: flex; flex-direction: column; gap: .35rem; }
.admin-gallery-actions button { min-height: 32px; padding: .35rem .55rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .65rem; }
.admin-gallery-actions button:disabled { opacity: .4; cursor: not-allowed; }
.admin-gallery-actions .remove-image { color: #8b3035; border-color: rgba(139,48,53,.35); }
.admin-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem var(--page-gutter); background: var(--ink); color: rgba(243,239,229,.65); font-size: .68rem; }
.admin-footer a { color: var(--brass-light); text-decoration: none; }

@media (max-width: 700px) {
  .admin-dashboard-head { align-items: flex-start; flex-direction: column; }
  .admin-user { align-items: flex-start; }
  .admin-fields { grid-template-columns: 1fr; }
  .admin-gallery-card { grid-template-columns: 72px minmax(0,1fr); gap: .65rem; }
  .admin-gallery-card > img { width: 72px; height: 94px; }
  .admin-gallery-fields { grid-template-columns: 1fr; }
  .admin-gallery-fields .admin-check-label { grid-column: auto; }
  .admin-gallery-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
  .upload-drop { align-items: flex-start; flex-wrap: wrap; }
  .upload-drop input { max-width: none; width: 100%; margin-left: 0; }
  .admin-footer { flex-direction: column; }
}


/* Rubrique Articles et éditeur privé */
.articles-section { background: var(--ivory); }
.articles-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin: 4.3rem 0 3rem 8%; }
.articles-heading .eyebrow { margin-bottom: 1rem; }
.articles-intro { max-width: 320px; margin: 0 2rem .3rem 0; color: #5f625d; font-size: .9rem; }
.article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-left: 8%; }
.article-card { min-width: 0; padding: 1.4rem 1.3rem 1.6rem; border-top: 2px solid var(--brass); border-bottom: 1px solid var(--line); background: var(--paper); }
.article-number { color: var(--brass); font-family: var(--serif); font-size: .9rem; }
.article-card h3 { margin: 1.2rem 0 .65rem; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 500; line-height: 1.2; }
.article-card p { margin: 0; color: #5f625d; font-size: .84rem; white-space: pre-line; }
.articles-empty { grid-column: 1 / -1; margin: 0; padding: 1.5rem; border: 1px dashed rgba(165,131,75,.6); color: #62645f; font-family: var(--serif); font-size: 1.2rem; text-align: center; }
.articles-empty[hidden] { display: none; }
.admin-articles { display: grid; gap: .8rem; margin: 1rem 0 1.3rem; }
.admin-article-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1rem; border: 1px solid var(--line); background: #fffefa; }
.admin-article-fields { display: grid; gap: .75rem; }
.admin-article-fields label { display: block; color: var(--ink); font-size: .72rem; font-weight: 600; }
.admin-article-fields input:not([type="checkbox"]), .admin-article-fields textarea { width: 100%; min-height: 44px; margin-top: .3rem; padding: .6rem .7rem; border: 1px solid #d8d5cc; border-radius: 0; background: #fffefa; color: var(--ink); font: .8rem var(--sans); }
.admin-article-fields textarea { min-height: 110px; resize: vertical; }
.admin-article-fields .admin-check-label { display: flex; align-items: center; gap: .45rem; font-weight: 400; }
.admin-card-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.admin-article-actions { display: flex; flex-direction: column; gap: .35rem; }
.admin-article-actions button { min-height: 32px; padding: .35rem .55rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .65rem; }
.admin-article-actions button:disabled { opacity: .4; cursor: not-allowed; }
.admin-article-actions .remove-article { color: #8b3035; border-color: rgba(139,48,53,.35); }

@media (max-width: 1150px) and (min-width: 901px) {
  .main-nav { gap: .8rem; font-size: .67rem; }
  .main-nav .nav-contact { padding: .55rem .65rem; }
}
@media (max-width: 900px) {
  .main-nav { gap: .62rem; font-size: .62rem; }
  .main-nav .nav-contact { padding: .5rem .55rem; }
  .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; }
  .articles-heading { margin-left: 0; }
}
@media (min-width: 701px) and (max-width: 760px) {
  .main-nav .nav-admin { display: none; }
}
@media (max-width: 700px) {
  .articles-heading { align-items: flex-start; flex-direction: column; gap: 1.4rem; margin-top: 3rem; }
  .articles-intro { max-width: 420px; margin-right: 0; }
  .article-list { grid-template-columns: 1fr; gap: .8rem; }
  .admin-article-card { grid-template-columns: 1fr; gap: .65rem; padding: .7rem; }
  .admin-article-fields textarea { min-height: 130px; }
  .admin-card-actions { align-items: stretch; flex-direction: column; }
  .admin-article-actions { flex-direction: row; justify-content: flex-end; }
}
