/* =========================================
   Pages spécifiques
========================================= */

.page-article .site-nav li {
  margin-bottom: 0;
}

/* LAYOUT */
.page-article .center {
  padding: 10px 0;
}

.article-title {
  max-width: 600px;
  margin: 0 auto;
}

figure {
  margin: 0 auto;
}

.intro-article {
  margin-top: 20px;
}


/* LISTES */
.page-article li {
  margin-bottom: 0.6rem;
}

.valide {
  list-style: none;
  padding-left: 0;
}

.valide li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.valide li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-terracotta);
  font-weight: 700;
}


/*  LIENS  */
.liens {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid #ddd;
}

.liens .keyword-text {
  font-weight: 600;
}

.liens ul {
  list-style: none;
  padding-left: 0;
}

.liens li {
  margin-bottom: 8px;
}

.liens a {
  color: var(--marron12);
  font-weight: 600;
  text-decoration: none;
}

.lien a {
  color: #096a09;
  font-weight: 500;
  text-decoration: underline dotted; 
}

.liens a:hover,
.article-nav a:hover {
  text-decoration: underline;
}


/*  TEXTES  */
.highlight {
  color: var(--vert5);
  font-weight: 600;
  font-size: 1.1rem;
}


/* TITRES */
.title-tag {
  letter-spacing: 3px;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-terracotta);
}

.page-article h1 {
 /*font-size: 1.85rem;*/
  margin: 5px;
  color: var(--marron12);
}

.highlight-h1 {
  color: var(--accent-terracotta);
}

.subtitle-h1 {
  font-size: 1.6rem;
}

.page-article h2 {
  margin: 30px 0 10px;
}

.page-article .title-small {  
  font-family: "Quicksand", sans-serif;
  text-align: left;
  font-weight: 600;
  margin-top: 20px;
  color: var(--vert5);
  font-size: 1.02rem;
}

/*  ARTICLE FOOTER  */
.article-footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(9, 106, 9, 0.2);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.article-nav-prev,
.article-nav-next {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  max-width: 48%;
}

.article-nav-next {
  text-align: right;
  align-items: flex-end;
}

.article-nav-prev span,
.article-nav-next span {
  color: var(--marron12);
  font-weight: 600;
  font-size: 15px;
}


/* CTA */
.page-article .cta-btn {
  max-width: 600px;
}

.page-piliers .cta-btn,
.page-parcours .cta-btn {
  max-width: 450px;
}

.marque img {
  padding-top: 30px;
}


/* PAGE TEMOIGNAGES */
.page-temoignages {
  max-width: 860px;
  margin: auto;
}

.enfant-video {
  text-align: center;
  border-radius: 16px;
  margin: 35px 0;
}

.enfant-video p {
  font-weight: 600;
  color: var(--vert-profond);
  margin-bottom: 10px;
}

.enfant-video video {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.temoignage-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 20px 28px;
  margin: 28px 0;

  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  border: 1px solid rgba(168,195,176,0.35);

  transition: none;
}

.temoignage-card:hover {
  transform: none;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.temoignage-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--marron12);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  text-align: center;
  margin-top: 5px;
}

.temoignage-card h3::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background: var(--vert-doux);
  margin: 6px auto 0;
  border-radius: 2px;
}

.temoignage-card p {
  position: relative;
  padding: 0 10px;
  line-height: 1.75;
}

.temoignage-card p::before {
  content: "“";
  position: absolute;
  left: -5px;
  top: -8px;
  font-size: 32px;
  color: var(--vert-doux);
  opacity: 0.6;
}

.temoignage-parent {
  padding-top: 10px;
}

.temoignage-parent h4 {
  margin: 0;
  color: var(--marron12);
  font-size: 1rem;
  text-align: center;
}

.page-temoignages .cta-article {
  text-align: center;
  margin: 40px 0 30px;
  padding: 25px 20px;

  background: rgba(168,195,176,0.12);
  border-radius: 14px;
  color: var(--marron12);
}

.page-temoignages .signature-therapeute {
  text-align: center;
  margin: 60px auto 40px;
  max-width: 450px;
  padding: 0 20px;
}

.page-temoignages .signature-therapeute p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--marron12);
  margin-bottom: 15px;
}

.page-temoignages main,
.page-blog main {
  padding-top: 30px;
}


/* PAGE BLOG */
.page-blog h3 {
  color: var(--vert5);
  margin-top: 20px;
}

.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.page-blog .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-blog .card-body h3 {
  min-height: 3em; /* ajuste si besoin */
  margin-top: 20px;
}

