/*
Theme Name:   Libre en Conscience Child
Theme URI:    https://libreenconscience.fr
Description:  Child theme pour libreenconscience.fr — Delphine Perrin, Énergéticienne & Mentor à l'Expansion de Conscience
Author:       Libre en Conscience
Template:     astra
Version:      5.7.0
License:      GNU General Public License v2 or later
Text Domain:  libreenconscience-child
*/

/* ============================================================
   PALETTE OFFICIELLE — Terre & Braise
   Chaleureux, enveloppant, mystique — relié à la terre.
   (charte v3 suite aux retours cliente, voir CHARTE-GRAPHIQUE.md)
   BRAISE — Marron nuit : #3a241c   Brun braise : #603b2e
   TERRE  — Sable       : #f2e9da   Brun        : #43382b
   Crème sable : #f8e6c6 · Ambre rituel : #e89850 · Or : #e8c07d
   Rose aurore : réservé au halo des icônes et aux aurores de la home
   Violet      : réservé au hero de la page Formation (ésotérique)
   ============================================================ */

/* Sunborn Sans One — titres H1 (self-hostée).
   ⚠️ Licence « personal use only » : licence commerciale à acquérir
   par la cliente avant mise en ligne (voir CHARTE-GRAPHIQUE.md). */
@font-face {
  font-family: 'Sunborn Sans One';
  src: url('assets/fonts/sunborn-sans-one.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* BRAISE */
  --lec-dark:        #3a241c;   /* marron nuit — fonds sombres, header/footer */
  --lec-indigo:      #603b2e;   /* brun braise — dégradés (nom historique) */
  --lec-card:        #492d23;   /* cartes/encarts sur fond nuit */
  --lec-terracota:   rgb(240,175,122);   /* terracotta — boutons, hover, hover CTA */

  /* TERRE */
  --lec-sand:        #f2e9da;   /* fond des sections terre */
  --lec-sand-deep:   #e7dbc6;   /* variante, bordures */
  --lec-card-light:  #fff;   /* cartes crème sur terre */
  --lec-earth:       #43382b;   /* texte principal sur terre (brun chaud) */
  --lec-earth-soft:  #7d6f5c;   /* texte atténué sur terre */

  /* CONSTANTES */
  --lec-cream:       #f8e6c6;
  --lec-cta:         #f1e6b6;   /* rose poudré profond — LE déclencheur (CTA) */
  --lec-cta-dark:    #b85480;
  --lec-accent:      #e89850;   /* ambre rituel — STRICTEMENT puces ✦ et étoiles */
  --lec-accent-dark: #bd6a2c;
  --lec-gold:        #e8c07d;   /* scintillements (étoiles, particules) */

  /* Alias hérités (sections terre) */
  --lec-bg:          var(--lec-sand);
  --lec-bg-light:    var(--lec-sand);
  --lec-text:        var(--lec-earth);
  --lec-text-light:  var(--lec-earth-soft);
  --lec-brown:       var(--lec-indigo);  /* ex-améthyste : les dégradés nuit en héritent */

  /* MYSTIQUE RÉSIDUEL — halo des icônes + aurores de la home uniquement */
  --lec-rose-light:  #ffd9e0;
  --lec-rose:        #f4a6bd;
  --lec-rose-deep:   #d76e9b;
  --lec-violet:      #7b4a9e;   /* réservé au hero Formation */
  --lec-rose-glow:   rgba(244,166,189,.55);
  --lec-halo-glow:   rgba(240,225,190,.5);   /* halo beige des icônes portails (ex-rose) */
  --lec-shell:       rgba(101,72,56,.84);    /* chrome brun : header, footer, bande CTA home */

  --lec-font-display: 'Sunborn Sans One', 'Arial Black', sans-serif;
  --lec-font-heading: 'proxima-nova', 'Mulish', sans-serif;
  --lec-font-body:    'proxima-nova', 'Mulish', sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */

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

body {
  font-family: var(--lec-font-body);
  color: var(--lec-text);
  /* !important : le CSS inline du customizer Astra impose un fond blanc.
     Le body reste braise (marron nuit) ; les sections de contenu apportent la terre. */
  background: #fff !important;
  line-height: 1.75;
  margin: 0;
}

/* Par défaut les titres vivent sur les sections terre (beige) ;
   les blocs nuit redéfinissent leur couleur explicitement. */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--lec-font-heading);
  color: var(--lec-earth);
  line-height: 1.2;
  font-weight: 700;
}

