/* Maison Bloma — territoire « L'Arche »
   La maison est de pierre et d'anthracite. La couleur n'entre que par les portes et les éditions.
   L'arche est le cadre fixe de la maison : chaque univers vient s'y inscrire. */

:root {
  /* Couleurs de la maison */
  --pierre: #E7E1D7;      /* fond principal */
  --platre: #F5F2ED;      /* surfaces claires */
  --anthracite: #22211F;  /* texte, fonds sombres */
  --graphite: #57534C;    /* texte secondaire (5,9:1 sur pierre) */
  --argile: #8E4E33;      /* accent de la maison, liens et boutons (4,9:1 sur pierre) */
  --filet: #CFC7BA;       /* filets et bordures */

  /* Couleurs des portes et des éditions (fonds, texte plâtre dessus) */
  --lin: #B8A58C;         /* Essentiels */
  --fume: #6B4E3F;        /* Rituels */
  --prune: #3E1A2D;       /* Nocturne */
  --prune-clair: #E9CFDB;
  --or: #7A5C24;          /* Veillée */
  --terre: #9A452B;       /* À deux */
  --sauge: #4F6349;       /* Première */

  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --texte: "Jost", "Avenir Next", "Segoe UI", sans-serif;

  --gouttiere: clamp(20px, 5vw, 72px);
  --largeur: 1280px;
  --rythme: clamp(88px, 11vw, 160px);
  --arche: 999px 999px 0 0;

  color-scheme: light;
}

/* Polices hébergées sur le site (aucun appel à Google : pas de transfert d'adresse IP) */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pierre);
  color: var(--anthracite);
  font-family: var(--texte);
  font-weight: 400;
  font-size: clamp(17px, 0.35vw + 15.5px, 19px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--argile); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--anthracite); }
