/*
 * ════════════════════════════════════════════════
 *  Belle Époque — Page CryoGlow
 *  cryoglow.css — chargé UNIQUEMENT sur page-cryoglow.php,
 *  APRÈS dream-machine.css (la page réutilise tous ses composants dm-*).
 *  Ici : seulement ce qui est propre à cette page.
 *  Mobile first : règles de base = téléphone, @media(min-width) = plus grand.
 * ════════════════════════════════════════════════
 */

/* Règles de dream-machine.css ciblées sur la classe de template Dream
   Machine : reprises pour ce template (fond, gotcha Kadence h1/h2/h3,
   place de la barre collante sous le pied de page). */
body.page-template-page-cryoglow { background: var(--bg) !important; overflow-x: hidden !important; }
.page-template-page-cryoglow h1,
.page-template-page-cryoglow h2,
.page-template-page-cryoglow h3 { color: var(--ink) !important; }
.page-template-page-cryoglow .chrome { color: transparent !important; }
.page-template-page-cryoglow #colophon { padding-bottom: 76px; }

/* ── HERO : visuel provisoire du masque (canvas, page-cryoglow.js) ── */
.cg-mask { display: block; width: 100%; height: auto; aspect-ratio: 400 / 460; }

/* ══════════════════════════════════════════
   PROTOCOLE — 3 cartes
   Portées de belle-epoque-cryoglow-protocole-preview.html : même
   structure, mêmes proportions ; polices et couleurs = charte
   (Newsreader/Inter, tokens style.css) au lieu de celles du preview.
══════════════════════════════════════════ */
.cg-proto-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
@media (min-width: 1000px) { .cg-proto-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.cg-proto-card { padding: 26px 22px 28px; display: flex; flex-direction: column; }
@media (min-width: 641px) { .cg-proto-card { padding: 26px 24px 28px; } }

.cg-proto-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ui); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ice-2); margin-bottom: 14px;
}
.cg-proto-tag span { border: 1px solid rgba(176,211,236,.45); border-radius: 20px; padding: 2px 9px; box-shadow: 0 0 10px rgba(176,211,236,.15) inset; }

.cg-proto-title { font-family: var(--disp); font-weight: 400; font-size: 1.3rem; line-height: 1.25; margin: 0 0 18px; }

/* Photo de carte : format 3:2 des visuels, entière (pas de recadrage) */
.cg-proto-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  margin-bottom: 20px; border: 1px solid var(--line); background: rgba(234,237,240,.04);
}

.cg-proto-sub { font-family: var(--disp); font-style: italic; font-weight: 300; font-size: 1.3rem; line-height: 1.25; color: var(--ink); margin-bottom: 12px; }
.cg-proto-lead { font-size: .84rem; color: var(--ink-2); line-height: 1.6; margin: 0 0 14px; }

.cg-proto-option { padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--line); background: rgba(234,237,240,.025); }
.cg-opt-head { display: flex; align-items: center; gap: 9px; font-family: var(--ui); font-weight: 600; font-size: .86rem; color: var(--ink); margin-bottom: 6px; }
.cg-opt-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
/* Rouge = couleur réelle de la LED (le seul rouge de la page), pas un token de la charte */
.cg-opt-dot--red { background: #E39AA3; box-shadow: 0 0 10px 2px rgba(227,154,163,.5); }
.cg-opt-dot--blue { background: var(--ice-2); box-shadow: 0 0 10px 2px rgba(176,211,236,.55); }
.cg-proto-option p { font-size: .8rem; color: var(--ink-2); line-height: 1.55; margin: 0; }

.cg-moment-block { margin-bottom: 18px; }
.cg-moment-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; margin-bottom: 8px; }
.cg-moment-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--ice-2); }
.cg-moment-head b { font-family: var(--ui); font-weight: 600; font-size: .8rem; color: var(--ice-2); text-transform: uppercase; letter-spacing: .06em; }
.cg-moment-head i { font-size: .74rem; color: var(--ink-3); }
.cg-moment-block p { font-size: .8rem; color: var(--ink-2); line-height: 1.6; margin: 0 0 10px; }

.cg-proto-list { list-style: none; margin: 0; padding: 0; }
.cg-proto-list li { position: relative; padding-left: 15px; font-size: .8rem; color: var(--ink-2); line-height: 1.55; margin-bottom: 7px; }
.cg-proto-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--ice-2); box-shadow: 0 0 6px rgba(176,211,236,.6); }
.cg-proto-list li b { color: var(--ink); font-weight: 600; }

.cg-proto-note { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .74rem; font-style: italic; color: var(--ink-3); line-height: 1.6; }

.cg-proto-freq { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 14px 16px; margin-bottom: 24px; border: 1px solid rgba(176,211,236,.3); background: rgba(176,211,236,.06); }
.cg-proto-freq b { font-family: var(--disp); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.cg-proto-freq span { font-size: .76rem; color: var(--ink-2); }

.cg-proto-timeline { position: relative; padding-left: 22px; }
.cg-proto-timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, var(--ice-2), rgba(176,211,236,.08)); }
.cg-tl-step { position: relative; margin-bottom: 22px; }
.cg-tl-step:last-child { margin-bottom: 0; }
.cg-tl-dot { position: absolute; left: -22px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ice-2); box-shadow: 0 0 10px rgba(176,211,236,.6); }
.cg-tl-step--soft .cg-tl-dot { border-style: dashed; box-shadow: none; }
.cg-tl-when { font-family: var(--ui); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ice-2); margin-bottom: 5px; }
.cg-tl-what { font-size: .8rem; color: var(--ink-2); line-height: 1.55; margin-bottom: 9px; }
.cg-tl-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cg-tl-chips span { font-size: .7rem; color: var(--ink); font-weight: 500; background: rgba(234,237,240,.06); border: 1px solid var(--line); border-radius: 20px; padding: 4px 11px; }
.cg-tl-chips em { font-size: .7rem; color: var(--ink-3); font-style: normal; }

/* ── CTA final : retour à la ligne forcé seulement sur grand écran
   (sur téléphone il coupait le titre en 4 lignes déséquilibrées) ── */
.cg-br { display: none; }
@media (min-width: 641px) { .cg-br { display: inline; } }
