/*
 Theme Name: La Source de Fismes
 Theme URI: https://lasource-fismes.fr
 Author: Arthur JORIS
 Author URI: mailto:contact@arthurjoris.fr
 Description: Thème du centre social La Source.
 Version: 1.1.0
 Text Domain: lasource
 Requires at least: 6.5
 Tested up to: 6.8
 Requires PHP: 8.1
 License: GPL-2.0-or-later
 Tags: one-column, custom-colors
*/
/*
 * Styles spécifiques à la page d'accueil La Source.
 * Placez ce fichier dans votre thème (ou enfant) et enqueuez-le depuis functions.php si nécessaire.
 */

/* Generated @font-face rules */
/* ClashGrotesk */
@font-face {
  font-family: 'ClashGrotesk';
  src: url('assets/fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Regular.woff2') format('woff2'),
       url('assets/fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Coolvetica */
@font-face {
  font-family: 'Coolvetica Rg';
  src: url('assets/fonts/coolvetica/Coolvetica-Regular.woff2') format('woff2'),
       url('assets/fonts/coolvetica/Coolvetica-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Proxima Nova */

@font-face {
  font-family: 'Proxima Nova';
  src: url('assets/fonts/ProximaNova/ProximaNova-Regular.woff2') format('woff2'),
       url('assets/fonts/ProximaNova/ProximaNova-Regular.woff') format('woff'); 
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


:root{
  --white:#ffffff;
  --black:#000000;
  --vert:#45BAA3;
  --vert50:#45baa386;
  --vert25:#45baa33b;
  --vert10:#45baa324;
  --citron:#E7F73B;
  --citron50:#e7f73b7a;
  --citron25:#e7f73b2f;
  --citron10:#e7f73b27;
  --prune:#D14082;
  --prune50:#d140817c; 
  --prune25:#d1408131;
  --prune10:#d1408121;
  --gris:#EEEDF8;
  --radius1:30px;
  --radius2:20px;
  --radius3:10px;
  --maxWidth:1200px;
  
  --font-1: 'Proxima Nova';
  --font-2: 'ClashGrotesk';
  --font-3: 'Coolvetica Rg';
  --font-4: 'Coolvetica Rg It';

  --boxShadow: 0px 2px 8px rgba(0,0,0,0.25);
}


body { font-family: var(--font-1);margin:0;} 
h1,h2,h3 { font-family: var(--font-3);font-weight:400;} 
h1 {font-size:48px;margin:0 0 10px 0;}
h2 {font-size:36px;margin:0 0 10px 0;}

.btn {width:200px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius3);transition: 0.3s ease;text-decoration:none;font-size:16px;padding:10px;}

*{box-sizing:border-box}
html,body{height:100%}

.header {display:flex;align-content:center;justify-content:center;height:150px;box-shadow: var(--boxShadow);background-color:var(--white);}
.header .topbar {display:flex;width:var(--maxWidth);justify-content:space-between;align-items:center;}
.header .topbar nav ul {display:flex;justify-content:center;align-items:center;}
.header .topbar .brand .brand-sub {font-family: var(--font-3);font-size:48px;}  
.ls-nav .menu{display:flex; gap:15px; list-style:none; padding:0; margin:0}
.ls-nav a{display:inline-block;text-decoration:none;font-family: var(--font-3);font-size:20px;color:var(--black);isolation: isolate;z-index: 0;position: relative;padding:10px;}
/* Le petit rectangle "derrière" en bas à droite */
.ls-nav .menu > li > a::after,
nav ul > li > a::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 6px;
  right: calc(-1 * var(--chip-offset, 0px));  /* dépasse à droite */
  bottom: calc(1 * var(--chip-offset, 12px)); /* dépasse en bas */ 
  background: var(--chip-color, --white);
  z-index: -1;                 /* derrière le lien */
  pointer-events: none;        /* n’intercepte pas les clics */
  transform-origin: right bottom;
  transition: transform .3s ease, opacity .3s ease;
  opacity:0;
}

/* Effet léger au survol/focus */
.ls-nav .menu > li > a:hover::after,
.ls-nav .menu > li > a:focus-visible::after{
  opacity:1;
}

/* État actif (page en cours) : un peu plus haut + couleur différente */
.ls-nav .menu > li.current-menu-item > a::after,
.ls-nav .menu > li.current-menu-ancestor > a::after{
  opacity:1;
}

.ls-nav .menu > li:nth-child(1) > a{ --chip-color:var(--vert); }
.ls-nav .menu > li:nth-child(2) > a{ --chip-color:var(--prune); }
.ls-nav .menu > li:nth-child(3) > a{ --chip-color:var(--citron); }
.ls-nav .menu > li:nth-child(4) > a{ --chip-color:var(--vert); }
.ls-nav .menu > li:nth-child(5) > a{ --chip-color:var(--prune); }
.ls-nav .menu > li:nth-child(6) > a{ --chip-color:var(--citron); }
.ls-nav .current-menu-item > a{}

/* --- Responsive Nav --- */
/* --- Bouton burger --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 28px;
  background: var(--black);
  border-radius: 3px;
  transition: all 0.35s ease-in-out;
  transform-origin: center;
}

  
@media (max-width: 1260px) { 
  .header .topbar {padding:0 30px;}
}

/* Mobile */
@media (max-width: 1024px) {
  .ls-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: var(--white);
    box-shadow: var(--boxShadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right .3s ease;
    z-index: 998;
  }

  .ls-nav.open {
    right: 0;
  }

  .ls-nav .menu {
    flex-direction: column;
    gap: 2rem;
    font-size: 24px;
  }

  .nav-toggle {
    display: flex;
  }



/* Animation ouverture → croix */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
}


#intro {height:calc(100vh - 150px);display:flex;z-index:-1;position:relative;justify-content:center;align-items:center;}
#intro .formes {height:100%;}
#intro .formes .form1 {top:-10px;left:200px;}
#intro .formes .form2 {top:80px;right:330px;}
#intro .formes .form3 {bottom:-70px;right:100px;}

/* Scroll hint (accueil) */
.home .scroll-hint{
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 8px);
  width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92);
  border: 2px solid var(--vert, #45BAA3);
  color: var(--vert, #45BAA3);
  box-shadow: var(--boxShadow, 0 2px 8px rgba(0,0,0,.25));
  z-index: 9999; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
}
.home .scroll-hint.show{
  opacity: 1; transform: translate(-50%, 0);
  visibility: visible; pointer-events: auto;
  transition: opacity .6s ease, transform .6s ease;
}
.home .scroll-hint.hide{
  opacity: 0; transform: translate(-50%, 6px);
  visibility: hidden; pointer-events: none;
}
.home .scroll-hint svg{ animation: ls-bob 1.8s ease-in-out infinite; }
@keyframes ls-bob{ 0%,100%{ transform: translateY(-2px);} 50%{ transform: translateY(2px);} }

/* Accessibilité / motion */
@media (prefers-reduced-motion: reduce){
  .home .scroll-hint svg{ animation: none; }
  .home .scroll-hint{ transition: none; }
}

/* (Optionnel) masquer sur très petits écrans */
@media (max-width: 480px){
  .home .scroll-hint{ bottom: 16px; width: 44px; height: 44px; }
}

 
#actualites {background-color:#d4efea;padding:100px 0;}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: var(--maxWidth);
    margin: 0 auto;
    align-items: start;
}

.col {
    background: #fff;
    border-radius: var(--radius1);
    box-shadow: var(--boxShadow);
}

.col-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color:transparent;
    box-shadow: none;
    padding-right: 15px;
}

.col-intro p {
    flex-grow: 1;
    margin:0 0 10px 0;  
}

.col-intro .btn {
    background: var(--vert);
    color: var(--white);
    border:2px solid var(--vert);
}

.col-intro .btn:hover {
    background: white;
    color:var(--vert);
}

.col.col-article:hover a {
  text-decoration:underline;
}

.article-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius1) var(--radius1) 0 0;
    height:100%;
}

