﻿/* Photorealisme 3D ? site natif static-first
   Corps: composition type Podia (sombre + accents cyan)
   Shell: accents charte podcast (cyan/violet) sans gabarit podcast forc?
*/
:root {
  --bg: #111111;
  --bg-elevated: #132536;
  --text: #f5f5f5;
  --text-muted: #d4d4d4;
  --accent: #06a0c1;
  --accent-2: #7c5cff;
  --btn-bg: #ffffff;
  --btn-fg: #11284b;
  --max: 1120px;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Scrollbars immersives — charte sombre / cuivre (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: #c87846 #1c181b;
}

/* Scrollbars immersives — WebKit / Chromium / Edge / Safari */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #1c181b;
}

*::-webkit-scrollbar-thumb {
  background: #c87846;
  border-radius: 8px;
  border: 2px solid #1c181b;
}

*::-webkit-scrollbar-thumb:hover {
  background: #d88c58;
}

*::-webkit-scrollbar-corner {
  background: #1c181b;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body.site-body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

/* Accueil SSR : coque sombre VIP (pas de bandes claires entre modules). */
body.site-body.is-home-page {
  background: #111111;
  color: #f0f0f0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header / footer shell: assets/modules/site-header + site-footer */

.site-main {
  min-height: 50vh;
}

.page-section {
  background-color: var(--section-bg, var(--bg));
  padding: 2.25rem 1.25rem;
}
.page-section--has-bg {
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.page-section--has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000000b3, #00000080);
  pointer-events: none;
}
.page-section--has-bg > .page-section__inner {
  position: relative;
  z-index: 1;
}
.page-section__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-section--image:first-of-type .page-section__inner,
.site-main > .page-section:first-of-type .page-section__inner {
  text-align: center;
}
.page-section--hero-home {
  --section-bg: #121223;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.page-section--gallery-spacer {
  padding: 0;
  min-height: max(calc(var(--spacer-br, 26) * 1.35em), 40vh);
  aspect-ratio: var(--spacer-ratio, 9 / 16);
  max-height: 90vh;
}
.page-section--gallery-spacer.page-section--has-bg {
  background-size: cover;
  background-position: center;
}
.section__media--circular img,
.img-circular,
.section__body .rich-text--image img.img-circular,
.section__body img.img-circular {
  border-radius: 50% !important;
  max-width: min(280px, 50%);
  width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.coaching-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: center;
  justify-items: center;
  margin: 0 auto 1.25rem;
  max-width: 520px;
}
.coaching-badges__item {
  margin: 0;
  max-width: 120px;
  width: 100%;
}
.coaching-badges__item img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}
.coaching-badges__item img.img-circular {
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: none;
}
@media (max-width: 520px) {
  .coaching-badges {
    max-width: 100%;
    gap: 0.5rem;
  }
  .coaching-badges__item {
    max-width: 96px;
  }
}
.section__pre {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.section__heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: #fff;
}
.section__sub {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.section__body,
.section__text,
.card__body {
  color: var(--text-muted);
}
.section__body a,
.card__body a {
  color: #fff;
  text-decoration: underline;
}
.section__media {
  margin: 1.25rem 0;
}
.section__media img,
.card img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1.25rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
.btn:hover,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  padding: 1rem;
  border-radius: 6px;
}
.card h3 {
  margin: 0.75rem 0 0.5rem;
  color: #fff;
}

.page-404 {
  max-width: 40rem;
  margin: 4rem auto;
  padding: 0 1.25rem;
  text-align: center;
}
.page-404 a {
  color: var(--accent);
}

/* Local audio placeholder (d?fis) ? no external media */
.site-audio {
  width: 100%;
  box-sizing: border-box;
  margin: 0.75rem 0;
  padding: 1rem 1.1rem;
  background: #141414;
  border: 1px solid #ffffff1a;
  border-radius: 10px;
}
.site-audio__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  background: #181818;
  border-radius: 12px;
}
.site-audio__play {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}
.site-audio__play:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.site-audio__label {
  flex: 0 1 auto;
  color: #e8e8e8;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-audio__bar {
  flex: 1 1 auto;
  height: 0.35rem;
  border-radius: 999px;
  background: #ffffff14;
  overflow: hidden;
}
.site-audio__bar-track {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent, #c9a227);
}
.site-audio__time {
  flex: 0 0 auto;
  width: 2.5rem;
  color: #9a9a9a;
  font-size: 0.75rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.site-audio__native {
  width: 100%;
  margin-top: 0.5rem;
}
.site-audio--coming-soon .site-audio__label {
  color: #cfcfcf;
}

/* ==========================================================================
   Accueil : fond sombre VIP (sections = modules scopés).
   Ne pas cibler body / header / footer depuis ces règles.
   ========================================================================== */
main.page-home.theme-mineral {
  background: #111111;
  color: #f0f0f0;
  min-height: 40vh;
}
