/* --- REGLES GLOBALES & ANTI-OVERFLOW MOBILE --- */
div[classid="wKVnbiJhcPutKB97Xm9w FBx2fW8zQAzwOYlGYw3k r9rjnati9cor2Cup7Fq3"] {
    display: none !important;
}

:root {
    /* Palette lumineuse et gaie */
    --primary: #2A9D8F; /* Bleu-vert joyeux et dynamique */
    --accent: #E9C46A;  /* Sable doré, chaleureux et gai */
    --bg: #FAFAF7;      /* Fond très clair et lumineux */
    --text: #264653;    /* Texte contrasté gris-bleuté pour la lisibilité */
    --section-bg: #E8F1F2; /* Sauge/bleu très clair pour adoucir les sections */
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 0;
}

header {
    background: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--bg) 100%);
}

.hero h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

.btn:hover {
    background: var(--text);
}

.section {
    padding: 3.5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- DESIGN SECTION KINÉSIO --- */
.intro-kinesio-modern {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
}

.intro-kinesio-modern .lead {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.clin-doeil {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--section-bg);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: var(--text);
    font-size: 0.95rem;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.emoji-icon {
    font-size: 1.5rem;
}

.clin-doeil p {
    margin: 0;
}

/* Grille pour les étapes */
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

/* Ligne connectrice en arrière-plan */
.timeline-steps::before {
    content: '';
    position: absolute;
    top: 40px; 
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--accent);
    opacity: 0.3;
    z-index: 1;
}

/* Cartes des étapes */
.t-step {
    background: white;
    padding: 3rem 1.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    text-align: center;
    z-index: 2;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.t-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Les bulles numérotées */
.t-number {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--bg);
}

.t-step h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.t-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: var(--text);
}

.t-focus {
    background: var(--section-bg);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary);
}

/* --- DESIGN PLEINE LARGEUR "MON PARCOURS" (FOND FONCÉ) --- */
.fond-large-parcours {
    background-color: var(--primary);
    width: 100%;
    margin: 0;
}

.fond-large-parcours .parcours-section {
    padding: 3.5rem 2rem;
    margin: 0 auto;
    border-radius: 0; 
    background: transparent; 
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

/* Textes en clair pour lisibilité sur fond foncé */
.fond-large-parcours h2, 
.fond-large-parcours h3, 
.fond-large-parcours p,
.fond-large-parcours strong {
    color: var(--bg); 
}

.fond-large-parcours .btn-more {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 1rem;
}

.fond-large-parcours .btn-more:hover {
    background-color: var(--bg);
    color: var(--primary);
}

.fond-large-parcours .btn-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--bg);
    color: var(--bg);
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fond-large-parcours .btn-arrow:hover {
    background: var(--bg);
    color: var(--primary);
}