.col .text {padding:20px;height:153px;}
.col .text a {text-decoration:none;color:var(--black); } 

.col .text .date {
    font-size:12px;
    color:var(--vert);
    text-decoration:none; 
    line-height:15px;
}

.col .text .title {
    font-size: 20px;
    line-height:24px;
    margin:0 0 10px 0;
    text-decoration:none; 
    color:var(--black); 
    overflow: hidden;
    text-overflow: ellipsis; 
    max-height:48px;
}

.col .text .excerpt {
    font-size: 16px;
    color: #333;
    margin:0;
    line-height:20px;
    height:40px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-thumb {max-height:200px;}
    .custom-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) { 
    .custom-grid {
        grid-template-columns: 1fr;
    }
}


/* #bienvenue {width:100%;display:flex;align-items:center;justify-content:center;padding:100px 0;background-color:var(--gris);} */
#intro .text {display:flex;justify-content:center;align-items:center;flex-direction:column;width:var(--maxWidth);max-width:600px;padding:15px;}  
#intro .text h1 {text-align:center;}
#intro .text h2 {font-family:var(--font-2);margin:0 0 20px 0;font-size:24px;text-align:center;}
#intro .text p {max-width:600px;text-align:center;width:100%;}

@media (max-width: 1240px) { 
    #actualites {padding:100px 20px;}
}

@media (max-width: 640px) { 
    #bienvenue {padding:50px 0;}
    #bienvenue h1 {font-size:30px;}
    #bienvenue .text h2 {font-size:20px;}
    #bienvenue .text p {width:calc(100% - 40px);margin:0 20px;}

    #actualites {padding:50px 20px;}
    .col-intro {margin-bottom:20px;align-items:center;}
    .col .text {height:auto;}
    .col-intro h2 {font-size:26px;}
    .col-intro p {text-align:center;margin-bottom:20px;}
}


/* ====== LIGNES (ACF) ====== */
.lignes{
  max-width: 100%;
  margin:0;
  display: grid;
  gap:0;
  padding:0;
}

.lignes .ligne{
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--white, #fff); 
  overflow: hidden; /* pour arrondis nets sur l'image */
}

/* halves */
.lignes .ligne .visu,
.lignes .ligne .text{
  width: 50%;
  flex: 0 0 50%;
}

/* image */
.lignes .ligne .visu{
  position: relative;
  min-height: clamp(260px, 40vw, 420px);
}
.lignes .ligne .ligne-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  height:600px;
}

/* texte centré H/V */
.lignes .ligne .text{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 4vw, 60px);
  gap: 12px;
}
.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:flex-start;
  width:400px;
}
.ligne-title{
  font-family: var(--font-3, 'Coolvetica Rg');
  font-size:46px;
  margin: 0 0 20px;
  position: relative;  /* pour positionner ::after */
  isolation: isolate;  /* permet z-index:-1 sur ::after */
  z-index: 0;
}
.ligne-desc{
  max-width: 55ch;
  color: #333;
  margin-bottom:20px;
}
.ligne-actions .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--white, #fff); 
  transition: .2s ease;
}

.ligne-title::after{
  content: "";
  position: absolute;
  width: 60px;
  height: 12px;
  right: -30px;
  bottom: 6px;
  background: var(--chip-color, var(--vert, #45BAA3));
  z-index: -1;              /* derrière le texte */
  pointer-events: none;
  transform-origin: right bottom;
}

.ligne:nth-child(1) .ligne-title::after{background: var(--prune);}
.ligne:nth-child(2) .ligne-title::after{background: var(--citron);}
.ligne:nth-child(3) .ligne-title::after{background: var(--vert);}
.ligne:nth-child(4) .ligne-title::after{background: var(--prune);}

.ligne:nth-child(1) .text .btn {background-color:var(--prune);border: 2px solid var(--prune);}
.ligne:nth-child(2) .text .btn {background-color:var(--citron);border: 2px solid var(--citron);}
.ligne:nth-child(3) .text .btn {background-color:var(--vert);border: 2px solid var(--vert);}
.ligne:nth-child(4) .text .btn {background-color:var(--prune);border: 2px solid var(--prune);}

.ligne:nth-child(1) .text .btn:hover {background-color:var(--white);color: var(--prune);}
.ligne:nth-child(2) .text .btn:hover  {background-color:var(--white);color: var(--citron);}
.ligne:nth-child(3) .text .btn:hover  {background-color:var(--white);color: var(--vert);}
.ligne:nth-child(4) .text .btn:hover  {background-color:var(--white);color: var(--prune);}


.ligne-actions .btn:hover{
  background: var(--white);
}

/* alternance : .reverse inverse l'ordre */
.lignes .ligne.reverse .visu{ order: 2; }
.lignes .ligne.reverse .text{ order: 1; }

/* responsive */
@media (max-width: 900px){
  .lignes .ligne{
    flex-direction: column;
  }
  .lignes .ligne .visu,
  .lignes .ligne .text{
    width: 100%;
    flex: 0 0 auto;
  }
  /* sur mobile, image au-dessus pour toutes les lignes */
  .lignes .ligne.reverse .visu{ order: 0; }
  .lignes .ligne.reverse .text{ order: 0; }
}


/* ===== Newsletter ===== */
footer #newsletter{
  width:100%;
  background:var(--gris);
  padding: clamp(50px, 2.5vw, 28px) 0;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow: var(--boxShadow);
}
footer #newsletter .content{
  width:100%;
  max-width: var(--maxWidth);
  padding: 0 20px;
  display:flex;
  gap: 20px;
  align-items: center;
  position:relative;
}
footer #newsletter .content .left{
  flex:1;      /* ≈ 33% mais fluide */
  min-width: 260px;
}
footer #newsletter .content .left h3{ margin:0 0 10px }
footer #newsletter .content .left p{ margin:0 }

footer #newsletter .content form.ls-subscribe-form{
  flex:2;      /* ≈ 67% mais fluide */
  display: grid; 
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
footer #newsletter .content .ls-subscribe-form .ls-legal{ margin:0; grid-column: 1 / -1 }
footer #newsletter .content .ls-subscribe-form input[type="email"]{ min-width: 0 } /* important en grid/flex */
footer #newsletter .content .ls-subscribe-form .btn{
  background: var(--vert);
  border-radius: var(--radius3);
  border: 2px solid var(--vert);
  color: var(--white);
}
footer #newsletter .content .ls-subscribe-form .btn:hover{
  background: var(--white);
  color: var(--vert);
}

