/**
* Template Name: NewBiz - v4.6.0
* Template URL: https://bootstrapmade.com/newbiz-bootstrap-business-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
* Custom: Amani Software - Styles fusionnés
*/

/* ===== VARIABLES & RESET ===== */
:root {
    --primary-color: #004a7f;
    --secondary-color: #007bff;
    --accent-color: #ff9d00;
    --text-color: #444;
    --light-bg: #f8f9fa;
    --dark-bg: #2e4254;
    --white: #fff;
    --shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--white);
    color: var(--text-color);
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0b6bd3;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: var(--white);
    line-height: 0;
}

.back-to-top:hover {
    background: #2990ff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* ===== HEADER & NAVIGATION ===== */
/* ===== HEADER & NAVIGATION - VERSION COMPLÈTE ===== */
#header {
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(127, 137, 161, 0.15);
    transition: all 0.4s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 74, 127, 0.1);
}

#header.header-scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 40px rgba(0, 74, 127, 0.15);
}

/* Logo amélioré */
#header img {
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

#header.header-scrolled img {
    transform: scale(0.95);
}

/* Navigation principale améliorée */
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
}

.navbar a {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    padding: 12px 20px;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar a:hover {
    color: var(--secondary-color);
    background: rgba(0, 123, 255, 0.08);
    transform: translateY(-1px);
}

.navbar .active {
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Effet de soulignement animé */
.navbar a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar a:hover::before {
    width: 60%;
}

.navbar .active::before {
    display: none;
}

/* ===== MOBILE NAVIGATION ===== */

/* Bouton hamburger */
.mobile-nav-toggle {
    display: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 74, 127, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 1001;
}

.mobile-nav-toggle:hover {
    background: var(--primary-color);
    color: white;
}

/* Overlay mobile */
.navbar-mobile {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.navbar-mobile.mobile-nav-active {
    opacity: 1;
    visibility: visible;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-mobile .mobile-nav-toggle:hover {
    background: var(--accent-color);
}

/* Menu mobile - liste */
.navbar-mobile ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    left: 20px;
    background: white;
    border-radius: 10px;
    padding: 20px 0;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-mobile li {
    list-style: none;
    border-bottom: 1px solid #eee;
}

.navbar-mobile li:last-child {
    border-bottom: none;
}

.navbar-mobile a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-mobile a:hover,
.navbar-mobile .active {
    background: var(--secondary-color);
    color: white;
    padding-left: 30px;
}

/* ===== RESPONSIVE ===== */

/* Tablettes et Mobile */
@media (max-width: 991px) {
    .navbar ul {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #header {
        height: 70px;
        padding: 0 15px;
    }
    
    .navbar-mobile ul {
        top: 50px;
        right: 15px;
        left: 15px;
    }
}




/* ===== HERO & SLIDER ===== */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 80px auto 0;
    overflow: hidden;
    background: var(--light-bg);
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Supprime tout dégradé Bootstrap */
.slide::before,
.carousel-inner::before,
.carousel::before {
    background: none !important;
    content: none !important;
    opacity: 0 !important;
}

/* Styles optimisés pour les captions */
.carousel-caption {
    background: rgba(195, 237, 248, 0.45) !important;
    color: #FFF;
    border-radius: 12px;
    padding: 25px;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    backdrop-filter: blur(10px)!important ; 
    z-index: 2;


}

.carousel-caption h5 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.carousel-caption p {
    color: #111038;
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.carousel-caption .btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Navigation du slider */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    transform: translateY(-50%);
}

.prev-button,
.next-button {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prev-button:hover,
.next-button:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slide-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 3;
}

/* ===== SECTIONS PRINCIPALES ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 2.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.125rem;
    color: #556877;
    max-width: 600px;
    margin: 0 auto;
}

/* Section About */
#about {
    padding: 80px 0;
    background: var(--white);
}

.about-container .icon-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    margin-bottom: 30px;
}

.about-container .icon-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}

.about-container .icon-box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--white);
    border: 2px solid #ff9d00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-container .icon-box:hover .icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.about-container .icon-box .icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.about-container .icon-box:hover .icon i {
    color: var(--white);
}

.about-container .icon-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-container .icon-box p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

.service-a {
    color: #205781;
    text-decoration: none;
}

.service-a:hover {
    color: var(--secondary-color);
}

