/* Variables CSS pour la charte graphique */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #2c3e50;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Optimisations Core Web Vitals */
* {
    box-sizing: border-box;
}

/* Préchargement des polices critiques */
@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

/* Optimisation des images */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Optimisation du rendu */
body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimisations CSS pour SEO et Performance */
/* Prévention du Cumulative Layout Shift (CLS) */
.loading-logo,
.card img,
.testimonial-avatar,
.contact-icon {
    aspect-ratio: auto;
    width: auto;
    height: auto;
}

/* Optimisation des animations pour les Core Web Vitals */
/* Note: Cette règle ne s'applique que si l'utilisateur a demandé moins d'animations */
@media (prefers-reduced-motion: reduce) {
    /* On garde les animations de l'écran de chargement même avec reduced motion */
    .loading-screen .spinner-dot,
    .loading-screen .loading-logo,
    .loading-screen .brand-name,
    .loading-screen .welcome-text {
        animation-duration: 1.4s !important;
        animation-iteration-count: infinite !important;
    }
}

/* Optimisation du contenu visible en premier (Above the fold) */
.hero-section {
    contain: layout style paint;
}

/* Optimisation des polices pour éviter le FOIT (Flash of Invisible Text) */
.navbar-brand,
.hero-content h1,
.display-4,
.display-5 {
    font-display: swap;
}

/* Optimisation des images critiques */
.logo-nav,
.loading-logo {
    will-change: transform;
}

/* Optimisation du scroll pour les Core Web Vitals */
html {
    scroll-behavior: smooth;
}

/* Optimisation de la performance des animations */
.card:hover,
.btn:hover,
.nav-link:hover {
    will-change: transform;
}

/* Optimisation pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-nav,
    .loading-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Écran de chargement */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease-out;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    max-width: 400px;
    width: 100%;
    padding: 0 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.loading-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 2rem;
    animation: logoPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(255, 107, 53, 0.4));
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textSlideIn 1.5s ease-out 0.2s both;
}

.welcome-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
    animation: textSlideIn 1.5s ease-out 0.4s both;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Barre de progression */
.progress-container {
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 50%, #d1451f 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.progress-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
    min-height: 1.2rem;
}

.simple-spinner {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.spinner-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite both;
    will-change: transform, opacity;
}

.spinner-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.spinner-dot:nth-child(3) {
    animation-delay: 0s;
}

/* Animations pour l'écran de chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Contenu principal */
.main-content {
    display: none;
}

/* Responsive pour l'écran de chargement */
@media (max-width: 768px) {
    .loading-logo {
        width: 140px;
        height: 140px;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .welcome-text {
        font-size: 1.2rem;
    }
    
    .progress-container {
        margin: 1.5rem 0;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
    
    .loading-content {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .loading-logo {
        width: 120px;
        height: 120px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
    
    .progress-container {
        margin: 1rem 0;
    }
    
    .progress-bar {
        height: 5px;
    }
    
    .progress-text {
        font-size: 0.75rem;
    }
    
    .loading-content {
        padding: 0 0.5rem;
    }
}

/* Barre de progression de scroll */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 8px;
    background: linear-gradient(90deg, #ff6b35 0%, #e55a2b 50%, #d1451f 100%);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Gradient pour les cartes tarifs */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Styles généraux */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

/* Logo */
.logo-nav {
    transition: transform 0.3s ease;
}

.logo-nav:hover {
    transform: scale(1.1);
}

/* Images */
.img-fluid {
    transition: transform 0.3s ease;
}

.card:hover .img-fluid {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Styles pour le menu mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .navbar-nav {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 2rem;
    }

    .nav-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: white !important;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        border-radius: 10px;
        border: 2px solid var(--primary-color);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
        min-height: 45px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
        opacity: 0;
        transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }

    .nav-link:hover {
        color: var(--secondary-color) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
        border-color: rgba(255, 107, 53, 0.1);
        background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    }

    .nav-link:hover::before {
        opacity: 1;
    }

    .nav-link:active {
        transform: translateY(0) scale(0.98);
        transition: all 0.1s ease;
    }

    /* Animation d'apparition des liens - plus rapide */
    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateY(15px);
        animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.05s; }
    .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.1s; }
    .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.15s; }
    .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.2s; }
    .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.25s; }
    .navbar-nav .nav-item:nth-child(6) { animation-delay: 0.3s; }
    .navbar-nav .nav-item:nth-child(7) { animation-delay: 0.35s; }

    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* S'assurer que le bouton hamburger reste visible */
    .navbar-toggler {
        position: relative;
        z-index: 1050;
        pointer-events: auto;
    }

    /* Empêcher les liens de passer par-dessus le bouton */
    .navbar-nav {
        pointer-events: none;
    }

    .navbar-nav .nav-item {
        pointer-events: auto;
    }

    /* Bouton hamburger amélioré - transitions plus rapides */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        z-index: 1050;
        position: relative;
        background: transparent;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-toggler-icon {
        background-image: none !important;
        position: relative;
        width: 25px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
        left: 0;
        transform-origin: center;
    }

    .navbar-toggler-icon::before {
        top: 0;
    }

    .navbar-toggler-icon::after {
        bottom: 0;
    }

    .navbar-toggler-icon span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    /* Animation du bouton hamburger - version simplifiée et plus rapide */
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
}

