/* Atelier Mikazukidō — thème sombre, sur le modèle des pages kintsugi de the-ology.fr
   Fond vert-noir #1b211d, cartes #222a25, texte #edede8, or #C5A065 */
:root {
  --fond: #1b211d;
  --fond-alt: #1f2622;
  --carte: #222a25;
  --encre: #edede8;
  --encre-douce: #a7b2a9;
  --titre: #ffffff;
  --or: #C5A065;
  --or-clair: #d9bc6a;
  --sombre: #1b211d;
  --ligne: rgba(216, 221, 214, .14);
  --ligne-or: rgba(197, 160, 101, .35);
  --police: "Hiragino Kaku Gothic ProN", "Hiragino Maru Gothic Pro", "Zen Maru Gothic", "Yu Gothic", -apple-system, sans-serif;
  --largeur: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: var(--police); font-size: 16.5px; line-height: 1.85; font-weight: 400;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--or-clair); text-decoration-color: var(--ligne-or); text-underline-offset: 3px; }
a:hover { color: var(--titre); }
h1, h2, h3 { color: var(--titre); font-weight: 300; line-height: 1.3; margin: 0 0 .6em; letter-spacing: .02em; }
h1 { font-size: clamp(32px, 4.6vw, 54px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; font-weight: 400; }
p { margin: 0 0 1.1em; }
strong { color: var(--titre); font-weight: 500; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; position: relative; }

/* En-tête */
.entete { border-bottom: 1px solid var(--ligne); background: rgba(27, 33, 29, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.marque { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--titre); white-space: nowrap; }
.marque strong { font-size: 16px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.marque span { font-size: 13px; color: var(--or); letter-spacing: .25em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--encre); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--or-clair); }
.nav .bouton { padding: 9px 18px; font-size: 13px; }
.nav a.bouton, .nav a.bouton:hover { color: var(--sombre); }
.menu-mobile { display: none; }

/* Boutons */
.bouton {
  display: inline-block; padding: 13px 26px; background: var(--or); color: var(--sombre);
  text-decoration: none; border: 1px solid var(--or); border-radius: 2px; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.bouton:hover { background: var(--or-clair); border-color: var(--or-clair); color: var(--sombre); }
.bouton.secondaire { background: transparent; color: var(--encre); border-color: rgba(237, 237, 232, .4); }
.bouton.secondaire:hover { border-color: var(--or); color: var(--or-clair); background: transparent; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Bandeau plein écran (photo + texte centré) */
.hero {
  position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; overflow: hidden;
  background: var(--sombre) center / cover no-repeat; background-image: var(--photo);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 19, 16, .55), rgba(15, 19, 16, .72)); }
.hero .conteneur { z-index: 1; max-width: 820px; padding-top: 80px; padding-bottom: 80px; }
.hero p { font-size: 17px; color: rgba(255, 255, 255, .9); max-width: 680px; margin-left: auto; margin-right: auto; }
.hero .boutons { justify-content: center; }
.hero h1 { text-transform: uppercase; letter-spacing: .1em; }
.hero h1.long { text-transform: none; letter-spacing: .02em; }
.hero .accroche::before { display: none; }

/* Sections */
.section { padding: 104px 0; border-top: 1px solid var(--ligne); position: relative; overflow: hidden; }
.section.alt { background: var(--fond-alt); }
.accroche {
  display: block; font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--or); margin-bottom: 18px;
}
.accroche::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--or); vertical-align: middle; margin-right: 12px; }
.intro { max-width: 740px; color: var(--encre-douce); font-size: 17px; }
.filigrane {
  position: absolute; top: 40px; right: -10px; font-size: clamp(180px, 26vw, 360px); line-height: 1; color: rgba(255, 255, 255, .035);
  pointer-events: none; user-select: none; z-index: 0; font-weight: 300;
}
.section > .conteneur { z-index: 1; }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.deux-col.inverse > :first-child { order: 2; }
.photo { border-radius: 2px; overflow: hidden; background: var(--carte); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.carre { aspect-ratio: 1 / 1; }
.photo.portrait { aspect-ratio: 4 / 5; }
.photo.paysage { aspect-ratio: 3 / 2; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--encre-douce); margin-top: 10px; letter-spacing: .02em; }
.kanji { font-size: 16px; letter-spacing: .4em; color: var(--or); margin-bottom: 26px; display: block; }