/* H1 — Sunborn Sans One, majuscules, respiration large */
h1 {
  font-family: var(--lec-font-display);
  font-weight: 400;
  text-transform: uppercase;
}

a { color: var(--lec-cta); transition: color .3s; }
a:hover { color: var(--lec-cta-dark); }

/* Liens de contenu : la couleur ne change pas au survol.
   Le !important est nécessaire — Astra impose son bleu nuit via un CSS inline
   injecté dans wp_head, donc après cette feuille.
   Restreint aux liens SANS classe : boutons, logo, réseaux et lien « avis »
   pilotent leur propre survol, et un a:hover global écraserait leurs règles
   (le texte des boutons deviendrait invisible au survol). */
a:not([class]):hover,
a:not([class]):focus {
    color: inherit !important;
}

img { max-width: 100%; height: auto; }

/* ============================================================
   ASTRA OVERRIDES — FULL WIDTH
   ============================================================ */

body.lec-fullwidth .ast-container,
body.lec-fullwidth #content.ast-container,
body.lec-fullwidth .ast-layout-boxed-container,
body.lec-fullwidth #primary,
body.lec-fullwidth #content,
body.lec-fullwidth .site-content,
body.lec-fullwidth .entry-content,
body.lec-fullwidth .hentry,
body.lec-fullwidth .ast-article-single,
body.lec-fullwidth article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
  box-shadow: none !important;
  background: none !important;
}

body.lec-fullwidth .entry-title,
body.lec-fullwidth .ast-archive-description {
  display: none !important;
}

/* ============================================================
   HEADER — toujours visible, sticky, fond sombre
   ============================================================ */

.site-header,
#masthead,
body.lec-is-home .site-header,
body.lec-is-home #masthead {
  background: var(--lec-shell) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  border-bottom: 1px solid rgba(248,230,198,.15) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.3) !important;
  backdrop-filter: none !important;
}

/* Logo texte */
.site-title,
.ast-site-title {
  white-space: nowrap !important;
}

.site-title a,
.ast-site-title a,
.site-title a:visited,
.ast-site-title a:visited,
.site-title a:hover,
.ast-site-title a:hover {
  font-family: var(--lec-font-display) !important;   /* même font que le H1 hero (Sunborn Sans One) */
  text-transform: uppercase !important;              /* Sunborn = tout-capitales : « LIBRENCONSCIENCE », réplique du hero */
  /* Fluide : tient sur une seule ligne même sur iPhone (393px) */
  font-size: clamp(1rem, 3.8vw, 1.4rem) !important;
  color: var(--lec-cream) !important;
  letter-spacing: .04em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.site-description,
.ast-site-description {
  color: rgba(248,230,198,.55) !important;
  font-size: .72rem !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}

/* Logo (symbole hamsa) avant le titre dans le header */
.site-branding .ast-site-identity,
.ast-site-identity {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.lec-logo-mark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--lec-cream);
  flex: none;
  transition: color .3s;
}
.lec-logo-mark:hover { color: var(--lec-rose); }

.lec-logo-mark__svg {
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .lec-logo-mark__svg { height: 34px; }
}

/* Nav — tous les sélecteurs Astra possibles */
.main-navigation a,
.ast-main-navigation a,
#site-navigation a,
.ast-primary-menu > li > a,
#ast-desktop-header .main-navigation a,
.main-header-bar .main-navigation a,
.ast-header-break-point .main-navigation a,
#masthead .main-navigation a,
.site-header .main-navigation a {
  color: var(--lec-shell) !important;
  font-size: .82rem !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}

.main-navigation a:hover,
.ast-main-navigation a:hover,
#site-navigation a:hover,
.ast-primary-menu > li > a:hover,
#masthead .main-navigation a:hover {
  color: var(--lec-rose) !important;
}

/* ============================================================
   BOUTONS
   ============================================================ */

.lec-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--lec-font-body);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

/* CTA principal : rose poudré — le déclencheur (hover : marron nuit) */
.lec-btn--primary,
.lec-btn--accent {
  background: var(--lec-cta);
  color: white;
  border-color: var(--lec-cta);
}
.lec-btn--primary:hover,
.lec-btn--accent:hover {
  background: var(--lec-dark);
  color: var(--lec-cream);
  border-color: var(--lec-dark);
}

