#page-container header::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M0,40 C120,10 240,70 360,40 480,10 600,70 720,40 840,10 960,70 1080,40 1200,10 1320,70 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  z-index:-1;
  pointer-events: none;
	
  /* animation douce */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.scrolled #page-container header::after {
  opacity: 0;
  transform: translateY(-20px);
}

/*** PAGES CATÉGORIES DU BLOGUE ***/

/* Supprimer la ligne verticale Divi sur les archives */
.archive #main-content .container:before,
.category #main-content .container:before {
    content: none !important;
    display: none !important;
}

.category-hero {
    position: relative;
    height: 25px;
}

.category-intro {
    text-align: center;
    max-width: 1080px;
    margin: 0 auto 4rem;
    padding-top: 0;
}

.category-title {
    color: #e5342a;
    font-size: 60px;
    text-transform: uppercase;
    line-height: 1.1em;
    text-align: center;
    margin-bottom: 1rem;
}

.category-description {
    color: #444;
    line-height: 1.4;
	font-size: 19px;
}

.category-post {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 5rem;
    align-items: center;
}

.category-post.is-reversed {
    flex-direction: row-reverse;
}

.category-post .post-image img {
    border-radius: 18px;
    width: 100%;
    height: auto;
}

.category-post .post-image {
    flex: 0 0 50%;
}

.category-post .post-content {
    flex: 1;
}

.category-post .post-title {
	font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: #000000 !important;
    font-size: 28px;
    margin-bottom: 0.5rem;
}

.category-post .post-title a {
    color: #111;
    text-decoration: none;
}

.category-post .post-excerpt {
    color: #555;
	font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-post .read-more {
    display: inline-block;
    padding: 15px 50px;
    background: #b6cfc4; /* bouton vert pâle */
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
	text-transform: uppercase;
}

.category-footer-description {
    max-width: 1280px;
    margin: 5rem auto 0;
    padding-top: 3rem;
    border-top: 0px solid #eee;
    color: #555;
    line-height: 1.4;
    font-size: 18px;
}

.category-footer-wave {
    position: relative;
	left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background-color: #3f3f3f; /* ajuste selon ta charte */
    color: #fff;
    padding: 7rem 1rem 8rem;
    margin-top: 6rem;
    overflow: hidden;
}

.category-footer-wave::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
   /* background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M0,40 C120,10 240,70 360,40 480,10 600,70 720,40 840,10 960,70 1080,40 1200,10 1320,70 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E");*/
    background-repeat: no-repeat;   
	background-position: top center;
    background-size: 100% 100%;
}

.category-footer-wave::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
   /* background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M0,50 C120,80 240,20 360,50 480,80 600,20 720,50 840,80 960,20 1080,50 1200,80 1320,20 1440,50 L1440,90 L0,90 Z'/%3E%3C/svg%3E");*/
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% 100%;
}

.category-footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2; /* passe au-dessus des vagues */
}

.category-footer-inner h2 {
    color: #fff;
    margin-bottom: 1.2rem;
	font-size: 36px;
}

.category-footer-inner p {
    color: #f1f1f1;
    line-height: 1.4;
    font-size: 18px;
}
