/* Le site de Dactylia (3/12/2026) : épuré, quelques images du jeu, la méthode expliquée. Aucune dépendance. */
@font-face { font-family: 'Cinzel Decorative'; src: url(polices/cinzel-decorative-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(polices/cormorant-garamond-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url(polices/cormorant-garamond-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url(polices/fredoka-latin-wght-normal.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --papier: #f8f2e7;
  --papier-2: #efe5d3;
  --encre: #2b2118;
  --encre-douce: #5c4a3a;
  --cuivre: #a8651f;
  --nuit: #1c2033;
  --largeur: 68rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.075rem/1.65 Fredoka, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cuivre); }
.conteneur { width: min(var(--largeur), 100% - 2.5rem); margin-inline: auto; }

/* le nom, en lettres d'or (provisoire : le titre peint de la cinématique le remplacera) */
.or {
  font-family: 'Cinzel Decorative', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fbe08e 0%, #d9a23a 42%, #8f5e14 56%, #cf9a3a 78%, #f4cf72 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* en-tête */
.entete { position: sticky; top: 0; z-index: 10; background: rgb(28 32 51 / 0.92); backdrop-filter: blur(8px); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.entete .logo { font-size: 1.6rem; text-decoration: none; filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.5)); }
.entete nav { display: flex; align-items: center; gap: 1.6rem; }
.entete nav a { color: #e9dfcb; text-decoration: none; font-size: 0.98rem; }
.entete nav a:hover { color: #fff; }
.bouton {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e5a54a, #b8742a);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 0 #7a4a17, 0 8px 20px rgb(120 70 20 / 0.25);
  transition: transform 0.15s;
}
.bouton:hover { transform: translateY(-1px); }
.entete .bouton { padding: 0.45rem 1.1rem; font-size: 0.95rem; }

/* ouverture */
.ouverture { position: relative; color: #fff; background: var(--nuit); overflow: hidden; }
.ouverture .fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0.9; }
.ouverture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 22 38 / 0.92) 0%, rgb(20 22 38 / 0.6) 45%, rgb(20 22 38 / 0.1) 100%); }
.ouverture .conteneur { position: relative; z-index: 1; padding-block: clamp(4rem, 12vw, 9rem); }
.ouverture .nom { font-size: clamp(3rem, 8vw, 5.6rem); line-height: 1; margin: 0 0 1.2rem; filter: drop-shadow(0 3px 0 rgb(40 22 4 / 0.75)) drop-shadow(0 0 18px rgb(255 190 80 / 0.25)); }
.ouverture h1 { font: 600 clamp(1.8rem, 3.6vw, 2.7rem)/1.15 'Cormorant Garamond', Georgia, serif; max-width: 30rem; margin: 0 0 1rem; }
.ouverture p { max-width: 32rem; color: #e9e2d4; margin: 0 0 2rem; }
.ouverture .petit { font-size: 0.9rem; color: #cfc4b0; margin-top: 0.9rem; }

/* sections */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
section.teinte { background: var(--papier-2); }
h2 { font: 600 clamp(1.9rem, 3.4vw, 2.6rem)/1.15 'Cormorant Garamond', Georgia, serif; margin: 0 0 0.6rem; }
.chapo { color: var(--encre-douce); max-width: 40rem; margin: 0 0 2.5rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.3rem; }

.quatre { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem 2.5rem; }
.quatre p { margin: 0; color: var(--encre-douce); }
.quatre .chiffre { font: 500 italic 2.2rem/1 'Cormorant Garamond', Georgia, serif; color: var(--cuivre); margin-bottom: 0.4rem; }

.histoire { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.histoire blockquote { font: 500 italic 1.45rem/1.45 'Cormorant Garamond', Georgia, serif; margin: 0 0 1.2rem; color: var(--encre); }
.histoire img, .galerie img { border-radius: 14px; box-shadow: 0 18px 40px rgb(43 33 24 / 0.22); }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.galerie figure { margin: 0; }
.galerie figcaption { font-size: 0.92rem; color: var(--encre-douce); margin-top: 0.6rem; }

.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.deux ul { margin: 0; padding-left: 1.1rem; color: var(--encre-douce); }
.deux li { margin-bottom: 0.4rem; }

.tarif { text-align: center; }
.tarif .carte { display: inline-block; text-align: left; background: #fff; border: 1px solid #e2d5bd; border-radius: 16px; padding: 2rem 2.4rem; max-width: 34rem; box-shadow: 0 10px 30px rgb(43 33 24 / 0.08); }
.tarif .carte p { margin: 0 0 1rem; }

.questions details { border-top: 1px solid #ddd0b8; padding: 1rem 0; }
.questions details:last-child { border-bottom: 1px solid #ddd0b8; }
.questions summary { cursor: pointer; font-weight: 600; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; float: right; color: var(--cuivre); font-weight: 400; }
.questions details[open] summary::after { content: '–'; }
.questions details p { margin: 0.6rem 0 0; color: var(--encre-douce); max-width: 46rem; }

/* pied */
footer { background: var(--nuit); color: #bdb4a2; font-size: 0.92rem; padding-block: 2.5rem; }
footer .conteneur { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
footer a { color: #e9dfcb; }
footer .or { font-size: 1.3rem; }

/* page de texte (confidentialité) */
.texte { max-width: 44rem; padding-block: 3rem 5rem; }
.texte h1 { font: 600 2.6rem/1.15 'Cormorant Garamond', Georgia, serif; margin: 0 0 0.4rem; }
.texte h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.texte p, .texte li { color: var(--encre-douce); }

@media (max-width: 800px) {
  .entete nav a:not(.bouton) { display: none; }
  .histoire, .deux { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr; }
}