/* Section Produits */
#produit {
    padding: 80px 0;
    background: var(--light-bg);
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-align: center;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}

.produit-text {
    color: black;
    text-align: justify;
}

/* Section Why Us */
#why-us {
    padding: 80px 0;
    background: var(--dark-bg);
}

#why-us .section-header h3,
#why-us .section-header p {
    color: var(--white);
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: #bfddfe;
    margin-bottom: 20px;
}

.feature-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p {
    color: #d8eafe;
    line-height: 1.6;
}

.smart {
    font-weight: bold;
    color: var(--accent-color);
}

/* ===== BOUTONS PERSONNALISÉS ===== */
.btn-gradient-warning {
    background: linear-gradient(to right, #f6e384, #ffd500);
    border: 0;
    transition: opacity 0.3s ease;
}

.btn-gradient-warning:hover {
    opacity: 0.8;
}

.btn-rounded {
    border-radius: 50px;
}

.btn-warning {
    background: var(--accent-color);
}

/* ===== COMPOSANTS CARDS ===== */
.card-rise {
    background: white;
    height: 430px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card-rise:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(21, 41, 62, 0.1);
}

.card-rise h3 {
    font-weight: bold;
    text-align: center;
    color: #6610f2;
    margin-top: 2%;
}

.card-rise p {
    text-align: center;
    padding: 5%;
    margin-top: -5%;
}

/* ===== FOOTER ===== */
#footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-info h3 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ecf5ff;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: var(--white);
    font-weight: bold;
}

.text-white-bold {
    font-weight: bold;
    color: white;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ===== CLASSES UTILITAIRES ===== */
.text-justify {
    text-align: justify;
}

.text-center {
    text-align: center;
}

.amani-primary {
    color: var(--primary-color);
}

.feabox {
    height: 360px;
}

.rise-item {
    width: 25%;
    border-radius: 15px;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablets */
@media (max-width: 992px) {
    .slider-container {
        height: 400px;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .carousel-caption {
        max-width: 80%;
        padding: 20px;
        width: 80% ;
    }
    
    .carousel-caption h5 {
        font-size: 1.3rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .navbar ul {
        display: none;
    }
}





/* Mobile */
@media (max-width: 768px) {
    .slider-container {
        height: 350px;
        margin-top: 70px;
    }
    
    .carousel-caption {
        width: 85% !important; /* Largeur réduite */
        max-width: 85% !important; /* Même valeur que width */
        padding: 20px;
        bottom: 20px;
    }
    
    .carousel-caption h5 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h3 {
        font-size: 1.75rem;
    }
    
    .icon-box,
    .product-card,
    .feature-card {
        margin-bottom: 30px;
    }
    
    .prev-button,
    .next-button {
        width: 45px;
        height: 45px;
    }
    
    .rise-item {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .feabox {
        height: auto;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .slider-container {
        height: 300px;
    }
    
    .carousel-caption {
        max-width: 80%;
        padding: 15px;
        bottom: 15px;
        width: 80% ;
    }
    
    .carousel-caption h5 {
        font-size: 1.1rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
    }
    
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .prev-button,
    .next-button {
        width: 40px;
        height: 40px;
    }
    
    .slide-count {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .card-rise {
        height: auto;
        margin-bottom: 30px;
    }
}

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes up-down {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}

.animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SECTION WHY US - CORRECTIONS ===== */

#why-us .section-header h3, 
#why-us .section-header p {
  color: #fff; /* Texte blanc pour contraste */
}

#why-us .card {
  background: rgba(255, 255, 255, 0.95); /* Fond blanc semi-transparent */
  border: none;
  border-radius: 15px;
  margin: 0 15px;
  padding: 30px 20px;
  text-align: center;
  color: #FFF; /* Texte foncé pour lisibilité */
  transition: 0.3s ease-in-out;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#why-us .card:hover {
  background: #fff; /* Fond blanc solide au survol */
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

#why-us .card i {
  font-size: 48px; /* Taille icônes restaurée */
  padding-top: 15px;
  color: #ff9d00; /* Couleur primaire pour les icônes */
  margin-bottom: 20px;
  display: block; /* Centrage correct */
}

#why-us .card h5 {
  font-size: 22px;
  font-weight: 600;
  color: #FFF; /* Titres en bleu primaire */
  margin-bottom: 15px;
}

#why-us .card p {
  font-size: 15px;
  color: #FFF; /* Texte gris pour meilleure lisibilité */
  line-height: 1.6;
  margin-bottom: 0;
}

/* Styles spécifiques pour le texte SMART */
.smart {
  font-weight: bold;
  color: #ff9d00; /* Orange accent */
  text-transform: uppercase;
}

/* Responsive pour la section Why Us */
@media (max-width: 991px) {
  #why-us .card {
    margin: 0 0 30px 0; /* Espacement sur mobile */
  }
}

@media (max-width: 768px) {
  #why-us .card {
    padding: 25px 15px;
  }
  
  #why-us .card i {
    font-size: 42px; /* Légère réduction sur mobile */
  }
  
  #why-us .card h5 {
    font-size: 20px;
  }
}




