:root {
    --svci-blue: #0055A4;
    --svci-red: #131204;
    --svci-white: #FFFFFF;
    --svci-black: #000000;
    --svci-light-bg: #F8F9FA;
    --svci-green: #28a745;
    --svci-gold: #FFD700;
    --svci-light-blue: #e6f0ff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--svci-black);
    background-color: var(--svci-white);
    line-height: 1.6;
}


/* Boutons */
.btn-svci {
    background-color: var(--svci-red);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
}

.btn-svci:hover {
    background-color: var(--svci-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 85, 164, 0.3);
}

.btn-outline-svci {
    background-color: transparent;
    color: var(--svci-blue);
    border: 2px solid var(--svci-blue);
    padding: 10px 26px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-outline-svci:hover {
    background-color: var(--svci-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 85, 164, 0.3);
}

/* En-tête de page */
.page-header {
    background: linear-gradient(rgba(0, 85, 164, 0.8), rgba(0, 85, 164, 0.9)), url('images/news-header.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 90px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.page-header .lead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Titres de section */
.section-title {
    position: relative;
    margin-bottom: 45px;
    padding-bottom: 15px;
    text-align: center;
    color: var(--svci-blue);
    font-weight: 700;
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--svci-red);
    border-radius: 3px;
}

/* Section JNJ */
.jnj-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--svci-blue) 0%, #003a75 100%);
    color: white;
    margin-bottom: 50px;
}

.jnj-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.4s;
    cursor: pointer;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jnj-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.jnj-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--svci-gold);
}

.jnj-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--svci-white);
    font-size: 1.4rem;
}

.jnj-text {
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* Cartes d'actualités */
.news-section {
    padding: 70px 0;
}

.news-card {
    background: var(--svci-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
    transition: all 0.4s;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s;
    display: block;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--svci-red);
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
    font-size: 0.95rem;
}

.news-title {
    color: var(--svci-blue);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.45rem;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s;
}

.news-title:hover {
    color: var(--svci-red);
}

.news-excerpt {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.news-category {
    display: inline-block;
    background-color: var(--svci-light-blue);
    color: var(--svci-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.read-more {
    color: var(--svci-red);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1.05rem;
}

.read-more:hover {
    color: var(--svci-blue);
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Section témoignages */
.temoignage-section {
    padding: 80px 0;
    background-color: var(--svci-light-bg);
}

.temoignage-card {
    background: var(--svci-white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.3s;
    border-left: 5px solid var(--svci-red);
}

.temoignage-card:hover {
    transform: translateY(-5px);
}

.temoignage-card:before {
    content: '"';
    font-size: 5rem;
    color: var(--svci-light-bg);
    position: absolute;
    top: 15px;
    left: 20px;
    line-height: 1;
    opacity: 0.7;
}

.temoignage-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.7;
}

.temoignage-author {
    font-weight: 700;
    color: var(--svci-blue);
    margin-bottom: 5px;
}

.temoignage-role {
    color: var(--svci-red);
    font-size: 0.95rem;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 50px;
}

.page-link {
    color: var(--svci-blue);
    border: 1px solid #dee2e6;
    padding: 10px 18px;
    margin: 0 5px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.page-link:hover {
    color: var(--svci-red);
    background-color: var(--svci-light-blue);
    border-color: var(--svci-light-blue);
}

.page-item.active .page-link {
    background-color: var(--svci-blue);
    border-color: var(--svci-blue);
    color: white;
}

/* Modals */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background-color: var(--svci-blue);
    color: white;
    border-bottom: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 20px 25px;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.news-modal-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-news-date {
    color: var(--svci-red);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 10px;
}

.modal-news-category {
    display: inline-block;
    background-color: var(--svci-light-blue);
    color: var(--svci-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Pied de page */
.footer {
    background-color: var(--svci-black);
    color: white;
    padding: 60px 0 25px;
    margin-top: 80px;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    color: var(--svci-white);
    font-size: 1.3rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background-color: var(--svci-red);
    border-radius: 2px;
}

.footer-links a {
    color: #DDD;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--svci-red);
    padding-left: 8px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--svci-red);
    color: white;
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
    color: #AAA;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .page-header {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .news-card {
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        margin: 5px 0;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.3rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 35px;
    }

    .jnj-card {
        margin-bottom: 20px;
    }

    .news-section,
    .temoignage-section {
        padding: 60px 0;
    }

    .news-image {
        height: 30%;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 1.35rem;
    }

    .news-excerpt {
        font-size: 1rem;
    }

    .temoignage-card {
        padding: 25px;
    }

    .footer {
        padding: 50px 0 20px;
        text-align: center;
    }

    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .news-image {
        height: 350px;
        object-fit: cover;
        object-position: center;
    }

    .news-content {
        padding: 18px;
    }

    .news-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .news-excerpt {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .news-category {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .news-date {
        font-size: 0.9rem;
    }

    .read-more {
        font-size: 0.95rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px 20px;
    }

    .news-modal-img {
        margin-bottom: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card,
.jnj-card,
.temoignage-card {
    animation: fadeIn 0.6s ease-out;
}

/* Effets de survol améliorés */
.news-card {
    position: relative;
    overflow: hidden;
}

.news-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 85, 164, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.news-card:hover:before {
    opacity: 1;
}

/* Section Liens Utiles */
.liens-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.link-card {
    display: block;
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--svci-black);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--svci-blue), var(--svci-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 85, 164, 0.2);
}

.link-card:hover::before {
    transform: scaleX(1);
}

.link-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--svci-blue), #0077cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.link-card:hover .link-icon {
    background: linear-gradient(135deg, var(--svci-red), #ff4444);
    transform: scale(1.1) rotate(5deg);
}

.link-icon i {
    font-size: 36px;
    color: white;
}

.link-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--svci-blue);
    transition: color 0.3s ease;
}

.link-card:hover .link-title {
    color: var(--svci-red);
}

.link-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.external-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--svci-blue), #0077cc);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.link-card:hover .external-badge {
    background: linear-gradient(135deg, var(--svci-red), #ff4444);
    transform: scale(1.05);
}
