/* Essai noir et or, isolé pour permettre un retour immédiat à la version précédente. */
:root, html[data-theme="dark"] {
  color-scheme: dark;
  --trial-bg: #090909;
  --trial-section: #090909;
  --trial-panel: #141414;
  --trial-paper: #f6f1e7;
  --trial-muted: #c8c6c0;
  --trial-gold: #e2c574;
  --trial-line: #d5b65d38;
  --ink: #090909;
  --ink-soft: #101010;
  --panel: #141414;
  --paper: #f6f1e7;
  --paper-dim: #d5d2cb;
  --muted: #b9b8b2;
  --black-0: #090909;
  --black-1: #101010;
  --black-2: #131313;
  --black-3: #191919;
  --copper: #d5b65d;
  --copper-light: #e2c574;
  --copper-deep: #a68b44;
  --site-copper: #e2c574;
  --fx-copper: #d5b65d;
  --fx-copper-light: #e2c574;
  --line: #ffffff1c;
}
html body:is(.site-public, .gallery-page, .login-page, .legal-page) { background: var(--trial-bg); color: var(--trial-paper); }
html body.gallery-page { --gallery-ink: #090909; --gallery-ink-soft: #101010; --gallery-panel: #141414; --gallery-ivory: #f6f1e7; --gallery-muted: #c8c6c0; --gallery-copper: #d5b65d; --gallery-copper-light: #e2c574; --gallery-line: #d5b65d38; }
html body .site-spotlight, html body .fx-card__glow { display: none; }
html body .site-progress span { background: #d5b65d; box-shadow: none; }
html body .site-header:not(.site-header--internal) { background: #090909ea; border-color: #ffffff12; }
html body .site-header.is-scrolled { background: #090909f5; }
@media (min-width: 1241px) {
  html body .site-header__tools { display: none; }
  html body .site-header__inner { display: grid; grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr); }
  html body .site-brand { justify-self: start; }
  html body .site-brand__logo { width: 128px; height: 88px; }
  html body .site-nav { justify-self: center; }
}
@media (min-width: 1241px) and (max-width: 1450px) {
  html body .site-nav ul { gap: 17px; }
  html body .site-nav a:not(.site-nav__cta) { font-size: 14px; letter-spacing: .025em; }
  html body .site-nav .site-nav__cta { padding-inline: 22px; }
}

/* Une page plus calme : la photo, les titres et les boutons donnent le rythme. */
html body.page-home .section { padding-block: clamp(64px, 7vw, 108px); }
html body.page-home :is(.portfolio-preview, .studio, .hygiene, .contact) { color: var(--trial-paper); background: var(--trial-bg); border-color: #ffffff12; }
html body.page-home :is(.artist, .pricing, .faq) { color: var(--trial-paper); background: var(--trial-section); border-color: #ffffff12; }
html body.page-home .portfolio-preview::after,
html body.page-home .artist::before,
html body.page-home .artist::after,
html body.page-home .studio::before,
html body.page-home .pricing::before,
html body.page-home .hygiene::before,
html body.page-home .faq::before,
html body.page-home .contact::before,
html body.page-home .hero::before { display: none; }
html body.page-home .artist__monogram { display: none; }
html body.page-home .section h2 { font-size: clamp(2.1rem, 4.1vw, 4.2rem); line-height: 1.12; letter-spacing: -.035em; }
html body.page-home .hero h1 { font-size: clamp(3.8rem, 7vw, 7.4rem); line-height: 1.08; letter-spacing: -.055em; margin-bottom: 32px; }
html body.page-home .hero__copy { max-width: 600px; color: var(--trial-paper); }
html body.page-home .hero__invitation { margin-top: 26px; margin-bottom: 16px; color: #e2dfd7; }
html body.page-home :is(.artist__lead, .artist__story, .pricing__lead, .pricing__step p, .portfolio-preview__intro, .hygiene__heading > p, .faq__heading > p, .contact__heading > p) { color: var(--trial-muted); }
html body.page-home :is(.artist__lead, .pricing__lead, .portfolio-preview__intro, .hygiene__heading > p, .faq__heading > p, .contact__heading > p) { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.65; }
html body.page-home :is(.eyebrow, .pricing__number, .accordion__number, .artist__signature) { color: var(--trial-gold); }
html body.page-home .artist__layout { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 112px); }
html body.page-home .artist__intro { position: static; }
html body.page-home .artist__lead { max-width: 360px; margin-top: 24px; }
html body.page-home .artist__story { max-width: 760px; font-size: 20px; line-height: 1.8; }
html body.page-home .artist__story p:last-child { margin-bottom: 0; }
html body.page-home .artist__signature { font-style: italic; font-size: 19px; }

/* Le défilement d’origine est conservé, seul son fond change. */
html body .signature-rail { background: #090909; border-color: var(--trial-line); box-shadow: none; }
html body .signature-rail::before { background: linear-gradient(90deg, #090909, transparent); }
html body .signature-rail::after { background: linear-gradient(-90deg, #090909, transparent); }
html body .signature-rail__line span { color: #f0e7d2; }
html body .signature-rail__line i { border-color: #e2c574; box-shadow: 0 0 12px #e2c57426; }
html body .studio__viewport { touch-action: pan-x pan-y pinch-zoom; scroll-padding-inline: 0; }
html body .studio__viewport.is-dragging { user-select: none; }
/* Le compteur ne doit pas intercepter le début d’un geste sur la photo. */
html body .studio__counter, html body .studio__progress { pointer-events: none; user-select: none; }
html body .studio__slide { background: #101010; border-color: #ffffff24; }
html body .studio__slide[data-active] { border-color: var(--trial-line); box-shadow: 0 24px 64px #0006; }
html body .studio__control:hover, html body .studio__control:focus-visible { background: #24231e; border-color: var(--trial-gold); }

/* Les mêmes courbes et couleurs que le formulaire, sans les halos cuivrés. */
html body.page-home :is(.hygiene__protocols .hygiene__protocol, .faq__grid .faq__item) { border: 1px solid var(--trial-line); background: #101010; box-shadow: none; }
html body.page-home :is(.hygiene__protocol, .faq__item) { border-radius: 22px; }
html body.page-home :is(.hygiene__protocol, .faq__item):hover { border-color: #d5b65d66; background-color: #141414; }
html body.page-home :is(.hygiene__protocol[open], .faq__item[open]) { border-color: #d5b65d80; }
html body.page-home :is(.hygiene__protocol summary, .faq__item summary, .accordion__subheading) { color: var(--trial-paper); }
html body.page-home .accordion__content { color: #e2dfd7; font: 400 17px/1.8 Arial, Helvetica, sans-serif; }
html body.page-home .faq__item summary,
html body.page-home .hygiene__protocols summary strong { color: #f6f1e7; font: 700 18px/1.55 "Manrope", Arial, sans-serif; text-transform: none; letter-spacing: 0; }
html body.page-home .hygiene__protocol-meta { color: #dfc784; font: 600 13px/1.6 "Manrope", Arial, sans-serif; text-transform: none; letter-spacing: 0; }
html body.page-home .accordion__subheading { font: 700 17px/1.6 "Manrope", Arial, sans-serif; letter-spacing: 0; text-transform: none; }
html body.page-home .accordion__content a { color: #efd588; }
html body.page-home .faq__item summary { min-height: 94px; }
html body.page-home .accordion__icon { color: var(--trial-gold); border-color: var(--trial-line); background: transparent; }
/* Conditions lisibles en pleine largeur, sans bloc d’introduction ni volet caché. */
.pricing-heading { margin-bottom: 36px; }
.pricing-sheet { overflow: hidden; border: 1px solid var(--trial-line); border-radius: 22px; background: #101010; }
.pricing-sheet__terms { padding: 8px clamp(28px, 4vw, 60px); }
.pricing-sheet__terms article { display: grid; grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr); align-items: baseline; gap: 32px; padding-block: 32px; }
.pricing-sheet__terms article + article { border-top: 1px solid #ffffff1c; }
html body .pricing-sheet__terms h3 { margin: 0 0 12px; color: #f1dfae; font: 700 18px/1.55 "Manrope", Arial, sans-serif; text-transform: none; letter-spacing: 0; }
.pricing-sheet__terms p { max-width: 74ch; margin: 0; color: #e2dfd7; font: 400 18px/1.8 Arial, Helvetica, sans-serif; }
.pricing-sheet__terms strong { color: #fff5d6; font-weight: 700; }

/* Contact utile : l’adresse et les accès directs, sans répéter le formulaire. */
.contact-desk { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.contact-desk__address { position: relative; padding: clamp(28px, 3.6vw, 52px); border: 1px solid var(--trial-line); border-radius: 28px; background: linear-gradient(145deg, #141414, #0b0b0b); }
.contact-desk__pin { display: block; width: 32px; height: 32px; color: var(--trial-gold); margin-bottom: 24px; }
.contact-desk__pin svg { width: 100%; height: 100%; }
html body .contact-desk__address h3 { margin-bottom: 20px; color: var(--trial-paper); font: 500 clamp(24px, 2.2vw, 32px)/1.3 "Playfair Display", Georgia, serif; }
.contact-desk__address address { font-style: normal; font-size: 21px; line-height: 1.65; color: var(--trial-paper); }
.contact-desk__address p { margin-top: 20px; margin-bottom: 26px; color: var(--trial-muted); font-size: 16px; }
.contact-desk__links { display: grid; gap: 16px; min-width: 0; }
html body.page-home #contact-title { letter-spacing: -.015em; }
.title-separator { display: inline-block; margin-inline: .1em; letter-spacing: 0; }
.contact-channel { display: flex; align-items: center; gap: 22px; padding: 28px 22px; color: var(--trial-paper); text-decoration: none; border: 1px solid var(--trial-line); border-radius: 22px; background: #101010; }
.contact-channel > span:last-child { min-width: 0; }
.contact-channel__icon { display: grid; place-items: center; flex: 0 0 54px; height: 54px; color: var(--trial-gold); border: 1px solid var(--trial-line); border-radius: 18px; background: #111111; }
.contact-channel__icon svg { width: 26px; height: 26px; }
.contact-channel__icon img { display: block; width: 32px; height: 32px; }
.contact-channel strong { display: block; color: var(--trial-paper); font: 700 clamp(16px, 1.45vw, 21px)/1.5 "Manrope", Arial, sans-serif; overflow-wrap: anywhere; }
.contact-channel small { display: block; margin-top: 7px; color: #e2dfd7; font: 400 16px/1.6 Arial, sans-serif; }
.contact-channel:hover strong { color: var(--trial-gold); }
.contact-channel:hover .contact-channel__icon { border-color: var(--trial-gold); }
.contact-channel:focus-visible { outline: 2px solid var(--trial-gold); outline-offset: 5px; }
html body.page-home .button--ghost { background: #101010 !important; }

/* Galerie : une introduction courte, puis les photos conservées à l’identique. */
html body.gallery-page::before, html body.gallery-page .gallery-main::before,
html body.gallery-page .gallery-hero__mark, html body.gallery-page .gallery-hero::after { display: none; }
html body.gallery-page .gallery-main { padding-top: 30px; }
html body.gallery-page .gallery-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr); align-items: center; justify-items: stretch; text-align: left; min-height: 0; padding: clamp(32px, 4.5vw, 72px); gap: clamp(30px, 5vw, 80px); border: 1px solid var(--trial-line); border-radius: 28px; background: linear-gradient(125deg, #141414, #0b0b0b 65%); }
html body.gallery-page .gallery-hero::before { content: ""; position: absolute; top: 0; left: 8%; width: 68%; height: 1px; background: linear-gradient(90deg, transparent, #efd588, transparent); }
html body.gallery-page .gallery-hero__eyebrow { margin: 0 0 22px; color: var(--trial-gold); font: 600 12px/1.5 "Manrope", Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
html body.gallery-page .gallery-hero h1 { max-width: 960px; margin: 0; color: var(--trial-paper); font-size: clamp(44px, 5.7vw, 88px); line-height: 1.08; letter-spacing: -.04em; text-shadow: none; }
html body.gallery-page .gallery-hero h1 span { color: #e8cb79; }
html body.gallery-page .gallery-hero__intro { max-width: 540px; margin: 24px 0 0; color: var(--trial-muted); font: 400 clamp(18px, 1.5vw, 21px)/1.65 "Playfair Display", Georgia, serif; letter-spacing: 0; }
.gallery-hero__discover { display: inline-block; margin-top: 26px; padding-block: 8px; color: #efd588; border-bottom: 1px solid #e2c57480; text-decoration: none; font: 700 15px/1.5 "Manrope", Arial, sans-serif; transition: border-color .2s; }
.gallery-hero__discover:hover { color: #fff0bd; border-color: #fff0bd; }
.gallery-hero__discover:focus-visible { outline: 2px solid var(--trial-gold); outline-offset: 5px; }
.gallery-hero__edition { display: flex; align-items: center; flex-direction: column; justify-content: center; align-self: stretch; padding-left: clamp(28px, 4vw, 60px); border-left: 1px solid var(--trial-line); text-align: center; }
.gallery-hero__edition-label { color: #c8c6c0; font: 600 11px/1.6 "Manrope", Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.gallery-hero__count { display: block; margin: 22px 0 10px; color: #e8cb79; font: 400 clamp(90px, 10vw, 150px)/1 "Cinzel", Georgia, serif; letter-spacing: -.08em; }
.gallery-hero__count-label { color: #e6dfcf; font: 400 16px/1.5 "Playfair Display", Georgia, serif; }
.gallery-hero__signature { margin-top: 34px; color: #bfa96e; font: italic 400 29px/1 "Playfair Display", Georgia, serif; }
html body.gallery-page .tabs { margin-top: 32px; padding: 5px; border-color: #d5b65d40; background: #111111; box-shadow: none; backdrop-filter: none; }
html body.gallery-page .tabs a { padding-inline: 25px; color: #d1cec5; }
html body.gallery-page .tabs a:not(.active):hover { color: #fff8e8; border-color: transparent; background: #ffffff08; }
html body.gallery-page .gallery-collection { margin-top: clamp(38px, 4vw, 60px); scroll-margin-top: 114px; }
html body.gallery-page .gallery-collection__heading { padding-bottom: 18px; border-color: #ffffff1c; }
html body.gallery-page .gallery-collection__heading h2 { font: 600 15px/1.5 "Manrope", Arial, sans-serif; letter-spacing: 0; color: var(--trial-muted); }
html body.gallery-page .gallery-collection__heading p { font: 600 13px/1.5 "Manrope", Arial, sans-serif; letter-spacing: .02em; text-transform: none; }
html body.gallery-page .gallery-project-cta { background: linear-gradient(145deg, #141414, #0b0b0b); border-color: var(--trial-line); border-radius: 24px; }
html body.gallery-page .pagination__pages { background: #131313; border-color: var(--trial-line); box-shadow: none; }
html body.gallery-page .pagination a.pagination__direction { background: transparent; border-color: var(--trial-line); }

/* Les mentions légales reprennent le noir du footer et une lecture plus confortable. */
html body.legal-page { --legal-ink: #090909; --legal-panel: #141414; --legal-paper: #f6f1e7; --legal-muted: #d0cec7; --legal-copper: #e2c574; --legal-line: #d5b65d38; }
html body.legal-page .legal-main { width: min(100% - 64px, 1120px); padding-top: clamp(48px, 5vw, 80px); }
html body.legal-page .legal-hero { margin-bottom: 40px; }
html body.legal-page .legal-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.12; }
html body.legal-page .legal-hero > p:last-child { color: var(--legal-muted); font-size: 19px; }
html body.legal-page .legal-card { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--legal-line); border-radius: 22px; background: linear-gradient(145deg, #141414, #0b0b0b); }
html body.legal-page .legal-card h2 { color: var(--trial-gold); font: 700 16px/1.5 "Manrope", Arial, sans-serif; text-transform: none; letter-spacing: 0; margin-bottom: 16px; }
html body.legal-page .legal-card p { color: var(--legal-muted); font: 400 17px/1.8 Arial, sans-serif; overflow-wrap: anywhere; }
html body.legal-page .legal-card a { color: #efd588; }
html body.legal-page .legal-return a { color: var(--trial-paper); border-color: #c4a352; border-radius: 999px; font: 700 16px/1.5 "Manrope", Arial, sans-serif; text-transform: none; letter-spacing: 0; background: #111111; }
html body.legal-page .legal-return a:hover { background: #202020; }
html body.legal-page .legal-return a:focus-visible { outline: 2px solid var(--trial-gold); outline-offset: 4px; }

@media (max-width: 980px) {
  html body.page-home .artist__layout { grid-template-columns: 1fr; gap: 28px; }
  html body.page-home .artist__lead { max-width: none; margin-top: 18px; }
  html body.page-home .artist__story { max-width: none; }
  .contact-desk { grid-template-columns: 1fr 1.1fr; gap: 32px; }
  .contact-channel { gap: 14px; }
  .contact-channel strong { font-size: 16px; }
  html body.gallery-page .gallery-hero { grid-template-columns: minmax(0, 1fr) 180px; gap: 30px; }
  .gallery-hero__edition { padding-left: 28px; }
}
@media (max-width: 760px) {
  html body .studio__track { width: 100%; }
  html body .studio__slide { flex-basis: 100%; }
  html body.page-home .hero h1 { font-size: clamp(3.4rem, 16vw, 5.4rem); margin-bottom: 28px; }
  html body.page-home .artist__story { font-size: 18px; }
  .pricing-sheet { border-radius: 24px; }
  .pricing-sheet__terms { padding: 2px 28px; }
  .pricing-sheet__terms article { grid-template-columns: 1fr; gap: 8px; padding-block: 26px; }
  .contact-desk { grid-template-columns: 1fr; gap: 26px; }
  .contact-desk__address { border-radius: 24px; }
  .contact-channel { padding-block: 23px; gap: 16px; }
  html body.gallery-page .gallery-main { padding-top: 18px; }
  html body.gallery-page .gallery-hero { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; border-radius: 24px; }
  html body.gallery-page .gallery-hero h1 { font-size: clamp(33px, 7.9vw, 56px); }
  html body.gallery-page .gallery-hero__eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: .13em; }
  html body.gallery-page .gallery-hero__intro { margin-top: 20px; font-size: 17px; }
  .gallery-hero__discover { margin-top: 18px; font-size: 14px; }
  .gallery-hero__edition { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--trial-line); text-align: left; align-items: center; }
  .gallery-hero__edition-label { align-self: end; font-size: 10px; }
  .gallery-hero__count { grid-column: 1; grid-row: 1 / 3; font-size: 53px; margin: 0; padding-right: 4px; }
  .gallery-hero__count-label { grid-column: 2; align-self: start; font-size: 14px; }
  .gallery-hero__signature { display: none; }
  html body.gallery-page .tabs { width: 100%; }
  html body.gallery-page .tabs a { flex: 1 1 0; min-width: 0; padding: 10px 12px; font-size: 14px !important; line-height: 1.4; }
  html body.legal-page .legal-main { width: calc(100% - 32px); }
}

/* Noir neutre commun aux panneaux, au formulaire et au pied de page. */
html body .site-footer { background: #090909; }
html body .site-footer::before { background: none; }
html:not([data-theme="light"]) body.studio-booking { background: #090909; }
html:not([data-theme="light"]) body.studio-booking .formulaire-tatouage.container { background: linear-gradient(145deg, #141414, #0b0b0b); }
html:not([data-theme="light"]) body.studio-booking .formulaire-tatouage :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
html:not([data-theme="light"]) body.studio-booking .form-option { background: #0a0a0a; }