/* Marron nuit — boutons neutres (page Level Up, contextes sobres) */
.lec-btn--night,
.lec-btn--brown {
  background: var(--lec-dark);
  color: var(--lec-cream);
  border-color: var(--lec-dark);
}
.lec-btn--night:hover,
.lec-btn--brown:hover {
  background: var(--lec-indigo);
  border-color: var(--lec-indigo);
  color: var(--lec-cream);
}

.lec-btn--terra {
  /* Dégradé vertical pêche → terracotta (réf. cliente 09/07/2026) */
  background: linear-gradient(180deg, #FFAD74 0%, #CA8D5D 100%);
  color: var(--lec-dark);
  border: none;
}

.lec-btn--terra:hover {
  color: white;
}

.lec-btn--outline-night {
  background: transparent;
  color: var(--lec-dark);
  border-color: var(--lec-dark);
}
.lec-btn--outline-night:hover {
  background: var(--lec-dark);
  color: var(--lec-cream);
}

.lec-btn--cream {
  background: var(--lec-cream);
  color: var(--lec-dark);
  border: none;
}
/* Hover : reste REMPLI en brun braise (lisible sur fond sable ET sur price-box
   marron nuit). L'ancien `background: transparent` disparaissait sur le sable. */
.lec-btn--cream:hover {
  background: linear-gradient(180deg, #FFAD74 0%, #CA8D5D 100%);
  color: white;
  border: none;
}

.lec-btn--outline-cream {
  background: transparent;
  color: var(--lec-cream);
  border-color: var(--lec-cream);
}
.lec-btn--outline-cream:hover {
  background: var(--lec-cream);
  color: var(--lec-dark);
}

.lec-btn--lg { padding: 18px 44px; font-size: .95rem; }

/* ============================================================
   HOMEPAGE — HERO VIDÉO
   ============================================================ */

.lec-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Variante immersive : hauteur souple, le contenu déborde sur mobile */
.lec-hero--immersive {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 24px 72px;
}

/* Variante veillée braise : sans vidéo (en attendant celle de la cliente),
   le hero est un marron nuit profond — les aurores et particules l'habillent. */
.lec-hero--sky {
  /* Plateau final : les ~18 derniers % restent sur le brun braise constant,
     comme les premiers % de la section suivante — sans changement de
     pente à la jonction, l'œil ne perçoit aucune ligne (bande de Mach). */
  background: linear-gradient(180deg,
    #2c1b15 0%,
    var(--lec-dark) 45%,
    var(--lec-indigo) 82%,
    var(--lec-indigo) 100%);
}

.lec-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lec-hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Source verticale (576x848) : en cover sur un hero large, ~42% de la hauteur
     reste visible. Le sujet (couronne éclairée) est centré verticalement, donc on
     garde le cadrage au centre. */
  object-position: 50% 95%;
}

.lec-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(58,36,28,.6) 0%,
    rgba(58,36,28,.3) 45%,
    rgba(58,36,28,.65) 100%
  );
}

.lec-hero__content {
  position: relative;
  z-index: 2;
  max-width: min(860px, 90vw);
  width: 100%;
  box-sizing: border-box;
}

.lec-hero__brand {
  font-family: var(--lec-font-display);
  font-size: clamp(1.4rem, 2.5vw, 5rem);
  font-weight: 400;
  color: var(--lec-cream);
  
  line-height: 1;
  margin: 0 0 18px;
  text-shadow: rgba(101,72,56,.84) 3px 0 10px;   /* halo marron (retour cliente) */
  white-space: nowrap;
}

.lec-hero__tagline {
  font-family: var(--lec-font-heading);
  font-style: italic;
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  color: var(--lec-cream);
  opacity: .9;
  margin-bottom: 20px;
  text-shadow: rgba(101,72,56,.84) 3px 0 10px;   /* même halo marron que le h1 */
}

.lec-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(248,230,198,.7);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
}

.lec-hero__scroll svg { animation: lec-bounce 2s ease-in-out infinite; }

@keyframes lec-bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ============================================================
   HERO — VOILE AURORE ROSE AMBIANT
   Deux nappes radiales floues qui dérivent lentement au-dessus
   de la vidéo (blend screen), sous le contenu.
   ============================================================ */

