/* ════════════════════════════════════════════════════════════
   AFoSaN Dz Child Theme — Stylesheet principal
   Port condensé de wwwroot/css/site.css (AfosanWeb .NET)
   Charte : vert #4CAF7A, navy #0B2533, fond #F7FAF9
   ════════════════════════════════════════════════════════════ */

:root {
	--af-green: #4CAF7A;
	--af-green-dark: #3da068;
	--af-green-light: #E8F8F1;
	--af-navy: #0B2533;
	--af-navy-soft: rgba(11, 37, 51, .88);
	--af-ink: #0f172a;
	--af-muted: #475569;
	--af-bg: #F7FAF9;
	--af-ring: #E5E7EB;
	--af-radius: 14px;
	--af-radius-sm: 10px;
}

html { font-size: 16px; }
body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	color: var(--af-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}

/* RTL : police arabe */
html[dir="rtl"] body,
body.rtl,
.lang-ar body {
	font-family: 'Tajawal', 'Inter', sans-serif;
}

a { color: var(--af-green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--af-green-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	letter-spacing: -.02em;
	color: var(--af-ink);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
	font-family: 'Tajawal', sans-serif;
	letter-spacing: 0;
}

/* ═══════════ NAVBAR ═══════════ */
.af-navbar {
	background: var(--af-navy);
	padding: .75rem 0;
	box-shadow: 0 2px 12px rgba(11, 37, 51, .15);
	position: sticky;
	top: 0;
	z-index: 1030;
}
.af-navbar .container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1rem;
}
.af-navbar a.brand {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: #fff;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: -.02em;
}
.af-navbar a.brand img { height: 42px; width: auto; }
.af-navbar .brand-n,
.af-navbar .brand-dz { color: var(--af-green); }

.af-navbar ul.menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	padding: 0;
}
.af-navbar ul.menu a {
	color: rgba(255, 255, 255, .8);
	font-weight: 600;
	font-size: .9rem;
	padding: .5rem .75rem;
	border-radius: 8px;
	transition: all .2s;
	display: inline-flex;
	align-items: center;
	gap: .25rem;
}
.af-navbar ul.menu a:hover,
.af-navbar ul.menu .current-menu-item > a {
	color: #fff;
	background: rgba(76, 175, 122, .2);
}
.af-navbar .btn-contact {
	background: var(--af-green) !important;
	color: #fff !important;
	border-radius: 10px !important;
	padding: .45rem 1rem !important;
}
.af-navbar .btn-contact:hover { opacity: .9; }

/* ═══════════ HERO ═══════════ */
.hero {
	position: relative;
	min-height: 600px;
	max-height: 900px;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: var(--af-navy);
}
.hero-slider {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero-slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(11, 37, 51, .88) 0%, rgba(11, 37, 51, .65) 50%, rgba(76, 175, 122, .3) 100%);
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
	color: #fff;
	width: 100%;
	padding: 0 1rem 3rem;
	max-width: 1200px;
	margin: 0 auto;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .15);
	color: rgba(255, 255, 255, .9);
	padding: .5rem 1rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .03em;
}
.hero-badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--af-green);
	box-shadow: 0 0 8px var(--af-green);
}
.hero-title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 900;
	line-height: 1.05;
	margin: 1.5rem 0 1.25rem;
	max-width: 700px;
	color: #fff;
}
.hero-accent {
	background: linear-gradient(135deg, var(--af-green), #8BD0A8);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.hero-desc {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, .7);
	max-width: 540px;
	line-height: 1.7;
	margin-bottom: 2rem;
}
.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ═══════════ BUTTONS ═══════════ */
.af-btn-primary,
.hero-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--af-green);
	color: #fff;
	border: none;
	border-radius: var(--af-radius);
	padding: .9rem 1.8rem;
	font-weight: 700;
	font-size: .95rem;
	box-shadow: 0 8px 32px rgba(76, 175, 122, .3);
	transition: all .3s;
	cursor: pointer;
}
.af-btn-primary:hover,
.hero-btn-primary:hover {
	background: var(--af-green-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(76, 175, 122, .4);
}
.hero-btn-outline,
.af-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, .3);
	border-radius: var(--af-radius);
	padding: .85rem 1.8rem;
	font-weight: 700;
	font-size: .95rem;
	transition: all .3s;
}
.af-btn-outline {
	color: var(--af-green);
	border-color: var(--af-green);
}
.hero-btn-outline:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}
.af-btn-outline:hover {
	background: var(--af-green);
	color: #fff;
}

