/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs de marque */
    --brand-blue: #87e4ff;
    --brand-blue-strong: #4fcff2;
    --brand-ink: #1e4252;

    /* Couleurs historiques (texte/contraste) */
    --primary-color: var(--brand-ink);
    --secondary-color: var(--brand-blue-strong);
    --accent-color: var(--brand-blue);
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Meilleur confort tactile sur mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a,
    .btn,
    .photo-item,
    .footer-right a {
        min-height: 44px;
        -webkit-tap-highlight-color: rgba(135, 228, 255, 0.2);
    }
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid rgba(30, 66, 82, 0.12);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-brand a:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-brand a:hover .logo-text {
    color: var(--secondary-color);
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.nav-brand h1 br {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    display: block;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(135, 228, 255, 0.22);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(135, 228, 255, 0.35);
    font-weight: 600;
}

.nav-menu a.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--brand-blue-strong);
    border-radius: 2px 2px 0 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(135, 228, 255, 0.22);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--brand-ink);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section - fond image floutée */
.hero {
    padding: 5rem 0 6rem;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    transform: none !important;
    overflow: hidden;
}

/* Image de fond floutée (cartes des ergothérapeutes, jouets, fond bleu) */
.hero::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: url(hero-bg.png);
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    transform: scale(1.05);
    z-index: 0;
}

/* Overlay pour garder le texte lisible */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: var(--text-color);
    padding: 0 1rem;
}

.hero-description:last-of-type {
    margin-bottom: 2.5rem;
}

.hero-description strong {
    font-weight: 600;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #ffffff !important;
    text-align: center;
}

.btn-primary {
    background: var(--brand-blue);
    color: var(--brand-ink) !important;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--brand-blue-strong);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(30, 66, 82, 0.22);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Accompagnement Section */
.accompagnement-section {
    margin-bottom: 4rem;
}

.accompagnement-card {
    background: linear-gradient(135deg, rgba(135, 228, 255, 0.22) 0%, rgba(79, 207, 242, 0.12) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(135, 228, 255, 0.35);
    transition: var(--transition);
}

.accompagnement-card:hover {
    border-color: var(--brand-blue-strong);
    box-shadow: 0 10px 30px rgba(30, 66, 82, 0.10);
}

.accompagnement-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

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

.bilans-section {
    margin: 4rem 0;
}

.bilans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bilan-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.bilan-card:nth-child(1) { animation-delay: 0.1s; }
.bilan-card:nth-child(2) { animation-delay: 0.2s; }

.bilan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 66, 82, 0.12);
}

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

.bilan-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.bilan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bilan-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

.bilan-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.visite-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.visite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 95, 124, 0.1);
}

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

.visite-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.missions-section {
    margin: 4rem 0;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 5px solid var(--secondary-color);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.mission-card:nth-child(1) { animation-delay: 0.1s; }
.mission-card:nth-child(2) { animation-delay: 0.2s; }

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 95, 124, 0.15);
}

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

.mission-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

.mission-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.partenaires-section {
    margin: 4rem 0;
}

.partenaires-card {
    background: linear-gradient(135deg, rgba(44, 95, 124, 0.05) 0%, rgba(107, 179, 199, 0.05) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(44, 95, 124, 0.1);
    transition: var(--transition);
    max-width: 900px;
    margin: 0 auto;
}

.partenaires-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(44, 95, 124, 0.1);
}

.partenaires-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

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

.partenaires-card p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Aménagement Section */
.amenagement-section {
    margin-bottom: 4rem;
}

.amenagement-intro-card {
    background: linear-gradient(135deg, rgba(44, 95, 124, 0.05) 0%, rgba(107, 179, 199, 0.05) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(44, 95, 124, 0.1);
    transition: var(--transition);
    max-width: 1000px;
    margin: 0 auto;
}

.amenagement-intro-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(44, 95, 124, 0.1);
}

.amenagement-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.amenagement-intro-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.amenagement-intro-card p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.amenagement-intro-card p:last-child {
    margin-bottom: 0;
}

.amenagement-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.amenagement-type-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.amenagement-type-card:nth-child(1) { 
    animation-delay: 0.1s;
    border-left-color: var(--secondary-color);
}
.amenagement-type-card:nth-child(2) { 
    animation-delay: 0.2s;
    border-left-color: var(--accent-color);
}

.amenagement-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 95, 124, 0.15);
}

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

.amenagement-type-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.amenagement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenagement-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