/* ===== Footer (bas) ===== */
footer #footer{
  display:flex;
  width:100%;
  padding: 50px 0 20px 0;
  background: var(--white);
  justify-content:center;
  flex-wrap:wrap;
  flex-direction:column;
  align-items:center;
}
footer #footer .bottom{
  width:100%;
  max-width: var(--maxWidth);
  margin-bottom: 50px;
  padding: 0 20px;
  display:flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;              /* permet de passer à 2/1 colonnes */
}
footer #footer .bottom > nav,
footer #footer .bottom > div{
  flex: 1 1 320px;              /* colonnes fluides */
  min-width: 260px;
}

footer #footer .bottom .left h2{ font-family: var(--font-3); font-size: 48px; margin:0 }
footer #footer .bottom .left h3{ font-family: var(--font-3); font-size: 20px; margin:0 0 10px }
footer #footer .bottom .left p{ margin:0 }

footer #footer .bottom nav ul{
  list-style:none;
  display:flex;
  flex-direction: column;
  gap: 15px;
  margin:0; padding:0;
}
footer #footer .bottom nav ul a{
  color: var(--black);
  font-family: var(--font-3);
  font-size: 16px;
  padding:5px;
}
footer #footer .bottom nav ul a::after{
  content:"";
  display:inline-block;
  height:1px;
  background-color:var(--black);
  width:100%;
}

footer #footer .bottom .right{ display:flex; flex-direction:column }
footer #footer .bottom .right h3{ font-family: var(--font-3); font-size: 20px; margin:0 0 10px }
footer #footer .bottom .right a{
  font-family: var(--font-1);
  font-size: 16px;
  margin:0 0 10px 0;
  color: var(--black);
  width: fit-content;
}
footer #footer .bottom .right a::after{
  content:"";
  display:inline-block;
  width:1em; height:1em;
  margin-left:.4em; vertical-align:-.125em;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20fill='none'%3E%3Cpath%20d='M12%208.66667V12.6667C12%2013.0203%2011.8595%2013.3594%2011.6095%2013.6095C11.3594%2013.8595%2011.0203%2014%2010.6667%2014H3.33333C2.97971%2014%202.64057%2013.8595%202.39052%2013.6095C2.14048%2013.3594%202%2013.0203%202%2012.6667V5.33333C2%204.97971%202.14048%204.64057%202.39052%204.39052C2.64057%204.14048%202.97971%204%203.33333%204H7.33333M10%202H14M14%202V6M14%202L6.66667%209.33333'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}
footer #footer .bottom .right p{ margin:0 }

footer #footer .ligne{
  max-width:var(--maxWidth);
  width:100%;
  background-color:var(--gris);
  height:1px;
}

footer #footer .mentions{
  max-width:var(--maxWidth);
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px 0 0 0;
}

footer #footer .mentions a {
  font-family: var(--font-1);
  font-size: 16px;
  margin:0 0 10px 0;
  color: var(--black);
  width: fit-content;
}

/* ===== Breakpoints ===== */

/* ≤ 1024px : newsletter en colonne, footer en 2–3 colonnes selon espace */
@media (max-width: 1024px){
  footer #newsletter .content{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  footer #newsletter .content .ls-subscribe-form .btn{
    width: 100%;
  }

  /* footer bas : laisse flex-wrap gérer, mais espace mieux */
  footer #footer .bottom{
    gap: 20px;
  }
}

/* ≤ 720px : tout sur une colonne, centrage */
@media (max-width: 720px){
  footer #footer .bottom{
    justify-content: center;
    text-align: center;
    gap:40px;
  }
  footer #footer .bottom nav ul{
    align-items: center;        /* centre les liens du menu footer */
  }
  footer #footer .bottom .right a{ margin-left: auto; margin-right: auto }
}

/* ≤ 480px : confort tactile */
@media (max-width: 480px){
  footer #newsletter .content{
    padding: 0 12px;
  }
  footer #footer{
    padding: 36px 0;
  }
  footer #footer .bottom{
    margin-bottom: 32px;
    padding: 0 12px;
    gap: 16px;
  }
  footer #footer .bottom .left h2{ font-size: 38px }
  footer #footer .bottom .left h3{ font-size: 18px }
}

/* ===== Archive actualités ===== */
.formes {position:absolute;z-index:-1;width:100%;height:300px;}
.formes .forme-paralaxe {position:absolute;filter: drop-shadow(var(--boxShadow));}
.formes .form1 {top:100px;left:120px;}
.formes .form2 {top:100px;right:200px;}

#actualites-archive{ background: var(--vert10); padding: 80px 0; }
#actualites-archive .container{ max-width: var(--maxWidth); margin: 0 auto; padding: 0 20px; }

.posts-hero{ text-align:center; margin: 0 auto 100px auto; max-width:600px;width:100%;}
.posts-hero .hero-title{ font-family: var(--font-3); font-size:48px; margin:0; }
.posts-hero .hero-sub{margin:0;font-family:var(--font-2);font-size:24px;}

.posts-toolbar{ display:flex; justify-content:center; margin: 18px 0 28px; }
.posts-search{ display:grid; grid-template-columns: minmax(240px, 420px) auto; gap: 10px; }
.posts-search input[type="search"]{
  padding: 12px 14px; border: 1px solid var(--gris); border-radius: var(--radius3); font-size: 16px; min-width:0;
}
.posts-search .btn-search{
  border-radius: var(--radius3); background: var(--vert); border:2px solid var(--vert); color: var(--white);
}
.posts-search .btn-search:hover{ background: var(--white); color: var(--vert); }

/* Grille 2 colonnes (desktop) */
.posts-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  align-items: start;
}

