/* =========================================================
SECTION ACTUS
========================================================= */

.actus{

padding:110px 0;

background:linear-gradient(180deg,#fbfbff 0%,#f4f2ff 100%);

position:relative;

overflow:hidden;

}

/* LUEURS VIOLETTES */

.actus::before{

content:"";

position:absolute;

top:-180px;
right:-150px;

width:420px;
height:420px;

background:radial-gradient(circle,
rgba(120,90,255,0.35) 0%,
rgba(120,90,255,0.18) 35%,
transparent 70%
);

filter:blur(45px);

pointer-events:none;

}

.actus::after{

content:"";

position:absolute;

bottom:-180px;
left:-150px;

width:420px;
height:420px;

background:radial-gradient(circle,
rgba(120,90,255,0.30) 0%,
rgba(120,90,255,0.12) 40%,
transparent 70%
);

filter:blur(50px);

pointer-events:none;

}

/* =========================================================
GRID
========================================================= */

.actus-grid{

display:grid;

grid-template-columns:2fr 1fr;

gap:40px;

align-items:start;

position:relative;
z-index:2;

}

/* =========================================================
CARTE ARTICLE
========================================================= */

.actu-card{

background:white;

padding:28px;

border-radius:18px;

border:2px solid rgba(120,90,255,0.15);

box-shadow:0 12px 30px rgba(0,0,0,0.06);

margin-bottom:26px;

transition:all .35s ease;

}

.actu-card:hover{

transform:translateY(-4px);

box-shadow:0 18px 40px rgba(0,0,0,0.1);

border-color:rgba(120,90,255,0.25);

}

/* =========================================================
FLEX ARTICLE
========================================================= */

.actu-flex{

display:flex;

gap:22px;

align-items:flex-start;

}

/* =========================================================
IMAGE
========================================================= */

.actu-img img{

width:160px;
height:120px;

object-fit:cover;

border-radius:12px;

display:block;

box-shadow:0 6px 16px rgba(0,0,0,0.08);

}

/* =========================================================
TEXTE
========================================================= */

.actu-text{

flex:1;

min-width:0;

display:flex;

flex-direction:column;

}

.actu-text h2{

margin:0 0 6px;

color:var(--violet);

font-size:22px;

font-weight:600;

}

.actu-date{

font-size:13px;

color:#8a8fa2;

margin-bottom:10px;

display:block;

}

.actu-text p{

color:#555;

line-height:1.7;

font-size:15px;

word-break:break-word;

}


/* TEXTE COMPLET */

.actu-full{

max-height:0;
opacity:0;

transform:translateY(-8px);

overflow:hidden;

transition:
opacity .45s ease,
transform .45s ease,
max-height .55s ease;

}

/* état ouvert */

.actu-card.open .actu-full{

max-height:600px;

opacity:1;

transform:translateY(0);

}

/* =========================================================
BOUTON LIRE LA SUITE
========================================================= */

.read-more{

margin-top:14px;

align-self:flex-end;

padding:8px 16px;

border-radius:999px;

font-size:14px;

font-weight:500;

color:white;

background:linear-gradient(135deg,var(--violet),#6c5cff);

cursor:pointer;

transition:.1.5s;

}

.read-more:hover{

transform:translateY(-2px);

box-shadow:0 6px 16px rgba(120,90,255,0.35);

}

/* =========================================================
SIDEBAR
========================================================= */

.actus-sidebar{

position:sticky;

top:110px;

}

.search-box{

background:white;

padding:20px;

border-radius:18px;

border:2px solid rgba(120,90,255,0.12);

box-shadow:0 10px 24px rgba(0,0,0,0.05);

margin-bottom:22px;

}

.search-label{

display:block;

margin-bottom:10px;

color:var(--violet);

font-size:15px;

font-weight:600;

}

/* =========================================================
RECHERCHE
========================================================= */

.search{

width:100%;

padding:12px 14px;

border-radius:14px;

border:1px solid rgba(120,90,255,0.2);

margin-bottom:10px;

font-family:'Poppins',sans-serif;

background:white;

box-shadow:0 6px 16px rgba(0,0,0,0.04);

transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;

}

.search::placeholder{

color:#9aa0aa;

}

.search:focus{

outline:none;

border-color:rgba(120,90,255,0.4);

box-shadow:0 12px 24px rgba(120,90,255,0.12);

transform:translateY(-1px);

}

.search-hint{

margin:0;

font-size:13px;

line-height:1.6;

color:#8a8fa2;

}

/* =========================================================
BLOCS SIDEBAR
========================================================= */

.sidebar-block{

background:white;

padding:22px;

border-radius:16px;

border:2px solid rgba(120,90,255,0.12);

box-shadow:0 10px 24px rgba(0,0,0,0.05);

margin-bottom:22px;

transition:.3s;

}

.sidebar-block:hover{

transform:translateY(-3px);

box-shadow:0 14px 30px rgba(0,0,0,0.08);

}

.sidebar-block h3{

margin-bottom:12px;

color:var(--violet);

font-size:17px;

}

.sidebar-block ul{

list-style:none;
padding:0;
margin:0;

}

.sidebar-block li{

margin-bottom:8px;

color:#555;

transition:.25s;

}

.sidebar-block li:hover{

color:var(--violet);

transform:translateX(3px);

}

.actus-empty{

display:flex;

align-items:center;

justify-content:center;

min-height:180px;

padding:26px;

background:white;

border-radius:18px;

border:2px dashed rgba(120,90,255,0.18);

box-shadow:0 12px 30px rgba(0,0,0,0.04);

color:#666;

font-size:15px;

text-align:center;

}

.actus-empty[hidden]{

display:none !important;

}

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

@media(max-width:1000px){

.actus-grid{
grid-template-columns:1fr;
}

.actus-sidebar{
order:-1;
margin-bottom:10px;
}

.actus-main{
order:2;
}

.actus-sidebar{
position:relative;
top:0;
}

}

@media(max-width:700px){

.actu-flex{
flex-direction:column;
}

.actu-img img{
width:100%;
height:200px;
}

}