:focus-visible { outline: 2px solid var(--argile); outline-offset: 4px; border-radius: 2px; }
p { margin: 0; }
::selection { background: var(--argile); color: var(--platre); }
input, textarea { caret-color: var(--argile); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(52px, 8.2vw, 128px); }
h2 { font-size: clamp(40px, 5.2vw, 76px); }
h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.lead { font-size: clamp(19px, 0.6vw + 16px, 23px); line-height: 1.55; max-width: 34em; color: var(--graphite); }
.petit { font-size: 15px; color: var(--graphite); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: var(--rythme); }
.section.sombre { background: var(--anthracite); color: var(--platre); }
.section.sombre .lead, .section.sombre .petit { color: #BDB6AA; }
.section.claire { background: var(--platre); }

/* Lien d'évitement */
.evitement { position: absolute; left: 16px; top: -60px; background: var(--anthracite); color: var(--platre); padding: 10px 16px; z-index: 50; }
.evitement:focus { top: 12px; }
.evitement:hover { color: var(--platre); }

/* ——— En-tête ——— */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(231, 225, 215, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--anthracite); }
.marque:hover { color: var(--anthracite); }
.marque .sigle { width: 30px; height: 38px; flex-shrink: 0; }
.marque .nom { font-family: var(--texte); font-weight: 500; font-size: 17px; letter-spacing: 0.14em; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a { text-decoration: none; color: var(--anthracite); font-size: 16px; position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.bouton-menu .icone-fermer { display: none; }
.bouton-menu[aria-expanded="true"] .icone-ouvrir { display: none; }
.bouton-menu[aria-expanded="true"] .icone-fermer { display: block; }
.bouton-menu { display: none; width: 46px; height: 46px; border: 1px solid var(--filet); border-radius: 999px; background: transparent; cursor: pointer; align-items: center; justify-content: center; color: var(--anthracite); }
@media (max-width: 860px) {
  .bouton-menu { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--pierre); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gouttiere) 28px; border-bottom: 1px solid var(--filet); transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
  .nav.ouverte { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .nav a { font-family: var(--display); font-size: 34px; padding-block: 10px; }
  .nav a::after { display: none; }
}

/* ——— Boutons ——— */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--texte); font-size: 16px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.bouton.plein { background: var(--anthracite); color: var(--platre); }
.bouton.plein:hover { background: var(--argile); color: var(--platre); }
.bouton.trait { border-color: var(--anthracite); color: var(--anthracite); background: transparent; }
.bouton.trait:hover { background: var(--anthracite); color: var(--platre); }
.sombre .bouton.plein { background: var(--platre); color: var(--anthracite); }
.sombre .bouton.plein:hover { background: var(--lin); }
.sombre .bouton.trait { border-color: rgba(245, 242, 237, 0.5); color: var(--platre); }
.sombre .bouton.trait:hover { background: var(--platre); color: var(--anthracite); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ——— L'arche : le cadre de la maison ——— */
.arche { position: relative; border-radius: var(--arche); overflow: hidden; aspect-ratio: 3 / 4; max-width: 100%; background: var(--lin); isolation: isolate; }
.arche::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: url("../img/grain.svg"); background-size: 320px; opacity: .55; mix-blend-mode: multiply; }
.arche img { width: 100%; height: 100%; object-fit: cover; }
.arche .legende-photo { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: 78%; text-align: center; font-size: 13px; line-height: 1.5; color: rgba(34, 33, 31, 0.72); }
.arche.fume { background: var(--fume); } .arche.fume .legende-photo { color: rgba(245, 242, 237, 0.75); }
.arche.prune { background: var(--prune); } .arche.prune .legende-photo { color: rgba(233, 207, 219, 0.8); }
.arche.anthracite { background: #34322E; } .arche.anthracite .legende-photo { color: rgba(245, 242, 237, 0.7); }
.arche.platre { background: #DCD4C7; }
.arche-trait { border-radius: var(--arche); border: 1px solid currentColor; }

/* ——— Hero d'accueil ——— */
.hero { padding-block: clamp(48px, 7vw, 104px) clamp(72px, 9vw, 128px); }
.hero .grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero h1 { max-width: 9.5em; }
.hero .texte { display: grid; gap: 32px; padding-bottom: clamp(0px, 3vw, 40px); }
.hero .arche { aspect-ratio: 4 / 5.4; }
@media (max-width: 860px) {
  .hero .grille { grid-template-columns: 1fr; }
  .hero .arche { max-width: 420px; }
}

/* ——— Les trois portes ——— */
.entete-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
@media (max-width: 860px) { .entete-section { grid-template-columns: 1fr; } }
.portes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.porte { display: grid; gap: 22px; align-content: start; text-decoration: none; color: inherit; min-width: 0; }
.porte:hover { color: inherit; }
.porte .arche { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.porte:hover .arche { transform: translateY(-6px); }
.porte .quoi { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--filet); padding-bottom: 14px; }
.porte h3 { font-size: clamp(34px, 3.4vw, 48px); }
.statut { font-size: 14px; color: var(--graphite); white-space: nowrap; }
.statut::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: 2px; }
.statut.ouvert { color: var(--argile); }
.porte p { color: var(--graphite); max-width: 26em; }
@media (max-width: 860px) { .portes { grid-template-columns: 1fr; } .porte .arche { max-width: 420px; } }

/* ——— Citation / manifeste ——— */
.manifeste { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.manifeste blockquote { margin: 0; font-family: var(--display); font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; text-wrap: balance; }
.manifeste .corps { display: grid; gap: 22px; color: #BDB6AA; max-width: 32em; padding-top: 12px; }
@media (max-width: 860px) { .manifeste { grid-template-columns: 1fr; } }

/* ——— Édition en vedette ——— */
.vedette { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vedette .texte { display: grid; gap: 24px; }
.numero { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); }
@media (max-width: 860px) { .vedette { grid-template-columns: 1fr; } .vedette .arche { max-width: 420px; } }

/* ——— Étapes (vraie séquence) ——— */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--anthracite); counter-reset: etape; }
.etapes li { counter-increment: etape; padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.etapes li + li { padding-left: 28px; border-left: 1px solid var(--filet); }
.etapes li::before { content: counter(etape); font-family: var(--display); font-size: 44px; line-height: 1; color: var(--argile); }
.etapes p { color: var(--graphite); font-size: 16px; }
.etapes .delai { font-size: 14px; color: var(--anthracite); font-weight: 500; }
@media (max-width: 960px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .etapes li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } .etapes li, .etapes li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--filet); padding-bottom: 24px; } }

