/* ==================== STYLES SPÉCIFIQUES PAGE THÉRAPIES ==================== */

/* Bannière de la page Thérapies */
.page-banner {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(66, 183, 165, 0.1), rgba(200, 147, 162, 0.1));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.page-banner-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #2c3e50;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    padding: 0 20px;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: block;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 20px auto 0;
    border-radius: 2px;
    animation: lineGrow 0.8s ease-out 0.3s both;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray-3);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    flex-wrap: wrap;
    padding: 0 20px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb i {
    color: var(--gray-2);
    font-size: 0.8rem;
}

.breadcrumb span {
    color: var(--gray-3);
    font-weight: 500;
}

.page-banner-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    color: var(--white);
    z-index: 1;
}

/* Section Introduction Thérapies */
.therapies-introduction {
    padding: 100px 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text {
    padding-right: 30px;
}

.intro-description {
    color: var(--gray-3);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.approach-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.approach-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(66, 183, 165, 0.1), rgba(200, 147, 162, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.approach-item:hover .approach-icon {
    transform: scale(1.1) rotate(5deg);
}

.approach-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.approach-content p {
    color: var(--gray-3);
    font-size: 0.95rem;
    line-height: 1.6;
}

.intro-visual {
    position: relative;
}

.benefits-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    border: 1px solid rgba(66, 183, 165, 0.1);
}

.benefits-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--dark);
    text-align: center;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    counter-increment: benefit-counter;
    position: relative;
    padding-left: 30px;
}

.benefits-list li:hover {
    transform: translateX(5px);
}

.benefits-list li::before {
    content: counter(benefit-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.benefits-list i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.benefits-list span {
    flex: 1;
    line-height: 1.5;
}

.therapy-illustration {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.therapy-illustration img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.therapy-illustration:hover img {
    transform: scale(1.05);
}

.therapy-illustration::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.1));
    pointer-events: none;
}

/* Section Thérapies Détail */
.therapies-detailed {
    padding: 100px 0;
    background-color: var(--light-1);
}

.therapy-detail {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(66, 183, 165, 0.1);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.therapy-detail.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

.therapy-detail:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.therapy-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(66, 183, 165, 0.1);
}

.therapy-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(66, 183, 165, 0.3);
}

.therapy-detail:hover .therapy-icon-large {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(66, 183, 165, 0.4);
}

.therapy-title-container {
    flex: 1;
}

.therapy-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.therapy-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(66, 183, 165, 0.1), rgba(200, 147, 162, 0.1));
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(66, 183, 165, 0.2);
}

.therapy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.therapy-description-detailed p {
    color: var(--gray-3);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.therapy-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid rgba(66, 183, 165, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}

.feature-item i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    transition: transform var(--transition-normal);
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-item p {
    color: var(--gray-3);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.therapy-techniques {
    background: rgba(66, 183, 165, 0.05);
    padding: 30px;
    border-radius: var(--radius-lg);
    align-self: start;
    border: 1px solid rgba(66, 183, 165, 0.1);
}

.therapy-techniques h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(66, 183, 165, 0.2);
}

.applications-list {
    list-style: none;
    margin-bottom: 25px;
}

.applications-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-3);
    font-size: 0.95rem;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(66, 183, 165, 0.1);
}

.applications-list li:last-child {
    border-bottom: none;
}

.applications-list i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.techniques-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.technique-tag {
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(66, 183, 165, 0.2);
    transition: all var(--transition-fast);
}

.technique-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(66, 183, 165, 0.2);
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.tech-item-small {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(66, 183, 165, 0.1);
    transition: all var(--transition-fast);
}

.tech-item-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 183, 165, 0.1);
    border-color: var(--primary);
}

.tech-item-small i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
    transition: transform var(--transition-fast);
}

.tech-item-small:hover i {
    transform: scale(1.2);
}

.tech-item-small span {
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 500;
    display: block;
}

.advantages-list {
    list-style: none;
    margin-bottom: 25px;
}

.advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray-3);
    padding: 5px 0;
}

.advantages-list i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    counter-reset: step-counter;
    position: relative;
    padding-left: 40px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(66, 183, 165, 0.5), 
        rgba(200, 147, 162, 0.5));
    z-index: 1;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
    counter-increment: step-counter;
}

.step:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
}

.step:hover .step-content {
    transform: translateX(5px);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    position: absolute;
    left: -40px;
    top: 0;
    z-index: 3;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
}