.page-blog .card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-blog .card img {
  max-height: 200px;
  object-fit: cover;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.publication {
  font-size: 13px;
}

.page-blog .chip {
  border: none;
  font-size: 15px;
  color: var(--vert5);
  font-weight: 600;
}


/* PAGE PILIERS */
.principes-sophro {
  border-radius: 16px;
  padding: 24px 24px 20px 28px;
  margin: 28px auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  border: 1px solid rgba(168,195,176,0.35);
}

.principes-sophro h3 {
  text-align: center;
  margin: 20px 0;
}

.page-piliers h2 {
  margin: 45px 0 10px;
}


/* PAGE SOPHRO-ECRITURE */
.page-ecriture .accent,
.page-scolarite .accent {
  font-weight: 600;
}

.page-ecriture .definition-img {
  max-height: 100%;
}

.page-ecriture .definition,
.page-ecriture .split-text,
.texte-nuit {
  color: var(--marron12);
}

.page-ecriture .note {
  font-style: normal;
  color: var(--vert5);
  text-align: center;
  padding-top: 15px;
}

.page-ecriture .conclusion {
  margin-top: 40px;
}

.texte-nuit { 
  margin: 20px auto 20px;
}


/* PAGE PERMIS */
.page-permis .btn {
  margin-top: 0;
}


/* PAGE ENFANTS/ADOS */
.page-enfants .split {
  margin-top: 0;
}

figcaption {
  text-align: center;
  padding-top: 10px;
  font-size: 15px;
}

.img-conclusion {
  display: grid;
  place-items: center;
  margin: 30px 0 30px;
}


/* PAGE HARCELEMENT */
.article-layout {
  display: grid;
  grid-template-columns:1fr;
  gap:10px;
  align-items: start;
}

.article-aside {
  background: #f7fbfa;
  border-left: 3px solid var(--vert-doux);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 35px;
  position:static;
  padding: 15px 15px;
}

.article-aside.visible {
  opacity: 1;
  transform: translateY(0);
  margin-top: 35px;
}

.article-aside::before {
  content: "Repères";
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c8ebf;
  margin-bottom: 12px;
  font-weight: 600;
}

.page-harcelement .definition {
  align-items: start;
}

.term {
  display: block;
  font-weight: 700;
  color: #096a09;
  margin-bottom: 6px;
  font-family: "Quicksand", sans-serif;
}

.definition ol {
  padding-left: 18px;
}

.definition li {
  margin-bottom: 4px;
}

.info-box {
  background: #f7fbfa;
  /*border-left: 3px solid #096a09;*/
  padding: 18px 20px;
  margin: 25px 0;
  border-radius: 6px;
  font-weight: 500;
}


/* PAGE ESTIME */
.test-pyramides {
  margin: 25px 0;
}

.test-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
  gap: 8px;
  justify-items: center;
  margin: 0 auto;
  max-width: 700px;
}

.test-wrap.mobile-img {
  display: none;
}

.test,
.illustration {
  text-align:center;
}

.test img {
  max-height:130px;
}

.test-title {
  font-size: 1.05rem;
  color: var(--vert5);
  font-weight: 600;
}

.illustration {
  padding-top: 25px;
}

.definition {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  margin: 20px auto;
  line-height: 1.75;
}

.definition-img {
  float: none;
  margin: 0 0 16px 0;
  max-height: 250px;
  width: auto;
}

.definition-img.right,
.definition-img.left {
  margin: 0 0 20px 0;
}

.rosenberg {
  background-color: #f7fbfa;
  padding: 1rem;
  margin: 2.5rem 0;
  border-radius: 6px;
}

.rosenberg::before {
  content: "Échelle de Rosenberg";
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--marron12);
}

.rosenberg .title-small {
  font-size: 16px;
}

.list {
  padding-inline-start: 20px;
}

.split {
  display:grid;
  gap:10px;
  margin-top: 35px;
  text-align: left;

  grid-template-areas:
    "image"
    "texte";
}

.split-media {
  grid-area: image;
  margin: 0 auto;
}

.split-text {
  grid-area: texte;
}

.icons-row {
  display:grid;
  grid-template-columns:repeat(4,auto);
  gap:14px;
  justify-content:center;
  margin-bottom: 20px;
}

.icons-row img {
  height: 135px;
}




/* PAGE SCOLARITE */
.page-scolarite h2,
.page-enfants h2,
.page-permis h2, 
.page-harcelement h2 {
  max-width: 450px;
  margin: 40px auto 10px;
}




/* =========================================================
   RESPONSIVE +600 
========================================================= */
@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================================================
   RESPONSIVE +768 
========================================================= */