/* Cartes */
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.carte { background: var(--carte); border: 1px solid var(--ligne-or); border-radius: 2px; display: flex; flex-direction: column; }
.carte .photo { border-radius: 2px 2px 0 0; }
.carte .corps { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.carte .corps p { font-size: 15.5px; color: var(--encre-douce); }
.carte .boutons { margin-top: auto; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 4 / 5; }
.duo .photo { aspect-ratio: auto; height: 100%; }
.prix { color: var(--or-clair); font-weight: 500; }
a.carte { text-decoration: none; color: inherit; transition: border-color .2s; }
a.carte:hover { border-color: var(--or); }
.date { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }

/* Avant / après */
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.avant-apres figcaption { text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; color: var(--or); }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.galerie figure .photo { aspect-ratio: 1 / 1; }
.bande { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.bande .photo { aspect-ratio: 1 / 1; }

/* Repères */
.reperes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.repere { border-top: 1px solid var(--or); padding-top: 20px; }
.repere strong { display: block; font-size: 38px; font-weight: 300; color: var(--titre); line-height: 1.15; margin-bottom: 10px; }
.repere span { font-size: 14.5px; color: var(--encre-douce); }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.etapes li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--ligne); }
.etapes li:last-child { border-bottom: 0; }
.etapes .num { color: var(--or); font-size: 14px; letter-spacing: .12em; padding-top: 4px; }
.encadre { background: var(--carte); border-left: 2px solid var(--or); padding: 22px 26px; margin-top: 36px; max-width: 760px; }

/* Tableaux */
.tableau-wrap { overflow-x: auto; margin-top: 36px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--ligne); }
th { font-weight: 400; color: var(--or); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; border-bottom-color: var(--ligne-or); }
td { color: var(--encre-douce); }
td:first-child { color: var(--titre); white-space: nowrap; }
td small { color: var(--or); margin-left: 6px; }

/* Listes */
.liste { padding-left: 1.1em; margin: 0 0 1.1em; }
.liste li { margin-bottom: .45em; }
.liste li::marker { color: var(--or); }

/* Appel final */
.appel { text-align: center; }
.appel p { max-width: 580px; margin-left: auto; margin-right: auto; color: var(--encre-douce); }
.appel .boutons { justify-content: center; }

/* Article du journal */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 26px; margin-top: 1.6em; }
.article figure { margin: 2em 0; }
.article p { color: var(--encre); }

/* Pied de page */
.pied { background: #151a17; border-top: 1px solid var(--ligne); padding: 64px 0 40px; font-size: 14.5px; }
.pied .grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied h3 { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--or); font-weight: 400; }
.pied p { color: var(--encre-douce); }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied a { text-decoration: none; color: var(--encre); }
.pied a:hover { color: var(--or-clair); }
.pied .bas { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ligne); color: var(--encre-douce); font-size: 12.5px; }

