/* Couleurs personnalisées et variables CSS */
:root {
    --primary-blue: #001f3f;
    --secondary-blue: #00bfff;
    --accent-orange: #ff6b35;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --success-green: #28a745;
    --shadow-color: rgba(0, 31, 63, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Variables pour le mode sombre */
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #ffffff;
    --border-color: rgba(0,0,0,0.1);
}

/* Mode sombre */
[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --card-bg: #2a2a2a;
    --border-color: rgba(255,255,255,0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --light-gray: #2a2a2a;
}

/* Polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

/* ===== Système de témoignages ===== */
.testimonial-header {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    margin-bottom: 0;
}

.testimonial-form-container {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 2.5rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

/* Système d'évaluation par étoiles */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 2rem;
    color: #e9ecef;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-input input:checked ~ label {
    color: #ffc107;
}

.rating-input label:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    transform: scale(0);
    transition: var(--transition);
}

.rating-input label:hover:before {
    transform: scale(1);
}

/* Compteur de caractères */
.char-counter {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
    text-align: right;
}

/* Cartes de témoignages récents */
.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.author-info h6 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
    font-weight: 600;
}

.author-info small {
    color: #6c757d;
    display: block;
}

.service-badge {
    display: inline-block;
    background: rgba(0, 191, 255, 0.1);
    color: var(--secondary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

/* Messages d'alerte personnalisés */
.alert-message {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.alert-success {
    background: linear-gradient(135deg, #d1f2eb, #a7f3d0);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Formulaire de témoignage */
.testimonial-form .form-control {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.testimonial-form .form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
    background: var(--bg-color);
    color: var(--text-color);
}

.testimonial-form .form-select {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.testimonial-form .form-select:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
}

.testimonial-form .form-check-input {
    margin-right: 0.5rem;
}

.testimonial-form .form-check-input:checked {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.testimonial-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
}

/* Call-to-action témoignages */
.testimonial-cta-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0,31,63,0.1);
    border: 1px solid rgba(0,191,255,0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.testimonial-cta-card h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

.testimonial-cta-card p {
    color: #6c757d;
    font-size: 1.1rem;
}

.testimonial-cta-card .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.testimonial-cta-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,31,63,0.3);
}

/* Styles responsives pour les témoignages */
@media (max-width: 768px) {
    .testimonial-form-container {
        padding: 1.5rem;
        margin-top: -1rem;
    }
    
    .rating-input label {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimonial-cta-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== Page de remerciement ===== */
.thank-you-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0,31,63,0.1);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.thank-you-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--success-green);
    animation: checkBounce 0.6s ease-in-out;
}

@keyframes checkBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.thank-you-card h1 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2.5rem;
}

.thank-you-card .lead {
    color: #6c757d;
    font-size: 1.2rem;
}

.step-card {
    background: rgba(0,191,255,0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,191,255,0.1);
}

.step-card:hover {
    background: rgba(0,191,255,0.1);
    transform: translateY(-5px);
}

.step-card i {
    font-size: 2rem;
    color: var(--secondary-blue);
}

.step-card h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card small {
    color: #6c757d;
}

.emergency-contact {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: var(--border-radius);
    border: 1px solid #ffc107;
}

.emergency-contact h6 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 1rem;
}

.emergency-contact p {
    color: #856404;
    margin-bottom: 1rem;
}

.contact-methods .btn {
    margin-bottom: 0.5rem;
}

/* Actions buttons */
.actions .btn-lg {
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.actions .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,31,63,0.3);
}

.actions .btn-outline-primary {
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
}