@media (min-width: 768px) {

  .page-article .center {
    padding: 15px 0;
  }

  .title-tag {
    font-size: 1.4rem;
  }

  .subtitle-h1 {
    font-size: 1.8rem;
  }

  .page-article h2 {
    font-size: 1.85rem;
  }

  .page-article .title-small {
    font-size: 1.06rem;
  }


  /* PAGE TEMOIGNAGES +768 */
  .enfant-video {
    background: linear-gradient(
    to bottom,
    rgba(168,195,176,0.15),
    rgba(255,255,255,0));
    padding: 25px;
  }

  .temoignage-card h3 {
    margin-top: 20px;
    font-size: 1.15rem;
  }

  /* PAGE BLOG +768 */
  .page-blog .card-body {
    padding: 16px 5px 5px;
  }

  /* PAGE ESTIME */
  .test-wrap {
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    margin: 0 auto 35px;
  }

  .test-wrap.mobile-img {
    display: grid;
  }

  .test img {
    max-height: 150px;
  }

  .test-title {
    font-size: 1.2rem;
  }

  .illustration img {
    max-height: 200px;
  }

  .definition-img {
    margin-bottom: 20px;
    max-width: 300px;
  }

  .definition-img.left {
    float: left;
    margin: 10px 28px 10px 0;
  }

  .definition-img.right {
    float: right;
    margin: 10px 0 10px 28px;
  }

  .rosenberg {
    border-left: 3px solid var(--accent-terracotta);
    padding: 1.5rem;
  }

  .rosenberg .title-small {
    font-size: 16px;
  }

  .list {
    padding-inline-start: 40px;
  }


/* PAGE PERMIS */
  .page-permis .benefices h2 {
    max-width: 600px;
  }

  .page-permis .contact {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
  }


  /* PAGE SOPHRO-ECRITURE */

  .texte-nuit { 
    width: 60%;
    margin: 0 auto 35px;
  }

  .page-ecriture .article-title.nuit {
    max-width: 500px;
  }
  /* PAGE ENFANTS */

  .page-enfants .split {
    margin-top: 35px;
  }
}


/* =========================================================
   RESPONSIVE +900px
========================================================= */

@media (min-width: 900px) {

  /* TITRES */
  .page-article h2 {
    font-size: 2rem;
  }

  .page-article .title-small {
    font-size: 1.13rem;
  }

  
  /* PAGE ESTIME */
  .definition {
    display: block; /* on annule flex */
    margin: 30px auto;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 30px;
  }

  .definition-img {
    margin-bottom: 20px;
    max-width: 300px;
  }

  .definition-img.left {
    float: left;
    margin: 10px 28px 10px 0;
  }

  .definition-img.right {
    float: right;
    margin: 10px 0 10px 28px;
  }


  /* PAGE HARCELEMENT */
  .article-layout {
    grid-template-columns: 280px 1fr;
    gap: 60px;
  }

  .article-aside {
    padding: 30px 26px 16px;
  }

  .page-harcelement .definition {
    align-items: center;
  }
}


/* =========================================================
   RESPONSIVE +1100px
========================================================= */

@media (min-width: 1100px) {

body.page-article .topbar {
    transform: none;
    transition: none;
  }

  .page-article main {
    padding-top: 30px;
  }

  .page-article .container {
    width: min(70%, 1100px);
  }


  /* TITRES */
  .title-tag {
    font-size: 1.5rem;
  }

  .page-article h1 {
    font-size: 2.8rem;
  }

  .subtitle-h1 {
    font-size: 2rem;
  }


  /* PAGE TEMOIGNAGES */
  .page-temoignages main,
  .page-blog main {
    padding-top: 60px;
  }


  /* PAGE BLOG */
  .page-blog .container {
    width: min(85%, 1100px);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-blog .card-body h3 {
    min-height: 3em;
  }


  /* PAGE PILIERS */

  .page-piliers .container {
    width: min(70%, 1100px);
  }
  
  .page-piliers h3 {
    text-align: center;
    font-size: 1.5rem;
  }
  
  .page-ecriture .article-title.nuit {
    max-width: 600px;
  }
  

  /* PAGE ESTIME */
  .split {
    grid-template-columns:1fr 1fr;
    align-items:center;
    grid-template-areas: "image texte";
  }

  .split.reverse {
    grid-template-areas: "texte image";
  }

  /* PAGE HARCELEMENT */
  .page-harcelement h2,
  .page-scolarite h2 {
    max-width: 550px;
  }


  /* PAGE SCOLARITE */
  .page-scolarite .split {
    gap: 20px;
  }

}


