★
ARTICLE PREMIUM
1. Capture d’ecran de la page

2. Code source final index html
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ONG Espoir & Solidarité | Agir pour un avenir meilleur</title>
<!-- ========================================================= -->
<!-- TAILWIND -->
<!-- ========================================================= -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
blue: {
50: '#EFF5FF',
100: '#E3EDFF',
500: '#2563EB',
600: '#1455C0',
700: '#0F47A5',
800: '#0B3B8F',
900: '#082B66'
},
navy: '#071A38',
ink: '#10213F',
gold: '#F4B740',
soft: '#F5F8FC'
},
boxShadow: {
soft:
'0 20px 55px rgba(7,26,56,.10)',
card:
'0 15px 40px rgba(15,71,165,.10)'
}
}
}
}
</script>
<!-- ========================================================= -->
<!-- FONT AWESOME -->
<!-- ========================================================= -->
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<!-- ========================================================= -->
<!-- CSS -->
<!-- ========================================================= -->
<style>
html {
scroll-behavior: smooth;
}
body {
overflow-x: hidden;
}
/* ========================================================= */
/* HEADER */
/* ========================================================= */
#header {
transition:
background .35s ease,
box-shadow .35s ease,
height .35s ease;
}
#header.scrolled {
background:
rgba(255,255,255,.96);
backdrop-filter:
blur(18px);
box-shadow:
0 8px 35px rgba(7,26,56,.10);
}
#header.scrolled .logo-main {
color: #10213F;
}
#header.scrolled .logo-sub {
color: #64748B;
}
#header.scrolled .hamburger-line {
background: #10213F;
}
/* ========================================================= */
/* ASYMMETRIC HAMBURGER */
/* ========================================================= */
.hamburger {
width: 48px;
height: 48px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
gap: 6px;
cursor: pointer;
}
.hamburger-line {
display: block;
height: 2px;
background: white;
border-radius: 10px;
transition:
width .3s ease,
transform .3s ease,
opacity .3s ease,
background .3s ease;
}
.hamburger-line:nth-child(1) {
width: 30px;
}
.hamburger-line:nth-child(2) {
width: 20px;
}
.hamburger-line:nth-child(3) {
width: 26px;
}
.hamburger:hover .hamburger-line:nth-child(1) {
width: 22px;
}
.hamburger:hover .hamburger-line:nth-child(2) {
width: 30px;
}
.hamburger:hover .hamburger-line:nth-child(3) {
width: 18px;
}
.hamburger.active .hamburger-line:nth-child(1) {
width: 28px;
transform:
translateY(8px)
rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
opacity: 0;
width: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
width: 28px;
transform:
translateY(-8px)
rotate(-45deg);
}
/* ========================================================= */
/* SIDE MENU */
/* ========================================================= */
#sideMenu {
position: fixed;
top: 0;
right: 0;
width: min(480px, 92vw);
height: 100vh;
background: white;
z-index: 100;
transform:
translateX(100%);
transition:
transform .45s cubic-bezier(.77,0,.18,1);
box-shadow:
-20px 0 70px rgba(7,26,56,.20);
}
#sideMenu.open {
transform:
translateX(0);
}
#menuOverlay {
position: fixed;
inset: 0;
background:
rgba(7,26,56,.60);
backdrop-filter:
blur(4px);
z-index: 90;
opacity: 0;
visibility: hidden;
transition:
opacity .35s ease;
}
#menuOverlay.open {
opacity: 1;
visibility: visible;
}
.side-link {
position: relative;
transition:
color .25s ease,
padding-left .25s ease;
}
.side-link:hover {
color: #1455C0;
padding-left: 8px;
}
.side-link::after {
content: '';
position: absolute;
left: 0;
bottom: -5px;
width: 0;
height: 2px;
background: #1455C0;
transition:
width .25s ease;
}
.side-link:hover::after {
width: 35px;
}
/* ========================================================= */
/* HERO */
/* ========================================================= */
.slide {
position: absolute;
inset: 0;
opacity: 0;
visibility: hidden;
transition:
opacity 1s ease;
}
.slide.active {
opacity: 1;
visibility: visible;
}
.slide-image {
transform:
scale(1.08);
transition:
transform 7s ease;
}
.slide.active .slide-image {
transform:
scale(1);
}
.hero-overlay {
background:
linear-gradient(
90deg,
rgba(4,20,45,.94) 0%,
rgba(4,20,45,.80) 35%,
rgba(4,20,45,.38) 70%,
rgba(4,20,45,.15) 100%
);
}
/* ========================================================= */
/* SLIDER INDICATORS */
/* ========================================================= */
.slider-indicator {
cursor: pointer;
transition:
all .35s ease;
}
.indicator-number {
transition:
color .3s ease;
}
.indicator-line {
width: 42px;
height: 2px;
background:
rgba(255,255,255,.35);
transition:
width .4s ease,
background .4s ease;
}
.slider-indicator.active
.indicator-number {
color: #F4B740;
}
.slider-indicator.active
.indicator-line {
width: 85px;
background: #F4B740;
}
/* ========================================================= */
/* PROGRESS */
/* ========================================================= */
#sliderProgress {
transform-origin:
left;
transform:
scaleX(0);
transition:
transform .1s linear;
}
/* ========================================================= */
/* SECTION */
/* ========================================================= */
.section-line {
width: 52px;
height: 4px;
border-radius: 30px;
background: #1455C0;
}
/* ========================================================= */
/* CARDS */
/* ========================================================= */
.image-card img {
transition:
transform .65s ease;
}
.image-card:hover img {
transform:
scale(1.07);
}
/* ========================================================= */
/* MOBILE */
/* ========================================================= */
@media(max-width:640px) {
.hero-overlay {
background:
linear-gradient(
90deg,
rgba(4,20,45,.93),
rgba(4,20,45,.55)
);
}
}
</style>
</head>
<body class="bg-white text-slate-700">
<!-- ============================================================= -->
<!-- MENU OVERLAY -->
<!-- ============================================================= -->
<div id="menuOverlay"></div>
<!-- ============================================================= -->
<!-- SIDE MENU -->
<!-- ============================================================= -->
<aside id="sideMenu">
<div class="h-full flex flex-col">
<!-- TOP -->
<div class="px-7 md:px-10
py-7
border-b
border-slate-100
flex items-center
justify-between">
<div class="flex items-center gap-3">
<div class="w-11 h-11
rounded-xl
bg-blue-600
text-white
flex items-center
justify-center">
<i class="fa-solid fa-hands-holding-child"></i>
</div>
<div>
<div class="font-black text-lg text-ink">
Espoir
</div>
<div class="text-xs text-slate-400">
& Solidarité
</div>
</div>
</div>
<button id="closeMenu"
class="w-10 h-10
rounded-full
bg-slate-100
text-ink
hover:bg-blue-600
hover:text-white
transition">
<i class="fa-solid fa-xmark"></i>
</button>
</div>
<!-- NAVIGATION -->
<div class="flex-1
px-7 md:px-10
py-10
overflow-y-auto">
<p class="uppercase
tracking-[.2em]
text-xs
font-bold
text-blue-600
mb-7">
Navigation
</p>
<nav class="space-y-7">
<a href="#accueil"
class="side-link
block
text-3xl
md:text-4xl
font-black
text-ink">
Accueil
</a>
<a href="#mission"
class="side-link
block
text-3xl
md:text-4xl
font-black
text-ink">
Notre mission
</a>
<a href="#actions"
class="side-link
block
text-3xl
md:text-4xl
font-black
text-ink">
Nos actions
</a>
<a href="#projets"
class="side-link
block
text-3xl
md:text-4xl
font-black
text-ink">
Nos projets
</a>
<a href="#actualites"
class="side-link
block
text-3xl
md:text-4xl
font-black
text-ink">
Actualités
</a>
<a href="#contact"
class="side-link
block
text-3xl
md:text-4xl
font-black
text-ink">
Contact
</a>
</nav>
<!-- SMALL INFO -->
<div class="mt-14
pt-8
border-t
border-slate-100">
<p class="text-sm
text-slate-500
leading-7">
Ensemble, nous pouvons construire
des communautés plus fortes,
inclusives et durables.
</p>
</div>
</div>
<!-- BOTTOM -->
<div class="p-7 md:p-10
bg-soft">
<a href="#don"
class="flex items-center
justify-center
gap-3
w-full
bg-blue-600
hover:bg-blue-700
text-white
py-4
rounded-xl
font-bold
transition">
<i class="fa-solid fa-heart"></i>
Soutenir notre mission
</a>
<div class="flex gap-3 mt-6">
<a href="#"
class="w-10 h-10
rounded-full
bg-white
flex items-center
justify-center
text-slate-500
hover:bg-blue-600
hover:text-white
transition">
<i class="fa-brands fa-facebook-f"></i>
</a>
<a href="#"
class="w-10 h-10
rounded-full
bg-white
flex items-center
justify-center
text-slate-500
hover:bg-blue-600
hover:text-white
transition">
<i class="fa-brands fa-instagram"></i>
</a>
<a href="#"
class="w-10 h-10
rounded-full
bg-white
flex items-center
justify-center
text-slate-500
hover:bg-blue-600
hover:text-white
transition">
<i class="fa-brands fa-linkedin-in"></i>
</a>
</div>
</div>
</div>
</aside>
<!-- ============================================================= -->
<!-- HEADER STICKY -->
<!-- ============================================================= -->
<header id="header"
class="fixed top-0 left-0 right-0
z-50
bg-transparent">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8">
<div class="h-24
flex items-center
justify-between">
<!-- LOGO -->
<a href="#accueil"
class="flex items-center gap-3">
<div class="w-12 h-12
rounded-xl
bg-blue-600
text-white
flex items-center
justify-center
shadow-lg">
<i class="fa-solid fa-hands-holding-child text-xl"></i>
</div>
<div>
<div class="logo-main
text-white
font-black
text-xl
leading-none">
Espoir
</div>
<div class="logo-sub
text-white/60
text-xs
mt-1">
& Solidarité
</div>
</div>
</a>
<!-- RIGHT -->
<div class="flex items-center gap-5">
<!-- DON -->
<a href="#don"
class="hidden sm:flex
items-center
gap-2
bg-gold
text-navy
px-5
py-3
rounded-full
font-bold
text-sm
hover:bg-white
transition">
<i class="fa-solid fa-heart"></i>
Faire un don
</a>
<!-- HAMBURGER -->
<button id="menuBtn"
aria-label="Ouvrir le menu"
class="hamburger">
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
</button>
</div>
</div>
</div>
</header>
<!-- ============================================================= -->
<!-- HERO SLIDER -->
<!-- ============================================================= -->
<section id="accueil"
class="relative
h-[780px]
min-h-screen
overflow-hidden">
<!-- ========================================================= -->
<!-- SLIDE 1 -->
<!-- ========================================================= -->
<div class="slide active">
<img class="slide-image
absolute
inset-0
w-full
h-full
object-cover"
src="https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=2200&q=90"
alt="Enfants accompagnés par une ONG">
<div class="absolute
inset-0
hero-overlay">
</div>
</div>
<!-- ========================================================= -->
<!-- SLIDE 2 -->
<!-- ========================================================= -->
<div class="slide">
<img class="slide-image
absolute
inset-0
w-full
h-full
object-cover"
src="https://images.unsplash.com/photo-1531206715517-5c0ba140b2b8?auto=format&fit=crop&w=2200&q=90"
alt="Communauté">
<div class="absolute
inset-0
hero-overlay">
</div>
</div>
<!-- ========================================================= -->
<!-- SLIDE 3 -->
<!-- ========================================================= -->
<div class="slide">
<img class="slide-image
absolute
inset-0
w-full
h-full
object-cover"
src="https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=2200&q=90"
alt="Solidarité">
<div class="absolute
inset-0
hero-overlay">
</div>
</div>
<!-- ========================================================= -->
<!-- HERO CONTENT -->
<!-- ========================================================= -->
<div class="relative
z-10
max-w-7xl
mx-auto
px-5 lg:px-8
h-full
flex items-center">
<div class="max-w-3xl
pt-16">
<div class="inline-flex
items-center
gap-3
px-4
py-2
rounded-full
bg-white/10
backdrop-blur-md
border border-white/20
text-white
text-sm
mb-7">
<span class="w-2
h-2
rounded-full
bg-gold">
</span>
Une ONG engagée au service des communautés
</div>
<h1 class="text-5xl
md:text-6xl
lg:text-7xl
font-black
text-white
leading-[1.03]
tracking-tight">
Agir aujourd'hui.
<span class="block
text-gold">
Transformer demain.
</span>
</h1>
<p class="mt-7
max-w-2xl
text-lg
md:text-xl
text-white/80
leading-8">
Nous accompagnons les populations et les communautés
à travers des actions concrètes dans l'éducation,
la santé, l'environnement et le développement durable.
</p>
<div class="mt-9
flex flex-col
sm:flex-row
gap-4">
<a href="#actions"
class="inline-flex
items-center
justify-center
gap-3
bg-blue-600
hover:bg-blue-700
text-white
px-7
py-4
rounded-full
font-bold
transition
shadow-xl">
Découvrir nos actions
<i class="fa-solid fa-arrow-right"></i>
</a>
<a href="#mission"
class="inline-flex
items-center
justify-center
gap-3
bg-white/10
hover:bg-white
text-white
hover:text-ink
border border-white/30
backdrop-blur-md
px-7
py-4
rounded-full
font-bold
transition">
Qui sommes-nous ?
</a>
</div>
</div>
</div>
<!-- ========================================================= -->
<!-- SLIDER NAVIGATION -->
<!-- ========================================================= -->
<div class="absolute
bottom-32
left-0
right-0
z-20">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8
flex items-center
justify-between">
<!-- INDICATORS -->
<div class="flex
items-center
gap-7">
<button class="slider-indicator active
flex items-center
gap-3"
data-slide="0">
<span class="indicator-number
text-gold
font-bold
text-sm">
01
</span>
<span class="indicator-line"></span>
</button>
<button class="slider-indicator
flex items-center
gap-3"
data-slide="1">
<span class="indicator-number
text-white/60
font-bold
text-sm">
02
</span>
<span class="indicator-line"></span>
</button>
<button class="slider-indicator
flex items-center
gap-3"
data-slide="2">
<span class="indicator-number
text-white/60
font-bold
text-sm">
03
</span>
<span class="indicator-line"></span>
</button>
</div>
<!-- ARROWS -->
<div class="hidden sm:flex
items-center
gap-2">
<button id="prevSlide"
class="w-11 h-11
rounded-full
border border-white/30
text-white
hover:bg-white
hover:text-ink
transition">
<i class="fa-solid fa-arrow-left"></i>
</button>
<button id="nextSlide"
class="w-11 h-11
rounded-full
border border-white/30
text-white
hover:bg-white
hover:text-ink
transition">
<i class="fa-solid fa-arrow-right"></i>
</button>
</div>
</div>
</div>
<!-- ========================================================= -->
<!-- PROGRESS BAR -->
<!-- ========================================================= -->
<div class="absolute
bottom-0
left-0
right-0
h-1
bg-white/10
z-30">
<div id="sliderProgress"
class="h-full
bg-gold
w-full">
</div>
</div>
<!-- ========================================================= -->
<!-- STATS -->
<!-- ========================================================= -->
<div class="absolute
bottom-5
left-0
right-0
z-20">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8">
<div class="grid
grid-cols-2
md:grid-cols-4
bg-white/10
backdrop-blur-xl
border border-white/20
rounded-2xl
overflow-hidden">
<div class="p-4 md:p-5">
<strong class="block
text-2xl
font-black
text-white">
25+
</strong>
<span class="text-xs
md:text-sm
text-white/60">
Projets réalisés
</span>
</div>
<div class="p-4 md:p-5
border-l
border-white/10">
<strong class="block
text-2xl
font-black
text-white">
12K+
</strong>
<span class="text-xs
md:text-sm
text-white/60">
Bénéficiaires
</span>
</div>
<div class="hidden md:block
p-5
border-l
border-white/10">
<strong class="block
text-2xl
font-black
text-white">
8
</strong>
<span class="text-sm
text-white/60">
Zones d'intervention
</span>
</div>
<div class="hidden md:block
p-5
border-l
border-white/10">
<strong class="block
text-2xl
font-black
text-white">
10+
</strong>
<span class="text-sm
text-white/60">
Années d'engagement
</span>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================================= -->
<!-- MISSION -->
<!-- ============================================================= -->
<section id="mission"
class="py-24
bg-soft">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8">
<div class="grid
lg:grid-cols-2
gap-16
items-center">
<!-- IMAGE -->
<div class="relative">
<div class="rounded-[2rem]
overflow-hidden
shadow-soft">
<img src="https://images.unsplash.com/photo-1542810634-71277d95dcbb?auto=format&fit=crop&w=1200&q=90"
alt="Notre mission"
class="w-full
h-[500px]
object-cover">
</div>
<div class="absolute
-bottom-7
-right-5
bg-white
rounded-2xl
shadow-xl
p-5
w-60">
<div class="flex
items-center
gap-4">
<div class="w-12 h-12
rounded-xl
bg-blue-50
text-blue-600
flex items-center
justify-center">
<i class="fa-solid fa-heart text-xl"></i>
</div>
<div>
<strong class="block
text-xl
font-black
text-ink">
100%
</strong>
<span class="text-xs
text-slate-500">
Engagement terrain
</span>
</div>
</div>
</div>
</div>
<!-- TEXT -->
<div>
<div class="section-line mb-5"></div>
<p class="uppercase
tracking-[.2em]
text-blue-600
font-bold
text-sm">
Notre mission
</p>
<h2 class="mt-4
text-4xl
md:text-5xl
font-black
text-ink
leading-tight">
Mettre l'humain
<span class="text-blue-600">
au cœur de l'action
</span>
</h2>
<p class="mt-6
text-slate-600
leading-8">
Nous travaillons au plus près des communautés
afin d'identifier leurs besoins et de construire
avec elles des solutions adaptées.
</p>
<p class="mt-4
text-slate-600
leading-8">
Notre objectif est de créer un impact durable
en donnant aux populations les moyens de devenir
actrices de leur propre développement.
</p>
<div class="mt-8
grid sm:grid-cols-2
gap-6">
<div>
<div class="w-11 h-11
rounded-xl
bg-blue-100
text-blue-600
flex items-center
justify-center">
<i class="fa-solid fa-people-group"></i>
</div>
<h3 class="mt-4
font-bold
text-ink">
Proximité
</h3>
<p class="mt-2
text-sm
text-slate-500
leading-6">
Être au plus près des personnes
et des réalités locales.
</p>
</div>
<div>
<div class="w-11 h-11
rounded-xl
bg-blue-100
text-blue-600
flex items-center
justify-center">
<i class="fa-solid fa-seedling"></i>
</div>
<h3 class="mt-4
font-bold
text-ink">
Durabilité
</h3>
<p class="mt-2
text-sm
text-slate-500
leading-6">
Construire des solutions capables
de produire un impact durable.
</p>
</div>
</div>
<a href="#actions"
class="inline-flex
items-center
gap-2
mt-9
text-blue-600
font-bold">
En savoir plus
<i class="fa-solid fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</section>
<!-- ============================================================= -->
<!-- ACTIONS -->
<!-- ============================================================= -->
<section id="actions"
class="py-24">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8">
<div class="max-w-2xl
mb-14">
<div class="section-line mb-5"></div>
<p class="uppercase
tracking-[.2em]
text-blue-600
font-bold
text-sm">
Nos domaines d'intervention
</p>
<h2 class="mt-4
text-4xl
md:text-5xl
font-black
text-ink">
Des actions concrètes
pour un
<span class="text-blue-600">
impact durable
</span>
</h2>
</div>
<div class="grid
md:grid-cols-2
lg:grid-cols-4
gap-6">
<!-- ACTION 1 -->
<article class="image-card
bg-white
rounded-3xl
overflow-hidden
border border-slate-100
shadow-card
group">
<div class="h-52 overflow-hidden">
<img src="https://images.unsplash.com/photo-1509099836639-18ba1795216d?auto=format&fit=crop&w=900&q=90"
alt="Éducation"
class="w-full
h-full
object-cover">
</div>
<div class="p-6">
<div class="w-12 h-12
rounded-xl
bg-blue-50
text-blue-600
flex items-center
justify-center
-mt-12
relative
mb-5">
<i class="fa-solid fa-graduation-cap text-xl"></i>
</div>
<h3 class="text-xl
font-black
text-ink">
Éducation
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Favoriser l'accès à une éducation
de qualité pour les enfants et les jeunes.
</p>
</div>
</article>
<!-- ACTION 2 -->
<article class="image-card
bg-white
rounded-3xl
overflow-hidden
border border-slate-100
shadow-card
group">
<div class="h-52 overflow-hidden">
<img src="https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?auto=format&fit=crop&w=900&q=90"
alt="Santé"
class="w-full
h-full
object-cover">
</div>
<div class="p-6">
<div class="w-12 h-12
rounded-xl
bg-blue-50
text-blue-600
flex items-center
justify-center
-mt-12
relative
mb-5">
<i class="fa-solid fa-heart-pulse text-xl"></i>
</div>
<h3 class="text-xl
font-black
text-ink">
Santé
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Renforcer l'accès aux soins et
promouvoir la prévention.
</p>
</div>
</article>
<!-- ACTION 3 -->
<article class="image-card
bg-white
rounded-3xl
overflow-hidden
border border-slate-100
shadow-card
group">
<div class="h-52 overflow-hidden">
<img src="https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=900&q=90"
alt="Communautés"
class="w-full
h-full
object-cover">
</div>
<div class="p-6">
<div class="w-12 h-12
rounded-xl
bg-blue-50
text-blue-600
flex items-center
justify-center
-mt-12
relative
mb-5">
<i class="fa-solid fa-people-group text-xl"></i>
</div>
<h3 class="text-xl
font-black
text-ink">
Communautés
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Renforcer l'autonomie des communautés
et leur capacité d'action.
</p>
</div>
</article>
<!-- ACTION 4 -->
<article class="image-card
bg-white
rounded-3xl
overflow-hidden
border border-slate-100
shadow-card
group">
<div class="h-52 overflow-hidden">
<img src="https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=900&q=90"
alt="Environnement"
class="w-full
h-full
object-cover">
</div>
<div class="p-6">
<div class="w-12 h-12
rounded-xl
bg-blue-50
text-blue-600
flex items-center
justify-center
-mt-12
relative
mb-5">
<i class="fa-solid fa-leaf text-xl"></i>
</div>
<h3 class="text-xl
font-black
text-ink">
Environnement
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Préserver les ressources naturelles
et promouvoir des pratiques durables.
</p>
</div>
</article>
</div>
</div>
</section>
<!-- ============================================================= -->
<!-- PROJETS -->
<!-- ============================================================= -->
<section id="projets"
class="py-24
bg-soft">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8">
<div class="flex flex-col
md:flex-row
md:items-end
md:justify-between
gap-6
mb-12">
<div>
<div class="section-line mb-5"></div>
<p class="uppercase
tracking-[.2em]
text-blue-600
font-bold
text-sm">
Nos projets
</p>
<h2 class="mt-4
text-4xl
md:text-5xl
font-black
text-ink">
Là où notre action
<span class="text-blue-600">
prend vie
</span>
</h2>
</div>
<a href="#"
class="inline-flex
items-center
gap-2
text-blue-600
font-bold">
Voir tous les projets
<i class="fa-solid fa-arrow-right"></i>
</a>
</div>
<div class="grid
lg:grid-cols-3
gap-7">
<!-- PROJECT 1 -->
<article class="image-card
bg-white
rounded-3xl
overflow-hidden
shadow-card
group">
<div class="relative
h-64
overflow-hidden">
<img src="https://images.unsplash.com/photo-1489493585363-d69421e0edd3?auto=format&fit=crop&w=1200&q=90"
alt="Projet éducation"
class="w-full
h-full
object-cover">
<span class="absolute
top-5
left-5
bg-white
text-blue-600
px-3
py-2
rounded-full
text-xs
font-bold">
Éducation
</span>
</div>
<div class="p-7">
<p class="text-sm
text-slate-400">
Côte d'Ivoire
</p>
<h3 class="mt-2
text-xl
font-black
text-ink">
Écoles pour demain
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Soutenir les enfants dans leur parcours
scolaire grâce à des infrastructures adaptées.
</p>
<div class="mt-6">
<div class="flex
justify-between
text-xs
mb-2">
<span>
Progression
</span>
<strong>
78%
</strong>
</div>
<div class="h-2
bg-slate-100
rounded-full
overflow-hidden">
<div class="h-full
bg-blue-600
rounded-full"
style="width:78%">
</div>
</div>
</div>
</div>
</article>
<!-- PROJECT 2 -->
<article class="image-card
bg-white
rounded-3xl
overflow-hidden
shadow-card
group">
<div class="relative
h-64
overflow-hidden">
<img src="https://images.unsplash.com/photo-1594708767771-a7502209ff51?auto=format&fit=crop&w=1200&q=90"
alt="Projet santé"
class="w-full
h-full
object-cover">
<span class="absolute
top-5
left-5
bg-white
text-blue-600
px-3
py-2
rounded-full
text-xs
font-bold">
Santé
</span>
</div>
<div class="p-7">
<p class="text-sm
text-slate-400">
Afrique de l'Ouest
</p>
<h3 class="mt-2
text-xl
font-black
text-ink">
Santé pour tous
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Des campagnes de sensibilisation et
de prévention au plus près des populations.
</p>
<div class="mt-6">
<div class="flex
justify-between
text-xs
mb-2">
<span>
Progression
</span>
<strong>
64%
</strong>
</div>
<div class="h-2
bg-slate-100
rounded-full
overflow-hidden">
<div class="h-full
bg-blue-600
rounded-full"
style="width:64%">
</div>
</div>
</div>
</div>
</article>
<!-- PROJECT 3 -->
<article class="image-card
bg-white
rounded-3xl
overflow-hidden
shadow-card
group">
<div class="relative
h-64
overflow-hidden">
<img src="https://images.unsplash.com/photo-1472162072942-cd5147eb3902?auto=format&fit=crop&w=1200&q=90"
alt="Projet environnement"
class="w-full
h-full
object-cover">
<span class="absolute
top-5
left-5
bg-white
text-blue-600
px-3
py-2
rounded-full
text-xs
font-bold">
Environnement
</span>
</div>
<div class="p-7">
<p class="text-sm
text-slate-400">
Zones rurales
</p>
<h3 class="mt-2
text-xl
font-black
text-ink">
Une terre pour demain
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Préserver les espaces naturels et encourager
les pratiques agricoles durables.
</p>
<div class="mt-6">
<div class="flex
justify-between
text-xs
mb-2">
<span>
Progression
</span>
<strong>
52%
</strong>
</div>
<div class="h-2
bg-slate-100
rounded-full
overflow-hidden">
<div class="h-full
bg-blue-600
rounded-full"
style="width:52%">
</div>
</div>
</div>
</div>
</article>
</div>
</div>
</section>
<!-- ============================================================= -->
<!-- ACTUALITES -->
<!-- ============================================================= -->
<section id="actualites"
class="py-24">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8">
<div class="flex
flex-col
md:flex-row
md:items-end
md:justify-between
gap-5
mb-12">
<div>
<div class="section-line mb-5"></div>
<p class="uppercase
tracking-[.2em]
text-blue-600
font-bold
text-sm">
Actualités
</p>
<h2 class="mt-4
text-4xl
md:text-5xl
font-black
text-ink">
Ce qui se passe
<span class="text-blue-600">
sur le terrain
</span>
</h2>
</div>
<a href="#"
class="hidden md:inline-flex
items-center
gap-2
text-blue-600
font-bold">
Toutes les actualités
<i class="fa-solid fa-arrow-right"></i>
</a>
</div>
<div class="grid
md:grid-cols-3
gap-7">
<article class="rounded-3xl
overflow-hidden
border
border-slate-100
shadow-soft
bg-white
image-card
group">
<div class="h-56
overflow-hidden">
<img src="https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1000&q=90"
alt="Actualité"
class="w-full
h-full
object-cover">
</div>
<div class="p-6">
<span class="text-xs
font-bold
text-blue-600">
12 AOÛT 2026
</span>
<h3 class="mt-3
text-xl
font-black
text-ink">
Une nouvelle campagne
pour nos communautés
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Retour sur notre dernière action
menée auprès des communautés.
</p>
</div>
</article>
<article class="rounded-3xl
overflow-hidden
border
border-slate-100
shadow-soft
bg-white
image-card
group">
<div class="h-56
overflow-hidden">
<img src="https://images.unsplash.com/photo-1509099836639-18ba1795216d?auto=format&fit=crop&w=1000&q=90"
alt="Éducation"
class="w-full
h-full
object-cover">
</div>
<div class="p-6">
<span class="text-xs
font-bold
text-blue-600">
04 AOÛT 2026
</span>
<h3 class="mt-3
text-xl
font-black
text-ink">
Des fournitures scolaires
pour la rentrée
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Notre équipe prépare une nouvelle
distribution dans plusieurs écoles.
</p>
</div>
</article>
<article class="rounded-3xl
overflow-hidden
border
border-slate-100
shadow-soft
bg-white
image-card
group">
<div class="h-56
overflow-hidden">
<img src="https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=1000&q=90"
alt="Bénévolat"
class="w-full
h-full
object-cover">
</div>
<div class="p-6">
<span class="text-xs
font-bold
text-blue-600">
27 JUILLET 2026
</span>
<h3 class="mt-3
text-xl
font-black
text-ink">
Rejoignez notre réseau
de bénévoles
</h3>
<p class="mt-3
text-sm
text-slate-500
leading-6">
Découvrez comment participer
à nos prochaines actions.
</p>
</div>
</article>
</div>
</div>
</section>
<!-- ============================================================= -->
<!-- DON -->
<!-- ============================================================= -->
<section id="don"
class="py-24">
<div class="max-w-6xl
mx-auto
px-5 lg:px-8">
<div class="relative
overflow-hidden
rounded-[2rem]
bg-navy">
<div class="absolute
-right-24
-top-24
w-80 h-80
rounded-full
bg-blue-600/30
blur-3xl">
</div>
<div class="absolute
-left-24
-bottom-24
w-80 h-80
rounded-full
bg-gold/10
blur-3xl">
</div>
<div class="relative
grid
lg:grid-cols-2
gap-12
items-center
p-8
md:p-14">
<div>
<div class="w-14 h-14
rounded-2xl
bg-white/10
text-gold
flex items-center
justify-center
text-2xl">
<i class="fa-solid fa-heart"></i>
</div>
<h2 class="mt-6
text-4xl
md:text-5xl
font-black
text-white
leading-tight">
Votre soutien peut
<span class="text-gold">
changer une vie.
</span>
</h2>
<p class="mt-5
text-white/70
leading-7">
Chaque contribution nous permet de renforcer
nos actions et d'accompagner davantage
de personnes sur le terrain.
</p>
</div>
<div class="bg-white
rounded-3xl
p-7 md:p-8">
<h3 class="text-xl
font-black
text-ink">
Soutenir notre mission
</h3>
<div class="grid
grid-cols-3
gap-3
mt-6">
<button class="border
border-slate-200
rounded-xl
py-3
text-sm
font-bold
hover:border-blue-600
hover:text-blue-600
transition">
10 000 FCFA
</button>
<button class="border
border-slate-200
rounded-xl
py-3
text-sm
font-bold
hover:border-blue-600
hover:text-blue-600
transition">
25 000 FCFA
</button>
<button class="border
border-slate-200
rounded-xl
py-3
text-sm
font-bold
hover:border-blue-600
hover:text-blue-600
transition">
50 000 FCFA
</button>
</div>
<button class="w-full
mt-5
bg-blue-600
hover:bg-blue-700
text-white
py-4
rounded-xl
font-bold
transition">
<i class="fa-solid fa-heart mr-2"></i>
Faire un don
</button>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================================= -->
<!-- FOOTER -->
<!-- ============================================================= -->
<footer id="contact"
class="bg-navy
text-white">
<div class="max-w-7xl
mx-auto
px-5 lg:px-8
py-16">
<div class="grid
md:grid-cols-2
lg:grid-cols-4
gap-12">
<!-- BRAND -->
<div>
<div class="flex
items-center
gap-3">
<div class="w-11 h-11
rounded-xl
bg-blue-600
flex items-center
justify-center">
<i class="fa-solid fa-hands-holding-child"></i>
</div>
<div>
<div class="font-black text-lg">
Espoir
</div>
<div class="text-xs text-white/50">
& Solidarité
</div>
</div>
</div>
<p class="mt-5
text-white/60
text-sm
leading-7">
Une ONG engagée pour un monde plus juste,
solidaire et durable.
</p>
<div class="flex gap-3 mt-6">
<a href="#"
class="w-10 h-10
rounded-full
bg-white/10
flex items-center
justify-center
hover:bg-blue-600
transition">
<i class="fa-brands fa-facebook-f"></i>
</a>
<a href="#"
class="w-10 h-10
rounded-full
bg-white/10
flex items-center
justify-center
hover:bg-blue-600
transition">
<i class="fa-brands fa-instagram"></i>
</a>
<a href="#"
class="w-10 h-10
rounded-full
bg-white/10
flex items-center
justify-center
hover:bg-blue-600
transition">
<i class="fa-brands fa-linkedin-in"></i>
</a>
</div>
</div>
<!-- NAVIGATION -->
<div>
<h3 class="font-bold mb-5">
Navigation
</h3>
<ul class="space-y-3
text-sm
text-white/60">
<li>
<a href="#mission"
class="hover:text-white">
Notre mission
</a>
</li>
<li>
<a href="#actions"
class="hover:text-white">
Nos actions
</a>
</li>
<li>
<a href="#projets"
class="hover:text-white">
Nos projets
</a>
</li>
<li>
<a href="#actualites"
class="hover:text-white">
Actualités
</a>
</li>
</ul>
</div>
<!-- SOUTIEN -->
<div>
<h3 class="font-bold mb-5">
Nous soutenir
</h3>
<ul class="space-y-3
text-sm
text-white/60">
<li>
<a href="#don"
class="hover:text-white">
Faire un don
</a>
</li>
<li>
<a href="#"
class="hover:text-white">
Devenir bénévole
</a>
</li>
<li>
<a href="#"
class="hover:text-white">
Devenir partenaire
</a>
</li>
<li>
<a href="#"
class="hover:text-white">
Nous contacter
</a>
</li>
</ul>
</div>
<!-- CONTACT -->
<div>
<h3 class="font-bold mb-5">
Contact
</h3>
<ul class="space-y-4
text-sm
text-white/60">
<li class="flex gap-3">
<i class="fa-solid fa-location-dot
text-blue-500
mt-1"></i>
Abidjan, Côte d'Ivoire
</li>
<li class="flex gap-3">
<i class="fa-solid fa-envelope
text-blue-500
mt-1"></i>
contact@espoir-solidarite.org
</li>
<li class="flex gap-3">
<i class="fa-solid fa-phone
text-blue-500
mt-1"></i>
+225 00 00 00 00 00
</li>
</ul>
</div>
</div>
<!-- COPYRIGHT -->
<div class="border-t
border-white/10
mt-14
pt-7
flex flex-col
md:flex-row
justify-between
gap-4
text-xs
text-white/40">
<p>
© 2026 Espoir & Solidarité.
Tous droits réservés.
</p>
<div class="flex gap-5">
<a href="#" class="hover:text-white">
Mentions légales
</a>
<a href="#" class="hover:text-white">
Politique de confidentialité
</a>
</div>
</div>
</div>
</footer>
<!-- ============================================================= -->
<!-- JAVASCRIPT -->
<!-- ============================================================= -->
<script>
/* ============================================================= */
/* HEADER STICKY */
/* ============================================================= */
const header =
document.getElementById('header');
function updateHeader() {
if (window.scrollY > 40) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
}
window.addEventListener(
'scroll',
updateHeader
);
updateHeader();
/* ============================================================= */
/* MENU HAMBURGER */
/* ============================================================= */
const menuBtn =
document.getElementById('menuBtn');
const sideMenu =
document.getElementById('sideMenu');
const menuOverlay =
document.getElementById('menuOverlay');
const closeMenu =
document.getElementById('closeMenu');
function openMenu() {
sideMenu.classList.add('open');
menuOverlay.classList.add('open');
menuBtn.classList.add('active');
document.body.style.overflow =
'hidden';
}
function closeSideMenu() {
sideMenu.classList.remove('open');
menuOverlay.classList.remove('open');
menuBtn.classList.remove('active');
document.body.style.overflow =
'';
}
menuBtn.addEventListener(
'click',
openMenu
);
closeMenu.addEventListener(
'click',
closeSideMenu
);
menuOverlay.addEventListener(
'click',
closeSideMenu
);
document.querySelectorAll(
'.side-link'
).forEach(link => {
link.addEventListener(
'click',
closeSideMenu
);
});
/* ============================================================= */
/* SLIDER */
/* ============================================================= */
const slides =
document.querySelectorAll('.slide');
const indicators =
document.querySelectorAll(
'.slider-indicator'
);
const nextButton =
document.getElementById('nextSlide');
const prevButton =
document.getElementById('prevSlide');
const progress =
document.getElementById(
'sliderProgress'
);
let currentSlide = 0;
let sliderTimer;
let progressTimer;
const slideDuration = 6000;
/* ============================================================= */
/* SHOW SLIDE */
/* ============================================================= */
function showSlide(index) {
slides.forEach(
(slide, i) => {
slide.classList.toggle(
'active',
i === index
);
}
);
indicators.forEach(
(indicator, i) => {
indicator.classList.toggle(
'active',
i === index
);
const number =
indicator.querySelector(
'.indicator-number'
);
const line =
indicator.querySelector(
'.indicator-line'
);
if (i === index) {
number.classList.remove(
'text-white/60'
);
number.classList.add(
'text-gold'
);
line.style.width =
'85px';
line.style.background =
'#F4B740';
} else {
number.classList.remove(
'text-gold'
);
number.classList.add(
'text-white/60'
);
line.style.width =
'42px';
line.style.background =
'rgba(255,255,255,.35)';
}
}
);
resetProgress();
}
/* ============================================================= */
/* NEXT */
/* ============================================================= */
function nextSlide() {
currentSlide =
(currentSlide + 1)
% slides.length;
showSlide(currentSlide);
}
/* ============================================================= */
/* PREVIOUS */
/* ============================================================= */
function previousSlide() {
currentSlide =
(currentSlide - 1 + slides.length)
% slides.length;
showSlide(currentSlide);
}
/* ============================================================= */
/* AUTOPLAY */
/* ============================================================= */
function startSlider() {
clearInterval(sliderTimer);
sliderTimer =
setInterval(
nextSlide,
slideDuration
);
}
function resetProgress() {
clearInterval(progressTimer);
progress.style.transition =
'none';
progress.style.transform =
'scaleX(0)';
requestAnimationFrame(() => {
requestAnimationFrame(() => {
progress.style.transition =
`transform ${slideDuration}ms linear`;
progress.style.transform =
'scaleX(1)';
});
});
startSlider();
}
/* ============================================================= */
/* INDICATORS */
/* ============================================================= */
indicators.forEach(
indicator => {
indicator.addEventListener(
'click',
() => {
currentSlide =
Number(
indicator.dataset.slide
);
showSlide(currentSlide);
}
);
}
);
/* ============================================================= */
/* ARROWS */
/* ============================================================= */
nextButton.addEventListener(
'click',
() => {
nextSlide();
}
);
prevButton.addEventListener(
'click',
() => {
previousSlide();
}
);
/* ============================================================= */
/* START */
/* ============================================================= */
showSlide(0);
</script>
</body>
</html>
🔒
CONTENU RÉSERVÉ A MES APPRENANTS
Accédez à la suite de ce TP
La suite de ce TP ainsi que les contenus Premium sont accessibles exclusivement à mes étudiants.
FAITES-VOUS DEJA PARTIE DE MES APPRENANTS ?
Connectez-vous à votre compte
Utilisez vos identifiants pour accéder immédiatement à l'intégralité de cet article et à vos contenus Premium.
PAS ENCORE INSCRIT ?
Rejoignez-nous
+225 01 61 01 71 96
💬
Je m'inscris
AVANTAGES POUR LES APPRENANTS
Tout ce que vous obtenez
L'offre est conçue pour vous permettre d'apprendre, de pratiquer et de progresser en informatique grâce à des ressources concrètes et accessibles.
Suivi et accompagnement
Vous êtes ajouté au groupe WhatsApp Premium de mes apprenants
et bénéficiez d'un accompagnement, d'un suivi et d'une assistance
tout au long de votre apprentissage.
Accès illimité aux codes sources
Téléchargez librement les codes sources
disponibles dans l'espace Premium pendant
toute la durée de validité de votre abonnement.
Formations & ressources variées
Accédez à des tutoriels écrits de qualité, vidéos, PDF et échangez
directement avec moi et les autres apprenants via le groupe
WhatsApp Premium.
Plus de 10 ans d'expérience
Profitez de connaissances, de méthodes
et de conseils issus de plus de 10 années
d'expérience dans le domaine informatique.
1 mois d'accès
Votre inscription est valable pendant
un mois à compter de la date à laquelle vous effectuez le paiement.
Renouvellement libre
À l'expiration,
vous êtes libre de le renouveler ou de
ne pas le renouveler. Aucun engagement
obligatoire.