.amenagement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.amenagement-mission-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 5px solid var(--primary-color);
}

.amenagement-mission-card .amenagement-icon {
    margin-bottom: 1.5rem;
}

.amenagement-mission-card h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.amenagement-mission-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.amenagement-mission-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.amenagement-mission-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.amenagement-note {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
    margin-top: 2rem;
    text-align: left;
}

.amenagement-reponses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.amenagement-reponse-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
}

.amenagement-reponse-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.amenagement-reponse-card:nth-child(1) { animation-delay: 0.1s; }
.amenagement-reponse-card:nth-child(2) { animation-delay: 0.2s; }
.amenagement-reponse-card:nth-child(3) { animation-delay: 0.3s; }

.amenagement-reponse-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(44, 95, 124, 0.15);
}

.amenagement-reponse-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.amenagement-reponse-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.amenagement-reponse-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* Cabinet Salles */
.cabinet-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.salles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.salle-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    border-top: 4px solid var(--primary-color);
}

.salle-card:nth-child(1) { 
    animation-delay: 0.1s;
    border-top-color: var(--primary-color);
}
.salle-card:nth-child(2) { 
    animation-delay: 0.2s;
    border-top-color: var(--secondary-color);
}
.salle-card:nth-child(3) { 
    animation-delay: 0.3s;
    border-top-color: var(--accent-color);
}

.salle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.salle-card:hover::before {
    transform: scaleX(1);
}

.salle-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 66, 82, 0.12);
}

.salle-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.salle-card:hover .salle-icon {
    transform: scale(1.2) rotate(5deg);
}

.salle-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.salle-card p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* Photos du cabinet */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Grille salle d'attente : 2 photos ligne 1, 3e centrée ligne 2 */
.photos-grid-salle-attente {
    grid-template-columns: repeat(2, 1fr);
}

.photos-grid-salle-attente .photo-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: min(400px, 100%);
}

@media (max-width: 640px) {
    .photos-grid-salle-attente {
        grid-template-columns: 1fr;
    }
    .photos-grid-salle-attente .photo-item:nth-child(3) {
        grid-column: 1;
        max-width: 100%;
    }
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    background: var(--white);
    padding: 0.5rem;
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 66, 82, 0.18);
}

.photo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
    pointer-events: none;
}

.photo-item:hover::before {
    opacity: 1;
}

.cabinet-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo-item:hover .cabinet-photo {
    transform: scale(1.05);
}

/* Icône zoom au survol */
.photo-item-zoom {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    pointer-events: none;
}

.photo-item:hover .photo-item-zoom {
    opacity: 1;
    transform: scale(1);
}

/* ====== Lightbox ====== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, background 0.35s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.lightbox.is-open .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 1.75rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
    z-index: 10;
    line-height: 1;
}

.lightbox-close:hover {
    background: #fff;
    transform: scale(1.12);
}

@media (max-width: 640px) {
    .lightbox-content {
        max-height: 85vh;
    }
    .lightbox-close {
        top: -48px;
        right: 50%;
        transform: translateX(50%);
    }
    .lightbox.is-open .lightbox-close {
        transform: translateX(50%) scale(1);
    }
}

/* Pour nous trouver (repérage extérieur + salle d'attente) */
.reperage-section {
    margin: 4rem 0 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 66, 82, 0.12);
}

.reperage-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.reperage-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.reperage-subtitle {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.reperage-subtitle:first-of-type {
    margin-top: 0;
}

.reperage-caption {
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.reperage-grid {
    margin-bottom: 0.5rem;
}

/* Ergothérapie Cards */
.ergo-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ergo-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.ergo-card:nth-child(1) { animation-delay: 0.1s; }
.ergo-card:nth-child(2) { animation-delay: 0.2s; }
.ergo-card:nth-child(3) { animation-delay: 0.3s; }

.ergo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.ergo-card-primary::before {
    background: linear-gradient(90deg, var(--brand-blue-strong), var(--brand-blue));
}

.ergo-card-secondary::before {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-strong));
}

.ergo-card-accent::before {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-strong));
}

.ergo-card:hover::before {
    transform: scaleX(1);
}

.ergo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 66, 82, 0.12);
}

.ergo-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.ergo-card:hover .ergo-card-icon {
    animation: none;
    transform: scale(1.2) rotate(10deg);
}

.ergo-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.ergo-card p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.ergo-card p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.ergo-card-primary {
    border-left: 4px solid var(--primary-color);
}

