/*
Theme Name: Dr Etienne Cabinet Dentaire
Theme URI: https://example.com
Author: Cabinet Dentaire
Author URI: https://example.com
Description: Thème élégant et sobre pour cabinet dentaire
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-etienne
*/

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

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f8d;
    --primary-dark: #1a3a5a;
    --accent-color: #3d8fc7;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.site-title a {
    color: var(--primary-color);
    position: relative;
}

.site-title a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.site-title a:hover::after {
    width: 100%;
}

/* Navigation */
.main-navigation {
    display: flex;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
}

.main-navigation a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-color);
}

.main-navigation a:hover::before,
.main-navigation .current-menu-item a::before {
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #1a3a5a; /* fallback si l'image ne charge pas */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 1.2s ease-out;
}


.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	background: linear-gradient(135deg, rgba(44, 95, 141, 0.55) 0%, rgba(26, 58, 90, 0.45) 100%);
}


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    animation: fadeIn 1.5s ease-out 0.3s backwards;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    animation: slideInLeft 1s ease-out 0.5s backwards;
}

.hero-content p {
    font-size: 22px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
    animation: slideInRight 1s ease-out 0.7s backwards;
}

/* Main Content */
.site-main {
    padding: 80px 0;
    min-height: 400px;
    animation: fadeIn 0.8s ease-out;
}

.page-header {
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    animation: slideInLeft 0.8s ease-out;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -1px;
}

.entry-content {
    line-height: 1.9;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.entry-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 60px 0 30px;
    position: relative;
    padding-left: 20px;
    animation: slideInLeft 0.8s ease-out;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.entry-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 40px 0 20px;
}

.entry-content p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.entry-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Team Section */
.team-member {
    display: flex;
    gap: 50px;
    margin-bottom: 80px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    animation: scaleIn 0.8s ease-out;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

.team-member-photo {
    flex: 0 0 320px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.team-member-photo img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member:hover .team-member-photo img {
    transform: scale(1.05);
}

.team-member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-member-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.team-member-info p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Services Grid */
.services-section {
    margin: 80px 0;
}

.service-item {
    margin-bottom: 80px;
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    animation: fadeIn 0.8s ease-out;
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.service-gallery img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Gallery */
.wp-block-gallery,
.blocks-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.wp-block-image img,
.blocks-gallery-item img {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.wp-block-image img:hover,
.blocks-gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Schedule & Location */
.schedule-section,
.location-section {
    margin: 50px 0;
    padding: 50px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 20px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out;
}

.schedule-section:hover,
.location-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.map-container {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.map-container:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.01);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.site-footer .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.site-footer p {
    margin: 0;
    font-size: 15px;
    opacity: 0.95;
    font-weight: 300;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

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

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

  .menu-toggle {
      display: none;
  }

/* Responsive */



@media (max-width: 768px) {
    /* Header : logo + hamburger sur une seule ligne */
    .site-header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
	
	/* Bouton hamburger */
    .menu-toggle {
        display: block;
        background: var(--primary);
        color: white;
        border: none;
        padding: 8px 12px;
        font-size: 0.95rem;
        cursor: pointer;
        border-radius: 6px;
        margin-left: auto;
		gap: 8px;
		font-weight: 600;
		letter-spacing: 0.05em;
    }


	.menu-toggle .menu-text {
  		font-size: 0.75rem;      /* discret, pro */
	}

    /* Navigation wrapper */
    .main-navigation {
        position: static;
        width: auto;
        display: block;
    }

    /* Menu mobile */
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        top: 72px; /* hauteur du header mobile */
        background: white;
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
        max-height: 45vh;
        overflow-y: auto;
        z-index: 2000;
        padding: 6px 0;
        margin: 0;
    }

    /* Menu ouvert */
    .main-navigation ul.toggled {
        display: block;
    }

    /* Items du menu */
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation a {
        display: block;
        padding: 10px 16px;
        font-size: 0.95rem;
        color: var(--text-dark);
    }

    .main-navigation a::before {
        display: none;
    }

    .main-navigation a:hover {
        background: var(--bg-light);
    }

    /* Hero */
    .hero-slider {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .page-title {
        font-size: 36px;
    }

    /* Équipe */
    .team-member {
        flex-direction: column !important;
        padding: 30px;
    }

    .team-member-photo {
        flex: 0 0 auto;
        width: 100%;
    }

    /* Services */
    .service-item {
        padding: 30px;
    }

    .service-gallery {
        grid-template-columns: 1fr;
    }

    /* Horaires & localisation */
    .schedule-section,
    .location-section {
        padding: 30px;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .main-navigation ul {
        max-height: 40vh;
    }

    .main-navigation a {
        padding: 10px 14px;
        font-size: 0.92rem;
    }
}


/* Gutenberg Editor Styles */
.wp-block-cover {
    margin-bottom: 50px;
    border-radius: 16px;
    overflow: hidden;
}

.wp-block-columns {
    margin-bottom: 50px;
}

.wp-block-column {
    padding: 30px;
}



/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    margin: 40px 0;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    overflow: hidden;
}

.schedule-table thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 20px 15px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
}

.schedule-table tbody th {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    padding: 20px 25px;
    text-align: center;
    border-right: 2px solid var(--white);
    font-size: 15px;
}

.schedule-table tbody td {
    background: var(--white);
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 15px;
    transition: all 0.3s ease;
}

.schedule-table tbody td:last-child {
    border-right: none;
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

.schedule-table tbody td:hover {
    background: var(--bg-light);
    transform: scale(1.02);
}

.schedule-table tbody td.closed {
    background: #f5f5f5;
    color: #999;
    font-style: italic;
}

/* Publications Grid */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.publication-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.publication-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.publication-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.publication-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.publication-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--primary-color);
    margin: 0 0 10px;
    font-weight: 600;
}

.publication-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* CV Sections */
.cv-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.cv-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.cv-section h4 {
    font-size: 20px;
    color: var(--primary-dark);
    margin: 25px 0 15px;
    font-weight: 600;
}

.cv-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.cv-section ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.cv-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Visite Guidée */
.visite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.visite-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.visite-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.visite-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.visite-info {
    padding: 25px;
}

.visite-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary-color);
    margin: 0 0 12px;
}

.visite-info p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 95, 141, 0.8);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.carousel-indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Banner Images (têtes) */
.banner-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    object-position: center center;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
    padding: 20px;
}

