/* Révélation Destin — maquettes LOT 2 — direction « lucide / intime / premium »
   Nuit profonde + or discret, violet historique (#6c3fc7) en accent secondaire.
   Mobile-first (390 px) ; points de rupture 720 px et 1080 px. */

:root {
  --bg: #0b0a14;
  --bg-2: #100e1d;
  --surface: #171529;
  --surface-2: #1e1b33;
  --line: rgba(201, 162, 74, 0.22);
  --line-soft: rgba(236, 230, 216, 0.09);
  --ink: #ece6d8;
  --ink-2: #c9c2d6;
  --muted: #9a93ad;
  --gold: #c9a24a;
  --gold-2: #e6c97a;
  --violet: #6c3fc7;
  --violet-2: #8d67e0;
  --ok: #7fc8a0;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --wrap: 1120px;
  --pad: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  background-image:
    radial-gradient(900px 500px at 80% -10%, rgba(108, 63, 199, 0.22), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(201, 162, 74, 0.08), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.35rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.section { padding-block: 56px; }
.section + .section { border-top: 1px solid var(--line-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1408;
  box-shadow: 0 10px 30px rgba(201, 162, 74, 0.25);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(236, 230, 216, 0.25);
}
.btn-ghost:hover { border-color: var(--gold); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-block { width: 100%; }
.btn-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(11, 10, 20, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--ink); letter-spacing: 0.01em; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand .star { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-size: 0.8rem; }
.nav { display: none; gap: 26px; font-size: 0.95rem; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--gold-2); text-decoration: none; }
.header-cta { display: none; padding: 10px 18px; font-size: 0.9rem; }
.burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-soft); border-radius: 10px; color: var(--ink); background: transparent; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

/* ---------- Hero ---------- */
.hero { padding-block: 48px 40px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.hero .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px;
  font-size: 0.86rem; color: var(--muted); padding: 0; list-style: none;
}
.trust li::before { content: "◆"; color: var(--gold); font-size: 0.6rem; margin-right: 8px; vertical-align: middle; }
.now { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--ink-2); margin-bottom: 14px; }
.now .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(127, 200, 160, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,200,160,.6);} 70% { box-shadow: 0 0 0 10px rgba(127,200,160,0);} 100% { box-shadow: 0 0 0 0 rgba(127,200,160,0);} }

/* ---------- Avatar Patricio (placeholder) ---------- */
.avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #2b2647, #14122a);
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2);
}
.avatar.lg { width: 96px; height: 96px; font-size: 2.3rem; }
.avatar.sm { width: 44px; height: 44px; font-size: 1.1rem; }
.byline { display: flex; align-items: center; gap: 14px; }
.byline strong { display: block; font-weight: 600; }
.byline span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Cartes : dos stylisé en CSS ---------- */
.card-back {
  aspect-ratio: 2 / 3.3; width: 100%; border-radius: 10px; position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(201,162,74,0.16) 0 2px, transparent 2px 12px),
    repeating-linear-gradient(-45deg, rgba(201,162,74,0.16) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #2a2352, #14112b 60%, #0f0d20);
  border: 1px solid rgba(201, 162, 74, 0.45);
  box-shadow: inset 0 0 0 5px var(--bg-2), inset 0 0 0 6px rgba(201,162,74,0.5), 0 14px 30px rgba(0,0,0,0.45);
}
.card-back::after {
  content: "✦"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--gold-2); font-size: 1.6rem; text-shadow: 0 0 14px rgba(230,201,122,0.5);
}
.card-back.hi { border-color: var(--gold-2); box-shadow: inset 0 0 0 5px var(--bg-2), inset 0 0 0 6px var(--gold-2), 0 0 30px rgba(230,201,122,0.25), 0 14px 30px rgba(0,0,0,0.45); }

/* Croix de Patricio : 5 positions (3 x 3) */
.cross {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto;
  gap: 10px; max-width: 420px; margin-inline: auto;
}
.slot { text-align: center; }
.slot .card-back { max-width: 110px; margin-inline: auto; }
.slot small { display: block; margin-top: 8px; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.slot.n { grid-column: 2; grid-row: 1; }
.slot.w { grid-column: 1; grid-row: 2; }
.slot.c { grid-column: 2; grid-row: 2; }
.slot.e { grid-column: 3; grid-row: 2; }
.slot.s { grid-column: 2; grid-row: 3; }
.cross-frame {
  background: linear-gradient(180deg, rgba(23,21,41,0.9), rgba(16,14,29,0.9));
  border: 1px solid var(--line); border-radius: 20px; padding: 26px 18px; box-shadow: var(--shadow);
}
.cross-frame .frame-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cross-frame .frame-head .pill { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* ---------- Grilles / cartes UI ---------- */
.grid { display: grid; gap: 18px; }
.grid > *, .hero-grid > *, .article-grid > *, .author > * { min-width: 0; }
.article-body { max-width: 100%; }
.panel {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 22px;
}
.panel h3 { margin-top: 0; }
.step { position: relative; }
.step .num {
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); opacity: 0.9; margin-bottom: 10px;
}
.step .price {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  background: rgba(201,162,74,0.12); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px;
}
.step .price.free { color: var(--ok); border-color: rgba(127,200,160,0.35); background: rgba(127,200,160,0.08); }
.step ul { padding-left: 18px; margin: 0; color: var(--ink-2); }
.step li { margin-bottom: 6px; }

.quote { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--ink); margin: 0 0 12px; }
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: 0.9rem; }
.proof-strip { display: grid; gap: 14px; margin-top: 22px; }
.proof {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(201,162,74,0.05);
}
.proof .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-2); }
.proof strong { display: block; }
.proof span { font-size: 0.9rem; color: var(--muted); }

