/* ════════════════════════════════════════════════════════════
   Actualités — styles partagés :
   ─ .home-actus      bloc « Dernières actualités » de l'accueil
                      (bande bleue, réutilise .simple-band de sections.css)
   ─ .actu-card       carte d'actualité (liste, accueil, « à lire aussi »)
   ─ body.actu-page   pages actualites/index.php et article.php (mode jour,
                      même base que nos-services.css / contact.css)
   Palette : 3 bleus (palette.css) + accent #1C93CA + blanc.
   Tailles en px dans les cartes : la racine n'a pas la même taille
   de police sur l'accueil (html5up, 16pt) et sur les autres pages (16px).
   ════════════════════════════════════════════════════════════ */

/* ── Carte d'actualité (fond clair par défaut) ── */
.actu-card{display:flex;flex-direction:column;background:#ffffff;border:1px solid #e2e8f2;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(20,40,80,.05);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;font-family:'Inter',sans-serif;}
.actu-card:hover{transform:translateY(-5px);border-color:rgba(28,147,202,.4);box-shadow:0 14px 34px rgba(20,40,80,.14);}
.actu-card-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none;border-bottom:none !important;}
.actu-card-media{margin:0;aspect-ratio:16/9;overflow:hidden;background:#dfe6f0;}
.actu-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
.actu-card:hover .actu-card-media img{transform:scale(1.04);}
.actu-card-body{display:flex;flex-direction:column;gap:10px;padding:20px 22px 22px;flex:1;}
.actu-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0;font-size:12.5px;line-height:1.4;color:#566484;}
.actu-card-meta time{display:inline-flex;align-items:center;gap:6px;font-weight:600;letter-spacing:.02em;}
.actu-card-meta time i{color:var(--exp-accent,#1C93CA);}
.actu-tags{display:inline-flex;flex-wrap:wrap;gap:6px;}
.actu-tag{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:20px;background:rgba(28,147,202,.12);color:#1C93CA;line-height:1.5;}
.actu-card-title{margin:0;font-family:'Inter',sans-serif;font-size:18px;font-weight:700;line-height:1.3;color:#16243d;letter-spacing:-.01em;}
.actu-card-resume{margin:0;font-size:14.5px;line-height:1.6;color:#566484;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1;}
.actu-card-more{display:inline-flex;align-items:center;gap:8px;margin-top:4px;font-size:13.5px;font-weight:700;color:var(--exp-accent,#1C93CA);}
.actu-card-more i{font-size:.85em;transition:transform .25s ease;}
.actu-card:hover .actu-card-more i{transform:translateX(4px);}

/* ── Variante accueil : sur bande bleue, photo arrondie, sans boîte ── */
.actu-card--dark{background:transparent;border:none;box-shadow:none;border-radius:0;overflow:visible;}
.actu-card--dark:hover{transform:none;box-shadow:none;}
.actu-card--dark .actu-card-media{border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.35);transition:transform .3s ease,box-shadow .3s ease;}
.actu-card--dark:hover .actu-card-media{transform:translateY(-6px);box-shadow:0 24px 50px rgba(0,0,0,.45);}
.actu-card--dark .actu-card-body{padding:20px 4px 0;}
.actu-card--dark .actu-card-meta{color:var(--exp-text-soft,rgba(255,255,255,.72));}
.actu-card--dark .actu-tag{background:rgba(255,255,255,.14);color:#ffffff;}
.actu-card--dark .actu-card-title{color:#ffffff;font-size:20px;}
.actu-card--dark .actu-card-resume{color:var(--exp-text-soft,rgba(255,255,255,.72));}

/* ── Accueil : bloc « Dernières actualités » ── */
.home-actus{font-family:'Inter',sans-serif;}
.home-actus .simple-band-inner{max-width:1050px;}
.home-actus a{border-bottom:none;}
.home-actus p,.home-actus h3,.home-actus figure{margin:0;}
.home-actus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.4rem;width:100%;margin:1.2rem 0 .8rem;text-align:left;}
@media (max-width:736px){.home-actus-grid{grid-template-columns:1fr;gap:2rem;}}

/* ════════════════════════════════════════════════════════════
   Pages Actualités (liste + article) — « mode jour »
   ════════════════════════════════════════════════════════════ */
.actu-page{margin:0;font-family:'Inter',sans-serif;background:#eef2f8;color:#33415c;line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased;}
.actu-page *,.actu-page *::before,.actu-page *::after{box-sizing:border-box;}
.actu-page img{max-width:100%;display:block;}
.actu-page a{color:inherit;text-decoration:none;}
.actu-page [hidden]{display:none !important;}
.actu-page .page-wrap{padding-top:var(--topbar-h,68px);min-height:70vh;}

/* Héros */
.actu-hero{position:relative;padding:5rem 2rem 3rem;text-align:center;overflow:hidden;}
.actu-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 50% -10%,rgba(28,147,202,.14) 0%,transparent 70%),radial-gradient(ellipse 40% 30% at 85% 90%,rgba(94,106,210,.08) 0%,transparent 60%);pointer-events:none;}
.actu-hero > *{position:relative;}
.actu-eyebrow{display:inline-block;margin:0 0 .8rem;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--exp-accent,#1C93CA);}
.actu-hero h1{margin:0 0 1rem;font-size:clamp(2rem,5vw,3.2rem);font-weight:700;color:#16243d;line-height:1.15;letter-spacing:-.02em;}
.actu-hero h1 span{color:var(--exp-accent,#1C93CA);}
.actu-hero-sub{margin:0 auto;font-size:1.05rem;color:#566484;max-width:620px;}
/* Lien RSS discret, en bas de la liste */
.actu-rss-foot{margin:3rem 0 0;text-align:center;}
.actu-rss{display:inline-flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:500;color:#8a96ad;transition:color .2s;}
.actu-rss:hover{color:var(--exp-accent,#1C93CA);}
.actu-rss i{font-size:.8em;}

/* Grille de la liste */
.actu-section{max-width:1200px;margin:0 auto;padding:1rem 2rem 5rem;}
.actu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem;}
@media (max-width:1024px){.actu-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.actu-grid{grid-template-columns:1fr;}}
.actu-grid .actu-card{animation:actuIn .55s ease both;}
.actu-grid .actu-card:nth-child(2){animation-delay:.07s;}
.actu-grid .actu-card:nth-child(3){animation-delay:.14s;}
.actu-grid .actu-card:nth-child(4){animation-delay:.21s;}
.actu-grid .actu-card:nth-child(5){animation-delay:.28s;}
.actu-grid .actu-card:nth-child(6){animation-delay:.35s;}
@keyframes actuIn{from{opacity:0;transform:translateY(18px);}to{opacity:1;transform:none;}}
.actu-more-wrap{text-align:center;margin-top:2.5rem;}
.actu-btn{display:inline-flex;align-items:center;gap:.6rem;padding:.8rem 1.8rem;border-radius:50px;background:var(--exp-accent,#1C93CA);color:#ffffff;font-family:inherit;font-size:.95rem;font-weight:700;border:2px solid var(--exp-accent,#1C93CA);cursor:pointer;box-shadow:0 4px 18px rgba(28,147,202,.3);transition:background .25s,color .25s,transform .25s,box-shadow .25s;}
.actu-btn:hover{background:transparent;color:var(--exp-accent,#1C93CA);transform:translateY(-2px);}
.actu-empty{margin:0;text-align:center;padding:3rem 1rem;color:#566484;background:#ffffff;border:1px dashed #cdd6e4;border-radius:16px;}

/* Article */
.actu-article{max-width:780px;margin:0 auto;padding:2.5rem 1.5rem 1rem;}
.actu-back{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1.6rem;font-size:.85rem;font-weight:600;color:#566484;transition:color .2s;}
.actu-back:hover{color:var(--exp-accent,#1C93CA);}
.actu-back i{font-size:.8em;}
.actu-head{margin-bottom:2rem;}
.actu-head .actu-tags{margin-bottom:1rem;}
.actu-title{margin:0 0 .8rem;font-size:clamp(1.8rem,4vw,2.6rem);font-weight:700;color:#16243d;line-height:1.15;letter-spacing:-.02em;}
.actu-subtitle{margin:0 0 1.2rem;font-size:1.15rem;line-height:1.5;color:#566484;}
.actu-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.2rem;margin:0;padding-top:1.2rem;border-top:1px solid #dde4ef;font-size:.85rem;color:#566484;}
.actu-meta span,.actu-meta time{display:inline-flex;align-items:center;gap:.45rem;}
.actu-meta i{color:var(--exp-accent,#1C93CA);}
.actu-cover{margin:0 0 2.2rem;}
.actu-cover img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px;box-shadow:0 18px 45px rgba(24,35,46,.18);}
.actu-body{font-size:1.05rem;line-height:1.8;color:#33415c;}
.actu-body p{margin:0;}
.actu-body > * + *{margin-top:1.3rem;}
.actu-body p a{color:var(--exp-accent,#1C93CA);font-weight:600;border-bottom:1px solid rgba(28,147,202,.35);transition:border-color .2s;}
.actu-body p a:hover{border-bottom-color:var(--exp-accent,#1C93CA);}
.actu-body strong{color:#16243d;font-weight:700;}
.actu-figure{margin:0;}
.actu-figure img{width:100%;border-radius:14px;box-shadow:0 10px 30px rgba(24,35,46,.14);}
.actu-figure figcaption{margin-top:.6rem;font-size:.85rem;color:#566484;text-align:center;}
.actu-list{list-style:none;margin:0;padding:0;}
.actu-list li{position:relative;padding-left:1.6rem;}
.actu-list li + li{margin-top:.5rem;}
.actu-list li::before{content:'→';position:absolute;left:0;color:var(--exp-accent,#1C93CA);font-weight:700;}
.actu-link-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.2rem;background:#ffffff;border:1px solid #e2e8f2;border-radius:14px;box-shadow:0 2px 10px rgba(20,40,80,.05);transition:border-color .2s,box-shadow .2s,transform .2s;}
.actu-link-card:hover{border-color:rgba(28,147,202,.45);box-shadow:0 10px 26px rgba(20,40,80,.12);transform:translateY(-2px);}
.actu-link-icon{flex-shrink:0;width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(28,147,202,.12);color:var(--exp-accent,#1C93CA);}
.actu-link-body{display:flex;flex-direction:column;min-width:0;flex:1;}
.actu-link-label{font-weight:600;color:#16243d;font-size:.98rem;line-height:1.35;}
.actu-link-host{font-size:.8rem;color:#566484;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.actu-link-arrow{color:#9aa6bd;font-size:.8rem;transition:transform .2s,color .2s;}
.actu-link-card:hover .actu-link-arrow{transform:translateX(3px);color:var(--exp-accent,#1C93CA);}

/* Partage */
.actu-share{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-top:2.8rem;padding-top:1.6rem;border-top:1px solid #dde4ef;}
.actu-share-label{margin-right:.4rem;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#566484;}
.actu-share a,.actu-share button{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .95rem;border-radius:50px;border:1px solid #cdd6e4;background:#ffffff;color:#33415c;font-family:inherit;font-size:.82rem;font-weight:600;cursor:pointer;transition:border-color .2s,color .2s;}
.actu-share a:hover,.actu-share button:hover{border-color:var(--exp-accent,#1C93CA);color:var(--exp-accent,#1C93CA);}
.actu-share .is-copied{border-color:#10b981;color:#10b981;}

/* À lire aussi */
.actu-related{max-width:1200px;margin:0 auto;padding:3rem 2rem 5rem;}
.actu-related h2{margin:0 0 1.4rem;font-size:clamp(1.3rem,2.5vw,1.7rem);font-weight:700;color:#16243d;letter-spacing:-.01em;}

/* Actualité introuvable (404) */
.actu-notfound{max-width:620px;margin:0 auto;padding:4rem 1.5rem 5rem;text-align:center;}
.actu-notfound h1{margin:0 0 .8rem;font-size:clamp(1.6rem,3vw,2.2rem);color:#16243d;}
.actu-notfound p{margin:0 0 1.6rem;color:#566484;}

/* Bandeau développeur : dossiers ignorés (affiché en local uniquement) */
.actu-dev-banner{max-width:1200px;margin:1rem auto 0;padding:1rem 1.4rem;background:#fff4e5;border:1px solid #f5b971;border-radius:12px;color:#7a4b00;font-size:.85rem;line-height:1.5;}
.actu-dev-banner p{margin:0;}
.actu-dev-banner ul{margin:.4rem 0 0 1.2rem;padding:0;}
.actu-dev-banner code{background:rgba(0,0,0,.06);padding:.1rem .35rem;border-radius:4px;}

/* Footer : même base que les autres pages « mode jour » */
.actu-page .footer-fade-left,.actu-page .fade-overlay-left{background:linear-gradient(to right,#2F455C,transparent) !important;}
.actu-page .footer-fade-right,.actu-page .fade-overlay-right{background:linear-gradient(to left,#2F455C,transparent) !important;}
.actu-page #footer.wrapper.style2-alt{background:#2F455C;padding:0 2rem;box-sizing:border-box;width:100%;}
.actu-page .inner.footer-bar{max-width:1200px;margin:0 auto;padding:1.5rem 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;border-top:1px solid rgba(255,255,255,.06);}
.actu-page .menu.footer-left{list-style:none;display:flex;gap:1rem;margin:0;padding:0;font-size:.8rem;color:#7a8499;}
.actu-page .menu.footer-left a{color:#7a8499;transition:color .2s;}
.actu-page .menu.footer-left a:hover{color:#fff;}

/* Responsive / accessibilité */
@media (max-width:640px){
	.actu-hero{padding:3.5rem 1.25rem 2rem;}
	.actu-section{padding:1rem 1.25rem 4rem;}
	.actu-article{padding:2rem 1.25rem 1rem;}
	.actu-related{padding:2.5rem 1.25rem 4rem;}
	.actu-body{font-size:1rem;}
}
@media (prefers-reduced-motion:reduce){
	.actu-grid .actu-card{animation:none;}
	.actu-card,.actu-card-media,.actu-card-media img,.actu-link-card,.actu-btn{transition:none;}
}
