/* HAMS maj17 — styles des pages intérieures repris de l'ancien gabarit « site » (en-tête et pied ne sont plus utilisés). */

        :root {
            --primary-color: #263371;
            --secondary-color: #ea5a2a;
            --accent-color: #ff8c5a;
            --dark-color: #1a1f40;
            --light-bg: #f8f9fc;
            --gradient-primary: linear-gradient(135deg, #263371, #1a1f40);
            --gradient-secondary: linear-gradient(135deg, #ea5a2a, #ff8c5a);
            --gradient-accent: linear-gradient(135deg, #667eea, #764ba2);
            --shadow-sm: 0 5px 20px rgba(0,0,0,0.05);
            --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
            --shadow-hover: 0 30px 50px rgba(234,90,42,0.2);
        }
        
        body {
            font-family: 'Inter', sans-serif;
            color: #333;
            overflow-x: hidden;
        }
        
        /* Loader */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s;
        }
        
        .loader.fade-out {
            opacity: 0;
            visibility: hidden;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--secondary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* ===== MENU MODERNE ===== */
        .navbar-modern {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            border-bottom: 1px solid rgba(38,51,113,0.05);
        }
        
        .navbar-modern.scrolled {
            padding: 0.5rem 0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-md);
        }
        
        .navbar-brand-modern {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
        }
        
        .logo-wrapper {
            position: relative;
            width: 150px;
            height: 50px;
        }
        
        .logo-icon {
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 2;
            box-shadow: var(--shadow-md);
            transition: transform 0.3s;
        }
        
        .navbar-brand-modern:hover .logo-icon {
            transform: rotate(5deg) scale(1.05);
        }
        
        .logo-icon i {
            font-size: 1.8rem;
            color: white;
        }
        
        .logo-ring {
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border: 2px solid var(--secondary-color);
            border-radius: 18px;
            animation: pulse 2s infinite;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .navbar-brand-modern:hover .logo-ring {
            opacity: 1;
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .logo-main {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary-color);
            line-height: 1.2;
        }
        
        .logo-main span {
            color: var(--secondary-color);
        }
        
        .logo-sub {
            font-size: 0.7rem;
            color: #6c757d;
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        
        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .nav-item-modern {
            position: relative;
        }
        
        .nav-link-modern {
            padding: 0.6rem 1.2rem !important;
            color: #333 !important;
            font-weight: 500;
            border-radius: 50px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .nav-link-modern::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 100%;
            height: 100%;
            background: rgba(234,90,42,0.1);
            border-radius: 50px;
            transition: transform 0.3s;
            z-index: -1;
        }
        
        .nav-link-modern:hover::before,
        .nav-link-modern.active::before {
            transform: translate(-50%, -50%) scale(1);
        }
        
        .nav-link-modern:hover,
        .nav-link-modern.active {
            color: var(--secondary-color) !important;
        }
        
        .nav-indicator {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 5px;
            height: 5px;
            background: var(--secondary-color);
            border-radius: 50%;
            opacity: 0;
            transition: all 0.3s;
        }
        
        .nav-link-modern.active .nav-indicator {
            opacity: 1;
            bottom: 5px;
        }
        
        .btn-login-modern {
            background: var(--gradient-primary);
            color: white !important;
            border-radius: 50px;
            padding: 0.6rem 1.8rem !important;
            font-weight: 600;
            position: relative;
            overflow: hidden;
            z-index: 1;
            margin-left: 0.5rem;
        }
        
        .btn-login-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-secondary);
            transition: left 0.3s;
            z-index: -1;
        }
        
        .btn-login-modern:hover::before {
            left: 0;
        }
        
        .btn-login-modern i {
            margin-right: 0.5rem;
            transition: transform 0.3s;
        }
        
        .btn-login-modern:hover i {
            transform: translateX(3px);
        }
        
        .navbar-toggler-modern {
            border: none;
            padding: 0.5rem;
            background: rgba(234,90,42,0.1);
            border-radius: 12px;
        }
        
        .navbar-toggler-modern:focus {
            box-shadow: none;
        }
        
        .hamburger {
            width: 30px;
            height: 20px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .hamburger span {
            display: block;
            height: 2px;
            background: var(--primary-color);
            border-radius: 2px;
            transition: all 0.3s;
        }
        
        .navbar-toggler-modern[aria-expanded="true"] .hamburger span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }
        
        .navbar-toggler-modern[aria-expanded="true"] .hamburger span:nth-child(2) {
            opacity: 0;
        }
        
        .navbar-toggler-modern[aria-expanded="true"] .hamburger span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }
        
        /* ===== FOOTER MODERNE ===== */
        .footer-modern {
            background: var(--gradient-primary);
            color: white;
            position: relative;
            overflow: hidden;
            padding: 5rem 0 2rem;
        }
        
        .footer-pattern {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 30px 30px;
            pointer-events: none;
        }
        
        .footer-wave {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.02" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
            background-repeat: no-repeat;
            background-position: bottom;
            background-size: cover;
            opacity: 0.1;
            pointer-events: none;
        }
        
        .footer-logo-modern {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .footer-logo-icon {
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .footer-logo-icon i {
            font-size: 2rem;
            color: var(--secondary-color);
        }
        
        .footer-logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .footer-logo-main {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            line-height: 1.2;
        }
        
        .footer-logo-main span {
            color: var(--secondary-color);
        }
        
        .footer-logo-sub {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.6);
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        
        .footer-description {
            color: rgba(255,255,255,0.8);
            margin-bottom: 2rem;
            line-height: 1.8;
        }
        
        .social-links-modern {
            display: flex;
            gap: 0.8rem;
        }
        
        .social-link-modern {
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .social-link-modern::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 100%;
            height: 100%;
            background: var(--gradient-secondary);
            transition: transform 0.3s;
            z-index: 0;
        }
        
        .social-link-modern:hover::before {
            transform: translate(-50%, -50%) scale(1);
        }
        
        .social-link-modern i {
            position: relative;
            z-index: 1;
            font-size: 1.2rem;
            transition: transform 0.3s;
        }
        
        .social-link-modern:hover {
            transform: translateY(-5px);
        }
        
        .social-link-modern:hover i {
            transform: scale(1.2);
        }
        
        .footer-title {
            color: white;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 1rem;
        }
        
        .footer-title::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--gradient-secondary);
            border-radius: 3px;
        }
        
        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 45px;
            width: 10px;
            height: 3px;
            background: rgba(255,255,255,0.3);
            border-radius: 3px;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-links li {
            margin-bottom: 1rem;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s;
        }
        
        .footer-links a i {
            font-size: 0.8rem;
            color: var(--secondary-color);
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .footer-links a:hover i {
            opacity: 1;
            transform: translateX(0);
        }
        
        .contact-info-modern {
            margin-top: 1rem;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            padding: 0.8rem;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
            transition: all 0.3s;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .contact-item:hover {
            background: rgba(255,255,255,0.1);
            transform: translateX(5px);
            border-color: rgba(234,90,42,0.3);
        }
        
        .contact-icon {
            width: 40px;
            height: 40px;
            background: var(--gradient-secondary);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .contact-icon i {
            font-size: 1rem;
            color: white;
        }
        
        .contact-text {
            flex: 1;
        }
        
        .contact-text .label {
            display: block;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.6);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .contact-text .value {
            font-size: 0.9rem;
            font-weight: 600;
            color: white;
        }
        
        .newsletter-modern {
            background: rgba(255,255,255,0.05);
            border-radius: 20px;
            padding: 1.5rem;
            border: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
        }
        
        .newsletter-title {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .newsletter-text {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .newsletter-form {
            position: relative;
        }
        
        .newsletter-input {
            width: 100%;
            padding: 1rem 1.2rem;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50px;
            color: white;
            font-size: 0.9rem;
            transition: all 0.3s;
        }
        
        .newsletter-input::placeholder {
            color: rgba(255,255,255,0.5);
        }
        
        .newsletter-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            background: rgba(255,255,255,0.15);
            box-shadow: 0 0 20px rgba(234,90,42,0.3);
        }
        
        .newsletter-btn {
            position: absolute;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            background: var(--gradient-secondary);
            border: none;
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .newsletter-btn:hover {
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 0 20px var(--secondary-color);
        }
        
        .newsletter-btn i {
            transition: transform 0.3s;
        }
        
        .newsletter-btn:hover i {
            transform: rotate(45deg);
        }
        
        .service-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        
        .service-badge {
            padding: 0.4rem 1rem;
            background: rgba(255,255,255,0.1);
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-size: 0.8rem;
            transition: all 0.3s;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .service-badge:hover {
            background: var(--gradient-secondary);
            transform: translateY(-2px);
            border-color: transparent;
        }
        
        .copyright-modern {
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .copyright-text {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
        }
        
        .copyright-links {
            display: flex;
            gap: 2rem;
        }
        
        .copyright-links a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        
        .copyright-links a:hover {
            color: var(--secondary-color);
        }
        
        .back-to-top {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 50px;
            height: 50px;
            background: var(--gradient-secondary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            box-shadow: var(--shadow-lg);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 1000;
            border: none;
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            color: white;
        }
        
        .back-to-top i {
            transition: transform 0.3s;
        }
        
        .back-to-top:hover i {
            transform: translateY(-3px);
        }
        
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.5; }
            70% { transform: scale(1.1); opacity: 0; }
            100% { transform: scale(1); opacity: 0; }
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white;
                padding: 1rem;
                border-radius: 20px;
                margin-top: 1rem;
                box-shadow: var(--shadow-lg);
            }
            
            .nav-links {
                flex-direction: column;
                width: 100%;
            }
            
            .nav-link-modern {
                width: 100%;
                text-align: center;
            }
            
            .btn-login-modern {
                margin-left: 0;
                width: 100%;
                text-align: center;
            }
            
            .copyright-modern {
                flex-direction: column;
                text-align: center;
            }
            
            .copyright-links {
                justify-content: center;
            }
        }
    

        :root {
            --primary-color: #263371;
            --secondary-color: #ea5a2a;
            --accent-color: #ff8c5a;
            --dark-color: #1a1f40;
            --light-bg: #f8f9fc;
            --gradient-primary: linear-gradient(135deg, #263371, #1a1f40);
            --gradient-secondary: linear-gradient(135deg, #ea5a2a, #ff8c5a);
            --gradient-accent: linear-gradient(135deg, #667eea, #764ba2);
            --shadow-sm: 0 5px 20px rgba(0,0,0,0.05);
            --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
            --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
            --shadow-hover: 0 30px 50px rgba(234,90,42,0.2);
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: #333;
            overflow-x: hidden;
        }
        
        /* ===== MENU MODERNE ===== */
        .navbar-modern {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            border-bottom: 1px solid rgba(38,51,113,0.05);
        }
        
        .navbar-modern.scrolled {
            padding: 0.5rem 0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-md);
        }
        
        /* Logo moderne */
        .navbar-brand-modern {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
        }
        
        .logo-wrapper {
            position: relative;
            width: 150px;
            height: 50px;
        }
        
        .logo-icon {
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 2;
            box-shadow: var(--shadow-md);
            transform: rotate(0deg);
            transition: transform 0.3s;
        }
        
        .navbar-brand-modern:hover .logo-icon {
            transform: rotate(5deg) scale(1.05);
        }
        
        .logo-icon i {
            font-size: 1.8rem;
            color: white;
        }
        
        .logo-ring {
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border: 2px solid var(--secondary-color);
            border-radius: 18px;
            animation: pulse 2s infinite;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .navbar-brand-modern:hover .logo-ring {
            opacity: 1;
        }
        
        .logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .logo-main {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary-color);
            line-height: 1.2;
        }
        
        .logo-main span {
            color: var(--secondary-color);
        }
        
        .logo-sub {
            font-size: 0.7rem;
            color: #6c757d;
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        
        /* Navigation links */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .nav-item-modern {
            position: relative;
        }
        
        .nav-link-modern {
            padding: 0.6rem 1.2rem !important;
            color: #333 !important;
            font-weight: 500;
            border-radius: 50px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .nav-link-modern::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 100%;
            height: 100%;
            background: rgba(234,90,42,0.1);
            border-radius: 50px;
            transition: transform 0.3s;
            z-index: -1;
        }
        
        .nav-link-modern:hover::before,
        .nav-link-modern.active::before {
            transform: translate(-50%, -50%) scale(1);
        }
        
        .nav-link-modern:hover,
        .nav-link-modern.active {
            color: var(--secondary-color) !important;
        }
        
        .nav-indicator {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 5px;
            height: 5px;
            background: var(--secondary-color);
            border-radius: 50%;
            opacity: 0;
            transition: all 0.3s;
        }
        
        .nav-link-modern.active .nav-indicator {
            opacity: 1;
            bottom: 5px;
        }
        
        /* Bouton de connexion moderne */
        .btn-login-modern {
            background: var(--gradient-primary);
            color: white !important;
            border-radius: 50px;
            padding: 0.6rem 1.8rem !important;
            font-weight: 600;
            position: relative;
            overflow: hidden;
            z-index: 1;
            margin-left: 0.5rem;
        }
        
        .btn-login-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-secondary);
            transition: left 0.3s;
            z-index: -1;
        }
        
        .btn-login-modern:hover::before {
            left: 0;
        }
        
        .btn-login-modern i {
            margin-right: 0.5rem;
            transition: transform 0.3s;
        }
        
        .btn-login-modern:hover i {
            transform: translateX(3px);
        }
        
        /* Menu mobile */
        .navbar-toggler-modern {
            border: none;
            padding: 0.5rem;
            background: rgba(234,90,42,0.1);
            border-radius: 12px;
        }
        
        .navbar-toggler-modern:focus {
            box-shadow: none;
        }
        
        .hamburger {
            width: 30px;
            height: 20px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .hamburger span {
            display: block;
            height: 2px;
            background: var(--primary-color);
            border-radius: 2px;
            transition: all 0.3s;
        }
        
        .navbar-toggler-modern[aria-expanded="true"] .hamburger span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }
        
        .navbar-toggler-modern[aria-expanded="true"] .hamburger span:nth-child(2) {
            opacity: 0;
        }
        
        .navbar-toggler-modern[aria-expanded="true"] .hamburger span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }
        
        /* ===== FOOTER MODERNE ===== */
        .footer-modern {
            background: var(--gradient-primary);
            color: white;
            position: relative;
            overflow: hidden;
            padding: 5rem 0 2rem;
        }
        
        /* Éléments décoratifs du footer */
        .footer-pattern {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 30px 30px;
            pointer-events: none;
        }
        
        .footer-wave {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.02" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
            background-repeat: no-repeat;
            background-position: bottom;
            background-size: cover;
            opacity: 0.1;
            pointer-events: none;
        }
        
        /* Logo dans le footer */
        .footer-logo-modern {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .footer-logo-icon {
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .footer-logo-icon i {
            font-size: 2rem;
            color: var(--secondary-color);
        }
        
        .footer-logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .footer-logo-main {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            line-height: 1.2;
        }
        
        .footer-logo-main span {
            color: var(--secondary-color);
        }
        
        .footer-logo-sub {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.6);
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        
        /* Description footer */
        .footer-description {
            color: rgba(255,255,255,0.8);
            margin-bottom: 2rem;
            line-height: 1.8;
        }
        
        /* Réseaux sociaux */
        .social-links-modern {
            display: flex;
            gap: 0.8rem;
        }
        
        .social-link-modern {
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .social-link-modern::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 100%;
            height: 100%;
            background: var(--gradient-secondary);
            transition: transform 0.3s;
            z-index: 0;
        }
        
        .social-link-modern:hover::before {
            transform: translate(-50%, -50%) scale(1);
        }
        
        .social-link-modern i {
            position: relative;
            z-index: 1;
            font-size: 1.2rem;
            transition: transform 0.3s;
        }
        
        .social-link-modern:hover {
            transform: translateY(-5px);
        }
        
        .social-link-modern:hover i {
            transform: scale(1.2);
        }
        
        /* Titres des colonnes */
        .footer-title {
            color: white;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 1rem;
        }
        
        .footer-title::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--gradient-secondary);
            border-radius: 3px;
        }
        
        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 45px;
            width: 10px;
            height: 3px;
            background: rgba(255,255,255,0.3);
            border-radius: 3px;
        }
        
        /* Liens du footer */
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-links li {
            margin-bottom: 1rem;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s;
            position: relative;
            padding-left: 0;
        }
        
        .footer-links a i {
            font-size: 0.8rem;
            color: var(--secondary-color);
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .footer-links a:hover i {
            opacity: 1;
            transform: translateX(0);
        }
        
        /* Contact info */
        .contact-info-modern {
            margin-top: 1rem;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            padding: 0.8rem;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
            transition: all 0.3s;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .contact-item:hover {
            background: rgba(255,255,255,0.1);
            transform: translateX(5px);
            border-color: rgba(234,90,42,0.3);
        }
        
        .contact-icon {
            width: 40px;
            height: 40px;
            background: var(--gradient-secondary);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .contact-icon i {
            font-size: 1rem;
            color: white;
        }
        
        .contact-text {
            flex: 1;
        }
        
        .contact-text .label {
            display: block;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.6);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .contact-text .value {
            font-size: 0.9rem;
            font-weight: 600;
            color: white;
        }
        
        /* Newsletter */
        .newsletter-modern {
            background: rgba(255,255,255,0.05);
            border-radius: 20px;
            padding: 1.5rem;
            border: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
        }
        
        .newsletter-title {
            color: white;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .newsletter-text {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .newsletter-form {
            position: relative;
        }
        
        .newsletter-input {
            width: 100%;
            padding: 1rem 1.2rem;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50px;
            color: white;
            font-size: 0.9rem;
            transition: all 0.3s;
        }
        
        .newsletter-input::placeholder {
            color: rgba(255,255,255,0.5);
        }
        
        .newsletter-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            background: rgba(255,255,255,0.15);
            box-shadow: 0 0 20px rgba(234,90,42,0.3);
        }
        
        .newsletter-btn {
            position: absolute;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
            width: 45px;
            height: 45px;
            background: var(--gradient-secondary);
            border: none;
            border-radius: 50%;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .newsletter-btn:hover {
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 0 20px var(--secondary-color);
        }
        
        .newsletter-btn i {
            transition: transform 0.3s;
        }
        
        .newsletter-btn:hover i {
            transform: rotate(45deg);
        }
        
        /* Badges de services */
        .service-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        
        .service-badge {
            padding: 0.4rem 1rem;
            background: rgba(255,255,255,0.1);
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-size: 0.8rem;
            transition: all 0.3s;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .service-badge:hover {
            background: var(--gradient-secondary);
            transform: translateY(-2px);
            border-color: transparent;
        }
        
        /* Copyright */
        .copyright-modern {
            margin-top: 4rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .copyright-text {
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
        }
        
        .copyright-links {
            display: flex;
            gap: 2rem;
        }
        
        .copyright-links a {
            color: rgba(255,255,255,0.6);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        
        .copyright-links a:hover {
            color: var(--secondary-color);
        }
        
        /* Bouton retour en haut */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--gradient-secondary);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            box-shadow: var(--shadow-lg);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 1000;
            border: none;
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            color: white;
        }
        
        .back-to-top i {
            transition: transform 0.3s;
        }
        
        .back-to-top:hover i {
            transform: translateY(-3px);
        }
        
        /* Animations */
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.5; }
            70% { transform: scale(1.1); opacity: 0; }
            100% { transform: scale(1); opacity: 0; }
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        /* Responsive */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: white;
                padding: 1rem;
                border-radius: 20px;
                margin-top: 1rem;
                box-shadow: var(--shadow-lg);
            }
            
            .nav-links {
                flex-direction: column;
                width: 100%;
            }
            
            .nav-link-modern {
                width: 100%;
                text-align: center;
            }
            
            .btn-login-modern {
                margin-left: 0;
                width: 100%;
                text-align: center;
            }
            
            .copyright-modern {
                flex-direction: column;
                text-align: center;
            }
            
            .copyright-links {
                justify-content: center;
            }
        }

        /* ===== SECTION ÉQUIPE MODERNE ===== */
.team-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    position: relative;
    overflow: hidden;
}

.team-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(38,51,113,0.03) 0%, rgba(234,90,42,0.03) 100%);
    z-index: 0;
}

.team-shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: rotateSlow 30s linear infinite;
}

.team-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation: rotateSlow 25s linear infinite reverse;
}

.team-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #263371, #ea5a2a);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 4s ease-in-out infinite;
}

.team-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #263371, #1a1f40);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(38,51,113,0.3);
}

.team-title-decoration {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.team-title-decoration span {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #263371, #ea5a2a);
    border-radius: 3px;
}

.team-title-decoration span:nth-child(2) {
    width: 30px;
    opacity: 0.7;
}

.team-title-decoration span:nth-child(3) {
    width: 20px;
    opacity: 0.4;
}

/* Cartes d'équipe */
.team-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    border: 1px solid rgba(38,51,113,0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(38,51,113,0.15);
    border-color: rgba(234,90,42,0.2);
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* Ratio carré */
}

.team-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f2f5, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar-placeholder i {
    font-size: 4rem;
    color: #263371;
    opacity: 0.5;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(38,51,113,0.9) 0%, rgba(26,31,64,0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
    backdrop-filter: blur(5px);
}

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

.team-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.team-card:hover .team-overlay-content {
    transform: translateY(0);
}

.team-stats-mini {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.stat-mini i {
    color: #ea5a2a;
    width: 20px;
}

.team-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #ea5a2a;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.team-view-btn:hover {
    background: #d44a1e;
    color: white;
    transform: translateX(5px);
}

.team-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}

.team-badge.active {
    background: rgba(40, 167, 69, 0.9);
    color: white;
    backdrop-filter: blur(5px);
}

.team-badge.inactive {
    background: rgba(108, 117, 125, 0.9);
    color: white;
    backdrop-filter: blur(5px);
}

.team-specialty-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ea5a2a, #ff8c5a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    transform: rotate(10deg);
    transition: all 0.3s;
}

.team-card:hover .team-specialty-icon {
    transform: rotate(0deg) scale(1.1);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #263371;
    margin-bottom: 0.3rem;
}

.team-position {
    font-size: 0.9rem;
    color: #ea5a2a;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.team-tag {
    padding: 0.2rem 0.8rem;
    background: rgba(38,51,113,0.05);
    border-radius: 50px;
    font-size: 0.7rem;
    color: #263371;
    border: 1px solid rgba(38,51,113,0.1);
}

.team-contact {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(38,51,113,0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #263371;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-icon:hover {
    background: #ea5a2a;
    color: white;
    transform: translateY(-3px);
}

.team-progress {
    margin-top: 1rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.3rem;
}

.progress-bar-container {
    height: 4px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-custom {
    height: 100%;
    background: linear-gradient(90deg, #263371, #ea5a2a);
    border-radius: 4px;
}

/* Bouton Voir toute l'équipe */
.btn-team-view-all {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #263371, #1a1f40);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(38,51,113,0.3);
}

.btn-team-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(38,51,113,0.4);
    color: white;
}

.btn-team-view-all i {
    transition: transform 0.3s;
}

.btn-team-view-all:hover i {
    transform: translateX(5px);
}

.btn-shine {
    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.6s;
}

.btn-team-view-all:hover .btn-shine {
    left: 100%;
}

.empty-team {
    padding: 4rem;
    text-align: center;
}

/* Animation */
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Responsive */
@media (max-width: 768px) {
    .team-image-wrapper {
        padding-top: 80%;
    }
    
    .team-name {
        font-size: 1rem;
    }
    
    .team-position {
        font-size: 0.8rem;
    }
}
    