/* Bouton Doctolib flottant */
.doctolib-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.doctolib-button .btn {
    padding: 1.2rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 3px solid var(--white);
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 50%, #d1451f 100%);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

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

.doctolib-button .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255, 107, 53, 0.5),
        0 8px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #e55a2b 0%, #d1451f 50%, #b83a1a 100%);
}

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

.doctolib-button .btn:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

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

/* Animation d'apparition */
.doctolib-button {
    animation: slideInRight 0.8s ease-out 1s both;
}

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




/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* Styles pour les cartes de tarifs */
.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-tag .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    order: 2;
}

.price-tag .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    order: 1;
}

.price-tag .period {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 400;
}

/* Animation pour les cartes tarifs */
.card:hover .price-tag .amount {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Formation Cards */
.formation-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.formation-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.formation-card:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.formation-year {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.formation-content h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.formation-content p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Boutons améliorés avec dégradés orange et animations professionnelles */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    outline: none !important;
}

.btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3), 0 4px 15px rgba(255, 107, 53, 0.2);
    border: none !important;
}

.btn:focus-visible {
    outline: none !important;
    border: none !important;
}

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

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

.btn > * {
    position: relative;
    z-index: 2;
}

/* Bouton primaire avec dégradé orange */
.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 50%, #d1451f 100%);
    color: white !important;
    box-shadow: 
        0 6px 20px rgba(255, 107, 53, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid transparent !important;
    background-clip: padding-box;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d1451f 50%, #b83a1a 100%);
    color: white !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(255, 107, 53, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid transparent !important;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 2px solid transparent !important;
}

/* Bouton outline avec bordure orange - CORRIGÉ */
.btn-outline-primary {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.1) 100%);
    color: #ff6b35 !important;
    border: 2px solid #ff6b35 !important;
    box-shadow: 
        0 4px 15px rgba(255, 107, 53, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white !important;
    border-color: #ff6b35 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(255, 107, 53, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35 !important;
}

/* Boutons de taille différente */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-lg:hover {
    transform: translateY(-4px) scale(1.03);
}

.btn-lg:active {
    transform: translateY(-2px) scale(1.02);
}

/* Bouton Doctolib flottant amélioré */
.doctolib-button .btn {
    padding: 1.2rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px !important;
    border: 3px solid var(--white) !important;
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 50%, #d1451f 100%);
    color: var(--white) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.doctolib-button .btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d1451f 50%, #b83a1a 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255, 107, 53, 0.5),
        0 8px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--white) !important;
    border: 3px solid var(--white) !important;
}

.doctolib-button .btn:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
    border: 3px solid var(--white) !important;
}

/* Bouton Instagram (garder le style existant car vous l'aimez) */
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    border-radius: 50px !important;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a0126a 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
    border: none !important;
}

.btn-instagram:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    border: none !important;
}

/* Boutons dans les cartes de tarifs - SEULS ceux-ci gardent width: 100% */
.card .btn {
    margin-top: 1rem;
    justify-content: center;
    border-radius: 50px !important;
}