/* ——— Blocs en deux colonnes ——— */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo .texte { display: grid; gap: 24px; }
.duo.inverse .arche { order: 2; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo.inverse .arche { order: 0; } .duo .arche { max-width: 420px; } }

.liste-pieces { list-style: none; margin: 0; padding: 0; display: grid; }
.liste-pieces li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 20px; padding-block: 20px; border-top: 1px solid var(--filet); }
.liste-pieces li:last-child { border-bottom: 1px solid var(--filet); }
.liste-pieces strong { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.liste-pieces span { color: var(--graphite); }
.sombre .liste-pieces li { border-color: rgba(245, 242, 237, 0.18); }
.sombre .liste-pieces span { color: #BDB6AA; }
@media (max-width: 560px) { .liste-pieces li { grid-template-columns: 1fr; gap: 6px; } }

/* ——— Familles (Rituels) ——— */
.familles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--anthracite); }
.famille { padding: 40px 40px 40px 0; display: grid; gap: 14px; align-content: start; border-bottom: 1px solid var(--filet); min-width: 0; }
.famille:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--filet); }
.famille .moment { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--argile); }
.famille p { color: var(--graphite); max-width: 28em; }
@media (max-width: 760px) { .familles { grid-template-columns: 1fr; } .famille, .famille:nth-child(even) { padding: 32px 0; border-left: 0; } }