.lec-hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
  /* Fondu haut/bas : les nappes s'éteignent avant les bords du hero
     (header en haut, jonction de section en bas). */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 82%, transparent 100%);
}

.lec-hero__aurora::before,
.lec-hero__aurora::after {
  content: '';
  position: absolute;
  width: 65vmax;
  height: 65vmax;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.lec-hero__aurora::before {
  top: -22%;
  left: -18%;
  opacity: .22;
  background: radial-gradient(closest-side,
    rgba(244,166,189,.75), rgba(215,110,155,.25) 55%, transparent 75%);
  animation: lec-aurora-drift-a 28s ease-in-out infinite alternate;
}

/* Nappe basse : maintenue à distance du bord inférieur (blur 70px) pour
   que le blend "screen" ne crée pas de marche à la jonction de sections. */
.lec-hero__aurora::after {
  bottom: 8%;
  right: -14%;
  opacity: .18;
  background: radial-gradient(closest-side,
    rgba(255,233,205,.8), rgba(232,192,125,.25) 60%, transparent 78%);
  animation: lec-aurora-drift-b 34s ease-in-out infinite alternate;
}

@keyframes lec-aurora-drift-a {
  0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(14vw, 10vh, 0) scale(1.18) rotate(10deg); }
  100% { transform: translate3d(5vw, 20vh, 0) scale(.92) rotate(-8deg); }
}
@keyframes lec-aurora-drift-b {
  0%   { transform: translate3d(0,0,0) scale(1.05); }
  50%  { transform: translate3d(-12vw, -8vh, 0) scale(.9) rotate(-12deg); }
  100% { transform: translate3d(-4vw, -18vh, 0) scale(1.2) rotate(6deg); }
}

/* ============================================================
   PARTICULES FLOTTANTES (poussière d'étoiles)
   Voile fixe couvrant toute la page d'accueil — sous le header
   (z-index 999), au-dessus des fonds de sections.
   Les spans .lec-particle sont générés par main.js, temporisés
   par variables CSS (--x, --size, --duration, --delay, --drift, --o).
   ============================================================ */

.lec-particles {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.lec-particle {
  position: absolute;
  left: var(--x);
  bottom: -10px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,244,224,.95), rgba(232,192,125,.4) 60%, transparent);
  box-shadow: 0 0 6px 1px rgba(232,192,125,.5);
  opacity: 0;
  animation: lec-particle-rise var(--duration) linear var(--delay) infinite;
}

@keyframes lec-particle-rise {
  0%   { transform: translate3d(0,0,0); opacity: 0; }
  8%   { opacity: var(--o); }
  85%  { opacity: var(--o); }
  100% { transform: translate3d(var(--drift), -105vh, 0); opacity: 0; }
}

/* ============================================================
   HERO — APPARITION DOUCE À L'ARRIVÉE
   ============================================================ */

@keyframes lec-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* fill-mode backwards : l'état "from" couvre le délai, puis l'animation
   se retire — les transitions hover reprennent la main sur transform. */
.lec-hero--immersive .lec-hero__brand,
.lec-hero--immersive .lec-hero__tagline,
.lec-hero--immersive .lec-hero__scroll {
  animation: lec-fade-up 1.1s cubic-bezier(.22,.61,.36,1) backwards;
}

.lec-hero--immersive .lec-hero__brand   { animation-delay: .3s; }
.lec-hero--immersive .lec-hero__tagline { animation-delay: .65s; }
.lec-hero--immersive .lec-hero__scroll  { animation-delay: 1.2s; }

/* ============================================================
   ÉTOILES SCINTILLANTES — heros des pages internes
   Spans .lec-star générés par main.js (initPageStars),
   positions/tailles/délais via variables CSS.
   ============================================================ */

.lec-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lec-star {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,244,224,.95), rgba(232,192,125,.4) 60%, transparent);
  box-shadow: 0 0 6px 1px rgba(232,192,125,.45);
  animation: lec-twinkle var(--duration) ease-in-out var(--delay) infinite alternate;
}

@keyframes lec-twinkle {
  from { opacity: .15; }
  to   { opacity: .8; }
}

/* ============================================================
   ACCESSIBILITÉ — mouvement réduit
   L'aurore reste visible mais figée ; particules masquées.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .lec-hero__aurora::before,
  .lec-hero__aurora::after,
  .lec-hero__scroll svg {
    animation: none;
  }
  .lec-particles { display: none; }
  .lec-star { animation: none; opacity: .5; }
  .lec-hero--immersive .lec-hero__brand,
  .lec-hero--immersive .lec-hero__tagline,
  .lec-hero--immersive .lec-hero__scroll {
    animation: none;
  }
}

/* ============================================================
   LEAD MAGNET BANNER
   ============================================================ */