/* Boutons dans la section hero */
.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    margin: 0.5rem;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Boutons dans le formulaire de contact */
.contact-form-card .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px !important;
}

/* Boutons dans la section carte */
.map-cta .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.map-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Animation de pulsation pour les boutons importants */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    }
}

.btn-primary:focus,
.btn-outline-primary:focus {
    animation: pulse 2s infinite;
}

/* Responsive pour les boutons */
@media (max-width: 768px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 50px !important;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        border-radius: 50px !important;
    }
    
    .doctolib-button .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        border-width: 2px;
        border-radius: 50px !important;
        box-shadow: 
            0 6px 20px rgba(255, 107, 53, 0.5),
            0 3px 8px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .doctolib-button .btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 
            0 12px 25px rgba(255, 107, 53, 0.6),
            0 6px 12px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 50px !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 50px !important;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        border-radius: 50px !important;
    }
    
    .doctolib-button .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 50px !important;
    }
}

/* Sections */
section {
    padding: 1.5rem 0;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Textes */
.text-primary {
    color: var(--primary-color) !important;
}

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

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .doctolib-button {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .doctolib-button .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        border-width: 2px;
        border-radius: 50px !important;
        box-shadow: 
            0 6px 20px rgba(255, 107, 53, 0.5),
            0 3px 8px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .doctolib-button .btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 
            0 12px 25px rgba(255, 107, 53, 0.6),
            0 6px 12px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .formation-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .formation-year {
        align-self: flex-start;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles pour l'accessibilité */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Styles pour les icônes */
.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

.fa-lg {
    font-size: 1.125em;
}

/* Styles pour les cartes avec icônes */
.card .fa-3x {
    margin-bottom: 1rem;
}

/* Styles pour les sections avec background */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Styles pour les liens */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Styles pour les formulaires */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

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

/* Footer simplifié et moderne */
.footer-simple {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-brand:hover .footer-logo {
    opacity: 1;
}

.footer-name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Responsive pour le footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
    }
    
    .separator {
        display: none;
    }
    
    .footer-links a:not(:last-child)::after {
        content: '•';
        color: rgba(255, 255, 255, 0.4);
        margin-left: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-simple {
        padding: 1.5rem 0;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-logo {
        height: 30px;
    }
    
    .footer-name {
        font-size: 1rem;
    }
}

/* Styles pour les pages légales */
.legal-content {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.legal-section {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legal-section ul {
    padding-left: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.legal-footer {
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
}

/* Responsive pour les pages légales */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-section {
        padding-left: 1rem;
    }
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Styles pour les cartes avec bordures spéciales */
.card.border-primary {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

/* Styles pour les badges spéciaux */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

/* Styles pour les ombres personnalisées */
.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow {
    box-shadow: var(--shadow-lg) !important;
}

/* Styles pour les arrondis */
.rounded-3 {
    border-radius: 0.75rem !important;
}

/* Styles pour les espacements */
.gap-3 {
    gap: 1rem !important;
}

/* Styles pour les alignements */
.align-items-center {
    align-items: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

/* Styles pour les tailles de texte */
.display-5 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Styles pour les couleurs de texte */
.text-muted {
    color: var(--dark-gray) !important;
}

/* Styles pour les backgrounds */
.bg-white {
    background-color: var(--white) !important;
}

/* Styles pour les bordures */
.border-0 {
    border: 0 !important;
}

/* Styles pour les paddings */
.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

/* Styles pour les margins */
.mb-3 {
    margin-bottom: 0.75rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.ms-auto {
    margin-left: auto !important;
}

/* Styles pour les largeurs */
.w-100 {
    width: 100% !important;
}

/* Styles pour les hauteurs */
.h-100 {
    height: 100% !important;
}

.min-vh-100 {
    min-height: 100vh !important;
}

/* Styles pour les positions */
.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.fixed-top {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* Styles pour les z-index */
.z-index-1000 {
    z-index: 1000 !important;
}

/* Styles pour les transitions */
.transition {
    transition: all 0.3s ease;
}

/* Styles pour les transformations */
.transform {
    transform: translateY(-5px);
}

/* Styles pour les hover effects */
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Styles pour les animations personnalisées */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

/* Section Hero/Bienvenue */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding-top: 120px;
    margin-top: 80px;
    scroll-margin-top: 100px;
}

.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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInFromLeft 0.8s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.hero-buttons {
    margin-top: 3rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    margin: 0.5rem;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Features de la section hero */
.hero-features {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: rgba(255, 107, 53, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

/* Processus de consultation */
.consultation-process {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.consultation-process h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 107, 53, 0.05);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive pour la section hero */
@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .consultation-process {
        padding: 1.5rem;
    }

    .step {
        padding: 0.75rem;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Styles pour la section contact améliorée */
.contact-info-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.contact-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.cabinet-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .cabinet-photo {
    transform: scale(1.05);
}

.contact-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.contact-overlay h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-body {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 107, 53, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

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

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-text {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-phone {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact row pour téléphone et email */
.contact-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label-small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA de contact */
.contact-cta {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

/* Section carte intégrée */
.map-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 53, 0.1);
}

.map-section .map-header {
    padding: 0 0 1rem 0;
    background: none;
    border: none;
}

.map-section .map-header h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.map-wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.map-wrapper iframe {
    border-radius: 0;
    transition: transform 0.3s ease;
    width: 100%;
    height: 300px;
}

.map-wrapper:hover iframe {
    transform: scale(1.02);
}

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

.map-cta .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.map-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Carte du formulaire de contact */
.contact-form-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.contact-form-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-form-card .form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px !important;
}

/* Responsive pour la section contact */
@media (max-width: 991px) {
    .contact-header {
        height: 150px;
    }
    
    .contact-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .contact-overlay h4 {
        font-size: 1.25rem;
    }
    
    .contact-body {
        padding: 1.5rem 1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 0.75rem;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-row {
        gap: 1rem;
    }
    
    .map-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-header {
        height: 120px;
    }
    
    .contact-overlay h4 {
        font-size: 1.1rem;
    }
    
    .contact-overlay p {
        font-size: 0.9rem;
    }
    
    .contact-body {
        padding: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .contact-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-col {
        align-items: center;
    }
    
    .map-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .map-wrapper iframe {
        height: 200px;
    }
    
    .contact-form-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form-card .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Styles pour les media queries supplémentaires */
@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .doctolib-button .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Styles pour la section Actualités */
.instagram-post-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.instagram-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.3);
}

.instagram-post-card .instagram-media {
    border-radius: 0.75rem !important;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.instagram-post-card:hover .instagram-media {
    transform: scale(1.02);
}

/* Bouton Instagram avec dégradé officiel */
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    border-radius: 50px !important;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a0126a 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
    border: none !important;
}

.btn-instagram:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    border: none !important;
}

.loading-posts {
    padding: 3rem 0;
}

.loading-posts .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive pour la section Actualités */
@media (max-width: 991px) {
    .instagram-post-card {
        padding: 0.75rem;
    }
    
    .instagram-post-card .instagram-media {
        min-height: 350px !important;
    }
}

@media (max-width: 576px) {
    .instagram-post-card {
        padding: 0.5rem;
    }
    
    .instagram-post-card .instagram-media {
        min-height: 300px !important;
    }
    
    .loading-posts {
        padding: 2rem 0;
    }
    
    .loading-posts .spinner-border {
        width: 2rem;
        height: 2rem;
    }
}

/* Styles pour la section Avis Clients */
.testimonial-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    font-size: 1rem;
}

.testimonial-sport {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.testimonial-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.testimonial-date {
    color: var(--dark-gray);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Statistiques de satisfaction */
.satisfaction-stats {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.1));
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.stat-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive pour la section avis */
@media (max-width: 991px) {
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-header {
        gap: 0.75rem;
    }
    
    .testimonial-avatar {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .testimonial-name {
        font-size: 0.9rem;
    }
    
    .testimonial-sport {
        font-size: 0.8rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .satisfaction-stats {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimonial-info {
        text-align: center;
    }
    
    .testimonial-rating {
        justify-content: center;
    }
    
    .testimonial-content {
        text-align: center;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
    }
    
    .satisfaction-stats {
        padding: 1rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}