/* ——— Frise des éditions ——— */
.frise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.edition { display: grid; gap: 18px; align-content: start; min-width: 0; }
.edition .mois { font-size: 15px; color: #BDB6AA; display: flex; align-items: center; gap: 12px; }
.edition .mois::after { content: ""; flex: 1; height: 1px; background: rgba(245, 242, 237, 0.2); }
.edition .arche { aspect-ratio: 3 / 4.2; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 22px 26px; color: var(--platre); text-decoration: none; }
.edition .arche.prune { background: var(--prune); }
.edition .arche.or { background: var(--or); }
.edition .arche.terre { background: var(--terre); }
.edition .arche.sauge { background: var(--sauge); }
.edition .arche h3 { font-size: clamp(28px, 2.6vw, 38px); }
.edition .arche .etat { font-size: 14px; opacity: .85; margin-top: 8px; }
.edition p { color: #BDB6AA; font-size: 16px; }
a.arche:hover { color: var(--platre); }
@media (max-width: 1000px) { .frise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .frise { grid-template-columns: 1fr; } .edition .arche { max-width: 360px; } }

/* ——— Engagements ——— */
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.trois > div { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--anthracite); }
.trois p { color: var(--graphite); }
@media (max-width: 860px) { .trois, .trois[style] { grid-template-columns: 1fr !important; } }

/* ——— Lettre de la maison ——— */
.lettre { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.lettre .coord { display: grid; gap: 16px; }
.adresse { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.adresse code { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); user-select: all; word-break: break-all; }
.copier { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font-family: var(--texte); font-size: 15px; cursor: pointer; }
@media (max-width: 860px) { .lettre { grid-template-columns: 1fr; } }

/* ——— Hero des pages intérieures ——— */
.hero-page { padding-block: clamp(56px, 8vw, 120px) clamp(56px, 7vw, 104px); }
.hero-page .grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero-page .texte { display: grid; gap: 28px; min-width: 0; }
.hero .texte { min-width: 0; }
.fil { font-size: 15px; color: var(--graphite); }
.fil a { color: var(--graphite); }
@media (max-width: 860px) { .hero-page .grille { grid-template-columns: 1fr; } .hero-page .arche { max-width: 380px; } }

/* ——— Page Nocturne ——— */
.page-nocturne { background: #150A10; color: var(--prune-clair); }
.page-nocturne .entete { background: rgba(21, 10, 16, 0.9); border-color: rgba(233, 207, 219, 0.14); }
.page-nocturne .marque, .page-nocturne .nav a { color: var(--prune-clair); }
.page-nocturne .bouton-menu { color: var(--prune-clair); border-color: rgba(233, 207, 219, 0.3); }
@media (max-width: 860px) { .page-nocturne .nav { background: #150A10; border-color: rgba(233, 207, 219, 0.14); } }
.page-nocturne .fil, .page-nocturne .fil a, .page-nocturne .petit, .page-nocturne .lead { color: #C9AEBB; }
.page-nocturne a { color: var(--prune-clair); }
.nocturne-titre { font-family: var(--display); font-style: italic; font-size: clamp(76px, 12vw, 184px); line-height: .9; letter-spacing: -0.03em; color: #F7ECF1; }
.page-nocturne .hero-page .grille { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
.nocturne-chiffres { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); }
.nocturne-chiffres div { display: grid; }
.nocturne-chiffres strong { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4vw, 56px); line-height: 1; color: #F7ECF1; }
.nocturne-chiffres span { font-size: 15px; color: #C9AEBB; }
.accord { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.accord div { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(233, 207, 219, 0.35); }
.accord .temps { font-family: var(--display); font-style: italic; font-size: 26px; color: #F7ECF1; }
@media (max-width: 760px) { .accord { grid-template-columns: 1fr; } }
.page-nocturne .liste-pieces li { border-color: rgba(233, 207, 219, 0.18); }
.page-nocturne .liste-pieces span { color: #C9AEBB; }
.page-nocturne .bouton.plein { background: var(--prune-clair); color: #150A10; }
.page-nocturne .bouton.plein:hover { background: #F7ECF1; }
.page-nocturne .pied { background: #0E060A; }

/* ——— Pied de page ——— */
.pied { background: var(--anthracite); color: #BDB6AA; padding-block: 72px 40px; font-size: 16px; }
.pied .haut { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(245, 242, 237, 0.14); }
.pied .marque { color: var(--platre); }
.pied .marque .sigle { color: var(--platre); }
.pied h2 { font-family: var(--texte); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--platre); margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pied a { color: #BDB6AA; text-decoration: none; }
.pied li a { display: inline-block; padding-block: 9px; }
.pied a:hover { color: var(--platre); }
.pied .bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 14px; color: #8F887D; }
@media (max-width: 860px) { .pied .haut { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied .haut > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pied .haut { grid-template-columns: 1fr; } }
.pied li { min-width: 0; overflow-wrap: anywhere; }

/* ——— Texte long (mentions) ——— */
.texte-long { max-width: 44em; display: grid; gap: 18px; }
.texte-long h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 28px; }
.texte-long p { color: var(--graphite); }
.texte-long strong { color: var(--anthracite); font-weight: 500; }

/* ——— Apparition à l'ouverture (un seul moment orchestré) ——— */
@media (prefers-reduced-motion: no-preference) {
  .hero .arche, .hero-page .arche { animation: ouvrir 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .hero .texte > *, .hero-page .texte > * { animation: monter .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .texte > :nth-child(2), .hero-page .texte > :nth-child(2) { animation-delay: .12s; }
  .hero .texte > :nth-child(3), .hero-page .texte > :nth-child(3) { animation-delay: .24s; }
  .hero .texte > :nth-child(4), .hero-page .texte > :nth-child(4) { animation-delay: .36s; }
}
@keyframes ouvrir { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes monter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ——— Inscription ——— */
.inscription { display: grid; gap: 14px; }
.etiquette { font-size: 15px; font-weight: 500; }
.champ { display: flex; gap: 10px; flex-wrap: wrap; }
.champ input { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--graphite); background: var(--platre); color: var(--anthracite); font-family: var(--texte); font-size: 17px; }
.champ input::placeholder { color: #6A655D; }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--graphite); }
.consentement input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--anthracite); }
.message { font-size: 15px; min-height: 1.5em; }
.message.ok { color: var(--sauge); }
.message.erreur { color: var(--argile); }
.message.info { color: var(--anthracite); }
.sombre .message.info, .page-nocturne .message.info { color: inherit; }

/* ——— FAQ ——— */
.faq { border-top: 1px solid var(--anthracite); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--texte); font-size: 26px; font-weight: 400; color: var(--argile); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 62ch; color: var(--graphite); }

/* ——— Page produit ——— */
.produit { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 120px); }
.produit-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.produit-visuels { display: grid; gap: 16px; position: sticky; top: 100px; }
.produit-visuels .arche { aspect-ratio: 4 / 4.6; }
.vignettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vignette { aspect-ratio: 1; border-radius: 999px 999px 0 0; background: #CDBFAE; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; font-size: 13px; color: rgba(34,33,31,.7); }
.vignette.fume { background: var(--fume); color: rgba(245,242,237,.8); }
.vignette.anthracite { background: #34322E; color: rgba(245,242,237,.8); }
.achat { display: grid; gap: 24px; align-content: start; min-width: 0; }
.achat h1 { font-size: clamp(46px, 5.2vw, 76px); }
.prix { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-block: 1px solid var(--filet); }
.prix strong { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; }
.prix span { font-size: 15px; color: var(--graphite); }
.reassurance { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reassurance li { padding-left: 22px; position: relative; color: var(--graphite); font-size: 16px; }
.reassurance li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--argile); }
.reassurance strong { color: var(--anthracite); font-weight: 500; }
.commande { display: grid; gap: 16px; padding: 28px; background: var(--platre); border-radius: 0; }
.pour-qui { border: 0; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.pour-qui legend { margin-bottom: 10px; }
.pour-qui label { cursor: pointer; }
.pour-qui input { position: absolute; opacity: 0; pointer-events: none; }
.pour-qui span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--graphite); font-size: 16px; transition: background .2s ease, color .2s ease; }
.pour-qui input:checked + span { background: var(--anthracite); color: var(--platre); border-color: var(--anthracite); }
.pour-qui input:focus-visible + span { outline: 2px solid var(--argile); outline-offset: 3px; }
.aide { font-size: 15px; color: var(--graphite); }
.bouton.large { width: 100%; min-height: 58px; font-size: 17px; }
@media (max-width: 900px) { .produit-grille { grid-template-columns: 1fr; } .produit-visuels { position: static; } .produit-visuels .arche { max-width: 460px; } }

/* ——— Grilles de contenu ——— */
.etapes.sombres { border-top-color: rgba(245,242,237,.6); }
.etapes.sombres li + li { border-left-color: rgba(245,242,237,.18); }
.etapes.sombres p { color: #BDB6AA; }
.etapes.sombres li::before { color: var(--lin); }
.etapes.trois-etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .etapes.trois-etapes { grid-template-columns: 1fr; } .etapes.trois-etapes li, .etapes.trois-etapes li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid rgba(245,242,237,.18); padding-bottom: 24px; } }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.deux > div { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid rgba(245,242,237,.4); }
.deux p { color: #BDB6AA; }
.deux.claires > div { border-top-color: var(--anthracite); }
.deux.claires p { color: var(--graphite); }
.quatre { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.quatre > div { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--anthracite); }
.quatre .moment, .trois .moment { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--argile); }
.quatre p { color: var(--graphite); }
.trois.sombres > div { border-top-color: rgba(245,242,237,.4); }
.trois.sombres p { color: #BDB6AA; }
.trois.sombres .moment { color: var(--lin); }
@media (max-width: 900px) { .deux { grid-template-columns: 1fr; } .quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .quatre { grid-template-columns: 1fr; } }

/* ——— Contact ——— */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.titre-moyen { font-size: clamp(30px, 3vw, 40px); margin-bottom: 20px; }
.formulaire-contact { display: grid; gap: 10px; padding: 32px; background: var(--pierre); border-radius: 0; }
.formulaire-contact .titre-moyen { margin-bottom: 0; }
.formulaire-contact input, .formulaire-contact select, .formulaire-contact textarea { width: 100%; min-height: 50px; padding: 12px 18px; border: 1px solid var(--graphite); border-radius: 26px; background: var(--platre); color: var(--anthracite); font-family: var(--texte); font-size: 17px; margin-bottom: 8px; }
.formulaire-contact input, .formulaire-contact select { padding-inline: 22px; }
.formulaire-contact select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2322211F' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 22px center; padding-right: 48px; }
.formulaire-contact textarea { border-radius: 22px; }
.formulaire-contact textarea { resize: vertical; }
.formulaire-contact .bouton { margin-top: 6px; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }


/* ——— Corrections du contrôle Impeccable (29/09/2026) ——— */

/* Focus visible sur les fonds sombres et colorés (≥ 3:1) */
.sombre :focus-visible, .pied :focus-visible, .page-nocturne :focus-visible, .arche.fume :focus-visible, .edition .arche:focus-visible { outline-color: var(--platre); }
.page-nocturne :focus-visible { outline-color: var(--prune-clair); }
.page-nocturne ::selection { background: var(--prune-clair); color: #150A10; }

/* Les arches portent un contenu tant que les photos n'existent pas */
.arche .plaque { position: absolute; inset: auto 0 0 0; padding: 0 12% 12%; display: grid; gap: 10px; justify-items: center; text-align: center; color: var(--anthracite); }
.arche .plaque .grand { font-family: var(--display); font-style: italic; font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -0.01em; }
.arche .plaque .moyen { font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; text-wrap: balance; }
.arche .plaque .detail { font-size: 15px; line-height: 1.5; }
.arche .plaque .liste { font-family: var(--display); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.35; }
.arche .plaque .sigle { width: clamp(64px, 9vw, 110px); height: auto; }
.arche.fume .plaque, .arche.anthracite .plaque, .arche.prune .plaque { color: var(--platre); }
.arche.prune .plaque { color: var(--prune-clair); }
.arche .plaque.centre { inset: 0; align-content: center; padding-bottom: 0; }
.saisons { display: flex; gap: 10px; justify-content: center; }
.saisons span { width: 26px; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.sceau { width: clamp(96px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #B5623F, #8E4E33 62%, #6E3A25); display: grid; place-items: center; color: rgba(245, 242, 237, 0.85); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); }
.sceau .sigle { width: 42%; height: auto; }

/* Arches plus basses sur mobile : le contenu remonte */
@media (max-width: 860px) {
  .hero .arche, .hero-page .arche, .porte .arche, .duo .arche, .vedette .arche, .produit-visuels .arche { aspect-ratio: 4 / 3.4; max-width: none; width: 100%; }
}

/* Nocturne : une colonne sur mobile, arche lisible sur fond nuit */
.page-nocturne .arche.prune { background: #4A2238; box-shadow: inset 0 0 0 1px rgba(233, 207, 219, 0.35); }
@media (max-width: 860px) { .page-nocturne .hero-page .grille { grid-template-columns: 1fr; } }
.page-nocturne .numero { color: #F7ECF1; }

/* Frise : l'édition ouverte se signale */
.edition a.arche .etat { text-decoration: underline; text-underline-offset: 0.25em; }
.edition a.arche:hover { filter: brightness(1.12); }

/* État des commandes sur la fiche produit */
.etat-commandes { font-size: 16px; color: var(--anthracite); padding: 14px 18px; border: 1px solid var(--filet); }
.etat-commandes[hidden] { display: none; }

/* Sous-titre après un titre (au lieu d'un sur-titre) */
h3 + .moment { margin-top: -4px; }
.deux .precision { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--lin); }
.deux.claires .precision { color: var(--argile); }

/* Formulaire de la lettre dans l'univers Nocturne */
.page-nocturne .consentement { color: #C9AEBB; }
.page-nocturne .champ input { border-color: rgba(233, 207, 219, 0.5); }
.page-nocturne .message.erreur { color: #F2B8CC; }
.famille h3 + .moment, .quatre h3 + .moment { display: block; }

/* Logo officiel (kit L'Arche v1.0) */
.marque .logo { height: 34px; width: auto; }
.pied .marque .logo { height: 40px; color: var(--platre); }
@media (max-width: 480px) { .entete .marque .logo { height: 30px; } }
