Voici le seul résultat
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
min-height: 100vh;
color: #1f2937;
}
/* Hero Section */
.hero-container {
max-width: 1200px;
margin: 0 auto;
padding: 5rem 2rem;
}
.hero-content {
text-align: center;
margin-bottom: 3rem;
}
.hero-title {
font-size: 3.5rem;
font-weight: 900;
margin-bottom: 1.5rem;
line-height: 1.2;
color: #1f2937;
}
.hero-subtitle {
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
display: block;
margin-top: 1rem;
}
.hero-description {
font-size: 1.25rem;
color: #6b7280;
max-width: 800px;
margin: 0 auto 2rem;
line-height: 1.6;
}
/* Search Bar */
.search-container {
max-width: 700px;
margin: 0 auto 3rem;
position: relative;
}
.search-input {
width: 100%;
padding: 1.2rem 10rem 1.2rem 1.5rem;
border-radius: 50px;
background: #f3f4f6;
border: 1px solid #e5e7eb;
color: #1f2937;
font-size: 1rem;
outline: none;
}
.search-input::placeholder {
color: #9ca3af;
}
.search-input:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-btn {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
border: none;
padding: 0.8rem 2rem;
border-radius: 50px;
color: white;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.search-btn:hover {
transform: translateY(-50%) scale(1.05);
}
/* Category Navigation with Auto Scroll */
.category-section {
background: #ffffff;
border-radius: 20px;
padding: 2rem;
border: 1px solid #e5e7eb;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
overflow: hidden;
}
.category-title {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: #1f2937;
}
.category-scroll-container {
position: relative;
overflow: hidden;
}
.category-scroll {
display: flex;
gap: 1rem;
animation: scroll 20s linear infinite;
}
.category-scroll:hover {
animation-play-state: paused;
}
@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
.category-btn {
padding: 0.8rem 1.8rem;
border-radius: 50px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
white-space: nowrap;
flex-shrink: 0;
border: 1px solid rgba(255, 255, 255, 0.3);
background: rgba(255, 255, 255, 0.2);
color: white;
}
.category-btn:hover {
transform: scale(1.05);
background: rgba(255, 255, 255, 0.3);
}
.category-btn.active {
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
border: none;
box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}
/* CTA Buttons */
.cta-container {
margin-top: 4rem;
text-align: center;
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.cta-btn {
padding: 1rem 2.5rem;
border-radius: 50px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s;
border: none;
}
.cta-primary {
background: linear-gradient(90deg, #ec4899, #f97316);
color: white;
box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}
.cta-primary:hover {
transform: scale(1.05);
box-shadow: 0 15px 40px rgba(236, 72, 153, 0.5);
}
.cta-secondary {
background: #ffffff;
border: 2px solid #e5e7eb;
color: #4b5563;
}
.cta-secondary:hover {
transform: scale(1.05);
background: #f9fafb;
border-color: #d1d5db;
}
/* Stats */
.stats-container {
margin-top: 5rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.stat-card {
text-align: center;
background: #ffffff;
border-radius: 15px;
padding: 2rem;
border: 1px solid #e5e7eb;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.stat-number {
font-size: 3rem;
font-weight: bold;
margin-bottom: 0.5rem;
color: #3b82f6;
}
.stat-label {
color: #6b7280;
font-size: 1.1rem;
}
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.search-input {
padding-right: 1.5rem;
}
.search-btn {
position: static;
transform: none;
width: 100%;
margin-top: 1rem;
}
.search-container {
display: flex;
flex-direction: column;
}
}
Découvrez Nos Produits
Numériques Premium
Ebooks, formations professionnelles, guides d’affaires et logiciels essentiels pour votre succès
Catégories
// Categories
const categories = [
‘Tout’,
‘Ebook’,
‘Cours’,
‘Formation’,
‘LLC’,
‘Taxe’,
‘Windows 11’,
‘Microsoft Office’
];
let activeCategory = ‘Tout’;
// Create category buttons with duplication for seamless loop
function createCategories() {
const container = document.getElementById(‘categoryScroll’);
if (!container) {
console.error(‘Container not found’);
return;
}
const allCategories = […categories, …categories]; // Duplicate for seamless scroll
allCategories.forEach((category, index) => {
const btn = document.createElement(‘button’);
btn.className = ‘category-btn’;
btn.textContent = category;
btn.dataset.category = category;
if (category === activeCategory && index {
activeCategory = category;
updateActiveCategory();
});
container.appendChild(btn);
});
}
function updateActiveCategory() {
const buttons = document.querySelectorAll(‘.category-btn’);
buttons.forEach(btn => {
if (btn.dataset.category === activeCategory) {
btn.classList.add(‘active’);
} else {
btn.classList.remove(‘active’);
}
});
}
// Initialize when DOM is ready
if (document.readyState === ‘loading’) {
document.addEventListener(‘DOMContentLoaded’, createCategories);
} else {
createCategories();
}