/* ═══════════ SECTIONS ═══════════ */
.af-section {
	padding: 5rem 0;
}
.af-section .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}
.af-section-title {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 800;
	margin: 0 0 1rem;
}
.af-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: var(--af-green-light);
	border: 1px solid rgba(76, 175, 122, .2);
	color: var(--af-green-dark);
	padding: .4rem .9rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .03em;
}
.af-eyebrow .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--af-green);
}

/* ═══════════ STATS BAR ═══════════ */
.stats-bar {
	background: var(--af-navy);
	padding: 3rem 0;
	color: #fff;
}
.stats-bar .grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	text-align: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}
@media (max-width: 768px) {
	.stats-bar .grid { grid-template-columns: repeat(2, 1fr); }
}
.stats-num {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	color: var(--af-green);
	line-height: 1;
}
.stats-label {
	color: rgba(255, 255, 255, .7);
	font-size: .9rem;
	font-weight: 500;
	margin-top: .5rem;
}

/* ═══════════ NEWS CARDS ═══════════ */
.news-card {
	display: block;
	background: #fff;
	border-radius: var(--af-radius);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(11, 37, 51, .06);
	transition: all .3s;
	color: inherit;
	height: 100%;
}
.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(11, 37, 51, .12);
	color: inherit;
}
.news-card-img {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.news-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s;
}
.news-card:hover .news-card-img img {
	transform: scale(1.05);
}
.news-card-body {
	padding: 1.25rem;
}
.news-card-date {
	color: var(--af-muted);
	font-size: .8rem;
	font-weight: 500;
}
.news-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: .5rem 0 0;
	line-height: 1.35;
	color: var(--af-ink);
}

/* ═══════════ PARTNER GRID ═══════════ */
.af-partner-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	background: #fff;
	border: 1px solid var(--af-ring);
	border-radius: var(--af-radius-sm);
	padding: 1.5rem 1rem;
	transition: all .25s;
	text-align: center;
	color: var(--af-muted);
	font-size: .85rem;
	font-weight: 600;
	height: 100%;
}
.af-partner-card:hover {
	border-color: var(--af-green);
	box-shadow: 0 8px 24px rgba(76, 175, 122, .12);
	color: var(--af-ink);
	transform: translateY(-2px);
}
.af-partner-card img {
	max-width: 100%;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(60%);
	transition: filter .25s;
}
.af-partner-card:hover img {
	filter: grayscale(0%);
}

/* ═══════════ TIMELINE PROJECTS ═══════════ */
.af-tl-section { background: linear-gradient(180deg, #fff 0%, var(--af-bg) 100%); }
.tl {
	position: relative;
	padding: 2rem 0;
}
.tl::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, var(--af-green), rgba(76, 175, 122, .2));
	transform: translateX(-50%);
}
.tl-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1rem;
	margin-bottom: 3rem;
	align-items: start;
}
.tl-center {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.tl-year {
	background: var(--af-green);
	color: #fff;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	padding: .4rem 1rem;
	border-radius: 999px;
	white-space: nowrap;
}
.tl-card {
	background: #fff;
	border: 1px solid var(--af-ring);
	border-radius: var(--af-radius);
	padding: 1.5rem;
	box-shadow: 0 4px 12px rgba(11, 37, 51, .04);
}
.tl-active .tl-card { border-color: var(--af-green); box-shadow: 0 8px 24px rgba(76, 175, 122, .15); }
.tl-code {
	background: var(--af-green-light);
	color: var(--af-green-dark);
	font-family: 'Space Grotesk', monospace;
	font-weight: 700;
	font-size: .8rem;
	padding: .25rem .6rem;
	border-radius: 6px;
}
.tl-live {
	background: var(--af-green);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	padding: .2rem .6rem;
	border-radius: 999px;
	margin-left: .5rem;
}
.tl-card h4 {
	margin: 1rem 0 .5rem;
	font-size: 1.1rem;
	line-height: 1.35;
}
.tl-card p {
	color: var(--af-muted);
	font-size: .9rem;
	margin: 0;
}
@media (max-width: 768px) {
	.tl::before { left: 1rem; }
	.tl-row { grid-template-columns: 2rem 1fr; }
	.tl-spacer { display: none; }
}

/* ═══════════ FOOTER ═══════════ */
.af-footer {
	background: var(--af-navy);
	color: rgba(255, 255, 255, .7);
	padding: 3rem 0 1.5rem;
}
.af-footer .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}
.af-footer .grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 2rem;
}
@media (max-width: 900px) {
	.af-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.af-footer .grid { grid-template-columns: 1fr; }
}
.af-footer h6 {
	color: #fff;
	font-weight: 600;
	margin: 0 0 1rem;
	font-size: .95rem;
}
.af-footer a {
	color: rgba(255, 255, 255, .65);
	font-size: .9rem;
}
.af-footer a:hover { color: var(--af-green); }
.af-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.af-footer ul li { padding: .25rem 0; }
.af-footer .bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	margin-top: 2rem;
	padding-top: 1rem;
	font-size: .85rem;
	color: rgba(255, 255, 255, .5);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}
.footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: all .2s;
}
.footer-social:hover {
	background: var(--af-green);
	color: #fff;
}

/* ═══════════ CTA ═══════════ */
.cta-section {
	background: linear-gradient(135deg, var(--af-navy) 0%, #143a4f 100%);
	color: #fff;
	padding: 5rem 1rem;
	text-align: center;
}
.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
.cta-section p { color: rgba(255, 255, 255, .75); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }

/* ═══════════ EVENT CARD ═══════════ */
.le-card {
	background: #fff;
	border-radius: var(--af-radius);
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(11, 37, 51, .08);
	display: grid;
	grid-template-columns: 5fr 7fr;
}
@media (max-width: 900px) { .le-card { grid-template-columns: 1fr; } }
.le-img-wrap { position: relative; aspect-ratio: 4/3; }
.le-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.le-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	padding: .4rem .8rem;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}
.le-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--af-green);
	box-shadow: 0 0 8px var(--af-green);
}
.le-body { padding: 2rem; }
.le-title { font-size: 1.5rem; margin: 0 0 1rem; }
.le-desc { color: var(--af-muted); line-height: 1.7; }
.le-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.le-chip {
	background: var(--af-green-light);
	color: var(--af-green-dark);
	padding: .3rem .7rem;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

/* ═══════════ Polylang language switcher (rendu nav-menu) ═══════════ */
.lang-switcher,
.menu-item-language {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}
.menu-item-language a {
	border-radius: 8px;
	padding: .3rem .6rem;
}
.menu-item-language img.flag { width: 18px; height: auto; margin-right: .3rem; }
.menu-item-language.current-lang a { background: var(--af-green); color: #fff; }

/* ═══════════ Elementor — section paddings cohérents ═══════════ */
.elementor-section { padding: 0; }

/* ═══════════ Helpers ═══════════ */
.text-afgreen { color: var(--af-green) !important; }
.bg-afnavy { background: var(--af-navy) !important; color: #fff; }
.bg-afbg { background: var(--af-bg) !important; }

/* ═══════════ Single project / event / document ═══════════ */
.single-project .entry-content,
.single-event .entry-content,
.single-document .entry-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 1rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--af-ink);
}
.single .entry-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	max-width: 800px;
	margin: 2rem auto 1rem;
	padding: 0 1rem;
}

/* ════════════════════════════════════════════════════════════
   CSS pages statiques (Accueil/À propos/Méthodes)
   Extrait des designs originaux fournis par l'utilisateur
   ════════════════════════════════════════════════════════════ */
/* ═══════════════ CSS extrait depuis page home ═══════════════ */
:root{
  --green:#4CAF7A;
  --navy:#0B2533;
  --ink:#0f172a;
  --muted:#475569;
  --bg:#F7FAF9;
  --ring:#E5E7EB;
}