/* Réutilise tes cartes */
.post-card.col{ background: #fff; border-radius: var(--radius1); box-shadow: var(--boxShadow); overflow:hidden; }
.post-card .article-thumb{ width:100%; aspect-ratio:2/1; object-fit:cover; border-radius: var(--radius1) var(--radius1) 0 0;}
.post-card .article-thumb.placeholder{ background: var(--citron25); }

.post-card .text{ padding:20px; }
.post-card .text a{ text-decoration:none; color:var(--black); }
.post-card .text .date{ font-size:12px; color:var(--vert); line-height:15px; }
.post-card .text .title-inner{ font-size:20px; line-height:24px; margin:0 0 10px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.post-card .text .excerpt{ font-size:16px; color:#333; margin:0; line-height:20px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Bouton Voir plus */
.posts-more{ display:flex; justify-content:center; margin-top: 18px; }
.btn-more{ border-radius: var(--radius3); background: var(--vert); border:2px solid var(--vert); color: var(--white); padding:10px 18px; }
.btn-more:hover{ background: var(--white); color: var(--vert); }

/* Responsive */
@media (max-width:1024px){
  .posts-grid{ grid-template-columns: 1fr; } 
  .posts-search{ grid-template-columns: 1fr;width:100%;display:flex;}
  .posts-search .btn-search{}
  .posts-search #actu-search {width:100%;}
}

/* ===== Famille ===== */
.formes {position:absolute;z-index:-1;width:100%;height:300px;}
.formes .forme-paralaxe {position:absolute;filter: drop-shadow(var(--boxShadow));}
.formes .form1 {top:100px;left:120px;}
.formes .form2 {top:100px;right:200px;}

#famille{ background: var(--citron10); padding: 80px 0; }
#famille .posts-hero {margin-bottom:150px;}
#famille .container{ max-width: var(--maxWidth); margin: 0 auto; padding: 0 20px; }

#famille .ligne-famille {padding:100px 50px 100px 50px;background-color:var(--white);border-radius:var(--radius1);position: relative;margin-bottom:200px;display:flex;align-items:center;gap:50px;height:400px;box-shadow:var(--boxShadow);} 
#famille .ligne-famille img {border-radius:var(--radius1);height:500px;width:500px;object-fit: cover;box-shadow:var(--boxShadow);aspect-ratio:1;}   
#famille .ligne-famille .textes {}
#famille .ligne-famille .textes h2 {font-size:24px;}
#famille .ligne-famille.colonne {display:flex;flex-wrap:wrap;height:fit-content;background-color:transparent;padding:0;gap:15px;margin-bottom:0px;box-shadow:none;}
#famille .ligne-famille.colonne .colonnes {display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;width:100%;}  
#famille .ligne-famille.colonne .colonnes .col {width:calc(33% - 10px);background-color:var(--citron);border-radius:var(--radius1);height:500px;}
#famille .ligne-famille.colonne .colonnes .col .textes {background-color:var(--white);border-radius:var(--radius1);padding:50px;} 
#famille .ligne-famille.colonne .referente {width:100%;background-color:var(--white);display:flex;border-radius:var(--radius3);align-items:center;padding:15px 30px;box-shadow:var(--boxShadow);} 
#famille .ligne-famille.colonne .referente h3 {margin:0;line-height:24px;font-size:24px;} 
#famille .ligne-famille.colonne .referente p {margin:0;line-height:24px;margin-left:20px;} 

/* ===== Breakpoint ≤ 1260px ===== */
@media (max-width:1260px){
  #famille .posts-hero{ margin-bottom: 100px; }

  .formes{ height:100vh;top:0;}
  .formes .form1{ top:80px; left:60px; transform: scale(.9); }
  .formes .form2{ top:80px; right:120px; transform: scale(.9); }

  #famille .ligne-famille{ gap:30px; }
}

/* ===== Breakpoint ≤ 1024px (tablette) ===== */
@media (max-width:1024px){
  /* Empiler image au-dessus du texte pour toutes les lignes */
  #famille .ligne-famille {height:auto;margin-bottom:50px;}
  #famille .ligne-famille{ flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; }
  #famille .ligne-famille > img{ order:-1; } /* image en premier */
  #famille .ligne-famille img{ height: clamp(220px, 45vw, 380px); max-height: 420px; }
    #famille .ligne-famille .textes p,
    #famille .ligne-famille .textes ul,
    #famille .ligne-famille .textes ul li {text-align:start;}
  #famille .posts-hero{ margin-bottom: 60px; }

  /* Formes plus petites, remontées, ou atténuées */
  .formes {display:none;}

  /* Colonnes en 2 */
  #famille .ligne-famille.colonne .colonnes{ grid-template-columns: 1fr 1fr; }
  #famille .ligne-famille.colonne .colonnes .col{width:100%;height:auto;}
  #famille .ligne-famille.colonne .referente{ flex-wrap: wrap; text-align: left; }
}

/* ===== Breakpoint ≤ 600px (mobile) ===== */
@media (max-width:600px){
  #famille{ padding: 50px 0; }
  #famille .posts-hero{ margin-bottom: 40px; }

  .formes{ height:140px; opacity:.4; }
  .formes .form1{ top:10px; left:-30px; transform: scale(.6); }
  .formes .form2{ top:10px; right:-30px; transform: scale(.6); }
  /* Ou carrément masquer si ça gêne :
     .formes{ display:none; } */

  #famille .ligne-famille{
    gap:16px; padding: 22px 16px; border-radius: var(--radius2);
    margin-bottom: 40px; min-height: 0;
  }
  #famille .ligne-famille img{
    height: clamp(200px, 55vw, 320px);
    max-width:100%; 
    border-radius: var(--radius2);
  }
  #famille .ligne-famille .textes h2{ font-size: 20px; }
  #famille .ligne-famille .textes p {text-align:start;}

  /* Colonnes en 1 */
  #famille .ligne-famille.colonne .colonnes{ grid-template-columns: 1fr; }
  #famille .ligne-famille.colonne .colonnes .col{
    min-height: 0;
  }
  #famille .ligne-famille.colonne .referente{
    padding: 12px 16px; gap:12px;
  }
  #famille .ligne-famille.colonne .referente h3{ font-size: 20px; }
}

/* ===== enfance ===== */
.formes {position:absolute;z-index:-1;width:100%;height:300px;}
.formes .forme-paralaxe {position:absolute;filter: drop-shadow(var(--boxShadow));}
#enfance .formes .forme-paralaxe path {fill:var(--vert);}
.formes .form1 {top:100px;left:120px;}
.formes .form2 {top:100px;right:200px;}

#enfance{ background: var(--vert10); padding: 80px 0; }
#enfance .posts-hero {margin-bottom:150px;}
#enfance .container{ max-width: var(--maxWidth); margin: 0 auto; padding: 0 20px; }

#enfance .ligne-enfance {padding:100px 50px 100px 50px;background-color:var(--white);border-radius:var(--radius1);position: relative;margin-bottom:200px;display:flex;align-items:center;gap:50px;height:400px;box-shadow:var(--boxShadow);} 
#enfance .ligne-enfance.vacances {margin-bottom:70px;}
#enfance .ligne-enfance img {border-radius:var(--radius1);height:500px;width:500px;object-fit: cover;box-shadow:var(--boxShadow);aspect-ratio:1;}   
#enfance .ligne-enfance .textes {} 
#enfance .ligne-enfance .textes h2 {font-size:24px;}
#enfance .ligne-enfance.colonne {display:flex;flex-wrap:wrap;height:fit-content;background-color:transparent;padding:0;gap:15px;margin-bottom:0px;box-shadow:none;}
#enfance .ligne-enfance.colonne .colonnes {display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;width:100%;}  
#enfance .ligne-enfance.colonne .colonnes .col {width:calc(33% - 10px);background-color:var(--vert);border-radius:var(--radius1);height:500px;}
#enfance .ligne-enfance.colonne .colonnes .col .textes {background-color:var(--white);border-radius:var(--radius1);padding:50px;} 
#enfance .ligne-enfance.colonne .referente {width:100%;background-color:var(--white);display:flex;border-radius:var(--radius3);align-items:center;padding:15px 30px;box-shadow:var(--boxShadow);} 
#enfance .ligne-enfance.colonne .referente h3 {margin:0;line-height:24px;font-size:24px;} 
#enfance .ligne-enfance.colonne .referente p {margin:0;line-height:24px;margin-left:20px;} 