.pillars { display: grid; gap: 12px; }
.pillar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface);
  color: var(--ink); transition: border-color 0.15s ease;
}
.pillar:hover { border-color: var(--gold); text-decoration: none; }
.pillar strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: block; }
.pillar span { font-size: 0.9rem; color: var(--muted); }
.pillar .arrow { color: var(--gold); font-size: 1.3rem; }

.post { display: block; color: var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft); }
.post:hover { text-decoration: none; border-color: var(--gold); }
.post .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2a2352, #14112b); object-fit: cover; width: 100%; }
.post .body { padding: 18px 18px 20px; }
.post .tag { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.post h3 { font-size: 1.25rem; margin: 6px 0 0; }

/* ---------- Bande CTA ---------- */
.band {
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 24px; text-align: center;
  background: linear-gradient(160deg, rgba(108,63,199,0.25), rgba(201,162,74,0.08));
}
.band h2 { margin-bottom: 10px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 40px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.9rem; color: var(--muted); background: var(--bg-2); }
.site-footer .cols { display: grid; gap: 22px; }
.site-footer h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink-2); }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 0.8rem; }

/* ---------- Article ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 22px 0 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 8px; opacity: 0.6; }
.article-head { padding-bottom: 28px; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.86rem; color: var(--muted); margin: 18px 0 22px; }
.chapo { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; color: var(--ink-2); margin-bottom: 16px; }
.figure { margin: 0 0 32px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { font-size: 0.8rem; color: var(--muted); padding: 10px 14px; background: var(--bg-2); }
.article-grid { display: grid; gap: 34px; }
.article-body { font-size: 1.06rem; }
.article-body h2 { margin-top: 2.2em; padding-top: 0.4em; }
.article-body h2:first-of-type { margin-top: 0; }
.article-body ol, .article-body ul { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.card-name { color: var(--gold-2); font-family: var(--serif); font-size: 1.15em; font-weight: 600; }

.toc { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; background: var(--surface); margin: 0 0 30px; }
.toc strong { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 1; font-size: 0.95rem; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--ink-2); }

.cta-inline {
  margin: 34px 0; padding: 28px 22px; border-radius: 18px; text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(108,63,199,0.22), rgba(23,21,41,0.9));
}
.cta-inline h3 { margin-top: 0; font-size: 1.5rem; }
.cta-inline p { color: var(--ink-2); }
.cta-inline .btn { margin-top: 6px; }
.cta-inline.soft { background: var(--surface); border-color: var(--line-soft); }

.patricio-says {
  margin: 34px 0; padding: 22px; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(201,162,74,0.07);
}
.patricio-says .byline { margin-bottom: 12px; }
.patricio-says p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.45; margin: 0; }
.patricio-says .sign { font-family: var(--sans); font-size: 0.85rem; color: var(--gold); margin-top: 10px; }

.faq details { border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface); margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

.hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hours a {
  display: block; text-align: center; padding: 12px 4px; border-radius: 10px; font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  border: 1px solid var(--line-soft); background: var(--surface); color: var(--ink-2);
}
.hours a:hover { border-color: var(--gold); text-decoration: none; color: var(--gold-2); }
.hours a.current { border-color: var(--gold); color: var(--gold-2); background: rgba(201,162,74,0.1); }

.aside { display: grid; gap: 18px; align-content: start; }
.aside .panel { padding: 22px 20px; }
.aside .sticky { position: sticky; top: 84px; }
.related { list-style: none; padding: 0; margin: 0; }
.related li { padding: 10px 0; border-top: 1px solid var(--line-soft); }
.related li:first-child { border-top: 0; padding-top: 0; }
.related a { color: var(--ink); }
.related small { display: block; color: var(--muted); font-size: 0.8rem; }

.author { display: grid; gap: 18px; padding: 26px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.author h3 { margin: 0 0 6px; }
.author .sign { font-family: var(--serif); font-style: italic; color: var(--gold-2); }

/* ---------- Tablette / desktop ---------- */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  .section { padding-block: 80px; }
  .hero { padding-block: 72px 64px; }
  .hero-actions { flex-direction: row; align-items: center; }
  .header-cta { display: inline-flex; }
  .btn { white-space: nowrap; }
  .grid.c3 { grid-template-columns: repeat(3, 1fr); }
  .grid.c2 { grid-template-columns: repeat(2, 1fr); }
  .proof-strip { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hours { grid-template-columns: repeat(6, 1fr); }
  .toc ol { columns: 2; column-gap: 28px; }
  .author { grid-template-columns: auto 1fr; }
  .band { padding: 52px 40px; }
}
@media (min-width: 1080px) {
  .nav { display: flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .pillars { grid-template-columns: repeat(5, 1fr); }
  .pillar { flex-direction: column; align-items: flex-start; }
  .article-grid { grid-template-columns: minmax(0, 720px) 320px; gap: 56px; }
  .hours { grid-template-columns: repeat(8, 1fr); }
}

/* lot 2 : ajouts (heures manquantes, menu mobile) */
.hours .soon { opacity: .45; cursor: default; }
body.menu-open .nav { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-2, #171529); padding: 16px 20px; gap: 12px; z-index: 50; }