/* ===== CTA GLASSMORPHISM ===== */
.cta-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 74, 127, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 74, 127, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.05) 0%,
        rgba(255, 157, 0, 0.05) 100%);
    z-index: -1;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.cta-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}


/* ===== SECTION PRODUITS AMÉLIORÉE ===== */

.section-title {
    color: #004a7f;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #004a7f, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #4682B4;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #004a7f, #4682B4);
    border-radius: 2px;
}

/* Grid des produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Carte produit */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 74, 127, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

/* Lien produit */
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Container image */
.product-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Overlay image */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 74, 127, 0.9), rgba(0, 123, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.product-card:hover .view-details {
    transform: scale(1.1);
}

/* Badges produits */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.product-badge.coming-soon {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.product-badge.new {
    background: linear-gradient(135deg, #00b894, #00a085);
}

/* Contenu produit */
.product-content {
    padding: 25px;
}

.product-title {
    color: #004a7f;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4682B4, #004a7f);
    border-radius: 1px;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
}

/* Features tags */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: rgba(70, 130, 180, 0.1);
    color: #4682B4;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(70, 130, 180, 0.2);
    transition: all 0.3s ease;
}

.product-card:hover .feature-tag {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-color: rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

/* Effets spéciaux */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #004a7f, #4682B4, #007bff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

/* Animation pour les produits non disponibles */
.product-card:has(.coming-soon) {
    opacity: 0.9;
}

.product-card:has(.coming-soon):hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-features {
        justify-content: center;
    }
}

/* Animation d'entrée */
@keyframes productEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: productEntrance 0.6s ease-out;
}



/* ===== SECTION POURQUOI AMANI - AMÉLIORÉE ===== */

.why-us-title {
    color: #FFF;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #004a7f, #007bff);

    background-clip: text;
    position: relative;
}

.why-us-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #004a7f, #4682B4);
    border-radius: 2px;
}