.actions .btn-outline-primary:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Responsive pour page de remerciement */
@media (max-width: 768px) {
    .thank-you-card {
        padding: 2rem 1.5rem;
    }
    
    .thank-you-card h1 {
        font-size: 2rem;
    }
    
    .actions .btn-lg {
        padding: 0.75rem 1.5rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .contact-methods .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

/* Hero section améliorée */
.hero-section {
    height: 100vh;
    background: var(--gradient-primary);
    background-attachment: fixed;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="1" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><g><circle fill="url(%23a)" cx="200" cy="200" r="180"/><circle fill="url(%23a)" cx="800" cy="800" r="250"/><circle fill="url(%23a)" cx="400" cy="600" r="150"/></g></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Titres et typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

.display-4 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Service box moderne */
.service-box {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-box h4, .service-box h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-box p {
    color: #666;
    line-height: 1.7;
}

/* Formulaires stylés */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fafbfc;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.15);
    background-color: white;
}

.form-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

form button.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

form button.btn-primary:hover {
    background: linear-gradient(135deg, #002a5c 0%, #009acd 100%);
}

/* Sections et espacement */
section {
    padding: 5rem 0;
}

.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* ========================================
   SYSTÈME DE NOTIFICATIONS
   ======================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(400px);
    transition: var(--transition);
    z-index: 1000;
    min-width: 300px;
    border-left: 4px solid var(--success-green);
}

.notification.notification-error {
    border-left-color: #dc3545;
}

.notification.notification-success i {
    color: var(--success-green);
}

.notification.notification-error i {
    color: #dc3545;
}

.notification.show {
    transform: translateX(0);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

/* ========================================
   ANIMATIONS AVANCÉES
   ======================================== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInFromRight 0.8s ease-out;
}

/* ========================================
   STATISTIQUES ET COMPTEURS
   ======================================== */
.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ========================================
   TÉMOIGNAGES
   ======================================== */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffc107;
}

.stars i {
    margin-right: 2px;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.author-info small {
    color: #666;
    font-weight: 500;
}

/* ========================================
   LOADING STATES
   ======================================== */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   RESPONSIVE AMÉLIORÉ
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        padding: 40px 15px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .service-box {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* ========================================
   BOUTON SCROLL TO TOP
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

  .scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ========================================
   FAQ ET ACCORDION AMÉLIORÉ
   ======================================== */
.accordion-button {
    font-weight: 600;
    color: var(--primary-blue);
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.15);
}

.accordion-item {
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
    line-height: 1.7;
    color: #555;
}

/* Section contact rapide FAQ */
.quick-contact-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px var(--shadow-color);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-method {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-method:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
}

.contact-method h6 {
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: var(--primary-blue);
}

.contact-method p {
    margin-bottom: 0;
    color: #666;
    font-weight: 500;
}

/* ========================================
   STYLES MODE SOMBRE SUPPLÉMENTAIRES
   ======================================== */
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .quick-contact-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background-color: var(--card-bg);
    border-color: var(--secondary-blue);
    color: var(--text-color);
}

[data-theme="dark"] .accordion-item {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .accordion-button {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .accordion-body {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .bg-light {
    background-color: var(--card-bg) !important;
}

[data-theme="dark"] .contact-method:hover {
    background-color: rgba(255,255,255,0.05);
}

/* Toggle du mode sombre */
#darkModeToggle {
    border: none !important;
    background: transparent !important;
    transition: var(--transition);
}

#darkModeToggle:hover {
    transform: scale(1.1);
}

[data-theme="dark"] .service-box p,
[data-theme="dark"] .testimonial-content p,
[data-theme="dark"] .contact-method p {
    color: #bbb;
}

/* ========================================
   CALCULATEUR DE DEVIS
   ======================================== */
.calculator-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: 0 15px 35px var(--shadow-color);
    border: 1px solid rgba(0,0,0,0.05);
}

.services-grid {
    display: grid;
    gap: 1rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--secondary-blue);
    background-color: #f8f9fa;
}

.service-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
}

.service-checkbox input[type="checkbox"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.service-info h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.service-info small {
    color: #666;
}

.quantity-container {
    display: none;
    margin-left: 1rem;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

.estimate-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--secondary-blue);
    position: sticky;
    top: 2rem;
}

.total-section {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.total-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.estimate-note {
    padding: 1rem;
    background: rgba(0, 191, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary-blue);
}

/* ========================================
   CHAT EN LIGNE
   ======================================== */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
    transition: var(--transition);
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 191, 255, 0.4);
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 1002;
    overflow: hidden;
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h6 {
    margin: 0;
    font-weight: 600;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-chat:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
}

