/* ============================================================
   SiamHome — Démo frontend (données fictives)
   ============================================================ */
:root {
  --cream: #faf6ef;
  --cream-2: #f3ecdf;
  --ink: #222b26;
  --ink-soft: #55605a;
  --green: #1d5c4d;
  --green-dark: #14453a;
  --green-light: #e5efec;
  --saffron: #d97b29;
  --saffron-dark: #b96317;
  --chili: #c8401f;
  --gold: #c9a227;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(34, 43, 38, .09);
  --shadow-lg: 0 14px 44px rgba(34, 43, 38, .16);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------- Bandeau démo ---------- */
.demo-banner {
  background: var(--ink);
  color: #e8e3d8;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 7px 12px;
}
.demo-banner strong { color: var(--gold); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 43, 38, .08);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; }
.brand-name span { color: var(--saffron); }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--green); background: var(--green-light); }
.main-nav a.active { color: var(--green); background: var(--green-light); font-weight: 600; }
.main-nav a.nav-cta {
  background: var(--green);
  color: #fff;
  margin-left: 6px;
}
.main-nav a.nav-cta:hover { background: var(--green-dark); color: #fff; }
.main-nav a.nav-live { color: var(--chili); font-weight: 600; }
.nav-live .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--chili); margin-right: 6px;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

.burger {
  display: none;
  background: none; border: 1px solid rgba(34,43,38,.15); border-radius: 8px;
  font-size: 1.25rem; padding: 4px 12px; cursor: pointer; color: var(--ink);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 10px;
  transition: transform .12s, box-shadow .12s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(29, 92, 77, .3); }
