/* Site de Publika : une page de présentation et les pages légales. Couleurs de l'appli (ambiance « Nuit dorée » et « Atelier »). */
:root {
  --fond: #12110F; --carte: #1E1B17; --trait: #2E2A25; --texte: #EDE6D8; --doux: #B9B2A6;
  --or: #C9A854; --or-clair: #ECCF7A; --sur-or: #12110F; --a-completer: #5A2E2E;
  --largeur: 1080px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --fond: #F6F1E8; --carte: #FFFFFF; --trait: #E2D9C8; --texte: #22201D; --doux: #5A554E;
    --or: #8C7032; --or-clair: #A58C5C; --sur-or: #FFFFFF; --a-completer: #F6D6D0;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 17px/1.6 "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; font-weight: 600; }
a { color: var(--or); }
a:hover { color: var(--or-clair); }
img { max-width: 100%; }
.enveloppe { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }

/* En-tête */
header.barre { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
header.barre .enveloppe { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 600; }
.marque img { width: 34px; height: 34px; }
nav.liens { display: flex; gap: 22px; font-size: 15px; }
nav.liens a { color: var(--doux); text-decoration: none; }
nav.liens a:hover { color: var(--texte); }
@media (max-width: 640px) { nav.liens { display: none; } }

/* Boutons */
.bouton { display: inline-block; padding: 13px 26px; border-radius: 999px; background: var(--or); color: var(--sur-or); font-weight: 600; text-decoration: none; }
.bouton:hover { background: var(--or-clair); color: var(--sur-or); }
.bouton.discret { background: transparent; color: var(--texte); border: 1px solid var(--trait); }
.bouton.discret:hover { border-color: var(--or); color: var(--texte); }

/* Ouverture */
.ouverture { padding: 88px 0 72px; }
.ouverture .enveloppe { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.ouverture h1 { font-size: clamp(36px, 6vw, 60px); margin: 0 0 20px; }
.ouverture h1 em { font-style: normal; color: var(--or); }
.ouverture p.chapeau { font-size: 20px; color: var(--doux); margin: 0 0 32px; max-width: 34em; }
.ouverture .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ouverture .note { font-size: 14px; color: var(--doux); margin-top: 16px; }
.ouverture .embleme { justify-self: center; width: min(320px, 70vw); filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
@media (max-width: 800px) {
  .ouverture { padding: 48px 0; }
  .ouverture .enveloppe { grid-template-columns: 1fr; }
  .ouverture .embleme { order: -1; width: 160px; }
}

/* Sections */
section.bloc { padding: 72px 0; border-top: 1px solid var(--trait); }
section.bloc h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
section.bloc p.intro { color: var(--doux); max-width: 40em; margin: 0 0 36px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; padding: 26px; }
.carte h3 { font-size: 21px; margin: 6px 0 8px; }
.carte p { margin: 0; color: var(--doux); }
.numero { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--or); color: var(--sur-or); font-weight: 700; }
.metiers { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.metiers li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--trait); background: var(--carte); font-size: 15px; }
ul.promesses { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 46em; }
ul.promesses li { padding-left: 32px; position: relative; }
ul.promesses li::before { content: "✦"; position: absolute; left: 0; color: var(--or); }
.prix { font-family: "Playfair Display", Georgia, serif; font-size: 34px; color: var(--or); margin: 4px 0; }

/* Le film de présentation */
section.film .ecran { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--trait);
  background: #12110F; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
section.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; cursor: pointer; }
section.film .son { position: absolute; right: 16px; bottom: 16px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(237,230,216,.35); background: rgba(18,17,15,.72); color: #EDE6D8;
  font: 600 15px "Jost", system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(6px); }
section.film .son:hover, section.film .son[aria-pressed="true"] { border-color: #C9A854; color: #ECCF7A; }
@media (max-width: 700px) {
  section.film .ecran { max-width: 420px; margin: 0 auto; }
  section.film video { aspect-ratio: 9 / 16; }
}

/* Pied de page */
footer.pied { border-top: 1px solid var(--trait); padding: 36px 0 48px; color: var(--doux); font-size: 15px; }
footer.pied .enveloppe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.pied nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer.pied a { color: var(--doux); }

/* Pages légales */
main.legal { padding: 48px 0 72px; }
main.legal .enveloppe { max-width: 780px; }
main.legal h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 8px; }
main.legal .maj { color: var(--doux); margin: 0 0 32px; }
main.legal h2 { font-size: 24px; margin: 40px 0 10px; }
main.legal h3 { font-size: 19px; margin: 24px 0 6px; font-family: inherit; font-weight: 600; }
main.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; display: block; overflow-x: auto; }
main.legal th, main.legal td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--trait); }
main.legal th { color: var(--doux); font-weight: 600; }
.a-completer { background: var(--a-completer); padding: 0 4px; border-radius: 4px; }

/* Polices hébergées sur le site (aucun appel à Google Fonts : pas d'adresse IP envoyée à un tiers). Licence SIL OFL. */
@font-face { font-family: "Playfair Display"; src: url("polices/playfair.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Jost"; src: url("polices/jost.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
