/*
Theme Name: Coaching Hypersensible · Child
Theme URI: https://coachinghypersensible.fr
Description: Theme enfant de GeneratePress pour coachinghypersensible.fr. Contient la direction artistique validee (couleurs, polices, tokens) et le CSS global du site. Le style de base est cantonne aux articles de blog ; les pages codees gardent la main complete sur leurs couleurs.
Author: Swiss K. Strategy
Template: generatepress
Version: 1.0.1
Text Domain: chs-child
*/

/* =========================================================
   TOKENS · Direction artistique validee (brandboard Myriam)
   Variables uniquement : ne peignent rien par elles-memes,
   donc 100% sans danger pour les pages codees.
========================================================= */
:root{
  /* Prune */
  --prune:#4A2545;
  --prune-deep:#2F1530;
  --prune-mid:#6B3A65;
  --prune-light:#F0E7EE;
  /* Terra */
  --terra:#C27B5A;
  --terra-deep:#A45F40;
  --terra-light:#F7E8DE;
  /* Sauge */
  --sauge:#6B8F71;
  --sauge-deep:#557159;
  --sauge-light:#EEF3EF;
  /* Neutres */
  --creme:#FAF6F1;
  --creme-deep:#EDE6DC;
  --creme-warm:#F3EBDE;
  --blanc:#FFFFFF;
  --brun:#3A3632;
  --brun-light:#8A8580;
  --border:#E5DDD0;
  --gold:#E5C794;
  /* Alias (compat pages Seance Declic / Methode LIBRE deja codees) */
  --ink:var(--brun);
  --ink-light:var(--brun-light);
  /* Polices */
  --font-titre:'Marcellus',serif;
  --font-accent:'Instrument Serif',serif;
  --font-corps:'DM Sans',sans-serif;
  /* Rayons */
  --r-sm:8px;
  --r-md:14px;
  --r-lg:20px;
  --r-pill:100px;
  /* Ombres */
  --shadow-soft:0 8px 32px rgba(74,37,69,0.06);
  --shadow-card:0 12px 40px rgba(74,37,69,0.10);
}

/* =========================================================
   AMBIANCE GLOBALE · volontairement minimale et sans risque.
   Police de corps + fond creme + lisibilite. Aucune couleur de
   texte forcee ici, donc rien ne peut deteindre sur les pages codees.
========================================================= */
body{
  font-family:var(--font-corps);
  background:var(--creme);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--terra-light);color:var(--prune);}

/* =========================================================
   STYLE DE BASE · CANTONNE AU CONTENU D'ARTICLE (blog).
   Cible .single .entry-content : uniquement la lecture d'un Article.
   N'atteint JAMAIS les Pages codees (qui contiennent .mb-root),
   car une Page WordPress n'a pas la classe body .single.
   => Plus aucun debordement de couleur sur les hero / sections codees.
========================================================= */
.single .entry-content{ color:var(--brun); }

.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5,
.single .entry-content h6{
  font-family:var(--font-titre);
  color:var(--prune);
  line-height:1.2;
  letter-spacing:-0.01em;
}
.single .entry-content h2{font-size:clamp(1.6rem,3.6vw,2.4rem);}
.single .entry-content h3{font-size:clamp(1.3rem,2.6vw,1.7rem);}

.single .entry-content p{margin:0 0 1.1em;}

.single .entry-content a{
  color:var(--terra-deep);
  text-decoration:underline;
  text-underline-offset:3px;
}
.single .entry-content a:hover{color:var(--terra);}

.single .entry-content strong,
.single .entry-content b{color:var(--prune);}

/* Accent manuscrit (classe .accent dans un article) */
.single .entry-content .accent,
.single .entry-content em.accent{
  font-family:var(--font-accent);
  font-style:italic;
  color:var(--terra-deep);
}

/* Citation */
.single .entry-content blockquote{
  border-left:4px solid var(--terra);
  background:var(--creme-warm);
  padding:18px 24px;
  border-radius:var(--r-md);
  font-family:var(--font-accent);
  font-style:italic;
  font-size:1.2rem;
  color:var(--prune-mid);
  margin:1.4em 0;
}

/* Boutons de bloc dans un article */
.single .entry-content .wp-block-button__link{
  background:var(--terra);
  color:var(--blanc);
  border-radius:var(--r-pill);
}
.single .entry-content .wp-block-button__link:hover{background:var(--terra-deep);}
