/* Étincelle · Spark — site vitrine, première version.
   Couleurs : brief graphique du 9/11/2026 (sarcelle Pantone 3165 C, or Pantone 7555 C, autres teintes tirées des illustrations).
   Polices : Cormorant Garamond (OFL) pour le texte; Josefin Sans remplace Cas Olgans, licence d'impression achetée par la
   cliente, à ne pas redistribuer (donc pas d'intégration web sans vérifier la licence). */
:root {
  --sarcelle: #00515B;
  --sarcelle-fonce: #003C44;
  --or: #D3A02E;
  --or-pale: #E9C98A;
  --creme: #FBF7E1;
  --rose: #EFC6B6;
  --encre: #1C2E2E;
  --ardoise: #3E5C7A;
  --corail: #E05A3E;
  --pervenche: #7B8FD0;
  --texte: var(--encre);
  --fond: var(--creme);
  --titre: 'Josefin Sans', 'Futura', sans-serif;
  --corps: 'Cormorant Garamond', 'Garamond', serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.55;
  /* Brief : chiffres alignés obligatoires (le « 1 » elzévirien de Cormorant ressemble à un « I »). */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--or); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.conteneur { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Bannière d'aperçu */
.apercu { background: var(--encre); color: var(--creme); font-family: var(--titre); font-size: .78rem; letter-spacing: .08em; text-align: center; padding: 7px 16px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: var(--sarcelle); border-bottom: 1px solid rgba(211, 160, 46, .45); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marque { font-family: var(--titre); font-weight: 600; letter-spacing: .16em; color: var(--or); text-decoration: none; font-size: 1.1rem; white-space: nowrap; }
.marque span { color: var(--or-pale); font-weight: 400; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { font-family: var(--titre); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--creme); text-decoration: none; }
.nav a:hover { color: var(--or); }
.nav .btn { color: var(--sarcelle); }
.menu-bouton { display: none; background: none; border: 1px solid var(--or); color: var(--or); font-family: var(--titre); letter-spacing: .1em; padding: 8px 12px; border-radius: 6px; cursor: pointer; }

/* Boutons */
.btn { display: inline-block; font-family: var(--titre); font-weight: 600; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 14px 26px 12px; border-radius: 999px; border: 1.5px solid var(--or); transition: background .2s, color .2s; cursor: pointer; }
.btn-or { background: var(--or); color: var(--sarcelle); }
.btn-or:hover { background: var(--or-pale); border-color: var(--or-pale); }
.btn-contour { background: transparent; color: var(--or); }
.btn-contour:hover { background: rgba(211, 160, 46, .12); }
.btn-petit { padding: 9px 16px 7px; font-size: .76rem; }

/* Étincelle à quatre pointes (séparateur doré du couvercle) */
.etincelle { display: inline-block; width: .9em; height: .9em; background: var(--or); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); vertical-align: middle; }
.filet { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 26px; color: var(--or); }
.filet::before, .filet::after { content: ""; width: min(120px, 25vw); height: 5px; border-top: 1.5px solid var(--or); border-bottom: .5px solid var(--or); }

/* Héros */
.heros { background: var(--sarcelle); color: var(--creme); padding: 56px 0 72px; }
.heros .conteneur { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.surtitre { font-family: var(--titre); letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; color: var(--or-pale); margin-bottom: 14px; }
.heros h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--or); letter-spacing: .04em; margin-bottom: .25em; }
.heros h1 .sep { font-size: .45em; margin: 0 .3em; position: relative; top: -.12em; }
.accroche { font-style: italic; font-size: 1.45rem; line-height: 1.4; margin-bottom: .4em; }
.accroche-en { font-style: italic; color: var(--or-pale); font-size: 1.1rem; margin-bottom: 1.6em; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.boite { border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-2deg); }
.pastilles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; list-style: none; padding: 0; }
/* Pastilles octogonales en contour or, comme sur les bouts de la boîte. */
.pastilles li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; color: var(--or); text-align: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='30,2 70,2 98,30 98,70 70,98 30,98 2,70 2,30' fill='none' stroke='%23D3A02E' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.pastilles strong { font-family: var(--titre); font-size: 1.05rem; letter-spacing: .02em; line-height: 1; }
.pastilles span { font-size: .78rem; line-height: 1.1; color: var(--or-pale); margin-top: 3px; }