.step-number::after {
    content: counter(step-counter);
    display: block;
    font-weight: 700;
}

.step:nth-child(1) .step-number {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.step:nth-child(2) .step-number {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.step:nth-child(3) .step-number {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.step:nth-child(4) .step-number {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
    transition: all var(--transition-fast);
    flex: 1;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step:nth-child(1) .step-content {
    border-left-color: var(--primary);
}

.step:nth-child(2) .step-content {
    border-left-color: var(--secondary);
}

.step:nth-child(3) .step-content {
    border-left-color: var(--primary-light);
}

.step:nth-child(4) .step-content {
    border-left-color: var(--secondary-light);
}

.step-content h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

.step-content p {
    color: var(--gray-3);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.step-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.who-list {
    list-style: none;
}

.who-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-3);
    padding: 8px 0;
    border-bottom: 1px dashed rgba(66, 183, 165, 0.1);
}

.who-list li:last-child {
    border-bottom: none;
}

.who-list i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.therapy-schedule {
    margin-bottom: 25px;
}

.schedule-details {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(66, 183, 165, 0.1);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(66, 183, 165, 0.1);
}

.schedule-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.schedule-label {
    color: var(--gray-3);
    font-size: 0.9rem;
    font-weight: 500;
}

.schedule-value {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.therapy-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.therapy-cta .btn {
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.therapy-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 183, 165, 0.3);
}

/* ==================== SECTION COMPARAISON THÉRAPIES ==================== */

.comparison-section {
    padding: 100px 0;
    background: var(--light-1);
}

.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    margin: 30px 0;
    box-shadow: var(--shadow-md);
    background: var(--white);
    border: 1px solid rgba(66, 183, 165, 0.1);
}

table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: var(--white);
    color: var(--dark);
}

thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: sticky;
    top: 0;
    z-index: 10;
}

thead tr {
    border-bottom: 3px solid var(--secondary);
}

