/* ============================================================
   ALS GLOBAL — Audio Ligne Stellaire Birbaum's Atelier
   Source de vérité CSS pour toutes les pages ALS
   Palette : Bleu nuit #11151F · Cuivre #A6644A · Beige #D6C7B3
   ============================================================ */

/* ── Fontes self-hébergées (D6) — VARIABLES, wght 300-500 déclarés ──────
   Cormorant Garamond (normal + italique) + Inter · latin + latin-ext.
   unicode-range identiques à la réponse Google Fonts v21/v20. ─────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/inter-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/inter-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --or:        #C4A97A;
  --or-rose:   #D6C7B3;
  --cuivre:    #A6644A;
  --noir:      #11151F;
  --noir-deep: #090D15;
  --noir-card: #1A1F2E;
  --noir-alt:  #222A39;
  --creme:     #EDE8E0;
  --gris:      #596069;
  --gris-mid:  #98A0AA;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Inter', -apple-system, sans-serif;
  --space-xs:  16px;
  --space-sm:  24px;
  --space-md:  48px;
  --space-lg:  80px;
  --space-xl:  120px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--creme);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: var(--or-rose);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--creme); }

strong { color: var(--or-rose); font-weight: 500; }

/* ============================================================
   HEADER GLOBAL
   ============================================================ */
.als-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 21, 31, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 199, 179, 0.10);
  padding: 0;
}
.als-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.als-header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.als-header__logo img {
  height: 36px;
  width: auto;
  filter: brightness(1.1);
}
.als-header__logo-text {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gris-mid);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.2;
}
.als-header__logo-text span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gris);
}

.als-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.als-header__nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-mid);
  text-decoration: none;
  transition: color var(--transition);
  font-weight: 400;
  border: none;
}
.als-header__nav a:hover,
.als-header__nav a.active {
  color: var(--creme);
}
.als-header__nav a.cta {
  color: var(--or);
  border: 1px solid rgba(196, 169, 122, 0.3);
  padding: 7px 18px;
  transition: all var(--transition);
}
.als-header__nav a.cta:hover {
  background: rgba(196, 169, 122, 0.1);
  border-color: var(--or);
}

/* Burger mobile */
.als-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.als-header__burger span {
  width: 24px;
  height: 1px;
  background: var(--creme);
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .als-header__inner { padding: 0 20px; }
  .als-header__burger { display: flex; }
  .als-header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--noir-deep);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    border-bottom: 1px solid rgba(214, 199, 179, 0.10);
  }
  .als-header__nav.open { display: flex; }
  .als-header__nav a {
    padding: 14px 30px;
    width: 100%;
  }
}

/* ============================================================
   FOOTER GLOBAL — Famille ALS complète
   ============================================================ */
.als-footer {
  background: var(--noir-deep);
  border-top: 1px solid rgba(214, 199, 179, 0.08);
  padding: 60px 0 32px;
}
.als-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.als-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(214, 199, 179, 0.06);
}
@media (max-width: 900px) {
  .als-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .als-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .als-footer__inner { padding: 0 20px; }
}

.als-footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0.8);
}
.als-footer__brand p {
  font-size: 0.88rem;
  color: var(--gris);
  line-height: 1.7;
  max-width: 260px;
}

.als-footer__col h4 {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 20px;
  font-weight: 400;
}
.als-footer__col ul {
  list-style: none;
}
.als-footer__col ul li {
  margin-bottom: 10px;
}
.als-footer__col ul li a {
  font-size: 0.88rem;
  color: var(--gris);
  text-decoration: none;
  transition: color var(--transition);
  border: none;
}
.als-footer__col ul li a:hover { color: var(--creme); }

.als-footer__family {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  flex-wrap: wrap;
}
.als-footer__family-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris);
}
.als-footer__family-links {
  display: flex;
  gap: 20px;
}
.als-footer__family-links a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gris-mid);
  transition: color var(--transition);
  border: none;
}
.als-footer__family-links a:hover { color: var(--or-rose); }
.als-footer__family-links a.active-site { color: var(--or); }

.als-footer__bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.als-footer__copy {
  font-size: 0.78rem;
  color: var(--gris);
  letter-spacing: 0.05em;
}
.als-footer__legal {
  display: flex;
  gap: 20px;
}
.als-footer__legal a {
  font-size: 0.78rem;
  color: var(--gris);
  transition: color var(--transition);
  border: none;
}
.als-footer__legal a:hover { color: var(--gris-mid); }