/* SECTION PRINCIPALE */
.event-highlight{
  background:linear-gradient(180deg,#FFFFFF,var(--bg));
  padding:80px 0;
}
.event-wrap{
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
@media(max-width:900px){ 
  .event-wrap{ grid-template-columns:1fr; text-align:center; } 
}

/* SLIDER */
.event-slider{
  position:relative; overflow:hidden; border-radius:24px;
  box-shadow:0 12px 36px rgba(11,37,51,.12);
  width:100%; height:420px;
  display:flex; align-items:center; justify-content:center;
}
.slides{
  display:flex; width:400%; height:100%;
  transition:transform 1s ease-in-out;
}
.slides img{
  width:100%; height:100%; flex-shrink:0;
  object-fit:contain; /* montre l'image en entier */
  background:#000;    /* fond neutre si bandes */
  padding:6px;        /* petit souffle autour */
  border-radius:20px; /* arrondi interne cohérent */
}

/* CONTENU */
.event-content{
  display:flex; flex-direction:column; justify-content:center;
}
.event-eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  background:#F1F5F9; border:1px solid #E2E8F0; color:#334155;
  padding:.4rem .75rem; border-radius:999px; font-weight:700; font-size:.8rem;
}
.event-eyebrow .dot{ width:8px; height:8px; border-radius:999px; background:var(--green); }

.event-title{
  margin:1rem 0 .6rem; font-size:clamp(26px,4vw,38px);
  font-weight:900; line-height:1.1; color:var(--ink);
}
.event-meta{ display:flex; flex-wrap:wrap; gap:.5rem 8px; margin-bottom:.6rem }
.event-meta .chip{
  display:inline-flex; align-items:center; gap:.4rem;
  background:#fff; border:1px solid var(--ring); color:#1f2937;
  padding:.35rem .6rem; border-radius:999px; font-size:.82rem;
}

.event-desc{
  color:var(--muted); font-size:1.05rem; max-width:58ch; margin:.5rem 0 1rem;
}
.event-highlights{
  margin:.2rem 0 1.4rem; padding-left:1.1rem; color:#425466; font-size:.98rem;
}
.event-highlights li{ margin:.25rem 0 }

/* BOUTON */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:12px; padding:.9rem 1.4rem; font-weight:700;
  text-decoration:none; transition:background .25s ease, transform .25s ease;
}
.btn-primary{
  background:var(--navy); color:#fff; box-shadow:0 8px 24px rgba(11,37,51,.15);
}
.btn-primary:hover{ background:#142f3e; transform:translateY(-2px); }

/* ADAPTATION MOBILE */
@media(max-width:600px){
  .event-slider{ height:280px; }
}

:root{
  --green:#4CAF7A; --navy:#0B2533; --ink:#0f172a; --muted:#475569; --ring:#E5E7EB;
}
.af-project{background:linear-gradient(180deg,#F7FAF9, #FFFFFF); padding:80px 0}
.af-wrap{max-width:1200px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}
.af-eyebrow{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .75rem;border-radius:999px;background:#F1F5F9;border:1px solid #E2E8F0;font-weight:700;color:#334155;font-size:.8rem}
.af-eyebrow .dot{width:8px;height:8px;border-radius:999px;background:var(--green)}
.af-title{margin:.6rem 0 1rem;font-size:clamp(28px,4vw,40px);font-weight:900;line-height:1.1;color:var(--ink)}
.af-title span{color:var(--green)}
.af-lead{color:var(--muted);font-size:1.05rem;max-width:58ch;margin-bottom:1.2rem}
.af-details p{margin:.25rem 0;font-size:.95rem;color:#374151}
.af-details strong{color:var(--navy)}
.af-cta{display:flex;gap:.75rem;margin:20px 0 18px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:.8rem 1.1rem;font-weight:700;text-decoration:none}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{opacity:.95}
.btn-outline{border:1.5px solid var(--green);color:var(--navy);background:#fff}
.btn-outline:hover{background:#F8FFFC}

.af-right{position:relative;min-height:420px}
.mesh{width:100%;height:auto;display:block;filter:drop-shadow(0 16px 40px rgba(11,37,51,.15))}
.stroke{stroke:#1c2b36; stroke-width:2.2; fill:none}
.stroke circle{fill:var(--green)}
.hand{stroke:#1c2b36;stroke-width:3;fill:none;opacity:.9}

@media (max-width: 1024px){
  .af-wrap{grid-template-columns:1fr;gap:32px}
  .af-right{min-height:340px}
}

/* ═══════════════ CSS extrait depuis page about ═══════════════ */
/* Couleurs principales de la marque */
    :root{
      --brand-green: #4CAF7A; /* Vert sécurité alimentaire / Algérie */
      --brand-navy:  #0B2533; /* Bleu marine professionnel */
      --brand-gray:  #E8EEF2;
    }
    .brand-gradient{ background-image: linear-gradient(135deg, var(--brand-green), #8BD0A8); }
    .ring-brand{ box-shadow: 0 0 0 6px rgba(11,37,51,.06); }

/* ═══════════════ CSS extrait depuis page methods ═══════════════ */
:root{
  --green:#4CAF7A; --navy:#0B2533; --ink:#0f172a; --muted:#475569; --ring:#E5E7EB; --bg:#F7FAF9;
}
/* Section */
.af-pdfs{background:linear-gradient(180deg,var(--bg),#FFFFFF);padding:56px 0}
.af-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.af-head{margin-bottom:18px}
.af-title{margin:0 0 6px;font-weight:900;color:#0f172a;font-size:clamp(22px,2.4vw,28px)}
.af-sub{margin:0;color:#64748b}

/* Grid */
.af-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width:1024px){.af-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.af-grid{grid-template-columns:1fr}}

/* Card */
.af-card{
  display:flex;flex-direction:column;gap:10px;
  background:#fff;border:1px solid var(--ring);border-radius:16px;
  padding:16px;text-decoration:none;position:relative;overflow:hidden;
  box-shadow:0 6px 24px rgba(11,37,51,.06);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.af-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(11,37,51,.14);
  border-color:#D1E7DC;
}

/* top row: badge + icon */
.af-card__top{display:flex;align-items:center;justify-content:space-between}
.af-badge{
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.72rem;font-weight:800;letter-spacing:.04em;
  background:#E8F8F1;color:#0B2533;border:1px solid #CFEDE1;border-radius:999px;
  padding:.25rem .6rem;
}
.af-ic{width:32px;height:32px}

/* body */
.af-card__title{margin:2px 0;color:#0f172a;font-size:1.05rem;line-height:1.25;font-weight:800}
.af-card__desc{margin:0;color:#475569;font-size:.95rem}

/* meta row */
.af-card__meta{
  margin-top:auto;display:flex;align-items:center;justify-content:space-between;
  color:#64748b;font-size:.82rem;border-top:1px dashed #E6EEF2;padding-top:10px
}

/* ════════════════════════════════════════════════════════════
   CSS additionnel pour sections home dont les styles
   n'étaient pas dans les RTFs (.ln-*, .tl-*, .partners-*)
   ════════════════════════════════════════════════════════════ */

/* ─── LATEST NEWS (.ln-*) ─── */
.latest-news{
  background:#fff;
  padding:80px 0;
  max-width:1200px;
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
}
.ln-head{
  display:flex; align-items:baseline; justify-content:space-between;
  margin-bottom:32px; flex-wrap:wrap; gap:16px;
}
.ln-head h2{
  font-size:clamp(28px, 4vw, 40px);
  font-weight:900; color:#0f172a; margin:0;
}
.ln-seeall{
  color:#4CAF7A; font-weight:700; font-size:.95rem; text-decoration:none;
  padding:.5rem 1rem; border:1.5px solid #4CAF7A; border-radius:12px;
  transition:all .2s;
}
.ln-seeall:hover{ background:#4CAF7A; color:#fff; }
.ln-slider{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}
@media(max-width:900px){ .ln-slider{ grid-template-columns:1fr; } }
.ln-card{
  background:#fff; border-radius:16px; overflow:hidden;
  box-shadow:0 4px 20px rgba(11,37,51,.06);
  transition:all .3s; aspect-ratio:auto;
}
.ln-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(11,37,51,.12);
}
.ln-link{
  display:block; text-decoration:none; color:inherit; height:100%;
}
.ln-card img{
  width:100%; height:200px; object-fit:cover; display:block;
  transition:transform .5s;
}
.ln-card:hover img{ transform:scale(1.04); }
.ln-title{
  margin:0; padding:20px;
  font-size:1.05rem; font-weight:700; line-height:1.35; color:#0f172a;
}
.ln-arrows{
  display:flex; justify-content:center; gap:8px; margin-top:24px;
}
.ln-arrows a{
  width:10px; height:10px; border-radius:50%;
  background:#cbd5e1; text-indent:-9999px; overflow:hidden;
  transition:all .2s;
}
.ln-arrows a:hover{ background:#4CAF7A; transform:scale(1.3); }

/* ─── TIMELINE (.af-timeline / .tl-*) ─── */
.af-timeline{
  background:linear-gradient(180deg, #F7FAF9, #fff);
  padding:80px 0;
}
.tl-wrap{
  max-width:1100px; margin:0 auto; padding:0 24px;
  position:relative;
}
.tl-heading{
  text-align:center; margin:0 0 8px;
  font-size:clamp(28px, 4vw, 40px); font-weight:900; color:#0f172a;
}
.tl-sub{
  text-align:center; color:#64748b; margin:0 0 48px;
}
.tl-axis{
  position:absolute; left:50%; top:120px; bottom:48px;
  transform:translateX(-50%); width:3px;
  pointer-events:none; z-index:0;
}
.tl-line{
  position:absolute; inset:0; background:#E5E7EB; border-radius:3px;
}
.tl-line-progress{
  position:absolute; left:0; top:0; width:100%; height:0;
  background:linear-gradient(180deg, #4CAF7A, #3da068);
  border-radius:3px; transition:height .3s;
}
.tl-items{
  position:relative; z-index:1;
  display:flex; flex-direction:column; gap:48px;
}
.tl-item{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  gap:24px;
  opacity:0; transform:translateY(20px); transition:all .6s;
}
.tl-item.is-visible{ opacity:1; transform:translateY(0); }
.tl-item:nth-child(odd) .tl-card{ grid-column:1; text-align:right; }
.tl-item:nth-child(odd) .tl-dot{ grid-column:2; }
.tl-item:nth-child(odd) .tl-card-spacer{ grid-column:3; }
.tl-item:nth-child(even){ direction:rtl; }
.tl-item:nth-child(even) > *{ direction:ltr; }
.tl-dot{
  width:20px; height:20px; border-radius:50%;
  background:#4CAF7A; border:4px solid #fff;
  box-shadow:0 0 0 2px #4CAF7A, 0 4px 12px rgba(76,175,122,.3);
  grid-column:2;
  flex-shrink:0;
}
.tl-card{
  background:#fff; border-radius:16px; padding:24px;
  box-shadow:0 4px 16px rgba(11,37,51,.08);
  border:1px solid #E5E7EB;
}
.tl-meta{
  display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap;
}
.tl-meta .chip{
  background:#E8F8F1; color:#0B2533; border:1px solid #CFEDE1;
  padding:4px 12px; border-radius:999px;
  font-size:.78rem; font-weight:700;
}
.tl-title-item{
  margin:0 0 16px;
  font-size:1.05rem; font-weight:800; line-height:1.4; color:#0f172a;
}
.tl-cta{
  display:inline-flex; align-items:center; gap:.4rem;
  color:#4CAF7A; font-weight:700; font-size:.9rem; text-decoration:none;
}
.tl-cta:hover{ color:#3da068; }
.tl-cta::after{ content:'→'; transition:transform .2s; }
.tl-cta:hover::after{ transform:translateX(3px); }

@media(max-width:768px){
  .tl-axis{ left:20px; }
  .tl-item{ grid-template-columns:40px 1fr; gap:16px; }
  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(even) .tl-card{ grid-column:2; text-align:left; direction:ltr; }
  .tl-item:nth-child(odd) .tl-dot,
  .tl-item:nth-child(even) .tl-dot{ grid-column:1; }
}

/* ─── PARTNERS (.partners-*) ─── */
.partners-section{
  padding:80px 0; background:#fff;
}
.partners-container{
  max-width:1200px; margin:0 auto; padding:0 24px;
  text-align:center;
}
.partners-title{
  font-size:clamp(28px, 4vw, 40px); font-weight:900; color:#0f172a;
  margin:0 0 8px;
}
.partners-sub{
  color:#64748b; margin:0 0 48px;
}
.partners-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
}
@media(max-width:900px){ .partners-grid{ grid-template-columns:repeat(2, 1fr); } }
@media(max-width:500px){ .partners-grid{ grid-template-columns:1fr; } }
.partner-card{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px; text-decoration:none; color:#374151;
  background:#fff; border:1px solid #E5E7EB; border-radius:14px;
  padding:24px 16px;
  transition:all .25s;
  min-height:160px;
}
.partner-card:hover{
  border-color:#4CAF7A;
  box-shadow:0 8px 24px rgba(76,175,122,.12);
  transform:translateY(-2px);
  color:#0f172a;
}
.partner-card img{
  max-width:100%; max-height:60px; width:auto; height:auto;
  object-fit:contain;
  filter:grayscale(40%); transition:filter .25s;
}
.partner-card:hover img{ filter:grayscale(0%); }
.partner-card h3{
  margin:0; font-size:.85rem; font-weight:700; text-align:center;
  line-height:1.3;
}