.projets {max-width:var(--maxWidth);margin:0 auto;padding:80px 0 0 0;}
.projets h2 {margin-bottom:30px;}
.projets {display: flex;justify-content: space-between;}
.projets .textes {width:70%;padding-right:30px;}
.projets .textes p {margin:0;}
.projets .btns {display: flex;flex-direction: column;width: 30%;padding-top: 73px;gap: 15px;}
body.home .projets {padding-bottom:80px;}

@media (max-width:1260px){
  .projets {margin-left:20px;margin-right:20px;}
}

@media (max-width:900px){
  .projets {padding-top:50px;flex-direction:column;align-items:center;border-top:1px solid var(--gris);}
  .projets .textes {width:100%}
  .projets .btns {width:100%;padding-top:20px;}
}

/* ===== Breakpoint ≤ 1260px ===== */
@media (max-width:1260px){
  #enfance .posts-hero{ margin-bottom: 100px; }

  .formes{ height:100vh;top:0;}
  .formes .form1{ top:80px; left:60px; transform: scale(.9); }
  .formes .form2{ top:80px; right:120px; transform: scale(.9); }

  #enfance .ligne-enfance{ gap:30px; }
}

/* ===== Associations ===== */
.formes {position:absolute;z-index:-1;width:100%;height:300px;}
.formes .forme-paralaxe {position:absolute;filter: drop-shadow(var(--boxShadow));}
.formes .form1 {top:100px;left:120px;}
.formes .form2 {top:100px;right:200px;}
#association .formes .forme-paralaxe path {fill:var(--prune);}

#association{ background: var(--prune10); padding: 80px 0; }
#association .posts-hero {margin-bottom:150px;max-width:650px;}
#association .container{ max-width: var(--maxWidth); margin: 0 auto; padding: 0 20px; }

#association .ligne-association {padding:100px 50px 100px 50px;background-color:var(--white);border-radius:var(--radius1);position: relative;margin-bottom:200px;display:flex;align-items:center;gap:50px;height:400px;box-shadow:var(--boxShadow);} 
#association .ligne-association img {border-radius:var(--radius1);height:500px;width:500px;object-fit: cover;box-shadow:var(--boxShadow);aspect-ratio:1;}   
#association .ligne-association .textes {}
#association .ligne-association.last {margin-bottom:100px;}
#association .ligne-association .textes h2 {font-size:24px;}
#association .referent {width:100%;background-color:var(--white);display:flex;border-radius:var(--radius3);align-items:center;padding:15px 30px;box-shadow:var(--boxShadow);} 
#association .referent h3 {margin:0;line-height:24px;font-size:24px;} 
#association .referent p {margin:0;line-height:24px;margin:0 20px;}

#association .referent a{
  font-family: var(--font-1);
  font-size: 16px;
  margin:0 0 10px 0;
  color: var(--black);
  width: fit-content;
  margin-bottom:0;
}
#association .referent a::after{
  content:"";
  display:inline-block;
  width:1em; height:1em;
  margin-left:.4em; vertical-align:-.125em;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20fill='none'%3E%3Cpath%20d='M12%208.66667V12.6667C12%2013.0203%2011.8595%2013.3594%2011.6095%2013.6095C11.3594%2013.8595%2011.0203%2014%2010.6667%2014H3.33333C2.97971%2014%202.64057%2013.8595%202.39052%2013.6095C2.14048%2013.3594%202%2013.0203%202%2012.6667V5.33333C2%204.97971%202.14048%204.64057%202.39052%204.39052C2.64057%204.14048%202.97971%204%203.33333%204H7.33333M10%202H14M14%202V6M14%202L6.66667%209.33333'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ===== Breakpoint ≤ 1260px ===== */
@media (max-width:1260px){
  #association .posts-hero{ margin-bottom: 100px; }

  .formes{ height:100vh;top:0;}
  .formes .form1{ top:80px; left:60px; transform: scale(.9); }
  .formes .form2{ top:80px; right:120px; transform: scale(.9); }

  #association .ligne-association{ gap:30px; }
}

/* ===== Breakpoint ≤ 1024px (tablette) ===== */
@media (max-width:1024px){
  /* Empiler image au-dessus du texte pour toutes les lignes */
  #association .ligne-association {height:auto;margin-bottom:50px;}
  #association .ligne-association{ flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; }
  #association .ligne-association > img{ order:-1; } /* image en premier */
  #association .ligne-association img{ height: clamp(220px, 45vw, 380px); max-height: 420px; }
    #association .ligne-association .textes p,
    #association .ligne-association .textes ul,
    #association .ligne-association .textes ul li {text-align:start;}
  #association .posts-hero{ margin-bottom: 60px; }

  /* Formes plus petites, remontées, ou atténuées */
  .formes {display:none;}

  /* Colonnes en 2 */
  #association .referente{ flex-wrap: wrap; text-align: left; }
}

/* ===== Breakpoint ≤ 600px (mobile) ===== */
@media (max-width:600px){
  #association{ padding: 50px 0; }
  #association .posts-hero{ margin-bottom: 40px; }

  .formes{ height:140px; opacity:.4; }
  .formes .form1{ top:10px; left:-30px; transform: scale(.6); }
  .formes .form2{ top:10px; right:-30px; transform: scale(.6); }
  /* Ou carrément masquer si ça gêne :
     .formes{ display:none; } */

  #association .ligne-association{
    gap:16px; padding: 22px 16px; border-radius: var(--radius2);
    margin-bottom: 40px; min-height: 0;
  }
  #association .ligne-association img{
    height: clamp(200px, 55vw, 320px);
    max-width:100%; 
    border-radius: var(--radius2);
  }
  #association .ligne-association .textes h2{ font-size: 20px; }
  #association .ligne-association .textes p {text-align:start;}

  /* Colonnes en 1 */
  #association .ligne-association.colonne .colonnes{ grid-template-columns: 1fr; }
  #association .ligne-association.colonne .colonnes .col{
    min-height: 0;
  }
  #association .ligne-association.colonne .referente{
    padding: 12px 16px; gap:12px;
  }
  #association .ligne-association.colonne .referente h3{ font-size: 20px; }
}

/* ===== Breakpoint ≤ 1024px (tablette) ===== */
@media (max-width:1024px){
  /* Empiler image au-dessus du texte pour toutes les lignes */
  #enfance .ligne-enfance {height:auto;margin-bottom:50px;}
  #enfance .ligne-enfance{ flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; }
  #enfance .ligne-enfance > img{ order:-1; } /* image en premier */
  #enfance .ligne-enfance img{ height: clamp(220px, 45vw, 380px); max-height: 420px; }
  #enfance .ligne-enfance .textes p,
    #enfance .ligne-enfance .textes ul,
    #enfance .ligne-enfance .textes ul li {text-align:start;}
  #enfance .posts-hero{ margin-bottom: 60px; }

  /* Formes plus petites, remontées, ou atténuées */
  .formes {display:none;}

  /* Colonnes en 2 */
  #enfance .ligne-enfance.colonne .colonnes{ grid-template-columns: 1fr 1fr; }
  #enfance .ligne-enfance.colonne .colonnes .col{width:100%;height:auto;}
  #enfance .ligne-enfance.colonne .referente{ flex-wrap: wrap; text-align: left; }
}