/* ============================================================
   COMPOSANTS COMMUNS
   ============================================================ */

/* Eyebrow */
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  display: block;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Titres */
.title-xl {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--creme);
  margin-bottom: 28px;
}
.title-xl em, .title-lg em, .title-md em {
  font-style: italic;
  color: var(--or-rose);
}
.title-lg {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--creme);
  margin-bottom: 24px;
}
.title-md {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--creme);
  margin-bottom: 20px;
}

/* Lead */
.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--gris-mid);
  line-height: 1.75;
  max-width: 660px;
}

/* Boutons */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  padding: 13px 32px;
  border: 1px solid var(--or);
  color: var(--or);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border-radius: 0;
}
.btn:hover {
  background: var(--or);
  color: var(--noir);
}
.btn-ghost {
  border-color: rgba(214, 199, 179, 0.3);
  color: var(--or-rose);
}
.btn-ghost:hover {
  background: rgba(214, 199, 179, 0.08);
  border-color: var(--or-rose);
  color: var(--creme);
}

/* Separateur */
.section-divider {
  border: none;
  border-top: 1px solid rgba(214, 199, 179, 0.08);
  margin: 0;
}

/* Wraps */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-lg { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .wrap-lg { padding: 0 20px; } }

/* Citation */
.blockquote-als {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: var(--creme);
  border-left: 2px solid var(--cuivre);
  padding-left: 28px;
  margin: 32px 0;
}

/* Ligne organique décorative */
.organic-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  margin: 0 auto 32px;
}

/* ============================================================
   AJOUTS — Audio Ligne Stellaire (signature footer, cartes
   « en préparation », arbre hero)
   ============================================================ */
.als-footer__signature { height: 30px; width: auto; margin-top: 14px; opacity: .85; }
.als-footer__avenir    { font-size: .88rem; color: var(--gris); font-style: italic; }
.arbre-hero            { width: 100%; height: auto; display: block; }


/* ============================================================
   COMPATIBILITÉ WORDPRESS · DIVI (v1.0.1)
   Divi peint des fonds blancs (body, .et_pb_section) et met nos
   modules Code en boîte (paddings, largeurs). Ce site ne contient
   QUE des modules Code du plugin -> on neutralise la boîte, le
   socle impose sa toile. Sans effet hors WordPress.
   ============================================================ */
html, body { background: var(--noir) !important; }
body {
  color: var(--creme) !important;
  font-family: var(--sans) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  overflow-x: hidden;
}
#page-container, #et-boc, #et-main-area, #main-content,
.et-l, .et_builder_inner_content,
.et_pb_section, .et_pb_row, .et_pb_column,
.et_pb_code, .et_pb_code_inner {
  background: transparent !important;
}
.et_pb_section { padding: 0 !important; }
.et_pb_row {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.et_pb_column { padding: 0 !important; margin: 0 !important; width: 100% !important; }
.et_pb_code, .et_pb_module { margin: 0 !important; }
#page-container { padding-top: 0 !important; overflow: visible !important; }
/* les liens : reprendre la main sur le bleu Divi (body a bat le a de Divi,
   mais perd contre n'importe quelle classe -> les composants gardent leurs couleurs) */
body a { color: var(--or-rose); }
body a:hover { color: var(--creme); }
/* LA règle décisive (v1.0.2) : Divi donne z-index:2 à SES colonnes (header
   ET contenu) -> deux contextes d'empilement à égalité, et le contenu, plus
   tard dans le DOM, peignait PAR-DESSUS tout le header (menu ouvert compris,
   quel que soit le z-index à l'intérieur). On élève le layout du header. */
.et-l--header { position: relative; z-index: 6000 !important; }

/* nav mobile — blindée : valeurs en dur et !important pour survivre à
   n'importe quel environnement. (Le backdrop-filter du header en fait le
   bloc conteneur du panneau fixed -> il reste collé sous la barre, voulu.) */
.als-header { z-index: 5000 !important; }
@media (max-width: 768px) {
  .als-header__nav {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2147483000 !important;
    background: #090D15 !important;
    box-shadow: 0 24px 48px rgba(9, 13, 21, 0.55);
    border-bottom: 1px solid rgba(214, 199, 179, 0.18);
    max-height: calc(100vh - 72px);
    overflow: auto;
  }
}
/* le panneau latéral du manifeste (accueil) ne colle plus sous 900px :
   en une colonne, un sticky ne peut QUE chevaucher le texte qui suit */
@media (max-width: 900px) {
  .manifeste-side { position: static !important; }
}