.ergo-card-secondary {
    border-left: 4px solid var(--secondary-color);
}

.ergo-card-accent {
    border-left: 4px solid var(--accent-color);
}

/* Ergothérapie Accueil Section */
.ergotherapie-accueil {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 0;
    clear: both;
}

.ergotherapie-accueil h2 {
    margin-bottom: 2.5rem;
    text-align: center;
}

.ergo-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.ergo-content .section-description {
    margin-bottom: 1.5rem;
}

.ergo-content {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.pour-qui-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--bg-light);
}

.pour-qui-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quand-consulter-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--bg-light);
}

.quand-consulter-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.quand-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.6s ease forwards;
}

.quand-card:nth-child(2) { animation-delay: 0.2s; }

.quand-card:hover {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 5px 20px rgba(44, 95, 124, 0.1);
}

.quand-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.quand-card p {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.7;
}

.quand-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.quand-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.7;
}

.quand-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 4rem 0;
    position: relative;
    clear: both;
    overflow: hidden;
}

section:nth-child(even) {
    background: var(--bg-light);
}

/* Ensure proper spacing between sections */
.hero + section {
    margin-top: 0;
    padding-top: 5rem;
    border-top: 3px solid transparent;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
}

.content-wrapper h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
    text-align: left;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Spécialités */
.specialites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialite-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.specialite-card:nth-child(1) { animation-delay: 0.1s; }
.specialite-card:nth-child(2) { animation-delay: 0.2s; }
.specialite-card:nth-child(3) { animation-delay: 0.3s; }
.specialite-card:nth-child(4) { animation-delay: 0.4s; }
.specialite-card:nth-child(5) { animation-delay: 0.5s; }
.specialite-card:nth-child(6) { animation-delay: 0.6s; }
.specialite-card:nth-child(7) { animation-delay: 0.7s; }
.specialite-card:nth-child(8) { animation-delay: 0.8s; }
.specialite-card:nth-child(9) { animation-delay: 0.9s; }

.specialite-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 30px rgba(44, 95, 124, 0.2);
}

.specialite-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--brand-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.specialite-number {
    color: var(--brand-ink);
}

.specialite-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.specialite-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Info Section */
.info-section {
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

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

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Ergothérapie Section */
.ergotherapie-section {
    background: var(--white);
}

.public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.public-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.public-card:nth-child(1) { animation-delay: 0.1s; }
.public-card:nth-child(2) { animation-delay: 0.2s; }
.public-card:nth-child(3) { animation-delay: 0.3s; }
.public-card:nth-child(4) { animation-delay: 0.4s; }

.public-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 95, 124, 0.15);
    background: var(--white);
}

.public-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.public-card:hover .public-icon {
    animation: none;
    transform: scale(1.2) rotate(5deg);
}

.public-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.public-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Quand consulter Accueil */
.quand-consulter-accueil {
    padding: 4rem 0;
    background: var(--bg-light);
}

.quand-intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.quand-intro-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.quand-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(44, 95, 124, 0.15);
}

.quand-intro-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.quand-intro-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.quand-intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quand-intro-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.7;
}

.quand-intro-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.niveau-section-accueil {
    margin: 4rem 0;
    padding-top: 3rem;
    border-top: 3px solid var(--accent-color);
}

.niveau-header {
    text-align: center;
    margin-bottom: 2rem;
}

.niveau-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.niveau-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.niveau-grid-accueil {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.niveau-card-accueil {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.niveau-section-accueil:nth-of-type(1) .niveau-card-accueil:nth-child(1) { animation-delay: 0.1s; }
.niveau-section-accueil:nth-of-type(1) .niveau-card-accueil:nth-child(2) { animation-delay: 0.2s; }
.niveau-section-accueil:nth-of-type(1) .niveau-card-accueil:nth-child(3) { animation-delay: 0.3s; }
.niveau-section-accueil:nth-of-type(2) .niveau-card-accueil:nth-child(1) { animation-delay: 0.4s; }
.niveau-section-accueil:nth-of-type(2) .niveau-card-accueil:nth-child(2) { animation-delay: 0.5s; }
.niveau-section-accueil:nth-of-type(2) .niveau-card-accueil:nth-child(3) { animation-delay: 0.6s; }
.niveau-section-accueil:nth-of-type(3) .niveau-card-accueil:nth-child(1) { animation-delay: 0.7s; }
.niveau-section-accueil:nth-of-type(3) .niveau-card-accueil:nth-child(2) { animation-delay: 0.8s; }
.niveau-section-accueil:nth-of-type(3) .niveau-card-accueil:nth-child(3) { animation-delay: 0.9s; }

.niveau-card-accueil:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(44, 95, 124, 0.15);
}

.niveau-card-accueil h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.niveau-card-accueil ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.niveau-card-accueil li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.niveau-card-accueil li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Quand consulter */
.quand-consulter {
    background: var(--bg-light);
}

.quand-consulter ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.quand-consulter li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.niveau-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--accent-color);
}

