/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
.header {
    background: linear-gradient(90deg, #6b8dd6 0%, #4285f4 50%, #8e37d7 100%);
    color: white;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Effet de vagues avec pseudo-éléments */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 800px 600px at 50% 0%, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%),
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%),
        repeating-linear-gradient(
            15deg,
            transparent,
            transparent 8px,
            rgba(255,255,255,0.08) 8px,
            rgba(255,255,255,0.08) 12px
        );
    z-index: 1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            25deg,
            transparent,
            transparent 15px,
            rgba(255,255,255,0.06) 15px,
            rgba(255,255,255,0.06) 18px
        ),
        repeating-linear-gradient(
            -10deg,
            transparent,
            transparent 20px,
            rgba(255,255,255,0.04) 20px,
            rgba(255,255,255,0.04) 25px
        );
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-section img {
            height: 80px;  /* Ajustez selon la taille souhaitée */
            width: auto;   /* Garde les proportions */
            display: block;
            transition: transform 0.3s ease, filter 0.3s ease;
        }

        .logo-section a:hover img {
            transform: scale(1.05);
            filter: brightness(1.1);
}

.contact-info {
    text-align: right;
    font-size: 1.1rem;
}

.contact-info div {
    margin: 0.2rem 0;
}

.phone {
    font-weight: bold;
    font-size: 1.3rem;
    color: #ffd700;
}

/* Navigation */
.nav-container {
    background-color: #1a365d;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-decoration: none;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #2c5aa0;
    transform: translateY(-1px);
}

/* Main Content */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.content-area {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.widget-title {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

/* Page Content */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

.page-title {
    color: #2c5aa0;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

.equipment-highlight {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f7 100%);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 5px solid #2c5aa0;
}

.equipment-highlight h3 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.team-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.team-section h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.3rem;
}

.doctor-list {
    list-style: none;
}

.doctor-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
    font-weight: 500;
}

.doctor-list li:last-child {
    border-bottom: none;
}

.cta-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Hours Widget */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.hours-table td {
    padding: 0.8rem;
    border-bottom: 1px solid #dee2e6;
}

.hours-table td:first-child {
    font-weight: bold;
    color: #2c5aa0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.access-highlight {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 1rem 0;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
        margin-top: 1rem;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .logo-section h1 {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}
.logo-section svg {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-section a:hover svg {
    transform: scale(1.05);
}

/* Version mobile */
@media (max-width: 768px) {
    .logo-section svg {
        width: 200px;
        height: 50px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
}
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-1 { 
    background: url('images/slide_img1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-2 { 
    background: url('images/slide_img2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-3 { 
    background: url('images/slide_img3.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-4 { 
    background: url('images/slide_img4.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-5 { 
    background: url('images/slide_img5.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide-6 { 
    background: url('images/slide_img6.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Boutons de navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 90, 160, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(44, 90, 160, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Indicateurs (points) */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #2c5aa0;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(44, 90, 160, 0.8);
}

/* Responsive carrousel */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }

    .slide-content h3 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .slide-icon {
        font-size: 3rem;
    }
}

/* ==========================================================================
   Utilitaires (remplacent les styles inline des pages)
   ========================================================================== */

/* Couleurs de texte */
.text-primary { color: #2c5aa0; }
.text-success { color: #28a745; }
.text-success-dark { color: #155724; }
.text-info { color: #1976d2; }
.text-info-dark { color: #0d47a1; }
.text-info-alt { color: #2196f3; }
.text-warning { color: #856404; }
.text-orange { color: #f57c00; }
.text-orange-dark { color: #e65100; }
.text-orange-alt { color: #ff9800; }
.text-danger { color: #dc3545; }
.text-danger-dark { color: #721c24; }
.text-purple { color: #9c27b0; }
.text-muted { color: #666; }
.text-red { color: red; }

/* Fonds */
.bg-white { background: #fff; }
.bg-white-70 { background: rgba(255,255,255,0.7); }
.bg-gray { background: #f8f9fa; }
.bg-blue-light { background: #e3f2fd; }
.bg-blue-light2 { background: #e8f4f8; }
.bg-blue-light3 { background: #bbdefb; }
.bg-green-light { background: #e8f5e8; }
.bg-green-light2 { background: #d4edda; }
.bg-yellow-light { background: #fff3cd; }
.bg-red-light { background: #f8d7da; }
.bg-red-light2 { background: #ffebee; }
.bg-orange-light { background: #fff3e0; }
.bg-orange-light2 { background: #ffe0b2; }
.bg-purple-light { background: #f3e5f5; }
.bg-purple-light2 { background: #e1bee7; }
.bg-gradient-blue-purple { background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%); }

/* Bordures gauches (accent) */
.border-l-success { border-left: 4px solid #28a745; }
.border-l-info { border-left: 4px solid #1976d2; }
.border-l-warning { border-left: 4px solid #ffc107; }
.border-l-danger { border-left: 4px solid #dc3545; }
.border-l-orange { border-left: 4px solid #f57c00; }
.border-l-orange-alt { border-left: 4px solid #ff9800; }

/* Arrondis */
.radius-6 { border-radius: 6px; }
.radius-8 { border-radius: 8px; }
.radius-10 { border-radius: 10px; }

/* Paddings (toutes directions) */
.p-08 { padding: 0.8rem; }
.p-1 { padding: 1rem; }
.p-15 { padding: 1.5rem; }
.p-2 { padding: 2rem; }

/* Marges */
.m-0 { margin: 0; }
.mt-05 { margin-top: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.ml-12 { margin-left: 1.2rem; }
.ml-2 { margin-left: 2rem; }
.my-1 { margin: 1rem 0; }
.my-15 { margin: 1.5rem 0; }
.my-2 { margin: 2rem 0; }
.my-3 { margin: 3rem 0; }

/* Typographie */
.fs-08 { font-size: 0.8rem; }
.fs-09 { font-size: 0.9rem; }
.fs-11 { font-size: 1.1rem; }
.fs-12 { font-size: 1.2rem; }
.fs-13 { font-size: 1.3rem; }
.fs-2 { font-size: 2rem; }
.fs-3 { font-size: 3rem; }
.fw-bold { font-weight: bold; }
.lh-16 { line-height: 1.6; }
.lh-18 { line-height: 1.8; }
.italic { font-style: italic; }
.opacity-80 { opacity: 0.8; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.center-lines { display: inline-block; text-align: center; }
.no-underline { text-decoration: none; }
.underline { text-decoration: underline; }
.w-100 { width: 100%; }
.overflow-hidden { overflow: hidden; }
.cols-2 { columns: 2; column-gap: 2rem; }

/* Grilles et flex */
.grid-auto-200 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.col-span-full { grid-column: 1 / -1; }
.grid-auto-250 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-auto-300 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; }
.gap-05 { gap: 0.5rem; }
.gap-1 { gap: 1rem; }
.gap-15 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }
.link-stack { display: flex; flex-direction: column; gap: 0.8rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Composants et variantes */
.logo-section a { text-decoration: none; }

.page-intro { font-size: 1.1rem; margin-bottom: 2rem; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; margin-top: 1rem; }
.footer-fineprint { font-size: 0.9rem; opacity: 0.8; }

.equipment-highlight--flush { margin: 0; }

.cta-button--block { width: 100%; text-align: center; }
.cta-button--compact { padding: 0.8rem 1rem; font-size: 0.9rem; text-align: center; }
.cta-button--compact-sm { padding: 0.8rem; font-size: 0.9rem; text-align: center; }
.cta-button--info { background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%); }
.cta-button--orange { background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%); }

/* Vidéo responsive (ratio 16:9) */
.video-responsive {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}