/* ===== Breakpoint ≤ 600px (mobile) ===== */
@media (max-width:600px){
  #enfance{ padding: 50px 0; }
  #enfance .posts-hero{ margin-bottom: 40px; }

  .formes{ height:140px; opacity:.4; }
  .formes .form1{ top:10px; left:-30px; transform: scale(.6); }
  .formes .form2{ top:10px; right:-30px; transform: scale(.6); }
  /* Ou carrément masquer si ça gêne :
     .formes{ display:none; } */

  #enfance .ligne-enfance{
    gap:16px; padding: 22px 16px; border-radius: var(--radius2);
    margin-bottom: 40px; min-height: 0;
  }
  #enfance .ligne-enfance img{
    height: clamp(200px, 55vw, 320px);
    border-radius: var(--radius2);
    max-width:100%;
  }
  #enfance .ligne-enfance .textes h2{ font-size: 20px; }

  /* Colonnes en 1 */
  #enfance .ligne-enfance.colonne .colonnes{ grid-template-columns: 1fr; }
  #enfance .ligne-enfance.colonne .colonnes .col{
    min-height: 0;
  }
  #enfance .ligne-enfance.colonne .referente{
    padding: 12px 16px; gap:12px;
  }
  #enfance .ligne-enfance.colonne .referente h3{ font-size: 20px; }
}



/* ===== jeunesse ===== */
.formes {position:absolute;z-index:-1;width:100%;height:300px;}
.formes .forme-paralaxe {position:absolute;filter: drop-shadow(var(--boxShadow));}
#jeunesse .formes .forme-paralaxe path {fill:var(--prune);}
.formes .form1 {top:100px;left:120px;}
.formes .form2 {top:100px;right:200px;}

#jeunesse{ background: var(--prune10); padding: 80px 0; }
#jeunesse .posts-hero {margin-bottom:150px;}
#jeunesse .container{ max-width: var(--maxWidth); margin: 0 auto; padding: 0 20px; }

#jeunesse .ligne-jeunesse {padding:100px 50px 100px 50px;background-color:var(--white);border-radius:var(--radius1);position: relative;margin-bottom:200px;display:flex;align-items:center;gap:50px;height:400px;box-shadow:var(--boxShadow);} 
#jeunesse .ligne-jeunesse.vacances {margin-bottom:70px;}
#jeunesse .ligne-jeunesse img {border-radius:var(--radius1);height:500px;width:500px;object-fit: cover;box-shadow:var(--boxShadow);aspect-ratio:1;}   
#jeunesse .ligne-jeunesse .textes {} 
#jeunesse .ligne-jeunesse .textes h2 {font-size:24px;}
#jeunesse .ligne-jeunesse.colonne {display:flex;flex-wrap:wrap;height:fit-content;background-color:transparent;padding:0;gap:15px;margin-bottom:0px;box-shadow:none;}
#jeunesse .ligne-jeunesse.colonne .colonnes {display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;width:100%;}  
#jeunesse .ligne-jeunesse.colonne .colonnes .col {width:calc(33% - 10px);background-color:var(--prune);border-radius:var(--radius1);height:500px;}
#jeunesse .ligne-jeunesse.colonne .colonnes .col .textes {background-color:var(--white);border-radius:var(--radius1);padding:50px;} 
#jeunesse .ligne-jeunesse.colonne .referente {width:100%;background-color:var(--white);display:flex;border-radius:var(--radius3);align-items:center;padding:15px 30px;box-shadow:var(--boxShadow);} 
#jeunesse .ligne-jeunesse.colonne .referente h3 {margin:0;line-height:24px;font-size:24px;} 
#jeunesse .ligne-jeunesse.colonne .referente p {margin:0;line-height:24px;margin-left:20px;} 
#jeunesse .ligne-jeunesse.last {margin-bottom:50px;}

/* ===== Breakpoint ≤ 1260px ===== */
@media (max-width:1260px){
  #jeunesse .posts-hero{ margin-bottom: 100px; }

  .formes{ height:100vh;top:0;}
  .formes .form1{ top:80px; left:60px; transform: scale(.9); }
  .formes .form2{ top:80px; right:120px; transform: scale(.9); }

  #jeunesse .ligne-jeunesse{ gap:30px; }
}

/* ===== Breakpoint ≤ 1024px (tablette) ===== */
@media (max-width:1024px){
  /* Empiler image au-dessus du texte pour toutes les lignes */
  #jeunesse .ligne-jeunesse {height:auto;margin-bottom:50px;}
  #jeunesse .ligne-jeunesse{ flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; }
  #jeunesse .ligne-jeunesse > img{ order:-1; } /* image en premier */
  #jeunesse .ligne-jeunesse img{ height: clamp(220px, 45vw, 380px); max-height: 420px; }
  #jeunesse .ligne-jeunesse .textes p,
    #jeunesse .ligne-jeunesse .textes ul,
    #jeunesse .ligne-jeunesse .textes ul li {text-align:start;}
  #jeunesse .posts-hero{ margin-bottom: 60px; }

  /* Formes plus petites, remontées, ou atténuées */
  .formes {display:none;}

  /* Colonnes en 2 */
  #jeunesse .ligne-jeunesse.colonne .colonnes{ grid-template-columns: 1fr 1fr; }
  #jeunesse .ligne-jeunesse.colonne .colonnes .col{width:100%;height:auto;}
  #jeunesse .ligne-jeunesse.colonne .referente{ flex-wrap: wrap; text-align: left; }
}

/* ===== Breakpoint ≤ 600px (mobile) ===== */
@media (max-width:600px){
  #jeunesse{ padding: 50px 0; }
  #jeunesse .posts-hero{ margin-bottom: 40px; }

  #jeunesse .ligne-jeunesse{
    gap:16px; padding: 22px 16px; border-radius: var(--radius2);
    margin-bottom: 40px; min-height: 0;
  }
  #jeunesse .ligne-jeunesse img{
    height: clamp(200px, 55vw, 320px);
    border-radius: var(--radius2); 
    max-width:100%;
  }
  #jeunesse .ligne-jeunesse .textes h2{ font-size: 20px; }

  /* Colonnes en 1 */
  #jeunesse .ligne-jeunesse.colonne .colonnes{ grid-template-columns: 1fr; }
  #jeunesse .ligne-jeunesse.colonne .colonnes .col{
    min-height: 0;
  }
  #jeunesse .ligne-jeunesse.colonne .referente{
    padding: 12px 16px; gap:12px;
  }
  #jeunesse .ligne-jeunesse.colonne .referente h3{ font-size: 20px; }
}