.lec-leadmagnet {
  background: var(--lec-shell);
  padding: 50px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lec-leadmagnet::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,166,189,.18) 0%, transparent 70%);
}

.lec-leadmagnet__eyebrow {
  display: block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--lec-gold);
  margin-bottom: 10px;
}

.lec-leadmagnet h3 {
  font-family: var(--lec-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--lec-cream);
  margin-bottom: 24px;
}

.lec-leadmagnet p {
  color: rgba(248,230,198,.8);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1rem;
}

/* ============================================================
   BIO / À PROPOS — HOMEPAGE
   ============================================================ */

/* Bio : section terre — l'incarnation */
.lec-bio {
  background: #fff;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.lec-bio::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,166,189,.08) 0%, transparent 70%);
}

.lec-bio__inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: center;
}

@media (max-width: 860px) {
  .lec-bio__inner { grid-template-columns: 1fr; }
}

.lec-bio__photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.lec-bio__photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid rgba(67,56,43,.15);
  box-shadow: 0 0 0 12px rgba(67,56,43,.05);
}

.lec-bio__title {
  font-family: var(--lec-font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--lec-earth);
  margin-bottom: 12px;
  line-height: 1.2;
}

.lec-bio__subtitle {
  font-family: var(--lec-font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--lec-earth-soft);
  margin-bottom: 12px;
  line-height: 1.4;
}

.lec-bio__text p {
  color: var(--lec-earth);
  opacity: .88;
  margin-bottom: 14px;
  font-size: 1rem;
}

.lec-bio__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.lec-bio__reviews {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--lec-earth);
  font-size: .85rem;
  text-decoration: none;
  border: 1px solid rgba(67,56,43,.3);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all .3s;
}

.lec-bio__reviews:hover {
  background: rgba(67,56,43,.06);
  color: var(--lec-earth);
  border-color: var(--lec-earth);
}

/* ============================================================
   RÉSEAUX SOCIAUX — bloc terre, sous la bio (page d'accueil)
   ============================================================ */

.lec-social {
  padding: 70px 24px;
}

.lec-social__inner {
  max-width: 860px;
  margin: 0 auto;
}

.lec-social__title {
  font-size: 1.55rem;
  text-align: center;
  margin: 0 0 44px;
}

.lec-social__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}

.lec-social__link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--lec-earth);
  text-decoration: none;
  transition: color .3s, transform .3s;
}

a.lec-social__link:hover {
  color: var(--lec-terracota);
  transform: translateX(3px);
}

/* Réseau annoncé mais dont le lien n'est pas encore renseigné :
   affiché, jamais cliquable — pas de lien mort. */
.lec-social__link--soon { cursor: default; opacity: .5; }

.lec-social__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lec-card-light);
  border: 1px solid var(--lec-sand-deep);
  transition: border-color .3s, box-shadow .3s;
}

a.lec-social__link:hover .lec-social__icon {
  border-color: var(--lec-terracota);
  box-shadow: 0 0 18px 2px var(--lec-halo-glow);
}

.lec-social__icon svg { width: 22px; height: 22px; }

.lec-social__label {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.lec-social__note {
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lec-earth-soft);
}

@media (max-width: 620px) {
  .lec-social { padding: 50px 20px; }
  .lec-social__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BANDEAU URGENCE (pour accompagnement)
   ============================================================ */

.lec-urgency {
  background: #7e6558;
  padding: 20px 24px;
  text-align: center;
}

.lec-urgency p {
  color: #fff;
  font-size: .9rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: .05em;
}

/* ============================================================
   PAGE HERO (pages internes)
   ============================================================ */

.lec-page-hero {
  padding: 190px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 800px) {
	.lec-page-hero {
		padding: 600px 24px 80px;
	}
}

/* Repli sans photo : dégradé nuit neutre */
.lec-page-hero--accompagnement {
  background: linear-gradient(160deg, var(--lec-dark) 0%, var(--lec-indigo) 60%, #925946 100%);
}

/* Bannière photo : image de fond + voile marron nuit pour la lisibilité.
   « Les bannières Level Up illustrées par des images plutôt que des
   bandes de couleur » — retour cliente. */
.lec-page-hero--photo .lec-page-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.lec-page-hero--photo .lec-page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58,36,28,.72) 0%,
    rgba(58,36,28,.35) 45%,
    rgba(58,36,28,.78) 100%
  );
}