thead th {
    color: var(--white);
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

thead th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

thead th:last-child {
    border-right: none;
}

thead th span {
    display: flex;
    align-items: center;
    gap: 8px;
}

thead th i {
    font-size: 0.8rem;
    opacity: 0.8;
}

tbody tr {
    border-bottom: 1px solid rgba(66, 183, 165, 0.1);
    transition: background-color var(--transition-fast);
}

tbody tr:nth-child(even) {
    background-color: rgba(66, 183, 165, 0.03);
}

tbody tr:hover {
    background-color: rgba(66, 183, 165, 0.08);
}

tbody td {
    padding: 18px 15px;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
    vertical-align: middle;
    font-weight: 500;
}

tbody td:last-child {
    border-right: none;
}

tbody td strong {
    color: var(--primary);
    font-weight: 600;
}

tbody td:first-child {
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(to right, rgba(66, 183, 165, 0.05), transparent);
}

tbody td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

tbody tr:hover td:first-child::before {
    opacity: 1;
}

tbody td:not(:last-child) {
    border-right: 1px solid rgba(66, 183, 165, 0.1);
}

.session-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(66, 183, 165, 0.1);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2px 0;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(66, 183, 165, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
}

.result-badge i {
    font-size: 0.7rem;
}

.result-badge.immédiat {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.result-badge.progressive {
    background: rgba(255, 193, 7, 0.1);
    color: #FF9800;
}

.table-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(66, 183, 165, 0.05);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
    border: 1px solid rgba(66, 183, 165, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legend-color.primary {
    background: var(--primary);
}

.legend-color.secondary {
    background: var(--secondary);
}

.legend-color.accent {
    background: var(--accent);
}

.legend-text {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.choice-advice {
    margin-top: 60px;
    text-align: center;
}

.advice-card {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.9));
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(66, 183, 165, 0.2);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.advice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.advice-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(66, 183, 165, 0.3);
}

.advice-content {
    text-align: left;
    flex: 1;
}

.advice-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 600;
}

.advice-content p {
    color: var(--gray-3);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
}

/* Animation des lignes du tableau */
@keyframes slideInRow {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

tbody tr {
    animation: slideInRow 0.5s ease-out forwards;
    opacity: 0;
}

tbody tr:nth-child(1) { animation-delay: 0.1s; }
tbody tr:nth-child(2) { animation-delay: 0.2s; }
tbody tr:nth-child(3) { animation-delay: 0.3s; }
tbody tr:nth-child(4) { animation-delay: 0.4s; }
tbody tr:nth-child(5) { animation-delay: 0.5s; }
tbody tr:nth-child(6) { animation-delay: 0.6s; }

/* Section Témoignages Thérapies */
.therapy-testimonials {
    padding: 100px 0;
    background-color: var(--light-1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(66, 183, 165, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.patient-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(66, 183, 165, 0.1), rgba(200, 147, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.patient-info {
    flex: 1;
}

.patient-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.patient-rating {
    color: var(--accent);
    font-size: 0.9rem;
}

.patient-rating .fas.fa-star-half-alt {
    color: var(--gray-2);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 3rem;
    color: rgba(66, 183, 165, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    color: var(--gray-3);
    font-style: italic;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-1);
}

.treatment-type {
    background: linear-gradient(135deg, rgba(66, 183, 165, 0.1), rgba(200, 147, 162, 0.1));
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
}

.treatment-date {
    color: var(--gray-2);
    font-size: 0.85rem;
}

/* Section FAQ Thérapies */
.therapy-faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(66, 183, 165, 0.1);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: rgba(66, 183, 165, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
    flex: 1;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    font-size: 1rem;
    transition: transform var(--transition-fast);
    margin-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--gray-3);
    line-height: 1.7;
    margin: 0;
}

.faq-item.active .faq-question {
    background-color: rgba(66, 183, 165, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Section CTA Thérapies */
.therapy-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(66, 183, 165, 0.1), rgba(200, 147, 162, 0.1));
    position: relative;
    overflow: hidden;
}

.therapy-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(66, 183, 165, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 147, 162, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.cta-text p {
    font-size: 1.2rem;
    color: var(--gray-3);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-weight: 600;
    min-width: 200px;
    transition: all var(--transition-normal);
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(66, 183, 165, 0.3);
}

/* Navigation active dans le footer */
.footer-links a.active {
    color: var(--primary);
    font-weight: 600;
    padding-left: 5px;
    position: relative;
}

.footer-links a.active::before {
    content: '→';
    position: absolute;
    left: -15px;
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

/* ==================== RESPONSIVE PAGE THÉRAPIES ==================== */

@media (max-width: 1200px) {
    .intro-content,
    .therapy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-text {
        padding-right: 0;
    }
    
    .therapy-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .therapy-icon-large {
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: clamp(2.3rem, 4.5vw, 3rem);
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .therapy-features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-text h2 {
        font-size: 2.3rem;
    }
    
    .table-container {
        border-radius: var(--radius-md);
        margin: 20px 0;
    }
    
    table {
        min-width: 700px;
    }
    
    thead th,
    tbody td {
        padding: 16px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 140px 0 80px;
        min-height: 350px;
    }
    
    .page-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .therapies-introduction,
    .therapies-detailed,
    .comparison-section,
    .therapy-testimonials,
    .therapy-faq,
    .therapy-cta-section {
        padding: 80px 0;
    }
    
    .therapy-detail {
        padding: 30px;
    }
    
    .table-legend {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .legend-item {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Transformation en cartes sur mobile */
    .table-container {
        overflow: visible;
        min-width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    
    table {
        display: block;
        min-width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    thead {
        display: none;
    }
    
    tbody {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }
    
    tbody tr {
        display: flex;
        flex-direction: column;
        background: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(66, 183, 165, 0.1);
        padding: 0;
        margin: 0;
        transition: all var(--transition-normal);
        overflow: hidden;
    }
    
    tbody tr:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }
    
    tbody tr:nth-child(even) {
        background: var(--white);
    }
    
    tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border: none;
        border-bottom: 1px solid rgba(66, 183, 165, 0.1);
        text-align: left;
        background: none !important;
        width: 100%;
        box-sizing: border-box;
        min-height: 60px;
    }
    
    tbody td:first-child {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
        color: var(--white);
        font-size: 1.1rem;
        padding: 20px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        text-align: center;
        border-bottom: 2px solid var(--secondary);
        justify-content: center;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    tbody td:first-child::before {
        display: none;
    }
    
    tbody td:not(:first-child) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--dark);
    }
    
    tbody td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary);
        font-size: 0.9rem;
        flex: 0 0 140px;
        text-align: left;
        padding-right: 15px;
    }
    
    tbody td:not(:first-child) span {
        text-align: right;
        flex: 1;
        font-weight: 500;
        color: var(--dark);
    }
    
    tbody td:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .page-banner {
        padding: 120px 0 60px;
        min-height: 300px;
    }
    
    .page-title {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }
    
    .therapy-title {
        font-size: 1.6rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    tbody td {
        padding: 12px 15px;
        min-height: 55px;
    }
    
    tbody td:first-child {
        padding: 15px;
        font-size: 1rem;
    }
    
    tbody td:not(:first-child)::before {
        flex: 0 0 120px;
        font-size: 0.85rem;
    }
    
    tbody td:not(:first-child) span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: clamp(1.6rem, 4vw, 1.9rem);
        line-height: 1.3;
    }
    
    .therapy-detail {
        padding: 20px;
    }
    
    .therapy-title {
        font-size: 1.4rem;
    }
    
    .therapy-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    tbody td:not(:first-child) {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 12px 15px;
    }
    
    tbody td:not(:first-child)::before {
        flex: 0 0 auto;
        font-size: 0.85rem;
    }
    
    tbody td:not(:first-child) span {
        text-align: left;
        width: 100%;
    }
    
    .advice-card {
        padding: 20px;
    }
    
    .advice-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .advice-content h4 {
        font-size: 1.1rem;
    }
    
    .advice-content p {
        font-size: 0.9rem;
    }
    
    .benefits-card {
        padding: 25px;
    }
    
    .benefits-card h3 {
        font-size: 1.3rem;
    }
    
    .benefits-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .page-title {
        font-size: clamp(1.4rem, 4vw, 1.7rem);
    }
    
    tbody td {
        padding: 12px 15px;
    }
    
    tbody td:first-child {
        padding: 15px;
        font-size: 1rem;
    }
    
    tbody td:not(:first-child)::before {
        font-size: 0.8rem;
    }
    
    tbody td:not(:first-child) span {
        font-size: 0.85rem;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
    }
    
    .therapy-cta .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animation pour les cartes sur mobile */
@keyframes fadeInUpMobile {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .therapy-detail {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    .therapy-detail.animate {
        opacity: 1;
        transform: translateY(0);
    }
    
    tbody tr {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUpMobile 0.6s ease-out forwards;
    }
    
    tbody tr:nth-child(1) { animation-delay: 0.1s; }
    tbody tr:nth-child(2) { animation-delay: 0.2s; }
    tbody tr:nth-child(3) { animation-delay: 0.3s; }
    tbody tr:nth-child(4) { animation-delay: 0.4s; }
    tbody tr:nth-child(5) { animation-delay: 0.5s; }
    tbody tr:nth-child(6) { animation-delay: 0.6s; }
}

/* Optimisations de performance */
@media (prefers-reduced-motion: reduce) {
    .therapy-detail,
    .testimonial-card,
    .feature-item,
    .tech-item-small,
    .step,
    .approach-icon,
    .therapy-icon-large,
    .btn {
        transition: none;
        animation: none;
        transform: none !important;
    }
    
    tbody tr {
        animation: none;
        opacity: 1;
    }
}

/* Support pour le mode sombre */
@media (prefers-color-scheme: dark) {
    .page-banner {
        background: linear-gradient(135deg, rgba(66, 183, 165, 0.15), rgba(200, 147, 162, 0.15));
    }
    
    .page-title {
        color: var(--white);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .page-subtitle {
        color: var(--light-2);
    }
    
    .therapies-introduction,
    .therapy-testimonials,
    .therapy-faq {
        background: var(--white);
    }
    
    .therapies-detailed {
        background-color: var(--light-1);
    }
    
    .therapy-detail,
    .benefits-card,
    .testimonial-card,
    .faq-item {
        background: var(--white);
        border-color: rgba(66, 183, 165, 0.3);
    }
    
    .therapy-title,
    .advice-content h4,
    .legend-text,
    .schedule-value,
    .feature-item h4,
    .step-content h5 {
        color: var(--dark);
    }
    
    .therapy-description-detailed p,
    .approach-content p,
    .benefits-list span,
    .advantages-list li,
    .who-list li,
    .schedule-label,
    .feature-item p,
    .step-content p,
    .advice-content p {
        color: var(--gray-3);
    }
    
    .therapy-techniques {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(66, 183, 165, 0.1);
    }
    
    .feature-item {
        background: var(--white);
        border-color: rgba(66, 183, 165, 0.3);
    }
    
    .technique-tag,
    .tech-item-small {
        background: var(--white);
        border-color: rgba(66, 183, 165, 0.2);
        color: var(--dark);
    }
    
    .comparison-section {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    }
    
    .comparison-table,
    .advice-card {
        background: var(--white);
        border-color: rgba(66, 183, 165, 0.1);
    }
    
    table {
        background: var(--white);
    }
    
    tbody td {
        color: var(--dark);
        border-right-color: rgba(66, 183, 165, 0.1);
    }
    
    tbody td:first-child {
        background: linear-gradient(to right, rgba(66, 183, 165, 0.05), transparent);
        color: var(--dark);
    }
    
    tbody tr:nth-child(even) {
        background-color: rgba(66, 183, 165, 0.03);
    }
    
    .table-legend {
        background: rgba(66, 183, 165, 0.05);
        border-color: rgba(66, 183, 165, 0.1);
    }
    
    .step {
        background: var(--white);
    }
    
    .therapy-cta-section {
        background: linear-gradient(135deg, rgba(66, 183, 165, 0.1), rgba(200, 147, 162, 0.1));
    }
}

/* CORRECTIONS RESPONSIVE POUR LES CARTES THÉRAPIES */

/* 1. Assurer que les cartes s'adaptent */
.therapy-detail {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* 2. Rendre le contenu flexible */
.therapy-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Sur mobile, empiler les sections */
@media (max-width: 768px) {
    .therapy-content {
        flex-direction: column;
        padding: 15px;
    }
    
    .therapy-description-detailed,
    .therapy-techniques {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px;
    }
    
    /* 3. Correction pour la grille des features */
    .therapy-features-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 15px;
        margin: 20px 0;
    }
    
    .feature-item {
        padding: 15px;
        text-align: center;
    }
    
    .feature-item i {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    /* 4. Correction des listes */
    .applications-list,
    .advantages-list,
    .who-list {
        padding-left: 20px;
        margin: 10px 0;
    }
    
    .applications-list li,
    .advantages-list li,
    .who-list li {
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    /* 5. Correction des tags et technologies */
    .techniques-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 10px 0;
    }
    
    .technique-tag {
        padding: 6px 12px;
        font-size: 12px;
        margin: 2px;
    }
    
    .technologies-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tech-item-small {
        padding: 8px;
        font-size: 12px;
        text-align: center;
    }
    
    /* 6. Correction du schedule */
    .schedule-details {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .schedule-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }
    
    /* 7. Boutons responsives */
    .therapy-cta .btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }
    
    /* 8. Correction du header de thérapie */
    .therapy-header {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .therapy-icon-large {
        margin: 0 auto 15px;
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .therapy-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .therapy-badge {
        margin-top: 10px;
        padding: 5px 12px;
        font-size: 12px;
    }
    
    /* 9. Correction de la timeline des étapes */
    .steps-timeline {
        padding-left: 0;
    }
    
    .step {
        display: flex;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    
    .step-number {
        min-width: 24px;
        height: 24px;
        margin-right: 10px;
        margin-top: 3px;
    }
    
    .step-content h5 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .step-content p {
        font-size: 13px;
        color: #666;
    }
}

/* Correction supplémentaire pour très petits écrans */
@media (max-width: 480px) {
    .therapy-detail {
        margin: 15px -10px;
        border-radius: 8px;
    }
    
    .therapy-title {
        font-size: 18px;
    }
    
    .therapy-description-detailed p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .feature-item h4 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
    
    /* Correction des images */
    .therapy-illustration img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Supprimer les width/height fixes si présents */
    .therapy-illustration img[width],
    .therapy-illustration img[height] {
        width: 100% !important;
        height: auto !important;
    }
}

/* 10. Ajout de cette règle pour éviter le débordement horizontal */
.container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* 11. Assurer que le texte ne déborde pas */
p, li, span, h3, h4 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* CONTAINERS RESPONSIVES POUR LES CARTES */
.therapy-content-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Règles responsives pour le wrapper */
@media (max-width: 768px) {
    .therapy-content-wrapper {
        padding: 0 10px;
    }
    
    .therapy-detail {
        margin: 20px 0;
        border-radius: 10px;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .therapy-content-wrapper {
        padding: 0 5px;
    }
    
    .therapy-detail {
        margin: 15px 0;
    }
}

/* Assurer que tout le contenu reste dans les limites */
.therapy-content-wrapper * {
    max-width: 100%;
}

/* Correction des images dans le wrapper */
.therapy-content-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

@media (max-width: 412px) {
    /* Règles spécifiques pour Samsung A06 */
    .therapy-detail {
        margin: 10px 0;
        padding: 12px;
    }
    
    .therapy-title {
        font-size: 18px;
    }
}