.why-us-subtitle {
    color: #666;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Grid des cartes */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Cartes améliorées */
.why-us-card {
    background: linear-gradient(135deg, #2e4254, #1a2a3a);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.why-us-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(0, 74, 127, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #2e4254, #004a7f);
}

/* Effet de hover */
.card-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.why-us-card:hover .card-hover-effect {
    left: 100%;
}

/* Icônes */
.card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 2.5rem;
    color: #ff9d00;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.why-us-card:hover .card-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #ffd700;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 157, 0, 0.1);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Contenu des cartes */
.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-title {
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff9d00, #ffd700);
    border-radius: 1px;
}

.card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Features liste */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-align: left;
    padding-left: 25px;
    position: relative;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff9d00;
    font-weight: bold;
}

/* Acronyme SMART */
.smart-acronym {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.acronym-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-us-card:hover .acronym-item {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.acronym-letter {
    color: #ff9d00;
    font-weight: 800;
    font-size: 1.2rem;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 157, 0, 0.2);
    border-radius: 5px;
}

.acronym-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Support features */
.support-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-us-card:hover .support-item {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.support-item i {
    color: #ff9d00;
    font-size: 1.1rem;
}

.support-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* CTA supplémentaire */
.why-us-cta {
    background: linear-gradient(135deg, #004a7f, #007bff);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.why-us-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.why-us-cta h4 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.why-us-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .why-us-title {
        font-size: 2rem;
    }
    
    .why-us-subtitle {
        font-size: 1.1rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .smart-acronym {
        grid-template-columns: 1fr;
    }
    
    .why-us-cta {
        padding: 40px 25px;
    }
    
    .why-us-cta h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .why-us-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
    
    .why-us-cta {
        padding: 30px 20px;
    }
}

/* Animation d'entrée */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.why-us-card {
    animation: cardEntrance 0.6s ease-out;
}




/* ===== SECTION ACTUALITÉS AMÉLIORÉE ===== */

.news-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #004a7f, transparent);
}

.news-title {
    color: #004a7f;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #004a7f, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #004a7f, #4682B4);
    border-radius: 2px;
}

.news-subtitle {
    color: #666;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* SUPPRIMER le grid et utiliser les classes Bootstrap */
/* .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
} */

/* Cartes d'actualités - Largeur fixe */
.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    height: 100%; /* Prend toute la hauteur disponible */
    margin: 0 auto; /* Centrer si besoin */
    max-width: 300px; /* Largeur maximale fixe */
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 74, 127, 0.15);
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Container image */
.news-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

/* Overlay image */
.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 74, 127, 0.9), rgba(0, 123, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.read-more {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.news-card:hover .read-more {
    transform: scale(1.1);
}

/* Date */
.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.date-day {
    display: block;
    color: #004a7f;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.date-month {
    display: block;
    color: #666;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Contenu de l'article */
.news-content {
    padding: 25px;
    height: calc(100% - 200px); /* Hauteur restante après l'image */
    display: flex;
    flex-direction: column;
}

.news-article-title {
    color: #004a7f;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;

    min-height: auto; /* Laisser la hauteur s'adapter */
    word-wrap: break-word; /* Gérer les mots longs */
    overflow-wrap: break-word;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Meta informations */
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.read-time {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-category {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* État vide */
.no-news {
    text-align: center;
    padding: 60px 20px;
}

.no-news-content i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

.no-news-content h4 {
    color: #666;
    font-weight: 600;
    margin-bottom: 10px;
}

.no-news-content p {
    color: #999;
}

/* CTA */
.news-cta {
    text-align: center;
    margin-top: 40px;
}

.news-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #004a7f, #007bff);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.news-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    color: white;
}

/* Effets spéciaux */
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #004a7f, #4682B4, #007bff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .news-card {
        max-width: 280px;
    }
}

@media (max-width: 992px) {
    /* Sur tablette, 2 cartes par ligne */
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .news-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .news-subtitle {
        font-size: 1.1rem;
    }
    
    /* Sur mobile, 1 carte par ligne */
    .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .news-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .news-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .news-card {
        max-width: 100%;
    }
    
    .news-image-container {
        height: 180px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Animation d'entrée */
@keyframes newsEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: newsEntrance 0.6s ease-out;
}

/* Centrage pour une seule carte */
.row.justify-content-center {
    justify-content: center !important;
}


.modern-footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #2e4254 50%, #1a2a3a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Vagues décoratives */
.footer-waves {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-waves .shape-fill {
    fill: #004a7f;
}

/* Contenu principal */
.footer-top {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

/* Colonnes */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ff9d00;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff9d00, #ffd700);
    border-radius: 1px;
}

/* Logo et description */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-img {
    width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-achievements {
    display: flex;
    gap: 20px;
}

.achievement-item {
    text-align: center;
}

.achievement-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff9d00;
}

.achievement-text {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-link:hover {
    color: #ff9d00;
    transform: translateX(5px);
}

.footer-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: #ff9d00;
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Newsletter */
.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.5;
}

.newsletter-form {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #ff9d00;
    box-shadow: 0 0 0 2px rgba(255, 157, 0, 0.2);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background: #ff9d00;
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #ffd700;
}

/* Réseaux sociaux */
.social-section {
    margin-top: auto;
}

.social-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    background: #ff9d00;
    border-color: #ff9d00;
}

.social-link.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); border-color: transparent; }
.social-link.linkedin:hover { background: #0077b5; border-color: #0077b5; }
.social-link.twitter:hover { background: #1da1f2; border-color: #1da1f2; }

.social-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #ff9d00;
}

/* Bouton back to top */
.back-to-top-footer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff9d00;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(255, 157, 0, 0.3);
}

.back-to-top-footer.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-footer:hover {
    background: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 157, 0, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 30px;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-achievements {
        justify-content: center;
    }
    
    .back-to-top-footer {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .footer-waves svg {
        height: 40px;
    }
    
    .footer-about .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
}