/* Import Google Font - Poppins (Police professionnelle) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset et Variables */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3385d6;
    --secondary-color: #004499;
    --accent-color: #00a8ff;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    font-size: 14px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header amélioré */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 48px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.admin-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: var(--transition);
    font-size: 13px;
    font-weight: 600;
}

.admin-link::before {
    display: none;
}

.admin-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section améliorée */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004499 50%, #003366 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.3px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.6s both;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Buttons améliorés */
.btn {
    display: inline-block;
    padding: 11px 28px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    color: var(--primary-color);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Bouton secondaire pour les pages normales */
.article-footer-new .btn-secondary,
.article-footer-new .btn-primary {
    background: var(--primary-color);
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.article-footer-new .btn-secondary:hover,
.article-footer-new .btn-primary:hover {
    background: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.4);
}

/* Sections améliorées */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* About Section améliorée */
.about-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.about-card-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
    padding: 0;
    overflow: visible;
}

.about-card-reverse {
    grid-template-columns: 1.5fr 1fr;
}

.about-card-reverse .about-card-image {
    order: 2;
}

.about-card-reverse .about-card-content {
    order: 1;
}

.about-card-image {
    position: relative;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-card-reverse .about-card-image {
    border-radius: 0 15px 15px 0;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-card:hover .about-card-image img {
    transform: scale(1.05);
}

.about-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: var(--transition);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card-title {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.about-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    font-weight: 400;
}

.values-section {
    margin-top: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,102,204,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
}

.value-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.value-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Services Section améliorée */
.services-section {
    background: #fff;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: #fff;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,102,204,0.2));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Blog Section améliorée */
.blog-preview-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.section-header-blog {
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Nouveau design pour les articles sur la page d'accueil */
.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card-home {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-home:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-card-image-home {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.blog-card-image-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card-home:hover .blog-card-image-home img {
    transform: scale(1.1);
}

.blog-card-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.blog-card-content-home {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
}

.blog-card-title-home {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.blog-card-title-home a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.blog-card-title-home a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt-home {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 0.95rem;
    font-weight: 400;
}

.blog-card-footer-home {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-card-link-home {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.blog-card-link-home span {
    transition: var(--transition);
}

.blog-card-link-home:hover {
    gap: 1rem;
    color: var(--accent-color);
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.9rem;
    font-weight: 400;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.blog-card-link:hover {
    gap: 1rem;
    color: var(--accent-color);
}

/* Contact Section améliorée */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0,102,204,0.2));
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Footer amélioré */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 3.5rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.2px;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 400;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-section a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Blog Listing amélioré */
.blog-listing {
    padding: 50px 0;
    min-height: 60vh;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.5px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.no-articles {
    text-align: center;
    padding: 3.5rem;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
}

/* Article Single amélioré */
.article-single {
    padding: 40px 0 60px;
    background: #fff;
}

.article-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-breadcrumb span {
    color: var(--text-color);
    font-weight: 500;
}

.article-header-new {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.article-title-new {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.article-meta-new {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-date-new,
.article-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
}

.article-date-new svg,
.article-updated svg {
    color: var(--primary-color);
}

.article-featured-image-new {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.article-featured-image-new img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.article-content-new {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
    font-weight: 400;
}

.article-content-new p {
    margin-bottom: 1.5rem;
}

.article-content-new h1,
.article-content-new h2,
.article-content-new h3,
.article-content-new h4 {
    color: var(--text-color);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content-new h1 {
    font-size: 2rem;
}

.article-content-new h2 {
    font-size: 1.75rem;
}

.article-content-new h3 {
    font-size: 1.5rem;
}

.article-content-new h4 {
    font-size: 1.25rem;
}

.article-content-new ul,
.article-content-new ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content-new li {
    margin-bottom: 0.75rem;
}

.article-content-new strong,
.article-content-new b {
    font-weight: 700;
    color: var(--text-color);
}

.article-content-new em,
.article-content-new i {
    font-style: italic;
}

.article-content-new a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.article-content-new a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.article-content-new blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content-new img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.article-content-new code {
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-content-new pre {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content-new pre code {
    background: none;
    padding: 0;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.share-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.share-box h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    background: #fff;
    color: var(--text-color);
}

.share-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.share-facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.share-twitter:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.share-linkedin:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
}

.share-whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.share-copy:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.article-footer-new {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
    clear: both;
    width: 100%;
    display: block;
}

.article-footer-new .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    font-size: 14px;
    background: var(--primary-color);
    color: #fff !important;
    border: none;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.article-footer-new .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.4);
    color: #fff !important;
}

.article-footer-new .btn svg {
    width: 16px;
    height: 16px;
}

/* Pagination améliorée */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 10px 18px;
    text-decoration: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 500;
    background: #fff;
    font-size: 0.9rem;
}

.pagination-link:hover,
.pagination-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.text-center {
    text-align: center;
}

/* Alerts améliorés */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.75rem;
    font-weight: 500;
    border-left: 4px solid;
    font-size: 0.9rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

/* Animations au scroll */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive amélioré */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1.25rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-grid,
    .services-grid,
    .blog-grid,
    .blog-grid-home {
        grid-template-columns: 1fr;
    }
    
    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .share-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .share-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .about-card-split {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .about-card-reverse {
        grid-template-columns: 1fr;
    }
    
    .about-card-reverse .about-card-image,
    .about-card-reverse .about-card-content {
        order: 0;
    }
    
    .about-card-image {
        min-height: 250px;
        border-radius: 15px 15px 0 0;
    }
    
    .about-card-reverse .about-card-image {
        border-radius: 15px 15px 0 0;
    }
    
    .about-card-content {
        padding: 2rem;
        text-align: center;
    }
    
    .contact-item {
        padding: 1.75rem;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* Améliorations supplémentaires */
@media (prefers-reduced-motion: no-preference) {
    .value-card,
    .service-card,
    .blog-card {
        animation: fadeInUp 0.6s ease both;
    }
    
    .value-card:nth-child(1) { animation-delay: 0.1s; }
    .value-card:nth-child(2) { animation-delay: 0.2s; }
    .value-card:nth-child(3) { animation-delay: 0.3s; }
    .value-card:nth-child(4) { animation-delay: 0.4s; }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