.btn-primary:hover { background: var(--green-dark); }
.btn-accent { background: var(--saffron); color: #fff; box-shadow: 0 4px 14px rgba(217, 123, 41, .35); }
.btn-accent:hover { background: var(--saffron-dark); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn[disabled], .btn.disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(rgba(18, 28, 24, .62), rgba(18, 28, 24, .72)), url("img/hero.jpg") center/cover no-repeat;
}
.hero .container { padding: 90px 0; }
.hero .kicker {
  display: inline-block;
  background: rgba(217, 123, 41, .92);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 15em; margin-bottom: 18px; }
.hero p.lead { font-size: clamp(1.02rem, 2vw, 1.25rem); max-width: 34em; color: #ece7db; margin-bottom: 34px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); }
.hero-stats .stat span { font-size: .85rem; color: #d8d2c4; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--cream-2); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  color: var(--saffron);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

/* ---------- Étapes (concept) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.step-card .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Cartes de cours ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px; }
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.course-card:hover .course-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 14px; left: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; color: #fff;
}
.badge.debutant { background: var(--green); }
.badge.intermediaire { background: var(--saffron); }
.badge.avance { background: var(--chili); }
.badge.soldout { left: auto; right: 14px; background: var(--ink); }
.course-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-body h3 { font-size: 1.22rem; }
.course-body .desc { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.course-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: .86rem; color: var(--ink-soft);
}
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(34,43,38,.08); padding-top: 16px; margin-top: 4px;
}
.price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--green); }
.price small { font-size: .8rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 500; }
.seats { font-size: .8rem; color: var(--saffron-dark); font-weight: 600; }
.seats.full { color: var(--chili); }

/* ---------- Filtres catalogue ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filters button {
  background: var(--white); border: 1.5px solid rgba(34,43,38,.12);
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  font-size: .88rem; font-weight: 600; color: var(--ink-soft);
  transition: all .15s;
}
.filters button:hover { border-color: var(--green); color: var(--green); }
.filters button.on { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Témoignages ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.quote-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.quote-card p { font-style: italic; color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.quote-card .who b { display: block; font-size: .92rem; }
.quote-card .who span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Bande CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 20px;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
.cta-band p { color: #d5e5e0; max-width: 34em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b3a6; margin-top: 80px; }
.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
  padding: 60px 0 40px;
}
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b9b3a6; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-name { color: #fff; }
.site-footer .tagline { font-size: .88rem; margin-top: 12px; max-width: 26em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-size: .8rem;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Page header (sous-pages) ---------- */
.page-head {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 64px 0 56px;
}
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 10px; }
.page-head p { color: #cfe0db; max-width: 40em; }
.breadcrumb { font-size: .82rem; color: #9fbcb4; margin-bottom: 18px; }
.breadcrumb a { color: #cfe0db; text-decoration: none; }

/* ---------- À propos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.team-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-align: center; padding-bottom: 26px;
}
.team-card .photo { aspect-ratio: 1/1; overflow: hidden; margin-bottom: 18px; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .photo.initials {
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 3rem; color: #fff;
}
.team-card h3 { font-size: 1.15rem; }
.team-card .role { color: var(--saffron-dark); font-size: .85rem; font-weight: 600; margin: 4px 0 10px; }
.team-card p { color: var(--ink-soft); font-size: .88rem; padding: 0 22px; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.value-card .ico { font-size: 1.8rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Paiement ---------- */
.checkout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.panel h2 { font-size: 1.3rem; margin-bottom: 20px; }
.pay-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pay-tabs button {
  flex: 1 1 auto; min-width: 90px;
  background: var(--cream); border: 1.5px solid rgba(34,43,38,.12); border-radius: 10px;
  padding: 12px 10px; cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--ink-soft);
  transition: all .15s;
}
.pay-tabs button.on { border-color: var(--green); background: var(--green-light); color: var(--green); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid rgba(34,43,38,.15); border-radius: 10px;
  font-size: .95rem; font-family: var(--font-body); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,92,77,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.secure-note { font-size: .78rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.order-line { display: flex; justify-content: space-between; font-size: .92rem; padding: 9px 0; color: var(--ink-soft); }
.order-line.total { border-top: 1.5px solid rgba(34,43,38,.1); margin-top: 8px; padding-top: 14px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.order-course { display: flex; gap: 14px; margin-bottom: 18px; }
.order-course img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; }
.order-course b { font-size: .95rem; display: block; }
.order-course span { font-size: .82rem; color: var(--ink-soft); }
.wallet-btn {
  width: 100%; padding: 14px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 700; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.wallet-btn.apple { background: #000; color: #fff; }
.wallet-btn.google { background: #fff; color: #3c4043; border: 1.5px solid #dadce0; }
.wallet-btn.paypal { background: #ffc439; color: #003087; }
.wallet-btn.twint { background: #000; color: #fff; }

/* ---------- Confirmation ---------- */
.confirm-hero { text-align: center; padding: 70px 0 30px; }
.confirm-hero .check {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  font-size: 2.4rem; display: grid; place-items: center; margin: 0 auto 24px;
}
.email-preview {
  max-width: 620px; margin: 30px auto 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; text-align: left;
}
.email-preview .mail-head { background: var(--cream-2); padding: 16px 26px; font-size: .82rem; color: var(--ink-soft); border-bottom: 1px solid rgba(34,43,38,.08); }
.email-preview .mail-head b { color: var(--ink); }
.email-preview .mail-body { padding: 30px; }
.email-preview .mail-body h3 { margin-bottom: 12px; }
.email-preview table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; }
.email-preview td { padding: 8px 0; border-bottom: 1px solid rgba(34,43,38,.07); }
.email-preview td:first-child { color: var(--ink-soft); width: 40%; }

/* ---------- Live ---------- */
/* align-items: start est indispensable : avec stretch, la hauteur du lecteur
   suivrait celle du chat (qui grandit avec les messages) et aspect-ratio
   recalculerait sa largeur au-delà de sa colonne. */
.live-layout { display: grid; grid-template-columns: 1.9fr 1fr; gap: 24px; align-items: start; }
.player {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  background: #000; aspect-ratio: 16/9; box-shadow: var(--shadow-lg);
  isolation: isolate;
}
/* Zoom lent via background-size : contrairement à transform,
   le fond ne peut jamais déborder du cadre du lecteur. */
.player .video-bg {
  position: absolute; inset: 0;
  background: url("img/currypan.jpg") center no-repeat;
  background-size: 100%;
  animation: slowzoom 30s ease-in-out infinite alternate;
  opacity: .92;
}
@keyframes slowzoom { from { background-size: 100% } to { background-size: 114% } }
.player .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 45%);
}
.live-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--chili); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 6px;
  display: flex; align-items: center; gap: 7px;
}
.live-badge .dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulse 1.4s infinite; }
.viewers {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,.55); color: #fff; font-size: .8rem;
  padding: 6px 12px; border-radius: 6px;
}
.player .bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 18px; display: flex; align-items: center; gap: 14px; color: #fff;
}
.player .bar .title { font-weight: 600; font-size: .95rem; flex: 1; }
.player .bar .ctrl { opacity: .85; cursor: pointer; }

.chat-box {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden; min-height: 420px;
}
.chat-head { padding: 16px 20px; border-bottom: 1px solid rgba(34,43,38,.08); font-weight: 700; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; }
.chat-head span { font-size: .75rem; color: var(--green); font-weight: 600; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; max-height: 300px; }
.msg { display: flex; gap: 10px; font-size: .87rem; animation: msgin .3s ease; }
@keyframes msgin { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.msg .avatar { width: 30px; height: 30px; font-size: .7rem; }
.msg b { font-size: .8rem; }
.msg b.host { color: var(--chili); }
.msg p { color: var(--ink-soft); }
.chat-input { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(34,43,38,.08); }
.chat-input input {
  flex: 1; padding: 11px 14px; border: 1.5px solid rgba(34,43,38,.15);
  border-radius: 999px; font-size: .9rem; font-family: var(--font-body);
}
.chat-input input:focus { outline: none; border-color: var(--green); }
.chat-input button {
  background: var(--green); color: #fff; border: none; border-radius: 999px;
  padding: 0 20px; font-weight: 700; cursor: pointer;
}
.live-info { margin-top: 26px; }
.live-info .panel h2 { margin-bottom: 8px; }
.live-info .panel p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Espace membre ---------- */
.member-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.member-nav { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.member-nav .user { padding: 24px 22px; border-bottom: 1px solid rgba(34,43,38,.08); display: flex; gap: 12px; align-items: center; }
.member-nav .user b { display: block; font-size: .95rem; }
.member-nav .user span { font-size: .78rem; color: var(--ink-soft); }
.member-nav button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 14px 22px; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  font-family: var(--font-body);
  border-left: 3px solid transparent;
}
.member-nav button:hover { background: var(--cream); color: var(--ink); }
.member-nav button.on { background: var(--green-light); color: var(--green); border-left-color: var(--green); font-weight: 700; }
.member-nav .logout { color: var(--chili); border-top: 1px solid rgba(34,43,38,.08); }

.member-pane { display: none; }
.member-pane.on { display: block; }
.member-pane h2 { font-size: 1.5rem; margin-bottom: 6px; }
.member-pane > p.sub { color: var(--ink-soft); margin-bottom: 26px; font-size: .93rem; }

.purchase-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; gap: 20px; padding: 18px; margin-bottom: 18px; align-items: center; flex-wrap: wrap;
}
.purchase-card img { width: 130px; height: 92px; object-fit: cover; border-radius: 10px; }
.purchase-card .info { flex: 1; min-width: 200px; }
.purchase-card .info b { font-size: 1.05rem; font-family: var(--font-display); }
.purchase-card .info .meta { font-size: .84rem; color: var(--ink-soft); margin-top: 4px; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; margin-top: 8px;
}
.tag.paid { background: var(--green-light); color: var(--green); }
.tag.upcoming { background: #fdeeda; color: var(--saffron-dark); }

.replay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.replay-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.replay-card .thumb { position: relative; aspect-ratio: 16/9; }
.replay-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.replay-card .thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.3); color: #fff; font-size: 2.2rem;
  cursor: pointer; transition: background .15s;
}
.replay-card .thumb .play:hover { background: rgba(0,0,0,.45); }
.replay-card .thumb .lock {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(20, 25, 22, .72); color: #fff; font-size: 1.8rem;
}
.replay-card .rc-body { padding: 16px 18px; }
.replay-card .rc-body b { font-size: .95rem; }
.replay-card .rc-body span { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: 4px; }
.replay-card .duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.7); color: #fff; font-size: .72rem;
  padding: 3px 8px; border-radius: 5px;
}