.team-member .banner-image,
.cv-section .banner-image {
    max-height: 450px;
    border-radius: 16px;
}

/* Fix image sizing in galleries */
.wp-block-gallery img,
.blocks-gallery-item img,
.service-gallery img {
    object-fit: contain !important;
    background: var(--bg-light);
    padding: 10px;
}

/* Press Articles - Smaller images to avoid pixelation */
.press-articles-gallery img {
    max-width: 200px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.press-articles-gallery .wp-block-image {
    flex-basis: auto !important;
    max-width: 200px !important;
}

@media (max-width: 768px) {
    .schedule-table {
        font-size: 13px;
    }

    .schedule-table thead th,
    .schedule-table tbody th,
    .schedule-table tbody td {
        padding: 12px 8px;
    }

    .publications-grid {
        grid-template-columns: 1fr;
    }

    .visite-grid {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-slide img {
        max-height: 400px;
    }

    .banner-image {
        height: 180px;
    }

    .team-member .banner-image,
    .cv-section .banner-image {
        height: 200px;
    }
}

 .footer-contact {
      margin-top: 40px;
      padding: 40px 20px;
      border-top: 2px solid rgba(255,255,255,0.3);
      text-align: center;
  }

  .footer-contact h3 {
      color: white;
      margin-bottom: 25px;
      font-size: 1.5rem;
      font-weight: 600;
      letter-spacing: 1px;
  }

  .contact-links {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }

  .contact-links li {
      width: 100%;
      max-width: 400px;
  }

  .contact-links a {
      display: block;
      color: white;
      background: rgba(255,255,255,0.1);
      padding: 15px 30px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 500;
      border: 2px solid rgba(255,255,255,0.3);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
  }

  .contact-links a::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: white;
      transform: scaleX(0);
      transition: transform 0.3s ease;
  }

  .contact-links a:hover {
      background: rgba(255,255,255,0.2);
      border-color: white;
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }

  .contact-links a:hover::before {
      transform: scaleX(1);
  }

  /* Version responsive */
  @media (min-width: 768px) {
      .contact-links {
          flex-direction: row;
          justify-content: center;
          flex-wrap: wrap;
      }

      .contact-links li {
          width: auto;
          max-width: none;
      }
  }

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;

    background: #1c355e!important;
	color: #ffffff !important;
	border: 2px solid #ffffff !important;
	border-radius: 10px;


    opacity: 1 !important;
    visibility: visible !important;

    position: relative !important;
    z-index: 999999 !important;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* au cas où le header coupe/masque */
  .site-header,
  .site-header .container,
  .main-navigation {
    overflow: visible !important;
  }
}

/* Wrapper scrollable */
.schedule-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* Forcer l’apparition de la scrollbar iOS */
.schedule-scroll::-webkit-scrollbar {
  height: 6px;
}

.schedule-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 3px;
}

/* Indication visuelle "scroll" (ombre à droite) */
@media (max-width: 768px) {
  .schedule-scroll::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    font-size: 18px;
    color: rgba(0,0,0,0.5);
    pointer-events: none;
    animation: hintScroll 1.2s ease-in-out infinite alternate;
  }
}

@keyframes hintScroll {
  from { transform: translate(0, -50%); }
  to   { transform: translate(-6px, -50%); }
}