/* Formulaire */
.formulaire { background: var(--carte); border: 1px solid var(--ligne-or); padding: 32px; display: grid; gap: 18px; border-radius: 2px; }
.formulaire label { display: grid; gap: 6px; font-size: 13.5px; color: var(--encre); }
.formulaire input, .formulaire select, .formulaire textarea {
  font: inherit; font-size: 16px; color: var(--encre); background: var(--fond); border: 1px solid var(--ligne); border-radius: 2px; padding: 11px 12px; width: 100%;
}
.formulaire input::placeholder, .formulaire textarea::placeholder { color: #6f7a73; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 2px solid var(--or); outline-offset: 1px; }
.formulaire fieldset { border: 0; border-top: 1px solid var(--ligne-or); margin: 6px 0 0; padding: 18px 0 0; display: grid; gap: 18px; }
.formulaire legend { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--or); padding-right: 10px; }
.formulaire button { justify-self: start; cursor: pointer; font: inherit; }
.ligne-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.piege { position: absolute; left: -9999px; }
.mention { font-size: 12.5px; color: var(--encre-douce); margin: 0; }
.erreur { background: #4a2a22; color: #f3d6cc; padding: 12px 14px; border-radius: 2px; margin: 0; font-size: 15px; }
.the-section { background: #20271f; }

/* Téléphone */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { min-height: 70vh; }
  .deux-col { grid-template-columns: 1fr; gap: 36px; }
  .deux-col.inverse > :first-child { order: 0; }
  .grille-3, .galerie { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grille-3 { grid-template-columns: 1fr; }
  .grille-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .reperes { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pied .grille { grid-template-columns: 1fr; gap: 28px; }
  .ligne-2 { grid-template-columns: 1fr; }
  .formulaire { padding: 22px; }
  .conteneur { padding: 0 16px; }
  .filigrane { font-size: 160px; top: 20px; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-mobile { display: block; }
  .menu-mobile summary { list-style: none; cursor: pointer; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); padding: 8px 0; }
  .menu-mobile summary::-webkit-details-marker { display: none; }
  .menu-mobile[open] .nav { display: flex; flex-direction: column; align-items: flex-start; position: absolute; right: 16px; top: 64px; background: var(--carte); border: 1px solid var(--ligne-or); padding: 18px 22px; gap: 14px; }
}

/* ===== v3 — inspiré de la structure de kintsugi.art, palette de la marque ===== */
:root { --serif: "Cormorant Garamond", "Shippori Mincho", Georgia, serif; --clair: #EDEDE8; --clair-carte: #F5F5F1; --encre-clair: #2C332F; --titre-clair: #3F5147; --or-fonce: #7D602B; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; }
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
h1 em, h2 em { font-style: italic; color: var(--or); }
.hero h1 { text-transform: none; letter-spacing: .01em; }
/* Sections claires */
.section.clair { background: var(--clair); color: var(--encre-clair); border-top-color: rgba(44, 51, 47, .1); }
.section.clair h2, .section.clair h3, .section.clair strong { color: var(--titre-clair); }
.section.clair .accroche { color: var(--or-fonce); }
.section.clair .accroche::before { background: var(--or-fonce); }
.section.clair .intro, .section.clair .repere span, .section.clair td, .section.clair .carte .corps p, .section.clair figcaption { color: #5B6662; }
.section.clair td:first-child { color: var(--titre-clair); }
.section.clair th { color: var(--or-fonce); border-bottom-color: rgba(156, 123, 63, .4); }
.section.clair th, .section.clair td, .section.clair .etapes li { border-bottom-color: rgba(44, 51, 47, .12); }
.section.clair .carte { background: var(--clair-carte); border-color: rgba(44, 51, 47, .12); }
.section.clair a:not(.bouton) { color: var(--titre-clair); }
.section.clair .bouton.secondaire { color: var(--titre-clair); border-color: rgba(63, 81, 71, .45); }
.section.clair .bouton.secondaire:hover { color: var(--or-fonce); border-color: var(--or-fonce); }
.section.clair .filigrane { color: rgba(44, 51, 47, .045); }
.section.clair .prix { color: var(--or-fonce); }
.section.clair .date { color: var(--or-fonce); }
.section.clair .encadre { background: var(--clair-carte); }
.section.clair .repere strong { color: var(--titre-clair); }
/* Bandeau en deux colonnes */
.hero-split { background: var(--fond); padding: 72px 0 88px; border-bottom: 1px solid var(--ligne); }
.hero-split .deux-col { grid-template-columns: 1fr 1.05fr; }
.hero-split p { font-size: 17px; color: rgba(255, 255, 255, .86); max-width: 520px; }
.hero-split .photo { aspect-ratio: 4 / 4.4; }
/* Tuiles « Dans l'atelier » */
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.tuile { text-decoration: none; color: inherit; display: block; }
.tuile .photo { aspect-ratio: 1 / 1; transition: opacity .2s; }
.tuile:hover .photo { opacity: .88; }
.tuile h3 { font-family: var(--serif); font-size: 24px; margin: 16px 0 2px; font-weight: 500; }
.tuile span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
/* Citation */
.citation { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; border-left: 2px solid var(--or); padding-left: 24px; margin: 0; }
/* Pièces uniques : 5 en ligne */
.grille-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 44px; }
.grille-5 .carte .corps { padding: 18px 18px 22px; }
.grille-5 h3 { font-size: 16px; }
@media (max-width: 1100px) { .grille-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .hero-split { padding: 40px 0 56px; }
  .hero-split .deux-col { grid-template-columns: 1fr; }
  .tuiles { grid-template-columns: 1fr; }
  .grille-5 { grid-template-columns: 1fr 1fr; }
}
.sous-titre { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.35; color: var(--titre) !important; margin-bottom: 18px; }
.sous-titre em { color: var(--or); }
.signature { margin: 14px 0 0 26px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.citation + .signature + .reperes { margin-top: 64px; }
.carte-large { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 40px; }
.carte-large .photo { border-radius: 2px 0 0 2px; height: 100%; }
.carte-large .corps { padding: 36px 40px; justify-content: center; }
.carte-large h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.lire { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--or); margin-top: 8px; }
.grille-5 .carte .prix { margin-top: auto; padding-top: 6px; }
@media (max-width: 900px) {
  .carte-large { grid-template-columns: 1fr; }
  .carte-large .photo { border-radius: 2px 2px 0 0; }
  .carte-large .corps { padding: 26px; }
}
.section.clair .article p, .section.clair .article li { color: var(--encre-clair); }
.section.clair .article figcaption { color: #5B6662; }
.section.clair .appel p { color: #5B6662; }
@media (max-width: 480px) {
  .entete .conteneur { gap: 12px; }
  .marque { gap: 8px; }
  .marque strong { font-size: 13.5px; letter-spacing: .14em; }
  .marque span { font-size: 11px; letter-spacing: .15em; }
}
@media (max-width: 600px) {
  .grille-5 { gap: 10px; }
  .grille-5 .carte .corps { padding: 14px 14px 16px; }
  .grille-5 .carte .corps p { font-size: 13.5px; line-height: 1.6; }
  .grille-5 h3 { font-size: 15px; }
  .tuile .photo { aspect-ratio: 4 / 3; }
}
.section.clair .tuile span { color: var(--titre-clair); }
.citation + .reperes { margin-top: 64px; }