.niveau-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.niveau-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.niveau-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.niveau-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.niveau-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.niveau-card ul {
    list-style: none;
    margin-left: 0;
}

.niveau-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.niveau-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact CTA Section */
.contact-section-cta {
    background: linear-gradient(135deg, rgba(135, 228, 255, 0.40) 0%, rgba(135, 228, 255, 0.18) 100%);
    padding: 4rem 0;
}

.contact-section-cta h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-section-cta .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Bloc contact simplifié (Où nous trouver / Nous contacter / Horaires) */
.contact-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-simple-block {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
}

.contact-simple-block:hover {
    box-shadow: 0 10px 32px rgba(30, 66, 82, 0.12);
}

.contact-simple-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.contact-simple-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.contact-simple-block p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.98rem;
}

.contact-simple-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-simple-block a:hover {
    text-decoration: underline;
}

.contact-simple-note {
    margin-top: 0.75rem !important;
    font-size: 0.9rem !important;
    color: var(--text-light) !important;
}

/* Nom + numéro sur une seule ligne (Marie Schmitt : 06..., Eva BIER : 06...) */
.contact-line-nowrap {
    white-space: nowrap;
    display: inline-block;
}

@media (max-width: 768px) {
    .contact-simple-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

.contact-grid-cta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .contact-grid-cta {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .contact-card-cta h3 {
        font-size: 1.05rem;
    }
    .contact-icon-cta {
        font-size: 1.9rem;
    }
}

.contact-card-cta {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 0.75rem;
    text-align: left;
}

.contact-card-cta:nth-child(1) { animation-delay: 0.1s; }
.contact-card-cta:nth-child(2) { animation-delay: 0.2s; }
.contact-card-cta:nth-child(3) { animation-delay: 0.3s; }
.contact-card-cta:nth-child(4) { animation-delay: 0.4s; }

.contact-card-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(44, 95, 124, 0.15);
}

/* Emoji et titre (ex: 📞 Téléphone) toujours sur la même ligne */
.contact-icon-cta {
    font-size: 2.25rem;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    flex-shrink: 0;
    line-height: 1;
}

.contact-card-cta h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-weight: 600;
    white-space: nowrap;
}

.contact-card-cta p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0.75rem 0 0;
    grid-column: 1 / -1;
    grid-row: 2;
}

.contact-cta-button {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

/* ====== CONTACT (style screenshot) ====== */

/* section */
.contact {
    padding: 5rem 0 !important;
    color: #fff !important;
    background: linear-gradient(180deg, #3a7186 0%, #4a8ea3 100%) !important;
    position: relative;
    z-index: 1;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
}

/* grille : 4 cartes */
.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 32px;
}

/* carte */
.contact-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 38px 30px;
    min-height: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
}

/* titre carte (emoji + texte sur la même ligne, jamais de retour à la ligne) */
.contact-item h3 {
    margin: 0 0 26px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: visible;
}

.contact-item h3 .contact-item-icon {
    flex-shrink: 0;
    display: inline-block;
}

/* contenu */
.contact-item p {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    color: #fff;
    word-break: break-word;
    overflow-wrap: break-word;
}

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

