/* 
 * GREEN HEALTH MUTUALITÉ - CSS SANS VARIABLES
 * Couleurs: Vert et Blanc
 */

/* === RÉINITIALISATION === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #343a40;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { 
    font-size: 2.5rem; 
    color: #2e7d32;
}

h2 { 
    font-size: 2rem; 
    color: #1b5e20;
}

h3 { 
    font-size: 1.75rem; 
    color: #2e7d32;
}

h4 { 
    font-size: 1.5rem; 
    color: #1b5e20;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #6c757d;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.brand-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1;
}

.brand-sub {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 300;
    margin-top: 2px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 1rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #343a40;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2e7d32;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: #2e7d32;
    border-radius: 3px 3px 0 0;
}

/* === BOUTONS === */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
    user-select: none;
}

.btn-primary {
    background-color: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

.btn-primary:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-success {
    background-color: #4caf50;
    color: white;
    border-color: #4caf50;
}

.btn-success:hover {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

.btn-outline-primary {
    background-color: transparent;
    color: #2e7d32;
    border-color: #2e7d32;
}

.btn-outline-primary:hover {
    background-color: #2e7d32;
    color: white;
}

.btn-outline-success {
    background-color: transparent;
    color: #4caf50;
    border-color: #4caf50;
}

.btn-outline-success:hover {
    background-color: #4caf50;
    color: white;
}

.btn-light {
    background-color: white;
    color: #2e7d32;
    border-color: white;
}

.btn-light:hover {
    background-color: #2e7d32;
    border-color: #2e7d32;
    color: white;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

/* === HERO SECTION === */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23ffffff" fill-opacity="0.1" d="M0,0 L100,0 L100,100 Z"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section .lead {
    color: white;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.hero-features {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* === CARTES === */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #4caf50;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-top-color: #2e7d32;
}

.card-body {
    padding: 2rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.card-green {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
}

.card-green .card-title,
.card-green .card-text,
.card-green p,
.card-green li {
    color: white;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
}

.section-white {
    background-color: white;
}

.section-light {
    background-color: #f8f9fa;
}

.section-green {
    background-color: #2e7d32;
    color: white;
}

.section-green h1,
.section-green h2,
.section-green h3,
.section-green h4,
.section-green h5,
.section-green h6,
.section-green .lead,
.section-green p {
    color: white;
}

/* === STATISTIQUES === */
.stats-box {
    text-align: center;
    padding: 1.5rem;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #6c757d;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FORMULAIRES === */
.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

/* === FOOTER === */
.footer {
    background-color: #1b5e20;
    color: white;
    padding: 3rem 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    background-color: #2e7d32;
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 0;
    margin-top: 2rem;
}

/* === BADGES === */
.badge-green {
    background-color: #2e7d32;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-light-green {
    background-color: #c8e6c9;
    color: #1b5e20;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* === UTILITAIRES DE COULEUR === */
.text-green { color: #2e7d32 !important; }
.text-green-light { color: #4caf50 !important; }
.text-green-dark { color: #1b5e20 !important; }
.text-white { color: white !important; }
.text-gray { color: #6c757d !important; }

.bg-green { background-color: #2e7d32 !important; }
.bg-green-light { background-color: #4caf50 !important; }
.bg-green-dark { background-color: #1b5e20 !important; }
.bg-white { background-color: white !important; }
.bg-light { background-color: #f8f9fa !important; }

.border-green { border-color: #2e7d32 !important; }
.border-green-light { border-color: #4caf50 !important; }

/* === UTILITAIRES D'ESPACEMENT === */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

/* === UTILITAIRES DE DISPLAY === */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* === LOGO PERSONNALISÉ === */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-circle i {
    color: white;
    font-size: 1.5rem;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.pulse-green {
    animation: pulse 2s infinite;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        padding: 0.3rem 0;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        padding: 0.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.125rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* === ALERTES === */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
    color: #1b5e20;
}

.alert-info {
    background-color: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196f3;
    color: #0c5460;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* === LISTES === */
.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-icon {
    list-style: none;
    padding-left: 0;
}

.list-icon li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.list-icon li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* === OMBRES === */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
}

.shadow-green {
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3) !important;
}

/* === BORDURES ARRONDIES === */
.rounded-sm { border-radius: 4px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 15px; }
.rounded-xl { border-radius: 20px; }
.rounded-circle { border-radius: 50%; }

/* === PROGRESS BARS === */
.progress {
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    height: 10px;
}

.progress-bar {
    background-color: #2e7d32;
    height: 100%;
}

/* === SEPARATEURS === */
hr {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 1.5rem 0;
}

.hr-green {
    border-top: 2px solid #4caf50;
}

.hr-white {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* === LOADER === */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2e7d32;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === SCROLLBAR PERSONNALISÉE === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4caf50;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2e7d32;
}


/* === CLASSES POUR LE FOOTER === */
.bg-green-dark {
    background-color: #1b5e20 !important;
}

.bg-green-light {
    background-color: #4caf50 !important;
}

.text-green-light {
    color: #4caf50 !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* === STYLES POUR LES LIENS DU FOOTER === */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: white !important;
    text-decoration: underline !important;
    padding-left: 5px;
}

/* === ICONES SOCIALES === */
footer .fab {
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}

footer .fab:hover {
    background-color: #4caf50;
    transform: translateY(-3px);
}

/* === RESPONSIVE FOOTER === */
@media (max-width: 768px) {
    footer .text-md-end {
        text-align: left !important;
        margin-top: 1rem;
    }
    
    footer .row.pt-3 {
        text-align: center;
    }
}

/* === ANIMATION DES STATISTIQUES === */
.stats-box {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2e7d32;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-label {
    color: #6c757d;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Animation pour les statistiques */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-number.animated {
    animation: countUp 0.6s ease-out forwards;
}

/* Effet de brillance pendant le comptage */
@keyframes shine {
    0% {
        text-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(46, 125, 50, 0.6);
    }
    100% {
        text-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
    }
}

.stats-number.counting {
    animation: shine 1s infinite;
}

/* Responsive pour les statistiques */
@media (max-width: 768px) {
    .stats-number {
        font-size: 2.5rem;
    }
    
    .stats-label {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .stats-number {
        font-size: 2rem;
    }
    
    .stats-box {
        padding: 1rem;
    }
}


/* === SECTION PARTENAIRES === */
.partner-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
    border-color: #4caf50;
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b5e20;
    text-align: center;
    margin-top: 0.5rem;
}

/* Carrousel personnalisé */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #2e7d32;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #1b5e20;
    opacity: 1;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c8e6c9;
    border: none;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: #2e7d32;
}

/* Responsive pour les partenaires */
@media (max-width: 768px) {
    .partner-card {
        height: 150px;
        padding: 1rem;
    }
    
    .partner-logo {
        height: 60px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .partner-name {
        font-size: 0.8rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }
    
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
}

/* Animation pour les logos qui entrent */
@keyframes slideInPartner {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-item .partner-card {
    animation: slideInPartner 0.6s ease-out;
}

/* Pour le carrousel mobile */
#partnersCarouselMobile .partner-card {
    max-width: 200px;
    margin: 0 auto;
}

/* === SECTION ACTUALITÉS & OFFRES === */

/* Navigation des onglets */
.nav-pills {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.nav-pills .nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background-color: #e9ecef;
    color: #2e7d32;
}

.nav-pills .nav-link.active {
    background-color: #2e7d32;
    color: white;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Cartes d'offres */
.offer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.2);
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.offer-image {
    height: 200px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.05);
}

.offer-content {
    padding: 1.5rem;
}

.offer-category {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.offer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b5e20;
    margin-bottom: 0.75rem;
}

.offer-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.offer-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.offer-expiry {
    color: #ff6b6b;
    font-size: 0.85rem;
}

.offer-code {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Cartes d'actualités */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.news-date {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.news-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0.25rem 0;
}

.news-year {
    font-size: 0.8rem;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b5e20;
    margin-bottom: 0.75rem;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.news-author, .news-comments, .news-likes, .news-downloads {
    display: flex;
    align-items: center;
}

/* Bannières publicitaires */
.promo-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.promo-banner-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

.promo-label {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.promo-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.promo-text {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.promo-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #495057;
}

.feature-item i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.promo-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.promo-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.promo-banner:hover .promo-image img {
    transform: scale(1.03);
}

/* Statistiques dans les publicités */
.stats-row {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Newsletter */
.newsletter-card {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.newsletter-card h4 {
    color: white;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-card .btn-light {
    background: white;
    color: #2e7d32;
    border: none;
}

.newsletter-card .btn-light:hover {
    background: #f8f9fa;
    color: #1b5e20;
}

/* Carrousel des publicités */
#promoCarousel .carousel-control-prev,
#promoCarousel .carousel-control-next {
    background-color: rgba(46, 125, 50, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#promoCarousel .carousel-indicators {
    bottom: -40px;
}

#promoCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #c8e6c9;
    border: none;
    margin: 0 8px;
}

#promoCarousel .carousel-indicators button.active {
    background-color: #2e7d32;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.25rem;
        font-size: 0.9rem;
    }
    
    .offer-card {
        margin-bottom: 1.5rem;
    }
    
    .offer-title {
        font-size: 1.1rem;
    }
    
    .news-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-date {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        min-width: auto;
        padding: 0.75rem;
    }
    
    .news-day {
        font-size: 1.5rem;
    }
    
    .promo-banner {
        padding: 1.5rem;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .promo-content {
        margin-bottom: 1.5rem;
    }
    
    .stats-row {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .newsletter-card .row {
        text-align: center;
    }
    
    .newsletter-card .col-md-4 {
        margin-top: 1rem;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .offer-image {
        height: 150px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