.lec-page-hero--photo .lec-page-hero__eyebrow,
.lec-page-hero--photo .lec-page-hero__title,
.lec-page-hero--photo .lec-page-hero__sub {
  position: relative;
}

.lec-page-hero--photo .lec-page-hero__title {
  text-shadow: 0 3px 30px rgba(29,18,14,.7);
}

/* Formation : seul territoire où le violet subsiste (enseignement ésotérique) */
.lec-page-hero--formation {
  background: linear-gradient(160deg, var(--lec-violet) 0%, #513a75 55%, var(--lec-indigo) 100%);
}

.lec-page-hero--agenda {
  background: linear-gradient(160deg, var(--lec-indigo) 0%, var(--lec-dark) 50%, #925946 100%);
}

.lec-page-hero--produit {
  background: linear-gradient(160deg, var(--lec-indigo) 0%, var(--lec-dark) 60%, #925946 100%);
}

.lec-page-hero__eyebrow {
  display: block;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--lec-rose-light);
  margin-bottom: 12px;
}

.lec-page-hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--lec-cream);
  margin-bottom: 16px;
}

.lec-page-hero__sub {
  font-family: var(--lec-font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(248,230,198,.85);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   SECTION LEVEL UP — ACCOMPAGNEMENT
   ============================================================ */

.lec-levelup {
  padding: 90px 24px;
  background: #fff;
}

.lec-levelup__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .lec-levelup__inner { grid-template-columns: 1fr; }
}

.lec-levelup__tag {
  display: inline-block;
  background: var(--lec-dark);
  color: var(--lec-cream);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  font-weight: 700;
}

.lec-levelup h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.lec-levelup p { color: var(--lec-text-light); margin-bottom: 14px; }

.lec-levelup__price-box {
  background: #7e6558;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lec-levelup__price-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,166,189,.22) 0%, transparent 70%);
}

.lec-levelup__price-label {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(248,230,198,.6);
  margin-bottom: 6px;
  display: block;
}

.lec-levelup__price-old {
  font-size: 1.2rem;
  color: rgba(248,230,198,.4);
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
}

.lec-levelup__price-current {
  font-family: var(--lec-font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--lec-cream);
  line-height: 1;
  display: block;
}

.lec-levelup__price-mention {
  font-size: .8rem;
  color: rgba(248,230,198,.85);
  margin: 6px 0 28px;
  display: block;
  font-weight: 700;
}

.lec-levelup__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.lec-levelup__features li {
  color: rgba(248,230,198,.85);
  font-size: .9rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(248,230,198,.1);
  padding-left: 20px;
  position: relative;
}

.lec-levelup__features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--lec-accent);
  font-size: .65rem;
  top: 10px;
}

/* ============================================================
   PRODUIT NUMÉRIQUE — section dans accompagnement
   ============================================================ */

.lec-produit {
  background: #fff;
  padding: 80px 24px;
}

.lec-produit__inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 640px) {
  .lec-produit__inner { grid-template-columns: 1fr; }
}

.lec-produit__cover {
  display: block;
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(67,56,43,.3);
}

.lec-produit h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.lec-produit p { color: var(--lec-text-light); margin-bottom: 20px; font-size: .95rem; }

/* Description du guide — contenu venant de l'éditeur riche (gras, italique, listes, citations…). */
.lec-produit__desc {
  color: var(--lec-text-light);
  font-size: .95rem;
  margin-bottom: 20px;
}
.lec-produit__desc p,
.lec-produit__desc ul,
.lec-produit__desc ol,
.lec-produit__desc blockquote { margin: 0 0 12px; }
.lec-produit__desc > *:last-child { margin-bottom: 0; }
.lec-produit__desc ul,
.lec-produit__desc ol { padding-left: 20px; }
.lec-produit__desc li { margin-bottom: 4px; }
.lec-produit__desc blockquote {
  padding-left: 14px;
  border-left: 3px solid var(--lec-cta);
  font-style: italic;
}
.lec-produit__desc a { color: var(--lec-earth); text-decoration: underline; }