.parcours-view {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.parcours-text-left {
    width: 48%;
    max-width: 48%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.parcours-photo-container {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FORME ORGANIQUE DÉCORATIVE FIXE --- */
.organic-shape-bg {
    position: absolute;
    width: 280px; 
    height: 300px;
    background-color: var(--section-bg);
    border-radius: 48% 52% 45% 50% / 55% 45% 52% 48%;
    z-index: -1; 
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
    /* On décale la forme vers la droite (augmentez ou diminuez les 30px selon votre goût) */
    transform: translateX(6px);
}

/* --- PHOTO PARFAITEMENT RONDE --- */
.smooth-photo {
    width: 260px; /* Largeur égale à la hauteur pour un cercle */
    height: 260px;
    object-fit: cover;
    border: none !important;
    box-shadow: none !important;
    border-radius: 50%; /* Cercle parfait */
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.parcours-step {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    top: 7rem;
    left: 2.5rem;
    right: 2.5rem;
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease;
}

.text-block-lorem {
    flex: 1;
    background: transparent;
    padding: 0;
}

.text-block-lorem h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.text-block-lorem p {
    line-height: 1.6;
}
.text-block-lorem li{
    color : white;
}

.parcours-nav {
    position: absolute;
    bottom: 2rem;
    left: 2.5rem;
    display: flex;
    gap: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Animations Bureau Parcours */
.parcours-section.step-1 .parcours-text-left {
    opacity: 0;
    transform: translateX(-50px);
    pointer-events: none;
}

.parcours-section.step-1 .parcours-photo-container,
.parcours-section.step-2 .parcours-photo-container {
    top: 2rem;
    transform: translateY(0);
}

.parcours-section.step-1 .smooth-photo,
.parcours-section.step-2 .smooth-photo {
    width: 110px; /* Cercle réduit */
    height: 110px;
}

/* Réduction de la forme organique au clic */
.parcours-section.step-1 .organic-shape-bg,
.parcours-section.step-2 .organic-shape-bg {
    width: 120px; 
    height: 130px;
    opacity: 0.4;
}

.parcours-section.step-1 #parcours-step-1 {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.parcours-section.step-1 .parcours-nav,
.parcours-section.step-2 .parcours-nav {
    opacity: 1;
    pointer-events: auto;
}

.parcours-section.step-2 .parcours-text-left {
    opacity: 0;
    transform: translateX(-50px);
}

.parcours-section.step-2 #parcours-step-1 {
    opacity: 0;
    transform: translateX(-50px);
    pointer-events: none;
}

.parcours-section.step-2 #parcours-step-2 {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* --- TÉMOIGNAGES --- */
.text-center {
    text-align: center;
}

h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 0;
}

.merci-block {
    text-align: center;
    max-width: 750px;
    margin: 1.5rem auto 3.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-left: 4px solid var(--accent);
    text-align: left;
}

.card h3 {
    color: var(--primary);
    margin-top: 0;
}

.card-nav-mobile {
    display: none;
}

/* --- CONTACT & RÉSERVATION --- */
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.contact-text-clean {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.05rem;
}

.contact-text-clean p {
    margin: 0 0 0.5rem 0;
}

.contact-text-clean strong {
    color: var(--primary);
}

.contact-map iframe {
    width: 100%;
    height: 370px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.calendly-container {
    width: 100%;
}

.calendly-inline-widget {
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    height: 630px !important;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--text);
    color: white;
    margin-top: 3rem;
}

/* --- OPTIMISATION MOBILE (<= 768px) --- */
@media (max-width: 768px) {
    body {
        width: 100%;
    }

    header {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }

    /* Ajustement Section Kinésio */
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .timeline-steps::before {
        display: none;
    }
    
    .clin-doeil {
        border-radius: 20px;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Ajustement Parcours Mobile (Fond Foncé) */
    .fond-large-parcours {
        margin: 2rem 0;
    }
    
    .fond-large-parcours .parcours-section {
        padding: 2rem 1.2rem;
        min-height: auto;
    }

    .parcours-view {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1rem;
    }

    .parcours-photo-container {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        margin-bottom: 0.5rem;
    }

    /* Adaptation Mobile - Photo Ronde */
    .smooth-photo {
        width: 190px;
        height: 190px;
    }
    
    /* Adaptation Mobile - Forme organique */
    .organic-shape-bg {
        width: 200px;
        height: 220px;
    }

    .parcours-text-left {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left;
        transform: none !important;
    }

    .parcours-step {
        flex-direction: column;
        gap: 1.2rem;
        position: relative;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        transform: none !important;
        display: none;
    }

    .parcours-section.step-1 #parcours-step-1,
    .parcours-section.step-2 #parcours-step-2 {
        display: flex;
    }

    .parcours-section.step-1 .parcours-view,
    .parcours-section.step-2 .parcours-view {
        display: none;
    }

    .parcours-section.step-1 .parcours-photo-container,
    .parcours-section.step-2 .parcours-photo-container {
        display: none !important;
    }

    .parcours-nav {
        position: relative;
        bottom: auto;
        left: 0;
        margin-top: 1.5rem;
        justify-content: flex-start;
    }

    /* --- TÉMOIGNAGES CARROUSEL MOBILE --- */
    .temoignages-wrapper {
        overflow: hidden;
        width: 100%;
    }

    .temoignages-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 0;
        padding-bottom: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .temoignages-grid::-webkit-scrollbar {
        display: none;
    }

    .temoignages-grid .card {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-nav-mobile {
        display: flex;
        justify-content: flex-end;
        gap: 0.8rem;
        margin-top: 1.5rem;
        padding-top: 0.8rem;
        border-top: 1px dashed rgba(197, 131, 97, 0.3);
        min-height: 36px;
    }

    .temoignage-arrow {
        border-color: var(--accent);
        color: var(--accent);
        width: 36px;
        height: 36px;
        font-size: 1rem;
        background: transparent;
        border-radius: 50%;
        border-style: solid;
        border-width: 1px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .temoignage-arrow:active,
    .temoignage-arrow:hover {
        background: var(--accent);
        color: white;
    }
}