.recipe-list { display: flex; flex-direction: column; gap: 14px; }
.recipe-row {
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap;
}
.recipe-row .ico { font-size: 1.5rem; }
.recipe-row .info { flex: 1; min-width: 180px; }
.recipe-row .info b { font-size: .95rem; display: block; }
.recipe-row .info span { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Connexion ---------- */
.auth-wrap { max-width: 440px; margin: 60px auto; }
.auth-tabs { display: flex; margin-bottom: 24px; background: var(--cream-2); border-radius: 10px; padding: 5px; }
.auth-tabs button {
  flex: 1; padding: 11px; border: none; border-radius: 8px; cursor: pointer;
  background: transparent; font-weight: 600; font-size: .9rem; color: var(--ink-soft);
  font-family: var(--font-body);
}
.auth-tabs button.on { background: var(--white); color: var(--green); box-shadow: 0 2px 8px rgba(34,43,38,.1); }
.demo-hint {
  background: #fdf3e3; border: 1px solid #f0d9b0; color: #8a5a1b;
  font-size: .82rem; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px;
}

/* ---------- Boutique / Blog ---------- */
.phase-pill {
  display: inline-block; background: var(--gold); color: #3d3106;
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.product-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 24px; text-align: center; transition: transform .15s;
}
.product-card:hover { transform: translateY(-3px); }
.product-card .p-ico { font-size: 3rem; margin-bottom: 14px; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card p { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.product-card .price { font-size: 1.2rem; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.article-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .15s;
}
.article-card:hover { transform: translateY(-3px); }
.article-card .a-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card .a-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card .a-body { padding: 22px; }
.article-card .cat { font-size: .74rem; font-weight: 700; color: var(--saffron-dark); text-transform: uppercase; letter-spacing: .08em; }
.article-card h3 { font-size: 1.15rem; margin: 8px 0; }
.article-card p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 12px; }
.article-card .a-meta { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 12px;
  font-size: .9rem; opacity: 0; pointer-events: none; transition: all .3s; z-index: 100;
  box-shadow: var(--shadow-lg); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .live-layout, .checkout, .split { grid-template-columns: 1fr; }
  .member-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .chat-msgs { max-height: 300px; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 14px; border-bottom: 1px solid rgba(34,43,38,.1);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 16px; }
  .hero { min-height: 480px; }
  .cta-band { padding: 40px 28px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