/* ===== Single Article ===== */
.single-article{ background: var(--vert10);padding-bottom:100px;}
.single-article .single-hero{
  max-width: var(--maxWidth); margin: 0 auto; padding: 100px 20px 20px; 
}
.single-article .single-breadcrumb{
  font-size: 14px; margin-bottom: 10px;
}
.single-article .single-breadcrumb a{ color: var(--black); text-decoration: none; }
.single-article .single-breadcrumb .sep{ margin: 0 6px; color:#666; }

.single-article .single-cats{
  list-style:none; display:flex; gap:8px; padding:0; margin:0 0 8px;
}
.single-article .single-cats a{
  display:inline-block; padding:6px 10px; border-radius: var(--radius3);
  background: var(--citron25); color: var(--black); text-decoration:none; font-size: 13px;
}

.single-article .single-title{
  font-family: var(--font-3,'Coolvetica Rg'); font-weight:400;
  font-size: clamp(32px, 4.5vw, 54px);
  margin: 6px 0 8px; position: relative; isolation: isolate; z-index: 0;
}


.single-article .single-meta{ color:#333; margin:0 0 16px; }

.single-article .single-thumb{
  background:#fff; border-radius: var(--radius1);
  box-shadow: var(--boxShadow);
  overflow: hidden;
}
.single-article .single-thumb .thumb-img{
  display:block; width:100%; height:auto; aspect-ratio: 16/9; object-fit: cover;
}

/* Corps */
.single-article .single-content{
  max-width: var(--maxWidth); margin: 24px auto 0; padding: 0 20px 20px;
}
.single-article .single-content > *{ max-width: 1000px; margin-left:auto; margin-right:auto; }
.single-article .single-content img{ max-width:100%; height:auto; border-radius: var(--radius2) var(--radius2) 0 0; }
.single-article .single-content a{ color: var(--black);display:block;}
.single-article .single-content h2,
.single-article .single-content h3{ font-family: var(--font-3); }

/* Tags */
.single-article .single-tags{
  max-width: var(--maxWidth); margin: 8px auto 0; padding: 0 20px 10px;
}
.single-article .single-tags .label{ color:#666; margin-right:8px; }
.single-article .single-tags ul{ list-style:none; display:inline-flex; gap:8px; padding:0; margin:0; }
.single-article .single-tags a{
  display:inline-block; padding:6px 10px; border-radius: var(--radius3);
  background: var(--vert10); color: var(--black); text-decoration:none; font-size:13px;
}

/* Partage */
.single-article .single-share{
  max-width: var(--maxWidth); margin: 8px auto 0; padding: 0 20px 10px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.single-article .single-share .share-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 12px; border-radius: var(--radius3);
  background:#fff; border:1px solid var(--gris); color:var(--black); text-decoration:none;
}
.single-article .single-share .share-btn:hover{ background: var(--citron25); }

/* Prev/Next */
.single-article .single-nav{
  max-width: var(--maxWidth); margin: 10px auto 0; padding: 10px 20px 30px;
  display:flex; justify-content:space-between; gap:15px; flex-wrap:wrap;
}
.single-article .single-nav a{
  display:inline-block; padding:10px 12px; border-radius: var(--radius3);
  background:#fff; border:2px solid var(--gris); text-decoration:none; color:var(--black);
}
.single-article .single-nav a:hover{ border-color: var(--vert); }

/* Reliés */
.single-article .single-related{
  max-width: var(--maxWidth); margin: 10px auto 0; padding: 50px 20px 0px;
}
.single-article .related-title{ font-family: var(--font-3); font-size: 28px; margin: 0 0 14px; }
.single-article .related-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
}
.single-article .related-grid .post-card.col{
  background:#fff; border-radius: var(--radius1); box-shadow: var(--boxShadow); overflow:hidden;
}
.single-article .related-grid .article-thumb{ width:100%; aspect-ratio:1/1; object-fit:cover; }

/* CTA newsletter */
.single-article .single-newsletter-cta{
  background:#fff; border-radius: var(--radius1); box-shadow: var(--boxShadow);
  max-width: var(--maxWidth); margin: 0 auto 70px; padding: 26px 20px;
}
.single-article .single-newsletter-cta h2{ font-family: var(--font-3); margin:0 0 8px; }
.single-article .single-newsletter-cta p{ margin:0 0 12px; color:#333; }

/* Comments */
.single-article .single-comments{
  max-width: var(--maxWidth); margin: 0 auto 80px; padding: 0 20px;
}

/* Responsive */
@media (max-width: 1024px){
  .single-article .related-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .single-article .related-grid{ grid-template-columns: 1fr; }
}

/* Mentions légales — La Source
   DA : variables globales (couleurs, rayons, fonts) déjà définies dans le thème
   Utilisation : appliquez la classe .mentions-legales au conteneur principal de la page
*/

/* ---------- Layout & container ---------- */
.mentions-legales{
  padding: 60px 0;
}
.mentions-legales > *{
  max-width: var(--maxWidth, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Headings ---------- */
.mentions-legales h1,
.mentions-legales h2,
.mentions-legales h3{
  font-family: var(--font-3, 'Coolvetica Rg');
  font-weight: 400;
  color: var(--black, #000);
  margin: 0 0 12px;
}
.mentions-legales h1{ font-size: clamp(32px, 4.5vw, 48px); }
.mentions-legales h2{ font-size: clamp(22px, 3.2vw, 32px); margin-top: 28px; }
.mentions-legales h3{ font-size: clamp(18px, 2.4vw, 24px); margin-top: 20px; }

/* Pastille “chip” en bas à droite des titres (comme le menu) */
.mentions-legales h1,
.mentions-legales h2{
  position: relative;
  isolation: isolate;
  z-index: 0;
}

/* ---------- Textes ---------- */
.mentions-legales p,
.mentions-legales li,
.mentions-legales table,
.mentions-legales a{
  font-family: var(--font-1, 'Proxima Nova'), system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--black, #000);
}
.mentions-legales p{ line-height: 1.6; margin: 0 0 12px; }
.mentions-legales ul, .mentions-legales ol{ margin: 0 0 12px 1.1em; }
.mentions-legales li{ margin: 4px 0; }

/* Ancrage doux sous header fixe (header ≈ 150px) */
.mentions-legales [id]{ scroll-margin-top: 170px; }

/* ---------- Liens ---------- */
.mentions-legales a{
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.mentions-legales a:hover{
  color: var(--vert, #45BAA3);
  border-bottom-color: var(--vert, #45BAA3);
}

/* ---------- Sommaire ---------- */
.mentions-legales nav[aria-label="Sommaire"] ol{
  padding: 0;
  margin: 20px auto 30px;
  list-style: decimal;
  columns: 2;
  column-gap: 24px;
}
.mentions-legales nav[aria-label="Sommaire"] li{
  break-inside: avoid;
  margin: 6px 0;
}
@media (max-width: 720px){
  .mentions-legales nav[aria-label="Sommaire"] ol{ columns: 1; }
}

/* ---------- Cartes / encarts ---------- */
.mentions-legales .card,
.mentions-legales table{
  background: #fff;
  border-radius: var(--radius1, 30px);
  box-shadow: var(--boxShadow, 0 2px 8px rgba(0,0,0,.25));
}
.mentions-legales .card{
  padding: 18px;
  margin: 12px 0;
}
.mentions-legales .legal-note{
  background: var(--citron25, #e7f73b2f);
  border-left: 4px solid var(--citron, #E7F73B);
  border-radius: var(--radius2, 20px);
  padding: 12px 14px;
  margin: 12px 0;
}

/* ---------- Table ---------- */
.mentions-legales table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.mentions-legales table thead th{
  text-align: left;
  padding: 12px 14px;
  background: var(--gris, #EEEDF8);
  font-weight: 600;
}
.mentions-legales table tbody td{
  padding: 12px 14px;
  border-top: 1px solid var(--gris, #EEEDF8);
}
.mentions-legales table tr:nth-child(even) td{
  background: var(--vert10, #45baa30e);
}
.mentions-legales table th:first-child,
.mentions-legales table td:first-child{ border-top-left-radius: var(--radius2, 20px); }
.mentions-legales table th:last-child,
.mentions-legales table td:last-child{ border-top-right-radius: var(--radius2, 20px); }

/* ---------- Lien “gérer mes cookies” (CMP) ---------- */
.mentions-legales .cmp-link{
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius3, 10px);
  background: #fff;
  border: 2px solid var(--gris, #EEEDF8);
}
.mentions-legales .cmp-link:hover{
  border-color: var(--vert, #45BAA3);
}

/* ---------- Crédits / bas de page ---------- */
.mentions-legales .legal-credits{
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--gris, #EEEDF8);
  color: #666;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.mentions-legales .legal-credits .created-by::before{
  content: "Créé par Arthur JORIS (contact@arthurjoris.fr)";
  display: inline;
}
.mentions-legales .legal-credits .hosted-by::before{
  content: "Hébergé chez OVH";
  display: inline;
}
.mentions-legales .legal-credits .analytics::before{
  content: "Mesure d’audience : Google Analytics (avec consentement)";
  display: inline;
}
@media (max-width: 720px){
  .mentions-legales .legal-credits{ grid-template-columns: 1fr; }
}

/* ---------- Impression ---------- */
@media print{
  .mentions-legales{ background: #fff; padding: 0; }
  .mentions-legales > *{ max-width: none; padding: 0; }
  .mentions-legales a{ border: none; }
  .mentions-legales nav[aria-label="Sommaire"] ol{ columns: 1; }
}


/* ===== 404 — La Source ===== */
#not-found{ background: var(--prune10);display: flex;align-items: center;justify-content: center;height: calc(95vh - 150px);}
#not-found .container{ max-width: var(--maxWidth); margin: 0 auto; padding: 0 20px; }

/* Hero */
.nf-hero{ text-align:center; margin-bottom: 24px; }
.nf-eyebrow{ color:#333; margin:0 0 6px; }
.nf-eyebrow strong{ font-weight: 700; }
.nf-title{
  font-family: var(--font-3, 'Coolvetica Rg');
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 54px);
  margin: 0 0 8px;
  position: relative;
  isolation: isolate;
  z-index: 0;
}
.nf-sub{ margin: 0 0 14px; color:#333; }

/* Actions (boutons) */
.nf-actions{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top: 6px; }
.btn{ width:auto; display:inline-flex; align-items:center; justify-content:center; border-radius: var(--radius3); text-decoration:none; font-size:16px; padding:10px 14px; transition:.2s ease; }
.btn-primary{ background: var(--prune); color: var(--white); border:2px solid var(--prune); }
.btn-primary:hover{ background: var(--white); color: var(--prune); }
.btn-ghost{ background: #fff; color: var(--black); border:2px solid var(--gris); }
.btn-ghost:hover{ border-color: var(--prune); }

/* Responsive */
@media (max-width:1024px){
  .posts-grid{ grid-template-columns: 1fr; }
  .nf-search{ grid-template-columns: 1fr; }
  .nf-search .btn{ width:100%; }
}



.ls-permanences{ background: var(--gris,#EEEDF8); border-radius: var(--radius1); padding: 50px; box-shadow: var(--boxShadow); }
.ls-permanences .ligne-title{ font-family: var(--font-3); margin: 0 0 4px; position:relative; font-size:24px;}
.ls-permanences .ligne-title::after{display:none;}
.ls-permanences .range{ margin:0 0 14px; color:#333; }
.ls-permanences-list{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.ls-permanences .perm-item{ display:flex; gap:12px; align-items:baseline; background:#fff; border-radius: var(--radius3); padding:10px 12px; }
.ls-permanences .perm-item .date{ min-width: 270px; }
.ls-permanences .perm-item .sep{ color:#aaa; margin:0 6px; }
.ls-permanences .star-note{ margin:10px 0 0; color:#555; font-size: 14px; }
@media (max-width: 720px){
  .ls-permanences .perm-item{ flex-direction: column; align-items:flex-start; }
  .ls-permanences .perm-item .date{ min-width: 0; }
}

.ls-pdf-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem .9rem;border-radius:10px;background:#fff;border:2px solid var(--gris,#EEEDF8);text-decoration:none;color:var(--black,#000)}
.ls-pdf-btn:hover{border-color:var(--vert,#45BAA3)}
.ls-pdf-btn .meta{color:#666;font-size:.9em}


.mentions-legales .ls-cmp-row h4 {font-family:var(--font-2)!important;} 
.mentions-legales a {text-decoration:underline;border:none!important;}
.mentions-legales a.extern::after{content:"";
  display:inline-block;
  width:1em; height:1em;
  margin-left:.4em; vertical-align:-.125em;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20fill='none'%3E%3Cpath%20d='M12%208.66667V12.6667C12%2013.0203%2011.8595%2013.3594%2011.6095%2013.6095C11.3594%2013.8595%2011.0203%2014%2010.6667%2014H3.33333C2.97971%2014%202.64057%2013.8595%202.39052%2013.6095C2.14048%2013.3594%202%2013.0203%202%2012.6667V5.33333C2%204.97971%202.14048%204.64057%202.39052%204.39052C2.64057%204.14048%202.97971%204%203.33333%204H7.33333M10%202H14M14%202V6M14%202L6.66667%209.33333'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}
.mentions-legales a:hover {text-decoration:underline;color:var(--black);}
.mentions-legales .cmp-link {border:2px solid var(--vert)!important;text-decoration:none;margin-top:10px;background-color:var(--vert);color:var(--white);}
.mentions-legales .cmp-link:hover {background-color:var(--white);color:var(--vert);text-decoration:none;}

/* bouton enfance intro */
.ls-btn {display:inline-flex; align-items:center; gap:.5rem;border-radius:var(--radius3); text-decoration:none;margin-top:50px;box-shadow:var(--boxShadow);}
.ls-btn--primary { background-color:var(--vert)!important;border:2px solid var(--white)!important; color:var(--white);font-size:30px;transition:.3s;} 
.ls-btn--primary:hover { background:var(--white)!important;border:2px solid var(--vert)!important; color:var(--vert); }
.ls-btn svg { flex:0 0 auto; height:30px;}   