.lec-produit__price {
  font-family: var(--lec-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lec-earth);
  margin-bottom: 20px;
  display: block;
}

/* ============================================================
   FORMATION — CARTOUCHES
   ============================================================ */

.lec-formations {
  padding: 90px 24px;
  background: #fff;
}

.lec-formations__grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 50px auto 0;
}

@media (max-width: 700px) {
  .lec-formations__grid { grid-template-columns: 1fr; }
}

.lec-fcard {
  background: var(--lec-card-light);
  border: 1px solid var(--lec-sand-deep);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(67,56,43,.14);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.lec-fcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(67,56,43,.22);
}

.lec-fcard__header {
  background: var(--lec-shell);
  padding: 24px 28px 20px;
}

.lec-fcard__date {
  display: inline-block;
  background: rgb(203,188,178);
  color: var(--lec-shell);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  font-weight: 700;
}

.lec-fcard__title {
  font-family: var(--lec-font-heading);
  font-size: 1.5rem;
  color: var(--lec-cream);
  margin: 0;
}

.lec-fcard__body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lec-fcard__desc {
  color: var(--lec-text-light);
  font-size: .93rem;
  flex: 1;
  margin-bottom: 18px;
  line-height: 1.65;
}

/* Contenu venant de l'éditeur riche (gras, italique, listes, citations…). */
.lec-fcard__desc p,
.lec-fcard__desc ul,
.lec-fcard__desc ol,
.lec-fcard__desc blockquote { margin: 0 0 12px; }
.lec-fcard__desc > *:last-child { margin-bottom: 0; }
.lec-fcard__desc ul,
.lec-fcard__desc ol { padding-left: 20px; }
.lec-fcard__desc li { margin-bottom: 4px; }
.lec-fcard__desc blockquote {
  padding-left: 14px;
  border-left: 3px solid var(--lec-cta);
  font-style: italic;
}
.lec-fcard__desc a { color: var(--lec-earth); text-decoration: underline; }

.lec-fcard__price {
  font-family: var(--lec-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lec-earth);
  margin-bottom: 16px;
  display: block;
}

/* ============================================================
   AGENDA — ÉVÉNEMENTS
   ============================================================ */

.lec-events {
  padding: 90px 24px;
  background: #fff;
}

.lec-events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.lec-ecard {
  background: var(--lec-card-light);
  border: 1px solid var(--lec-sand-deep);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(67,56,43,.14);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.lec-ecard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(67,56,43,.22);
}

/* ------------------------------------------------------------
   Cartes agenda + formation : le reset pleine-largeur
   `body.lec-fullwidth article { background:none; box-shadow:none !important }`
   (voir haut du fichier) écrase le fond ET l'ombre des cartes (ce sont des
   <article>). On les réaffirme ici avec une spécificité (0,2,1) > (0,1,2)
   pour redonner le fond crème et le volume. Boutons internes en greige.
   ------------------------------------------------------------ */
.lec-events article.lec-ecard,
.lec-formations article.lec-fcard {
  background: var(--lec-card-light) !important;                     /* #fbf7ef — fond crème réel */
  box-shadow: 0 12px 34px rgba(67,56,43,.20),
              0 3px 10px rgba(67,56,43,.10) !important;             /* volume au repos */
}
.lec-events article.lec-ecard:hover,
.lec-formations article.lec-fcard:hover {
  box-shadow: 0 20px 55px rgba(67,56,43,.28) !important;           /* lift au hover (translateY existant) */
}

/* Boutons DANS les cartes : greige au repos → rose CTA au hover.
   Portée limitée aux cartes (les boutons calendrier/lead-magnet hors carte
   gardent leur style). (0,2,0) bat .lec-btn--primary/--cream (0,1,0). */
.lec-ecard .lec-btn,
.lec-fcard .lec-btn {
  background: rgb(203,188,178);
  border-color: rgb(203,188,178);
  color: white;
}
.lec-ecard .lec-btn:hover,
.lec-fcard .lec-btn:hover {
  background: var(--lec-cta);
  border-color: var(--lec-cta);
  color: var(--lec-shell);
}

.lec-ecard__visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.lec-ecard__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Illustrations entières sur leur fond d'origine (logo festival,
   mandala formations) — pas de recadrage */
.lec-ecard--festival .lec-ecard__visual img {
  object-fit: contain;
  background: #f7f4e9;
  padding: 8px;
}