/* Sections */
.section { padding: 84px 0; }
.section-titre { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-titre p { font-size: 1.3rem; }
.encadre { position: relative; border: 1px solid var(--or); border-radius: 18px; padding: 48px clamp(20px, 5vw, 64px); }
.encadre::before, .encadre::after { content: ""; position: absolute; top: 50%; width: 8px; height: 22px; border: 1px solid var(--or); background: var(--fond); transform: translateY(-50%); border-radius: 2px; }
.encadre::before { left: -5px; }
.encadre::after { right: -5px; }

/* Histoire */
.histoire .conteneur { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.chiffre { font-family: var(--titre); font-size: clamp(4rem, 10vw, 7rem); color: var(--or); line-height: 1; letter-spacing: 0; }
.chiffre small { display: block; font-size: .95rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sarcelle); margin-top: 8px; }
.histoire .grand { font-size: 1.45rem; line-height: 1.45; }
.citation { font-style: italic; color: var(--sarcelle); border-left: 2px solid var(--or); padding-left: 18px; }

/* Les cartes */
.cartes { background: var(--sarcelle); color: var(--creme); }
.cartes .section-titre p { color: var(--creme); }
.grille-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.carte { text-align: center; }
.carte figure { margin: 0 0 18px; height: 230px; display: flex; align-items: center; justify-content: center; }
.carte img { max-height: 230px; width: auto; border-radius: 10px; }
.carte h3 { color: var(--or); margin-bottom: .3em; }
.carte .nombre { font-family: var(--titre); color: var(--or-pale); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .6em; }
.carte p { font-size: 1.08rem; }

/* Comment jouer */
.colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.colonne { padding: 0 28px; }
.colonne + .colonne { border-left: 1px solid var(--or); }
.colonne h3 { font-size: 1.1rem; }
.colonne ol { margin: 0; padding-left: 1.3em; }
.colonne li { margin-bottom: .5em; }
.c-ardoise { color: var(--ardoise); }
.c-corail { color: var(--corail); }
.c-sarcelle { color: var(--sarcelle); }
.depart { text-align: center; font-size: 1.3rem; margin-bottom: 40px; }
.depart strong { color: var(--or); font-family: var(--titre); letter-spacing: .08em; }
.note-jeu { text-align: center; font-style: italic; margin: 36px 0 0; }
.note-jeu b { color: var(--or); }

/* Dans la boîte */
.boite-section { background: #F4EDCB; }
.boite-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contenu { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0 0 24px; }
.contenu li { break-inside: avoid; padding: 4px 0; }
.contenu b { color: var(--or); font-family: var(--titre); font-weight: 600; display: inline-block; min-width: 2.1em; }
.galerie-boite { display: grid; gap: 18px; }
.galerie-boite img { border-radius: 16px; box-shadow: 0 14px 30px rgba(0, 60, 68, .25); }
.mention { font-style: italic; color: var(--sarcelle); }

/* Règles */
.regles-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.regles-grille img { border-radius: 14px; box-shadow: 0 10px 24px rgba(28, 46, 46, .14); }
.regles-grille figcaption { text-align: center; font-style: italic; margin-top: 10px; }
.regles-grille figure { margin: 0; }

/* Services */
.services { background: var(--rose); }
.services .encadre::before, .services .encadre::after { background: var(--rose); }
.services .conteneur { max-width: 860px; text-align: center; }

/* Commande */
.commande { background: var(--sarcelle); color: var(--creme); }
.commande-grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.commande h2 { color: var(--or); }
.resume-commande { border: 1px solid var(--or); border-radius: 18px; padding: 28px; }
.resume-commande img { border-radius: 12px; margin-bottom: 20px; }
.prix { font-family: var(--titre); color: var(--or); letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; }
.etapes { padding-left: 1.2em; margin: 18px 0 0; }
.etapes li { margin-bottom: .5em; }
.formulaire { background: var(--creme); color: var(--encre); border-radius: 18px; padding: clamp(20px, 4vw, 36px); }
.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ label, .choix legend { font-family: var(--titre); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sarcelle); }
.aide { font-weight: 400; text-transform: none; letter-spacing: 0; font-family: var(--corps); font-size: .95rem; color: var(--encre); }
input, select, textarea { font: inherit; font-size: 1.1rem; color: var(--encre); background: #fff; border: 1px solid #C9BE95; border-radius: 10px; padding: 10px 12px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--or); outline-offset: 1px; border-color: var(--or); }
.choix { border: 0; padding: 0; margin: 0 0 16px; }
.choix legend { margin-bottom: 8px; }
.choix label { display: inline-flex; gap: 8px; align-items: center; margin-right: 22px; cursor: pointer; }
.choix input, .consentement input { width: auto; accent-color: var(--sarcelle); }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; margin: 6px 0 20px; }
.consentement input { margin-top: 5px; }
.botcheck { display: none; }
.btn-envoi { width: 100%; background: var(--sarcelle); color: var(--or); border-color: var(--sarcelle); }
.btn-envoi:hover { background: var(--sarcelle-fonce); }
.btn-envoi:disabled { opacity: .6; cursor: wait; }
.statut-formulaire { margin: 14px 0 0; font-size: 1.05rem; }
.statut-formulaire.ok { color: var(--sarcelle); font-weight: 600; }
.statut-formulaire.erreur, .statut-formulaire.apercu-envoi { color: var(--corail); }

/* Pied de page */
.pied { background: var(--sarcelle-fonce); color: var(--creme); padding: 48px 0 32px; font-size: 1.02rem; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.pied h3 { color: var(--or); font-size: .85rem; }
.pied nav a { display: block; text-decoration: none; margin-bottom: 4px; }
.pied nav a:hover { color: var(--or); }
.pied .marque { font-size: 1.3rem; display: inline-block; margin-bottom: 10px; }
.droits { border-top: 1px solid rgba(211, 160, 46, .35); margin-top: 32px; padding-top: 18px; font-size: .92rem; color: var(--or-pale); text-align: center; }

/* Adaptatif */
@media (max-width: 920px) {
  .heros .conteneur, .histoire .conteneur, .boite-grille, .commande-grille { grid-template-columns: 1fr; gap: 36px; }
  .grille-cartes { grid-template-columns: 1fr 1fr; }
  .colonnes { grid-template-columns: 1fr; gap: 28px; }
  .colonne { padding: 0; }
  .colonne + .colonne { border-left: 0; border-top: 1px solid var(--or); padding-top: 24px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .menu-bouton { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sarcelle); flex-direction: column; padding: 20px 16px 26px; gap: 18px; border-bottom: 1px solid var(--or); }
  .nav.ouvert { display: flex; }
  .boite { transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 1.12rem; }
  .section { padding: 60px 0; }
  .grille-cartes, .regles-grille, .champs-duo, .pied-grille { grid-template-columns: 1fr; }
  .contenu { columns: 1; }
  .carte figure { height: 200px; }
  .carte img { max-height: 200px; }
  .encadre::before, .encadre::after { display: none; }
}
@media (max-width: 400px) {
  .pastilles { gap: 8px; }
  .pastilles li { width: 72px; height: 72px; }
  .pastilles strong { font-size: .92rem; }
}
.signature { text-align: center; font-size: .88rem; font-style: italic; color: rgba(251, 247, 225, .6); margin: 10px 0 0; }
.signature a { color: var(--or); text-decoration: none; font-style: normal; font-family: var(--titre); letter-spacing: .08em; }
.signature a:hover { text-decoration: underline; }
.apercu a { color: var(--or); }

/* v2 : grille de prix, paiement, choix du dé, adresse détaillée */
.prix-titre { font-family: var(--titre); color: var(--or); letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; margin-bottom: 10px; }
.grille-prix { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.grille-prix th, .grille-prix td { padding: 8px 6px; border-bottom: 1px solid rgba(211, 160, 46, .35); text-align: right; white-space: nowrap; }
.grille-prix thead th { font-family: var(--titre); font-size: .72rem; letter-spacing: .14em; color: var(--or-pale); font-weight: 600; }
.grille-prix th[scope="row"], .grille-prix thead th:first-child { text-align: left; white-space: normal; }
.grille-prix tbody th { font-weight: 600; }
.grille-prix small { display: block; font-weight: 500; font-style: italic; font-size: .9rem; color: var(--or-pale); }
.grille-prix td:nth-child(2) { color: var(--or); font-weight: 600; }
.apres-lancement { margin: 12px 0 2px; font-style: italic; }
.petit { font-size: .95rem; color: var(--or-pale); }
.paiement-titre { color: var(--or); font-size: .95rem; margin-top: 26px; }
.paiement { list-style: none; padding: 0; margin: 0 0 8px; }
.paiement li { margin-bottom: .5em; }
.paiement a { color: var(--or-pale); overflow-wrap: anywhere; }

.des { border: 0; padding: 0; margin: 0 0 18px; }
.des legend { font-family: var(--titre); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sarcelle); margin-bottom: 10px; }
.des-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.de { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 10px 10px; border: 1.5px solid #C9BE95; border-radius: 14px; background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, box-shadow .15s; }
.de input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.de:hover { border-color: var(--or); }
.de:has(input:checked) { border-color: var(--sarcelle); box-shadow: 0 0 0 2px var(--sarcelle); }
.de:has(input:focus-visible) { outline: 2px solid var(--or); outline-offset: 2px; }
.de-visuel { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--sarcelle); }
.de-visuel img { width: 100%; height: 100%; object-fit: cover; }
.de-peu-importe { background: repeating-linear-gradient(135deg, var(--creme) 0 8px, #F1E9C6 8px 16px); border: 1px dashed var(--or); }
.de-peu-importe .etincelle { width: 30px; height: 30px; }
.de-nom { font-family: var(--titre); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--encre); }
.aide-des { font-size: 1rem; font-style: italic; margin: 10px 0 0; }

.champ-court { max-width: 50%; }
.erreur-champ { color: var(--corail); font-size: 1rem; margin: 0; }
.estimation { background: rgba(0, 81, 91, .08); border-left: 3px solid var(--or); border-radius: 6px; padding: 10px 14px; font-size: 1.05rem; margin: 4px 0 18px; }
.estimation:empty { display: none; }
@media (max-width: 600px) { .champ-court { max-width: none; } }
.des-choix { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.de-photo { background: #fff; border-radius: 50%; }
.de-photo img { object-fit: contain; }
.de-peu-importe { border-radius: 50%; }
/* Cinq choix de dé sur une seule ligne, du mobile au bureau. */
.des-choix { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.de { padding: 10px 4px 8px; gap: 6px; }
.de-visuel { width: 100%; max-width: 70px; height: auto; aspect-ratio: 1; }
.de-nom { font-size: .66rem; letter-spacing: .06em; line-height: 1.2; min-height: 2.4em; display: flex; align-items: center; }
.de-peu-importe .etincelle { width: 40%; height: 40%; }
