/* =========================================================
   THÈME TATOUAGE MIKA — NOIR, OR ET IVOIRE
   Le mode clair conserve les zones photographiques sombres.
   ========================================================= */

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --copper: #b99a50;
  --copper-light: #e1c57f;
  --copper-deep: #745a22;
  --site-copper: #d0ae63;
  --fx-copper: #b7964e;
  --fx-copper-light: #e0c37d;
}

html[data-theme="light"] {
  color-scheme: light;
  --copper: #9d7b31;
  --copper-light: #b08a35;
  --copper-deep: #6d521d;
  --site-copper: #d0ae63;
  --fx-copper: #9d7b31;
  --fx-copper-light: #c6a654;
  --paper: #191610;
  --paper-dim: #4e4940;
  --muted: #6d675d;
  --line: rgba(32, 27, 18, .16);
}

html[data-theme="light"] .site-header:not(.site-header--internal) {
  border-color: rgba(225, 197, 127, .18);
  background: rgba(7, 7, 6, .94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body,
.portfolio-preview,
.artist,
.studio,
.pricing,
.hygiene,
.faq,
.contact,
.site-footer,
.contact__card,
.hygiene__protocol,
.faq__item {
  transition: color .34s ease, background-color .34s ease, border-color .34s ease, box-shadow .34s ease;
}

/* Or plus minéral, moins cuivré, dans le mode sombre. */
.button--primary,
.formulaire-tatouage button[type="submit"] {
  color: #100d06 !important;
  border-color: rgba(244, 219, 151, .72) !important;
  background: linear-gradient(135deg, #e4ce8b 0%, #c3a355 52%, #ab842e 100%) !important;
  box-shadow: 0 18px 48px rgba(76, 59, 20, .3), inset 0 1px rgba(255, 255, 255, .42) !important;
  text-shadow: 0 1px rgba(255, 249, 224, .34) !important;
}

.button--primary:hover,
.button--primary:focus-visible,
.formulaire-tatouage button[type="submit"]:hover {
  background: linear-gradient(135deg, #f0dc9c 0%, #d0b46a 52%, #a27d34 100%) !important;
}

.portfolio-preview::after,
.artist::before,
.studio::before,
.pricing::before,
.hygiene::before,
.faq::before,
.contact::before {
  background:
    linear-gradient(90deg, transparent 0, rgba(224, 195, 125, .035) 50%, transparent 100%),
    radial-gradient(circle at 78% 12%, rgba(185, 154, 80, .075), transparent 28rem);
}

html[data-theme="dark"] body.site-public {
  background:
    radial-gradient(circle at 14% 4%, rgba(185, 154, 80, .075), transparent 32rem),
    #070605;
}

html[data-theme="dark"] .artist {
  background:
    radial-gradient(circle at 8% 92%, rgba(185, 154, 80, .1), transparent 30rem),
    linear-gradient(135deg, #0e0d0a 0%, #080706 70%);
}

html[data-theme="dark"] .studio,
html[data-theme="dark"] .pricing,
html[data-theme="dark"] .faq {
  background:
    radial-gradient(circle at 86% 14%, rgba(185, 154, 80, .09), transparent 32rem),
    #080706;
}

html[data-theme="dark"] .hygiene,
html[data-theme="dark"] .contact {
  background:
    radial-gradient(circle at 86% 8%, rgba(185, 154, 80, .11), transparent 32rem),
    linear-gradient(145deg, #100e09, #070605 70%);
}

/* Le monogramme devient un sceau autonome : aucune concurrence avec le texte. */
.artist::after {
  display: none !important;
}

.artist__monogram {
  position: relative;
  display: grid;
  width: clamp(150px, 12vw, 210px);
  aspect-ratio: 1;
  margin-top: clamp(44px, 6vw, 76px);
  place-items: center;
  overflow: hidden;
  color: #e1c57f;
  border: 1px solid rgba(225, 197, 127, .52);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(225, 197, 127, .09), transparent 61%),
    rgba(255, 255, 255, .015);
  box-shadow:
    inset 0 0 0 8px rgba(225, 197, 127, .025),
    inset 0 0 0 9px rgba(225, 197, 127, .16),
    0 22px 70px rgba(0, 0, 0, .2);
  opacity: .88;
}

.artist__monogram::before,
.artist__monogram::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.artist__monogram::before {
  inset: 18px;
  border: 1px solid rgba(225, 197, 127, .24);
  border-radius: 50%;
}

.artist__monogram::after {
  top: 50%;
  left: 50%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 197, 127, .55), transparent);
  transform: translate(-50%, -50%) rotate(-38deg);
}

.artist__monogram-letter {
  position: absolute;
  z-index: 1;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(4rem, 6vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 10px 34px rgba(0, 0, 0, .24);
}

.artist__monogram-letter--t {
  transform: translate(-20%, -8%);
}

.artist__monogram-letter--m {
  transform: translate(22%, 12%);
}

/* Galerie, formulaire et mentions : même or sur toutes les routes publiques. */
body.gallery-page {
  --gallery-copper: #ad8b3f;
  --gallery-copper-light: #dec37e;
  --gallery-line: rgba(222, 195, 126, .22);
}

.rdv-page {
  --rdv-copper: #ae8d43;
  --rdv-copper-light: #dfc27b;
  --rdv-copper-dark: #75591f;
  --rdv-line: rgba(223, 194, 123, .22);
}

.legal-page {
  --legal-copper: #d3b66d;
}

.site-footer__title,
.legal-eyebrow,
.legal-card h2 {
  color: #d3b66d;
}

.site-footer::before {
  background: radial-gradient(circle at 15% 0, rgba(208, 174, 99, .1), transparent 33%);
}

/* ========================= MODE CLAIR ========================= */
html[data-theme="light"] body.site-public.page-home {
  color: #1b1812;
  background:
    radial-gradient(circle at 12% 5%, rgba(174, 139, 60, .1), transparent 34rem),
    #f0ede6;
}

html[data-theme="light"] .portfolio-preview,
html[data-theme="light"] .artist,
html[data-theme="light"] .pricing,
html[data-theme="light"] .hygiene,
html[data-theme="light"] .faq,
html[data-theme="light"] .contact {
  color: #1b1812;
  border-color: rgba(34, 28, 18, .13);
}

html[data-theme="light"] .portfolio-preview {
  background:
    radial-gradient(circle at 86% 5%, rgba(176, 138, 53, .1), transparent 30rem),
    #f3f0e9;
}

html[data-theme="light"] .artist {
  background:
    radial-gradient(circle at 6% 94%, rgba(176, 138, 53, .14), transparent 32rem),
    #e8e3d9;
}

html[data-theme="light"] .pricing {
  background:
    linear-gradient(130deg, rgba(176, 138, 53, .09), transparent 38%),
    #f1eee7;
}

html[data-theme="light"] .hygiene {
  background:
    radial-gradient(circle at 88% 4%, rgba(176, 138, 53, .12), transparent 30rem),
    #e8e3da;
}

html[data-theme="light"] .faq {
  background:
    radial-gradient(circle at 10% 10%, rgba(176, 138, 53, .09), transparent 28rem),
    #f3f0e9;
}

html[data-theme="light"] .contact {
  background:
    radial-gradient(circle at 84% 8%, rgba(176, 138, 53, .12), transparent 34rem),
    linear-gradient(145deg, #e8e2d7, #f5f2ec 70%);
}

html[data-theme="light"] body.site-public h2,
html[data-theme="light"] .artist h2,
html[data-theme="light"] .artist h3,
html[data-theme="light"] .pricing__step h3,
html[data-theme="light"] .hygiene h2,
html[data-theme="light"] .hygiene h3,
html[data-theme="light"] .contact__card h3 {
  color: #1a1711 !important;
}

html[data-theme="light"] .studio h2,
html[data-theme="light"] .work-card h3 {
  color: #fbf6ee !important;
}

html[data-theme="light"] .portfolio-preview__intro,
html[data-theme="light"] .portfolio-preview__footer,
html[data-theme="light"] .artist__lead,
html[data-theme="light"] .artist__story,
html[data-theme="light"] .pricing__lead,
html[data-theme="light"] .pricing__step p,
html[data-theme="light"] .hygiene__heading > p,
html[data-theme="light"] .faq__heading > p,
html[data-theme="light"] .contact__heading > p {
  color: #504a40;
}

html[data-theme="light"] .portfolio-preview__footer {
  border-color: rgba(33, 27, 18, .18);
}

html[data-theme="light"] .text-link {
  color: #1a1711 !important;
}

html[data-theme="light"] .artist__monogram {
  color: #987426;
  border-color: rgba(152, 116, 38, .55);
  background:
    radial-gradient(circle, rgba(176, 138, 53, .13), transparent 61%),
    rgba(255, 253, 248, .28);
  box-shadow:
    inset 0 0 0 8px rgba(176, 138, 53, .035),
    inset 0 0 0 9px rgba(152, 116, 38, .18),
    0 22px 70px rgba(61, 47, 24, .1);
  opacity: .92;
}

html[data-theme="light"] .artist__monogram::before {
  border-color: rgba(152, 116, 38, .3);
}

html[data-theme="light"] .artist__monogram::after {
  background: linear-gradient(90deg, transparent, rgba(152, 116, 38, .62), transparent);
}

html[data-theme="light"] .pricing__step {
  border-color: rgba(35, 29, 19, .18);
}

html[data-theme="light"] .pricing__step:hover {
  border-color: rgba(157, 123, 49, .46);
  background: linear-gradient(90deg, rgba(176, 138, 53, .1), transparent);
}

html[data-theme="light"] .hygiene__protocols .hygiene__protocol,
html[data-theme="light"] .faq__grid .faq__item,
html[data-theme="light"] .contact__card {
  color: #1f1b14;
  border-color: rgba(54, 44, 26, .16);
  background:
    radial-gradient(circle at 100% 0, rgba(176, 138, 53, .07), transparent 20rem),
    rgba(255, 253, 248, .76);
  box-shadow: 0 22px 65px rgba(61, 47, 24, .08);
}

html[data-theme="light"] .hygiene__protocols .hygiene__protocol[open],
html[data-theme="light"] .faq__grid .faq__item[open] {
  border-color: rgba(157, 123, 49, .38);
  background: #fffdf8;
  box-shadow: 0 25px 75px rgba(61, 47, 24, .12);
}

html[data-theme="light"] .hygiene__protocols summary,
html[data-theme="light"] .hygiene__protocols summary strong,
html[data-theme="light"] .faq__grid summary,
html[data-theme="light"] .contact__card h3 {
  color: #1f1b14 !important;
}

html[data-theme="light"] .hygiene__protocol-meta,
html[data-theme="light"] .hygiene__protocols .accordion__content,
html[data-theme="light"] .faq__grid .accordion__content,
html[data-theme="light"] .faq__footer p,
html[data-theme="light"] .contact__card p,
html[data-theme="light"] .contact__card li {
  color: #514a3f;
}

html[data-theme="light"] .faq__footer {
  border-color: rgba(35, 29, 19, .16);
}

html[data-theme="light"] .contact__card--lead,
html[data-theme="light"] .contact__card--quick,
html[data-theme="light"] .contact__card--process {
  background:
    radial-gradient(circle at 100% 0, rgba(176, 138, 53, .09), transparent 22rem),
    rgba(255, 253, 248, .84);
}

/* Le studio reste une chambre noire dans les deux thèmes. */
html[data-theme="light"] .studio {
  --paper: #fbf6ee;
  --paper-dim: #e9dfd2;
  --muted: #bdb0a2;
  --line: rgba(251, 246, 238, .17);
  --copper: #b99a50;
  --copper-light: #e1c57f;
  color: #fbf6ee;
  border-color: rgba(251, 246, 238, .1);
  background:
    radial-gradient(circle at 86% 14%, rgba(185, 154, 80, .1), transparent 32rem),
    #080706;
}

html[data-theme="light"] body.site-public .studio h2 {
  color: #fbf6ee !important;
}

html[data-theme="light"] .studio .eyebrow,
html[data-theme="light"] .studio__slide-overlay > span {
  color: #e1c57f;
}

/* Galerie claire : les images et la lightbox gardent leur profondeur noire. */
html[data-theme="light"] body.gallery-page {
  --gallery-ink: #f0ede6;
  --gallery-ink-soft: #ded8cb;
  --gallery-panel: rgba(255, 253, 248, .88);
  --gallery-ivory: #1b1812;
  --gallery-muted: #5e574c;
  --gallery-copper: #9d7b31;
  --gallery-copper-light: #b28c37;
  --gallery-line: rgba(84, 66, 28, .2);
  --gallery-shadow: 0 24px 65px rgba(61, 47, 24, .12);
  color: var(--gallery-ivory);
  background-color: #f0ede6;
  background-image:
    radial-gradient(circle at 12% 4%, rgba(176, 138, 53, .12), transparent 29rem),
    radial-gradient(circle at 90% 38%, rgba(20, 17, 12, .035), transparent 34rem),
    linear-gradient(180deg, #f4f1eb 0%, #e9e4da 52%, #f1eee8 100%);
}

html[data-theme="light"] .gallery-hero h1,
html[data-theme="light"] .gallery-collection__heading h2 {
  color: #1b1812;
  text-shadow: none;
}

html[data-theme="light"] .gallery-page .tabs {
  border-color: rgba(157, 123, 49, .24);
  background: rgba(231, 225, 213, .9);
  box-shadow: 0 16px 42px rgba(61, 47, 24, .13), inset 0 1px rgba(255, 255, 255, .7);
}

html[data-theme="light"] .gallery-page .tabs a {
  color: #50493e;
}

html[data-theme="light"] .gallery-page .tabs a:hover {
  color: #17140f;
  background: rgba(176, 138, 53, .09);
}

html[data-theme="light"] .grid-item {
  border-color: rgba(157, 123, 49, .2);
  background: linear-gradient(110deg, #d8d2c6 8%, #eee9df 18%, #d8d2c6 33%);
  box-shadow: 0 13px 34px rgba(49, 39, 23, .14);
}

html[data-theme="light"] .grid-item.is-loaded {
  background: #ddd6ca;
}

html[data-theme="light"] .lightbox--classic {
  color-scheme: dark;
}

/* Prise de rendez-vous claire. */
html[data-theme="light"] body.rdv-body {
  color: #1c1811;
  background:
    radial-gradient(circle at 15% 0, rgba(176, 138, 53, .12), transparent 30rem),
    #f0ede6;
}

html[data-theme="light"] .rdv-page {
  --rdv-black: #f0ede6;
  --rdv-panel: #fffdf8;
  --rdv-panel-raised: #f7f2e8;
  --rdv-ivory: #1c1811;
  --rdv-muted: #625b50;
  --rdv-copper: #9d7b31;
  --rdv-copper-light: #a88331;
  --rdv-copper-dark: #6b511d;
  --rdv-line: rgba(157, 123, 49, .22);
}

html[data-theme="light"] .formulaire-tatouage.container {
  color: var(--rdv-ivory);
  border-color: rgba(157, 123, 49, .28);
  background:
    radial-gradient(circle at 100% 0, rgba(176, 138, 53, .08), transparent 28%),
    linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(235, 230, 220, .99));
  box-shadow: 0 34px 90px rgba(62, 48, 25, .14), inset 0 1px rgba(255, 255, 255, .72);
}

html[data-theme="light"] .formulaire-tatouage .form-field {
  color: #1c1811;
  border-color: rgba(53, 44, 29, .13);
  background: rgba(255, 255, 255, .46);
}

html[data-theme="light"] .formulaire-tatouage input,
html[data-theme="light"] .formulaire-tatouage select,
html[data-theme="light"] .formulaire-tatouage textarea,
html[data-theme="light"] .formulaire-tatouage .form-option {
  color: #1c1811;
  border-color: rgba(53, 44, 29, .2);
  background: rgba(255, 253, 248, .88);
  color-scheme: light;
}

html[data-theme="light"] .formulaire-tatouage input:focus,
html[data-theme="light"] .formulaire-tatouage select:focus,
html[data-theme="light"] .formulaire-tatouage textarea:focus {
  color: #17130d;
  background: #fffdf8;
}

/* Mentions légales claires. */
html[data-theme="light"] body.legal-page {
  --legal-ink: #f0ede6;
  --legal-panel: #fffdf8;
  --legal-paper: #1b1812;
  --legal-muted: #5c554a;
  --legal-copper: #9d7b31;
  --legal-line: rgba(53, 44, 29, .16);
  color: var(--legal-paper);
  background:
    radial-gradient(circle at 12% 8%, rgba(176, 138, 53, .12), transparent 30rem),
    linear-gradient(180deg, #f4f1eb, #e9e4da);
}

html[data-theme="light"] .legal-hero h1 {
  color: #1b1812;
}

html[data-theme="light"] .legal-card {
  background: rgba(255, 253, 248, .72);
  box-shadow: 0 18px 54px rgba(61, 47, 24, .07);
}

/* Les pages historiques restent lisibles si une ancienne URL est ouverte. */
html[data-theme="light"] body:not(.site-public):not(.gallery-page):not(.rdv-body):not(.legal-page):not(.login-page) {
  color: #1b1812;
  background: #f0ede6;
}

/* ========================= MODE CLAIR — ÉDITION LUMINEUSE ========================= */
/* Le thème clair est un véritable univers ivoire, y compris dans les zones de marque. */
html[data-theme="light"] .site-header:not(.site-header--internal),
html[data-theme="light"] .site-header.is-scrolled:not(.site-header--internal) {
  color: #1a1711;
  border-color: rgba(91, 72, 31, .16);
  background: rgba(250, 248, 243, .95);
  box-shadow: 0 12px 44px rgba(42, 33, 18, .09);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  backdrop-filter: blur(20px) saturate(1.12);
}

html[data-theme="light"] .site-header:not(.site-header--internal) .site-brand__logo {
  filter: invert(1) drop-shadow(0 8px 18px rgba(51, 40, 20, .12));
}

html[data-theme="light"] .site-header:not(.site-header--internal) .site-nav a {
  color: #514a3f;
}

html[data-theme="light"] .site-header:not(.site-header--internal) .site-nav a:hover,
html[data-theme="light"] .site-header:not(.site-header--internal) .site-nav a:focus-visible,
html[data-theme="light"] .site-header:not(.site-header--internal) .site-nav a.is-active,
html[data-theme="light"] .site-header:not(.site-header--internal) .site-nav .site-nav__gallery {
  color: #17140f;
}

html[data-theme="light"] .site-header:not(.site-header--internal) .theme-toggle,
html[data-theme="light"] .site-header:not(.site-header--internal) .menu-toggle {
  color: #1b1812;
  border-color: rgba(80, 64, 30, .25);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 24px rgba(48, 37, 18, .08);
}

html[data-theme="light"] .menu-overlay {
  background: rgba(33, 28, 19, .34);
}

@media (max-width: 1240px) {
  html[data-theme="light"] .site-header:not(.site-header--internal) .site-nav {
    border-color: rgba(78, 62, 28, .17);
    background:
      radial-gradient(circle at 100% 0, rgba(176, 138, 53, .13), transparent 38%),
      #f8f5ef;
    box-shadow: -24px 0 70px rgba(45, 35, 18, .13);
  }

  html[data-theme="light"] .site-header:not(.site-header--internal) .site-nav li {
    border-color: rgba(78, 62, 28, .15);
  }
}

/* Hero clair : typographie noire, photo conservée et fusionnée dans l'ivoire. */
html[data-theme="light"] .page-home .hero {
  color: #18150f;
  background: #f7f4ed;
  box-shadow: 0 36px 100px rgba(57, 44, 21, .1);
}

html[data-theme="light"] .page-home .hero::before {
  background:
    linear-gradient(90deg, rgba(132, 101, 34, .11) 1px, transparent 1px) 50% 0 / min(11vw, 160px) 100%,
    radial-gradient(circle at 18% 60%, rgba(176, 138, 53, .16), transparent 34%);
  opacity: .42;
}

html[data-theme="light"] .page-home .hero__media::after {
  background:
    linear-gradient(90deg, #f7f4ed 0%, rgba(247, 244, 237, .96) 28%, rgba(247, 244, 237, .22) 48%, rgba(247, 244, 237, .02) 66%, rgba(247, 244, 237, 0) 100%),
    linear-gradient(0deg, #f7f4ed 0%, transparent 26%, rgba(255, 255, 255, .24) 100%);
}

html[data-theme="light"] .page-home .hero__media img {
  filter: saturate(.7) contrast(1.03) brightness(.98);
}

html[data-theme="light"] .page-home .hero__veil {
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 26%, transparent 72%, #f7f4ed 100%);
}

html[data-theme="light"] .page-home .hero h1 {
  color: #17140f;
  text-shadow: 0 8px 34px rgba(98, 77, 35, .1);
}

html[data-theme="light"] .page-home .hero .eyebrow {
  color: #6f5012;
  font-weight: 700;
  text-shadow: none;
}

html[data-theme="light"] .page-home .hero__copy {
  margin-left: 0;
  padding: 0;
  color: #17130d;
  font-weight: 500;
  text-shadow: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html[data-theme="light"] .page-home .hero__copy a {
  color: #75591d;
  text-decoration-color: rgba(117, 89, 29, .46);
}

html[data-theme="light"] .page-home .hero__scroll {
  color: #342e24 !important;
}

html[data-theme="light"] .page-home .hero__scroll span:last-child {
  border-color: rgba(55, 45, 27, .28);
  background: rgba(255, 255, 255, .58);
}

@media (max-width: 780px) {
  html[data-theme="light"] .page-home .hero__media::after {
    background:
      linear-gradient(90deg, rgba(247, 244, 237, .96), rgba(247, 244, 237, .66) 76%),
      linear-gradient(0deg, #f7f4ed 2%, rgba(247, 244, 237, .82) 42%, rgba(255, 255, 255, .2) 100%);
  }
}

/* Ruban de spécialités clair, sans rupture noire après le hero. */
html[data-theme="light"] .signature-rail {
  color: #211d16;
  border-color: rgba(83, 65, 27, .16);
  background: #f2eee6;
  box-shadow: 0 22px 70px rgba(54, 42, 22, .09);
}

html[data-theme="light"] .signature-rail::before {
  background: linear-gradient(90deg, #f2eee6, transparent);
}

html[data-theme="light"] .signature-rail::after {
  background: linear-gradient(-90deg, #f2eee6, transparent);
}

html[data-theme="light"] .signature-rail__line span {
  color: #312b21;
}

html[data-theme="light"] .signature-rail__line i {
  border-color: #9d7b31;
}

/* Monogramme TM éditorial : grand filigrane derrière le titre, sans médaillon. */
.artist__intro {
  isolation: isolate;
}

.artist__intro > :not(.artist__monogram) {
  position: relative;
  z-index: 2;
}

.artist__monogram,
html[data-theme="light"] .artist__monogram {
  position: absolute;
  top: 47%;
  left: clamp(-95px, -5vw, -40px);
  z-index: 0;
  display: block;
  width: clamp(310px, 29vw, 510px);
  height: clamp(260px, 25vw, 450px);
  margin: 0;
  overflow: visible;
  color: #d6b868;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  opacity: .13;
  transform: translateY(-50%);
  pointer-events: none;
}

.artist__monogram::before,
.artist__monogram::after,
html[data-theme="light"] .artist__monogram::before,
html[data-theme="light"] .artist__monogram::after {
  display: none;
}

.artist__monogram-letter {
  top: 50%;
  left: 50%;
  color: currentColor;
  font-size: clamp(13rem, 21vw, 23rem);
  font-weight: 500;
  line-height: .72;
  text-shadow: none;
}

.artist__monogram-letter--t {
  transform: translate(-64%, -58%);
}

.artist__monogram-letter--m {
  transform: translate(-34%, -40%);
}

html[data-theme="light"] .artist__monogram {
  color: #8f6c20;
  opacity: .16;
}

@media (max-width: 780px) {
  .artist__monogram,
  html[data-theme="light"] .artist__monogram {
    top: 48%;
    left: -68px;
    width: 360px;
    height: 320px;
    opacity: .11;
  }

  html[data-theme="light"] .artist__monogram {
    opacity: .14;
  }
}

/* Atelier clair : l'écrin devient ivoire, les légendes restent blanches sur les photos. */
html[data-theme="light"] .studio {
  --paper: #1a1711;
  --paper-dim: #514b41;
  --muted: #6d665b;
  --line: rgba(42, 34, 21, .16);
  --copper: #9d7b31;
  --copper-light: #af8934;
  color: #1a1711;
  border-color: rgba(42, 34, 21, .13);
  background:
    radial-gradient(circle at 86% 14%, rgba(176, 138, 53, .12), transparent 32rem),
    #f3f0e9;
}

html[data-theme="light"] body.site-public .studio h2 {
  color: #17140f !important;
}

html[data-theme="light"] .studio .eyebrow,
html[data-theme="light"] .studio__slide-overlay > span {
  color: #d9bb70;
}

html[data-theme="light"] .studio__slide {
  border-color: rgba(84, 65, 27, .2);
  box-shadow: 0 28px 75px rgba(48, 37, 18, .16);
}

html[data-theme="light"] .studio__slide[data-active] {
  border-color: rgba(157, 123, 49, .48);
  box-shadow: 0 32px 88px rgba(48, 37, 18, .21), 0 0 0 1px rgba(157, 123, 49, .08);
}

html[data-theme="light"] .studio__slide figcaption {
  color: #fffaf2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .72);
}

html[data-theme="light"] .studio__control {
  color: #18150f;
  border-color: rgba(91, 70, 27, .34);
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 12px 36px rgba(47, 36, 18, .2);
}

html[data-theme="light"] .studio__control:hover,
html[data-theme="light"] .studio__control:focus-visible {
  color: #0d0b07;
  border-color: #9d7b31;
  background: #d8bd74;
}

html[data-theme="light"] .studio__counter {
  color: rgba(255, 250, 242, .72);
  border-color: rgba(255, 250, 242, .32);
  background: rgba(12, 10, 7, .74);
}

html[data-theme="light"] .studio__counter strong {
  color: #fffaf2;
}

html[data-theme="light"] .studio__progress {
  background: rgba(45, 36, 22, .15);
}

html[data-theme="light"] .studio__progress span {
  background: linear-gradient(90deg, #b08a35, #d0b264);
}

/* CTA plus francs : l'or porte du texte noir, les actions secondaires sont opaques. */
.button--primary,
.formulaire-tatouage button[type="submit"],
.site-nav .site-nav__cta {
  font-size: clamp(.83rem, .8vw, .96rem) !important;
  font-weight: 800 !important;
  letter-spacing: .075em !important;
}

.hero .button--ghost {
  color: #fffaf1 !important;
  border-color: rgba(225, 197, 127, .58);
  background: rgba(16, 13, 8, .82);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .07);
}

.hero .button--ghost:hover,
.hero .button--ghost:focus-visible {
  color: #0e0b06 !important;
  border-color: #e1c57f;
  background: #e1c57f;
}

.portfolio-preview .text-link {
  padding: 12px 17px;
  border: 1px solid rgba(225, 197, 127, .42);
  border-radius: 14px;
  color: #fff9ef !important;
  background: rgba(17, 14, 9, .72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

html[data-theme="light"] .hero .button--ghost,
html[data-theme="light"] .portfolio-preview .text-link {
  color: #17140e !important;
  border-color: rgba(120, 91, 27, .44);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 12px 32px rgba(58, 44, 20, .11);
}

html[data-theme="light"] .hero .button--ghost:hover,
html[data-theme="light"] .hero .button--ghost:focus-visible,
html[data-theme="light"] .portfolio-preview .text-link:hover,
html[data-theme="light"] .portfolio-preview .text-link:focus-visible {
  color: #0d0b07 !important;
  border-color: #9d7b31;
  background: #e3cd8b;
}

html[data-theme="light"] .button--primary,
html[data-theme="light"] .formulaire-tatouage button[type="submit"],
html[data-theme="light"] .site-nav .site-nav__cta {
  color: #0b0905 !important;
  border-color: rgba(111, 82, 20, .62) !important;
  background: linear-gradient(135deg, #ead89c 0%, #d2b663 52%, #ab842e 100%) !important;
  box-shadow: 0 16px 40px rgba(77, 57, 16, .2), inset 0 1px rgba(255, 255, 255, .58) !important;
  text-shadow: none !important;
}

/* Footer ivoire : logo noir, liens foncés et icônes sociales colorées conservées. */
html[data-theme="light"] .site-footer {
  color: #2b261e;
  border-color: rgba(61, 49, 29, .16);
  background: #eeeae2;
}

html[data-theme="light"] .site-footer::before {
  background:
    radial-gradient(circle at 15% 0, rgba(176, 138, 53, .14), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, .38), transparent 48%);
}

html[data-theme="light"] .site-footer__brand img {
  filter: invert(1) drop-shadow(0 8px 16px rgba(54, 41, 18, .1));
}

html[data-theme="light"] .site-footer__brand p,
html[data-theme="light"] .site-footer__contact > a,
html[data-theme="light"] .site-footer__nav a,
html[data-theme="light"] .site-footer__bottom,
html[data-theme="light"] .site-footer__bottom a {
  color: #554e43;
}

html[data-theme="light"] .site-footer a:hover,
html[data-theme="light"] .site-footer a:focus-visible {
  color: #17140f;
}

html[data-theme="light"] .site-footer__bottom {
  border-color: rgba(61, 49, 29, .14);
}

html[data-theme="light"] .site-footer__socials a {
  border-color: rgba(61, 49, 29, .18);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 8px 22px rgba(55, 42, 20, .08);
}

/* Pagination de la galerie : contraste net dans les deux thèmes. */
.gallery-page .pagination__pages {
  border-color: rgba(225, 197, 127, .36);
  background: rgba(8, 7, 5, .9);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
}

.gallery-page .pagination a.pagination__direction {
  color: #f7f0e3;
  border-color: rgba(225, 197, 127, .48);
  background: rgba(225, 197, 127, .08);
}

.gallery-page .pagination a.pagination__direction:hover,
.gallery-page .pagination a.pagination__direction:focus-visible {
  color: #0d0a05;
  background: #dec37e;
}

html[data-theme="light"] .gallery-page .pagination__pages {
  border-color: rgba(116, 87, 26, .28);
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 12px 34px rgba(55, 42, 20, .11);
}

html[data-theme="light"] .gallery-page .pagination a,
html[data-theme="light"] .gallery-page .pagination .ellipsis {
  color: #4d4538;
}

html[data-theme="light"] .gallery-page .pagination a.pagination__direction {
  color: #3f3420;
  border-color: rgba(116, 87, 26, .35);
  background: rgba(255, 253, 248, .86);
}

html[data-theme="light"] .gallery-page .pagination a:hover,
html[data-theme="light"] .gallery-page .pagination a:focus-visible {
  color: #0d0b07;
  background: rgba(176, 138, 53, .17);
}

html[data-theme="light"] .gallery-page .pagination .active {
  color: #0b0905;
  background: linear-gradient(145deg, #e4ce8b, #b99035);
}

/* ========================= AJUSTEMENTS DE LISIBILITÉ ========================= */
/* Même présence photographique dans les deux thèmes, sans brume blanche. */
html[data-theme="light"] .page-home .hero__media::after {
  background:
    linear-gradient(90deg, #f7f4ed 0%, rgba(247, 244, 237, .66) 8%, rgba(247, 244, 237, .34) 24%, rgba(247, 244, 237, .1) 46%, rgba(247, 244, 237, .01) 64%, rgba(247, 244, 237, 0) 100%),
    linear-gradient(0deg, rgba(247, 244, 237, .66) 0%, rgba(247, 244, 237, .1) 27%, rgba(255, 255, 255, .02) 100%);
}

html[data-theme="light"] .page-home .hero__media img {
  filter: saturate(.82) contrast(1.1) brightness(.96);
}

html[data-theme="light"] .page-home .hero__veil {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 28%, transparent 78%, rgba(247, 244, 237, .84) 100%);
}

@media (max-width: 520px) {
  .page-home .hero__media img,
  html[data-theme="light"] .page-home .hero__media img {
    object-position: 32% 50%;
    filter: saturate(.8) contrast(1.08) brightness(.84);
    transform: scale(1.035);
  }

  .page-home .hero__media::after {
    background:
      linear-gradient(90deg, rgba(9, 9, 9, .72) 0%, rgba(9, 9, 9, .32) 62%, rgba(9, 9, 9, .1) 100%),
      linear-gradient(0deg, #090909 0%, rgba(9, 9, 9, .68) 34%, rgba(9, 9, 9, .08) 72%);
  }

  html[data-theme="light"] .page-home .hero__media::after {
    background:
      linear-gradient(90deg, rgba(247, 244, 237, .88) 0%, rgba(247, 244, 237, .55) 62%, rgba(247, 244, 237, .12) 100%),
      linear-gradient(0deg, #f7f4ed 0%, rgba(247, 244, 237, .72) 36%, rgba(247, 244, 237, .06) 72%);
  }

  .page-home .hero__copy {
    padding: 18px 19px;
    border: 1px solid rgba(225, 197, 127, .17);
    border-radius: 18px;
    background: rgba(8, 7, 5, .57);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  html[data-theme="light"] .page-home .hero__copy {
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Footer plus lisible, sans perdre sa finesse éditoriale. */
.site-footer__brand p,
.site-footer__contact > a,
.site-footer__nav a {
  color: #d3ccc2;
  font-size: clamp(1.08rem, 1.05vw, 1.2rem);
  line-height: 1.82;
}

.site-footer__bottom,
.site-footer__bottom a {
  color: #beb6aa;
  font-size: 1rem;
}

.site-footer__title {
  color: #e1c57f;
  font-size: .88rem;
}

html[data-theme="light"] .site-footer__brand p,
html[data-theme="light"] .site-footer__contact > a,
html[data-theme="light"] .site-footer__nav a,
html[data-theme="light"] .site-footer__bottom,
html[data-theme="light"] .site-footer__bottom a {
  color: #3e382f;
}

html[data-theme="light"] .site-footer__title {
  color: #80611f;
}

/* Le filigrane MIKA reste centré même après l'animation d'apparition. */
html.site-effects-ready .gallery-hero__mark.fx-reveal,
html.site-effects-ready .gallery-hero__mark.fx-reveal.is-revealed {
  transform: translate(-50%, -50%) !important;
}

html[data-theme="light"] .gallery-hero__mark {
  color: rgba(128, 96, 29, .045);
  -webkit-text-stroke-color: rgba(128, 96, 29, .22);
}

/* Onglets de galerie plus nets et état actif réellement contrasté. */
html[data-theme="light"] .gallery-page .tabs {
  border-color: rgba(111, 82, 20, .34);
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 16px 44px rgba(61, 47, 24, .14), inset 0 1px rgba(255, 255, 255, .85);
}

html[data-theme="light"] .gallery-page .tabs a {
  color: #332d23;
}

html[data-theme="light"] .gallery-page .tabs a.active,
html[data-theme="light"] .gallery-page .tabs a[aria-current="page"] {
  color: #090704;
  border-color: rgba(103, 75, 17, .66);
  background: linear-gradient(135deg, #ead99e, #c29a3a);
  box-shadow: 0 9px 25px rgba(101, 74, 19, .24), inset 0 1px rgba(255, 255, 255, .62);
}

html[data-theme="light"] .gallery-page .tabs a:not(.active):hover,
html[data-theme="light"] .gallery-page .tabs a:not([aria-current="page"]):hover {
  color: #090704;
  background: rgba(176, 138, 53, .14);
}

@media (prefers-reduced-motion: reduce) {
  body,
  .portfolio-preview,
  .artist,
  .studio,
  .pricing,
  .hygiene,
  .faq,
  .contact,
  .site-footer,
  .contact__card,
  .hygiene__protocol,
  .faq__item {
    transition: none;
  }
}

/* Le hero et le ruban forment une transition continue, sans angle blanc visible. */
html[data-theme="light"] .page-home .hero {
  border-radius: 0;
}

@media (max-width: 680px) {
  /* Même cadrage utile dans les deux thèmes : le visage reste au centre du hero. */
  .page-home .hero__media img,
  html[data-theme="light"] .page-home .hero__media img {
    object-position: 32% 50%;
  }

  /* En clair, même confort de lecture que la carte sombre, sans transparence. */
  html[data-theme="light"] .page-home .hero__copy {
    padding: 20px;
    color: #17130d;
    border: 1px solid rgba(133, 97, 21, .3);
    border-radius: 20px;
    background: rgba(247, 244, 237, .72);
    box-shadow: 0 18px 42px rgba(45, 34, 15, .12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