/* Mandala transparent : flotte sur le dégradé de la carte */
.lec-ecard--formation-link .lec-ecard__visual img {
  object-fit: contain;
  padding: 10px;
}

.lec-ecard--retraite .lec-ecard__visual {
  background: linear-gradient(135deg, var(--lec-indigo), var(--lec-sand));
}
.lec-ecard--webinaire .lec-ecard__visual {
  background: linear-gradient(135deg, var(--lec-dark), var(--lec-indigo));
}
.lec-ecard--festival .lec-ecard__visual {
  background: linear-gradient(135deg, var(--lec-indigo), var(--lec-rose-light));
}
.lec-ecard--formation-link .lec-ecard__visual {
  background: linear-gradient(135deg, var(--lec-indigo), var(--lec-cream));
}

.lec-ecard__body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }

.lec-ecard__date {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lec-gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.lec-ecard__title {
  font-family: var(--lec-font-heading);
  font-size: 1.35rem;
  color: var(--lec-earth);
  margin: 0 0 8px;
}

.lec-ecard__desc {
  color: var(--lec-text-light);
  font-size: .88rem;
  flex: 1;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer, #colophon {
  background: var(--lec-shell) !important;
  color: rgba(248,230,198,.7);
  border-top: 1px solid rgba(248,230,198,.15);
  padding: 0 !important;
  text-align: center;
}

/* Sans padding : neutraliser aussi le wrapper/section du builder de footer Astra
   (sinon 20px haut/bas + 10px de marge y subsistent). */
.site-footer .site-below-footer-wrap,
#colophon .site-below-footer-wrap,
.site-footer .site-footer-section,
#colophon .site-footer-section {
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer a, #colophon a {
  color: var(--lec-cream);
}
/* !important : les liens du footer n'ont pas de classe, ils sont donc visés
   par la neutralisation du survol des liens de contenu (voir plus haut). */
.site-footer a:hover, #colophon a:hover {
  color: var(--lec-rose) !important;
}

.site-footer .ast-footer-copyright,
#colophon .ast-footer-copyright {
  color: rgba(248,230,198,.5);
  font-size: .8rem;
}

/* ============================================================
   UTILS
   ============================================================ */

.lec-section {
  padding: 60px 24px;
  background: var(--lec-sand);
}

.lec-section > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.lec-section-center { text-align: center; }

.lec-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 18px; }
.lec-section p { color: var(--lec-text-light); margin-bottom: 14px; font-size: 1rem; }

/* ============================================================
   PAGE PRODUITS — catalogue (terre)
   ============================================================ */

.lec-offers {
  background: var(--lec-sand);
  padding: 40px 24px 90px;
}

.lec-offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.lec-offer-card {
  background: var(--lec-card-light);
  border: 1px solid var(--lec-sand-deep);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 4px 24px rgba(67,56,43,.14);
  display: flex;
  flex-direction: column;
}

.lec-offer-card__title {
  font-family: var(--lec-font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--lec-earth);
  margin-bottom: 6px;
}

.lec-offer-card__price {
  font-family: var(--lec-font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--lec-earth);
  margin-bottom: 14px;
}

.lec-offer-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.lec-offer-card__features li {
  color: var(--lec-earth-soft);
  font-size: .92rem;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid var(--lec-sand-deep);
}

.lec-offer-card__features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--lec-accent);
  font-size: .65rem;
}

.lec-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--lec-indigo), var(--lec-cta), var(--lec-sand));
  border: none;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .lec-hero__brand { font-size: clamp(1.1rem, 7.5vw, 1.3rem); white-space: nowrap; }
  .lec-bio { padding: 60px 20px; }
  .lec-bio__photo { width: 220px; height: 220px; }
  .lec-levelup, .lec-produit, .lec-formations, .lec-events { padding: 60px 20px; }
}

/* ============================================================
   ASTRA BUTTONS OVERRIDE
   ============================================================ */

.ast-button, .button, input[type="submit"] {
  background: var(--lec-dark) !important;
  border-color: var(--lec-dark) !important;
  border-radius: 50px !important;
  color: var(--lec-cream) !important;
}

.ast-button:hover, .button:hover, input[type="submit"]:hover {
  background: var(--lec-cta) !important;
  border-color: var(--lec-cta) !important;
  color: #fff !important;
}