/* liens (tel/mail) */
.contact-item a {
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* responsive */
@media (max-width: 1100px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .contact {
        padding: 3.5rem 0;
    }
    .contact-info {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .contact-item {
        padding: 28px 24px;
        min-height: auto;
    }
    .contact-item h3 {
        font-size: 26px;
    }
    .contact-item p {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .contact-item h3 {
        font-size: 22px;
    }
}

.contact-cta {
    text-align: center;
    margin: 3rem 0;
}

.therapeute-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: var(--shadow);
}

.therapeute-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.therapeute-card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--brand-blue);
    color: var(--brand-ink);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact h3 {
    color: var(--brand-ink);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-title {
    font-weight: 600;
    color: rgba(30, 66, 82, 0.95);
    margin-bottom: 0.5rem;
}

.footer-contact p {
    color: rgba(30, 66, 82, 0.85);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Emoji + numéro de téléphone sur une seule ligne dans le footer */
.footer-contact p.footer-phone {
    white-space: nowrap;
}


.footer-description {
    font-size: 0.9rem;
    color: rgba(30, 66, 82, 0.75);
    margin-top: 0.5rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
}

.footer-right h4 {
    color: var(--brand-ink);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-right ul {
    list-style: none;
}

.footer-right li {
    margin-bottom: 0.5rem;
}

.footer-right a {
    color: rgba(30, 66, 82, 0.85);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-right a:hover {
    color: rgba(30, 66, 82, 1);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 66, 82, 0.22);
    color: rgba(30, 66, 82, 0.85);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    font-size: 0.95rem;
}

/* ========== RESPONSIVE : Tablette (1024px) ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .page-header {
        padding: 3rem 0;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-content {
        padding: 3rem 0;
    }

    .content-wrapper {
        padding: 0 0.5rem;
    }

    .tarifs-main-title {
        font-size: 2.2rem;
    }

    .tarifs-grid {
        gap: 2rem;
    }

    .tarif-card {
        padding: 2rem;
    }

    .reperage-section {
        margin: 3rem 0 2rem;
    }

    .ergotherapie-accueil {
        padding: 4rem 0;
    }

    .quand-consulter-accueil {
        padding: 3rem 0;
    }

    .hero + section {
        padding-top: 4rem;
    }
}

/* ========== RESPONSIVE : Mobile / Tablette (768px) ========== */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0.75rem 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 44px;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        bottom: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        max-width: 320px;
        text-align: left;
        transition: left 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
        padding: 1.5rem 0;
        gap: 0;
        margin: 0;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 0;
        border-left: 4px solid transparent;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .nav-menu a.active {
        border-left-color: var(--primary-color);
        background: rgba(135, 228, 255, 0.2);
    }

    .nav-menu a.active::before {
        display: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: 3.5rem 0 4rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-description:last-of-type {
        margin-bottom: 2rem;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 1.9rem;
    }

    .page-content {
        padding: 2.5rem 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-description {
        padding: 0 0.25rem;
    }

    .specialites-grid,
    .info-grid,
    .public-grid,
    .contact-grid,
    .niveau-grid,
    .tarifs-grid,
    .photos-grid {
        grid-template-columns: 1fr;
    }

    .tarifs-grid {
        gap: 1.5rem;
    }

    .tarif-card {
        padding: 1.75rem;
    }

    .tarifs-main-title {
        font-size: 1.9rem;
    }

    .tarifs-subtitle {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-contact p {
        word-break: break-word;
    }

    section {
        padding: 2rem 0;
    }

    .hero + section {
        padding-top: 3rem;
    }

    .ergotherapie-accueil {
        padding: 3rem 0;
    }

    .quand-consulter-accueil {
        padding: 2.5rem 0;
    }

    .reperage-title {
        font-size: 1.5rem;
    }

    .reperage-subtitle {
        font-size: 1.15rem;
    }

    .btn {
        padding: 14px 28px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========== RESPONSIVE : Mobile (480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 2.5rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.45rem;
        margin-bottom: 1.25rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-content {
        padding: 2rem 0;
    }

    .specialite-card,
    .niveau-card {
        padding: 1.25rem;
    }

    .content-wrapper {
        padding: 0;
    }

    .content-wrapper table {
        font-size: 0.85rem;
    }

    .content-wrapper table th,
    .content-wrapper table td {
        padding: 0.6rem 0.5rem;
    }

    .content-wrapper table td:first-child {
        font-size: 0.8rem;
    }

    .tarifs-main-title {
        font-size: 1.6rem;
    }

    .tarifs-header {
        margin-bottom: 2.5rem;
        padding: 1.5rem 0;
    }

    .tarif-card {
        padding: 1.5rem;
    }

    .tarif-section-title {
        font-size: 1rem;
    }

    .tarif-line {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tarif-label {
        font-size: 0.9rem;
    }

    .photos-grid {
        gap: 1.25rem;
    }

    .photo-item {
        padding: 0.35rem;
    }

    .reperage-section {
        margin: 2.5rem 0 1.5rem;
        padding-top: 1.5rem;
    }

    .reperage-intro {
        margin-bottom: 1.5rem;
    }

    .contact-info {
        padding: 0 16px;
    }

    .hero + section {
        padding-top: 2.5rem;
    }

    .ergotherapie-accueil {
        padding: 2rem 0;
    }

    .quand-consulter-accueil {
        padding: 2rem 0;
    }
}

/* ========== RESPONSIVE : Très petit mobile (360px) ========== */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 1.45rem;
    }

    .tarifs-main-title {
        font-size: 1.45rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Page Header */
.page-header {
    background: var(--brand-blue);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0;
    font-weight: 700;
}

.page-header .section-subtitle {
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* Page Content */
.page-content {
    padding: 4rem 0;
    background: var(--white);
    min-height: 400px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tarifs - Tableaux */
.content-wrapper {
    overflow-x: hidden;
}

.content-wrapper table {
    width: 100%;
    min-width: 280px;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .content-wrapper .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }
}

.content-wrapper table tr {
    transition: var(--transition);
}

.content-wrapper table tr:hover {
    background: rgba(135, 228, 255, 0.22);
}

.content-wrapper table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    background: var(--brand-blue);
    color: var(--brand-ink);
}

.content-wrapper table th:last-child {
    text-align: right;
}

.content-wrapper table td {
    padding: 1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--bg-light);
}

.content-wrapper table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--brand-ink);
}

.content-wrapper table tr:last-child td {
    border-bottom: none;
}

/* Tarifs - Header */
.tarifs-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
    position: relative;
}

.tarifs-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0;
    letter-spacing: -0.5px;
    animation: fadeInDown 0.6s ease-out;
}

.tarifs-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.tarifs-names {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Tarifs - Cartes côte à côte */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.tarif-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #f5f5f5 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(44, 95, 124, 0.05);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.tarif-card:nth-child(1) {
    animation-delay: 0.2s;
}

.tarif-card:nth-child(2) {
    animation-delay: 0.4s;
}

.tarif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tarif-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(44, 95, 124, 0.15);
    border-color: rgba(44, 95, 124, 0.1);
}

.tarif-card:hover::before {
    transform: scaleX(1);
}

.tarif-card-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.tarif-card:hover .tarif-card-title {
    color: var(--secondary-color);
}

.tarif-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
    color: #333;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tarif-card:hover .tarif-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: scale(1.05);
}

.tarif-section {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.tarif-card:hover .tarif-section {
    transform: translateX(5px);
}

.tarif-section:last-child {
    margin-bottom: 0;
}

.tarif-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 1.2rem;
    margin-top: 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.tarif-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.4s ease;
}

.tarif-card:hover .tarif-section-title::after {
    width: 100%;
}

.tarif-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 5px;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
}

.tarif-line:hover {
    background: rgba(44, 95, 124, 0.03);
    padding-left: 0.8rem;
    transform: translateX(3px);
}

.tarif-label {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.tarif-line:hover .tarif-label {
    color: var(--primary-color);
    font-weight: 500;
}

.tarif-dots {
    flex: 1;
    border-bottom: 2px dotted #bbb;
    height: 1px;
    min-width: 20px;
    transition: border-color 0.3s ease;
}

.tarif-line:hover .tarif-dots {
    border-bottom-color: var(--primary-color);
}

.tarif-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.tarif-line:hover .tarif-price {
    color: var(--secondary-color);
    transform: scale(1.1);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper > *:first-child {
    margin-top: 0;
}

.legal-info-box,
.legal-contact-box {
    background: var(--bg-light);
    padding: 2rem 2.5rem;
    border-radius: 15px;
    margin: 1.5rem 0 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.legal-info-box:hover,
.legal-contact-box:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.legal-info-box p,
.legal-contact-box p {
    margin-bottom: 0.8rem;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.legal-info-box p:last-child,
.legal-contact-box p:last-child {
    margin-bottom: 0;
}

.legal-info-box strong,
.legal-contact-box strong {
    color: var(--primary-color);
    font-weight: 600;
    min-width: 140px;
    display: inline-block;
    margin-right: 0.5rem;
}

.content-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.content-wrapper a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.section-list {
    list-style: none;
    margin-left: 0;
    margin-bottom: 2rem;
}

.section-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

.btn-secondary {
    background: var(--brand-blue);
    color: var(--brand-ink);
}

.btn-secondary:hover {
    background: var(--brand-blue-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

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

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

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

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

.info-card,
.contact-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

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

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