.bot-message {
    align-self: flex-start;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.user-message .message-content {
    background: var(--secondary-blue);
    color: white;
}

.bot-message .message-content {
    background: #f1f3f4;
    color: #333;
}

.message-time {
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.25rem;
    text-align: right;
}

.bot-message .message-time {
    text-align: left;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.send-btn {
    width: 40px;
    height: 40px;
    background: var(--secondary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.send-btn:hover {
    background: var(--primary-blue);
}

/* ========================================
   PAGES DE SERVICES DÉTAILLÉES
   ======================================== */

/* Header de service */
.service-header {
    min-height: 50vh;
    background: var(--gradient-primary);
    padding: 4rem 0;
}

.service-icon {
    font-size: 4rem;
    opacity: 0.9;
}

/* Breadcrumb personnalisé */
.breadcrumb {
    background-color: transparent;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Cartes d'avantages */
.advantage-card {
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

/* Filtres de produits */
.filter-tabs {
    margin-bottom: 2rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Cartes de produits */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.product-image {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.product-info h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-specs {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-blue);
    font-family: 'Poppins', sans-serif;
}

/* Services inclus */
.service-included-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px var(--shadow-color);
    height: 100%;
    transition: var(--transition);
}

.service-included-card:hover {
    transform: translateY(-5px);
}

.service-included-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
}

.service-included-card ul li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

/* Animations de fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Processus et étapes */
.process-step {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px var(--shadow-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Tableaux de prix */
.pricing-table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: var(--transition);
}

.pricing-table:hover {
    transform: translateY(-5px);
}

.pricing-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-period {
    opacity: 0.9;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Mode sombre pour les pages de services */
[data-theme="dark"] .product-card,
[data-theme="dark"] .service-included-card,
[data-theme="dark"] .process-step,
[data-theme="dark"] .pricing-table {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .filter-btn {
    background: var(--card-bg);
    border-color: var(--secondary-blue);
    color: var(--text-color);
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    background: var(--secondary-blue);
    color: white;
}

[data-theme="dark"] .product-specs,
[data-theme="dark"] .service-included-card ul li {
    color: #bbb;
}

/* Cartes de catégories de services */
.service-category-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: var(--transition);
    height: 100%;
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.service-category-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.service-category-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.service-category-content {
    padding: 2rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Mode sombre pour les catégories de services */
[data-theme="dark"] .service-category-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-category-content {
    background: var(--card-bg);
}

[data-theme="dark"] .service-list li {
    border-bottom-color: var(--border-color);
    color: var(--text-color);
}

/* Cartes de solutions */
.solution-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: var(--transition);
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.solution-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.solution-header h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.solution-subtitle {
    opacity: 0.9;
    font-size: 0.95rem;
    margin: 0;
}

.solution-content {
    padding: 2rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.solution-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

/* Cartes technologies */
.tech-card {
    padding: 2rem 1rem;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Mode sombre pour solutions et technologies */
[data-theme="dark"] .solution-card,
[data-theme="dark"] .tech-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .solution-content {
    background: var(--card-bg);
}

[data-theme="dark"] .feature-list li,
[data-theme="dark"] .tech-card p {
    color: #bbb;
}

[data-theme="dark"] .tech-card h5 {
    color: var(--secondary-blue);
}/* Boutons améliorés */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section .btn {
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
}

.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: var(--transition);
    z-index: -1;
}

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

.hero-section .btn:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: scale(1.05);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

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

/* Navigation moderne */
.navbar {
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border-color: white;
    border-radius: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   STYLES POUR PAGES CONSEIL & FORMATIONS
   ======================================== */

/* Process steps for audit methodology */
.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.process-step h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Feature cards for training modalities */
.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Testimonial cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #555;
}

.testimonial-author {
    border-top: 2px solid #f0f0f0;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--primary-blue);
}

/* Dark mode for new components */
[data-theme="dark"] .process-step {
    background: var(--dark-card-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .process-step p {
    color: #ccc;
}

[data-theme="dark"] .feature-card {
    background: var(--dark-card-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .feature-card p {
    color: #ccc;
}

[data-theme="dark"] .testimonial-card {
    background: var(--dark-card-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .testimonial-card p {
    color: #ccc;
}

[data-theme="dark"] .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   LIENS DE SERVICES SUR PAGE D'ACCUEIL
   ======================================== */

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: inherit;
    text-decoration: none;
}

.service-link .service-box {
    position: relative;
    overflow: hidden;
}

.service-link:hover .service-box {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 191, 255, 0.2);
}

.service-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-color));
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-link:hover .service-action {
    opacity: 1;
    transform: translateY(0);
}

.service-action i {
    transition: transform 0.3s ease;
}

.service-link:hover .service-action i {
    transform: translateX(5px);
}

/* Dark mode pour les liens de services */
[data-theme="dark"] .service-link .service-action {
    background: linear-gradient(135deg, var(--dark-primary), var(--dark-accent));
}



/* ========================================
   OPTIMISATIONS MOBILE
   ======================================== */

/* Mobile First - Améliorations générales */
@media (max-width: 768px) {
    /* Hero section mobile */
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .display-5 {
        font-size: 1.8rem;
    }
    
    .service-icon {
        font-size: 3rem !important;
    }
    
    /* Navigation mobile */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    /* Service boxes mobile */
    .service-box {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    }
    

    
    /* Stats mobile */
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Testimonials mobile */
    .testimonial-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
    
    /* Process steps mobile */
    .process-step {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Feature cards mobile */
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    /* Product cards mobile */
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    /* Solution cards mobile */
    .solution-card {
        margin-bottom: 1.5rem;
    }
    
    .solution-card .card-body {
        padding: 1.5rem;
    }
    
    /* Service category cards mobile */
    .service-category-card {
        margin-bottom: 1.5rem;
    }
    
    .service-category-content {
        padding: 1rem;
    }
    
    /* Forms mobile */
    .form-control {
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    /* Buttons mobile */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Chat widget mobile */
    .chat-widget {
        width: 95%;
        height: 70vh;
        right: 2.5%;
        bottom: 90px;
    }
    
    .chat-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Pricing mobile */
    .pricing-info {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    /* Technology logos mobile */
    .tech-logo {
        width: 60px;
        height: 60px;
        margin: 0.5rem;
    }
    
    /* Dark mode toggle mobile */
    #darkModeToggle {
        margin-top: 0.5rem;
    }
}

/* Très petits écrans */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section .display-4,
    .hero-section .display-5 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    

    
    .btn-group-vertical .btn {
        margin-bottom: 0.5rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .service-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-filters .btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
    }
}

/* Améliorations spécifiques des filtres mobile */
@media (max-width: 768px) {
    .filter-tabs {
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-width: auto;
        flex: 1;
        max-width: 120px;
    }
    
    .product-card .product-info h5 {
        font-size: 1.1rem;
    }
    
    .product-specs {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .product-price {
        margin: 0.75rem 0;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    /* Navigation breadcrumb mobile */
    .breadcrumb-item {
        font-size: 0.8rem;
    }
    
    /* Service action buttons mobile */
    .service-action {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    /* Testimonial author mobile */
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Contact form mobile */
    .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    /* Stats section mobile */
    .stat-item {
        padding: 1rem 0;
    }
    
    /* Hero buttons mobile */
    .hero-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Service link improvements */
    .service-link .service-box {
        padding: 1.25rem;
    }
    
    .service-link .service-box h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* Touch improvements */
@media (hover: none) {
    
    .service-action {
        opacity: 1;
        transform: none;
    }
    
    .chat-button:hover {
        transform: none;
    }
    
    .service-card:hover,
    .product-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    

    
    .testimonial-card::before {
        font-size: 2.5rem;
    }
}

/* Performance optimizations pour mobile */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    .hero-section {
        background-attachment: scroll; /* Améliore les performances */
    }
    
    /* Simplification des ombres sur mobile */
    .service-box,
    .service-card,
    .product-card,
    .testimonial-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Optimisation des transitions */
    .service-link {
        transition: none;
    }
    
    /* Amélioration du contraste pour mobile */
    .text-muted {
        color: #666 !important;
    }
    
    /* Espacement amélioré pour le touch */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 1rem 0.75rem;
    }
    
    /* Amélioration de la lisibilité */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* ========================================
   SYSTÈME DE RENDEZ-VOUS
   ======================================== */

/* Types de rendez-vous */
.appointment-type-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.appointment-type-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.15);
}

.appointment-type-card.selected {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(0, 123, 191, 0.1));
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
}

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

.appointment-type-card:hover::before {
    left: 100%;
}

.appointment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.appointment-type-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.appointment-type-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.appointment-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.duration {
    color: #666;
    font-size: 0.85rem;
}

.price {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
}

/* Container de réservation */
.booking-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
}

/* Section calendrier */
.calendar-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.month-year {
    margin: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

.calendar-grid {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--primary-blue);
}

.day-header {
    padding: 0.75rem 0.5rem;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.other-month {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.past {
    color: #ccc;
    background: #f5f5f5;
    cursor: not-allowed;
}

.calendar-day.sunday {
    background: #ffe6e6;
    color: #999;
    cursor: not-allowed;
}

.calendar-day.available {
    background: #e8f5e8;
    color: #2e7d32;
    cursor: pointer;
}

.calendar-day.available:hover {
    background: #c8e6c9;
}

.calendar-day.selected {
    background: var(--primary-blue);
    color: white;
}

.availability-indicator {
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
    margin-top: 2px;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.available {
    background: #4caf50;
}

.legend-color.past {
    background: #f44336;
}

.legend-color.sunday {
    background: #ff9800;
}

/* Créneaux horaires */
.time-slots-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.time-slot {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.time-slot.available:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 191, 255, 0.1);
}

.time-slot.selected {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}



/* Section formulaire */
.booking-form-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    border-left: 4px solid var(--primary-blue);
}

.summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item i {
    width: 20px;
    color: var(--primary-blue);
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.confirmation-item:last-child {
    border-bottom: none;
}

/* Informations pratiques */
.info-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Dark mode pour le système de rendez-vous */
[data-theme="dark"] .appointment-type-card {
    background: var(--dark-card-bg);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
}

[data-theme="dark"] .appointment-type-card p {
    color: #ccc;
}

[data-theme="dark"] .appointment-details {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .booking-container,
[data-theme="dark"] .calendar-section,
[data-theme="dark"] .time-slots-section,
[data-theme="dark"] .booking-form-section {
    background: var(--dark-card-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .calendar-grid {
    background: var(--dark-card-bg);
}

[data-theme="dark"] .calendar-day {
    background: var(--dark-card-bg);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
}

[data-theme="dark"] .calendar-day.available {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
}

[data-theme="dark"] .time-slot {
    background: var(--dark-card-bg);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
}

[data-theme="dark"] .summary-card {
    background: var(--dark-card-bg);
    border-left-color: var(--dark-primary);
}

[data-theme="dark"] .info-card {
    background: var(--dark-card-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .info-card p {
    color: #ccc;
}

/* Responsive pour système de rendez-vous */
@media (max-width: 768px) {
    .appointment-type-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .appointment-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .booking-container {
        padding: 1rem;
    }
    
    .calendar-section,
    .time-slots-section,
    .booking-form-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .calendar-day {
        padding: 0.5rem 0.25rem;
        min-height: 40px;
        font-size: 0.9rem;
    }
    
    .day-header {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    .time-slot {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .calendar-legend {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .appointment-details {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 4px 4px 20px rgba(0,0,0,0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Expansion régionale */
.country-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.expansion-stats .stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.expansion-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.expansion-stats h3 {
    font-weight: bold;
    font-size: 2.5rem;
}

/* Responsive pour expansion */
@media (max-width: 768px) {
    .country-flag {
        font-size: 1.5rem;
    }
    
    .expansion-stats .stat-card {
        margin-bottom: 1rem !important;
    }
    
    .expansion-stats h3 {
        font-size: 2rem;
    }
}

/* Styles pour système de devis intelligent */
.intelligent-quote {
    position: relative;
}

.country-selector {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,121,191,0.2);
}

.country-selector select {
    background-color: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(10px);
}

.country-selector select option {
    background-color: var(--primary-blue);
    color: white;
}

.product-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-item:hover::before,
.product-item.selected::before {
    transform: scaleX(1);
}

.product-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0,121,191,0.15);
    transform: translateY(-5px);
}

.product-item.selected {
    border-color: var(--primary-blue);
    background: rgba(0,121,191,0.05);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.product-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 120px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-range {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.product-options {
    margin: 1rem 0;
    display: none;
}

.product-item.selected .product-options {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.option-group {
    margin-bottom: 1rem;
}

.option-group label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

.option-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.quantity-input {
    width: 80px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    background: var(--card-bg);
    color: var(--text-color);
}

.recommendations-section {
    background: linear-gradient(135deg, rgba(255,193,7,0.1), rgba(255,152,0,0.1));
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid rgba(255,193,7,0.2);
}

.recommendation-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recommendation-item:hover {
    border-color: #ffc107;
    box-shadow: 0 5px 15px rgba(255,193,7,0.2);
}

.recommendation-badge {
    background: #ffc107;
    color: #000;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* ===== Section Technologies & Stack Technique ===== */
#technologies {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.1);
    height: 100%;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.tech-category h4 {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 3px solid var(--secondary-blue);
    padding-bottom: 0.5rem;
}

.tech-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 31, 63, 0.15);
    border-color: var(--secondary-blue);
    background: white;
}

.tech-item i {
    transition: var(--transition);
}

.tech-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.tech-item h6 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-uses {
    margin-top: 1rem;
}

.tech-uses .badge {
    font-size: 0.7rem;
    margin: 0.2rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #dee2e6;
}

/* Section Python Spotlight */
.python-spotlight {
    background: linear-gradient(135deg, #3776ab 0%, #ffd343 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.python-spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-opacity='0.1'%3E%3Cpath fill='%23ffffff' d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 4V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.python-spotlight .text-center,
.python-spotlight .row {
    position: relative;
    z-index: 2;
}

.python-project-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-gray);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.python-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: white;
}

.python-project-card i {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.python-project-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-tech {
    margin-top: 1rem;
}

.tech-badge {
    background: var(--secondary-blue);
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    margin: 0.2rem;
    display: inline-block;
    font-weight: 500;
}

/* Animation pour le background Python */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive Technologies */
@media (max-width: 768px) {
    .tech-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .tech-item {
        margin-bottom: 1rem;
    }
    
    .python-spotlight {
        padding: 2rem 1rem;
    }
    
    .python-project-card {
        margin-bottom: 1.5rem;
    }
}

.packages-section {
    background: linear-gradient(135deg, rgba(40,167,69,0.1), rgba(25,135,84,0.1));
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid rgba(40,167,69,0.2);
}

.package-item {
    background: var(--card-bg);
    border: 2px solid #28a745;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.package-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #28a745, #20c997);
    z-index: -1;
    border-radius: 15px;
}

.package-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.package-savings {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.quote-summary {
    background: var(--card-bg);
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    position: sticky;
    top: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-line:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.discount-line {
    color: #28a745;
    font-weight: 600;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,121,191,0.3);
    border-radius: 50%;
    border-top-color: var(--primary-blue);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mode sombre pour système intelligent */
[data-theme="dark"] .product-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .product-item.selected {
    background: rgba(0,121,191,0.1);
    border-color: var(--primary-blue);
}

[data-theme="dark"] .country-selector {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

[data-theme="dark"] .option-select,
[data-theme="dark"] .quantity-input,
[data-theme="dark"] .quantity-btn {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .recommendations-section {
    background: linear-gradient(135deg, rgba(255,193,7,0.05), rgba(255,152,0,0.05));
}

[data-theme="dark"] .packages-section {
    background: linear-gradient(135deg, rgba(40,167,69,0.05), rgba(25,135,84,0.05));
}

/* Ultra-Simple Service Selector */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border: 3px solid #e9ecef;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}

.service-card.selected {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(0,121,191,0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-price {
    font-weight: bold;
    color: #6c757d;
}

.service-card.selected .service-price {
    color: rgba(255,255,255,0.9);
}

.service-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.service-card.selected .service-check {
    transform: scale(1);
}

/* Contrôles de quantité */
.quantity-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.quantity-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.qty-display {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

/* Aperçu des services sélectionnés */
.selection-summary {
    background: var(--card-bg);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.no-selection {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.no-selection i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.selected-list {
    max-height: 300px;
    overflow-y: auto;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.selected-item:hover {
    background: rgba(0,121,191,0.05);
}

.selected-item:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-icon {
    font-size: 1.5rem;
}

.item-details {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 600;
    color: var(--text-color);
}

.item-calc {
    font-size: 0.9rem;
    color: #6c757d;
}

.item-total {
    font-weight: bold;
    color: var(--primary-blue);
}

.total-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 25px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(40,167,69,0.3);
}

.total-info {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.total-price {
    font-size: 2.5rem;
    font-weight: bold;
}

.total-disclaimer {
    margin-top: 1rem;
    opacity: 0.8;
    font-style: italic;
}

/* Mode sombre */
[data-theme="dark"] .service-card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .service-card.selected {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

[data-theme="dark"] .selection-summary {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .selected-item {
    border-color: var(--border-color);
}

[data-theme="dark"] .selected-item:hover {
    background: rgba(0,121,191,0.1);
}
