/**
 * LyonPsy.fr - Charte Graphique Officielle & Design System (Divi 5 Compatible)
 * Cliente : Caroline Lombard - Psychothérapie, TBSI & Hypnose à Saint-Didier-au-Mont-d'Or (Lyon)
 * Palette officielle extraite de l'archive :
 * - Bleu Canard Principal (Primary Teal) : #2C8194 / #008191
 * - Bleu Doux Secondaire (Soft Teal)     : #5194A4
 * - Rose Fuchsia / Magenta (Accent)      : #E73276 / #D82D65
 * - Prune / Violet Profond (Icônes)      : #563861
 * - Orange Chaud (Accent Aire Psy)       : #F08A1D
 * - Gris Anthracite (Texte)              : #272727 / #3E3E3E
 * - Fond Clair                           : #F6F6F6 / #FFFFFF
 */

:root {
    --lp-teal: #2C8194;
    --lp-teal-dark: #1E5B69;
    --lp-teal-deep: #008191;
    --lp-teal-soft: #5194A4;
    --lp-teal-light: #EBF4F6;
    --lp-magenta: #E73276;
    --lp-magenta-dark: #D82D65;
    --lp-magenta-light: #FDF0F5;
    --lp-plum: #563861;
    --lp-orange: #F08A1D;
    --lp-dark: #1D1D1D;
    --lp-text: #3E3E3E;
    --lp-text-muted: #686868;
    --lp-bg-light: #F6F6F6;
    --lp-white: #FFFFFF;
    --lp-border: rgba(44, 129, 148, 0.16);
    --lp-shadow-sm: 0 6px 20px rgba(29, 29, 29, 0.06);
    --lp-shadow-md: 0 14px 36px rgba(44, 129, 148, 0.12);
    --lp-shadow-lg: 0 22px 50px rgba(29, 29, 29, 0.14);
    --lp-radius-sm: 8px;
    --lp-radius-md: 16px;
    --lp-radius-lg: 24px;
    --lp-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --lp-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --lp-transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Container */
.lyonpsy-wrap {
    font-family: var(--lp-font-sans);
    color: var(--lp-text);
    line-height: 1.75;
    font-size: 16.5px;
    background-color: var(--lp-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.lyonpsy-wrap *,
.lyonpsy-wrap *::before,
.lyonpsy-wrap *::after {
    box-sizing: border-box;
}

/* Hide default WP / Divi page title when LyonPsy renders its own full-bleed Hero H1 */
body.lyonpsy-custom-page .entry-title.main_title,
body.lyonpsy-custom-page .et_pb_post_title {
    display: none !important;
}

body.lyonpsy-custom-page #main-content .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
}

body.lyonpsy-custom-page #left-area {
    width: 100% !important;
    padding-bottom: 0 !important;
    float: none !important;
}

/* Top Unified Navigation Bar (Optional / Sticky Header Bar) */
.lp-header-bar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lp-border);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 12px 28px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.lp-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
}

.lp-brand img {
    max-height: 54px;
    width: auto;
    display: block;
}

.lp-brand-text {
    display: flex;
    flex-direction: column;
}

.lp-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--lp-teal);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.lp-brand-sub {
    font-size: 0.78rem;
    color: var(--lp-text-muted);
    letter-spacing: 0.02em;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.lp-nav a,
.lp-nav-dropdown-btn {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-dark) !important;
    text-decoration: none !important;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--lp-transition);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lp-nav a:hover,
.lp-nav a.is-active,
.lp-nav-dropdown:hover .lp-nav-dropdown-btn {
    color: var(--lp-magenta) !important;
    background: var(--lp-magenta-light);
}

.lp-nav-dropdown {
    position: relative;
}

.lp-nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--lp-white);
    border-radius: var(--lp-radius-sm);
    box-shadow: var(--lp-shadow-md);
    border: 1px solid var(--lp-border);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--lp-transition);
    z-index: 1000;
}

.lp-nav-dropdown:hover .lp-nav-dropdown-menu,
.lp-nav-dropdown:focus-within .lp-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lp-nav-dropdown-menu a {
    display: block;
    padding: 10px 18px;
    border-radius: 0;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.lp-nav-cta {
    background: var(--lp-magenta) !important;
    color: var(--lp-white) !important;
    padding: 9px 18px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px rgba(231, 50, 118, 0.3);
}

.lp-nav-cta:hover {
    background: var(--lp-teal) !important;
    color: var(--lp-white) !important;
    transform: translateY(-1px);
}

/* Containers & Sections */
.lp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section {
    padding: 80px 0;
    position: relative;
}

.lp-section-alt {
    background-color: var(--lp-bg-light);
}

.lp-section-teal {
    background: linear-gradient(135deg, var(--lp-teal-dark) 0%, var(--lp-teal) 100%);
    color: var(--lp-white);
}

/* Typography */
.lyonpsy-wrap h1,
.lyonpsy-wrap h2,
.lyonpsy-wrap h3,
.lyonpsy-wrap h4 {
    font-family: var(--lp-font-sans);
    font-weight: 400;
    line-height: 1.3;
    margin-top: 0;
}

.lp-section-title {
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
    color: var(--lp-teal);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 400;
    margin-bottom: 18px;
}

.lp-section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-teal), var(--lp-magenta));
    margin: 16px auto 0;
    border-radius: 3px;
}

.lp-section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--lp-text-muted);
    max-width: 720px;
    margin: 0 auto 48px;
    font-weight: 400;
}

/* Hero Banner (Standard Pages) */
.lp-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--lp-white);
    background-color: var(--lp-teal-dark);
    background-size: cover;
    background-position: center;
    padding: 90px 24px;
    overflow: hidden;
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 65, 75, 0.72) 0%, rgba(44, 129, 148, 0.58) 60%, rgba(86, 56, 97, 0.55) 100%);
    z-index: 1;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: lpFadeUp 0.8s ease-out both;
}

.lp-hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.3rem);
    font-weight: 300;
    color: var(--lp-white) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.lp-hero-sub {
    font-size: clamp(1.08rem, 2.2vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95) !important;
    letter-spacing: 0.04em;
    margin: 0 auto;
    max-width: 760px;
}

/* Home Hero Slider (6 Slides) */
.lp-slider {
    position: relative;
    height: clamp(480px, 68vh, 660px);
    background: var(--lp-teal-dark);
    overflow: hidden;
}

.lp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.lp-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.lp-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25, 58, 68, 0.72) 0%, rgba(44, 129, 148, 0.55) 60%, rgba(86, 56, 97, 0.52) 100%);
}

.lp-slide-inner {
    position: relative;
    z-index: 3;
    max-width: 880px;
    color: var(--lp-white);
    transform: translateY(16px);
    transition: transform 0.8s ease;
}

.lp-slide.is-active .lp-slide-inner {
    transform: translateY(0);
}

.lp-slide-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-white) !important;
    margin-bottom: 14px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.lp-slide-desc {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 28px;
    font-weight: 300;
    letter-spacing: 0.03em;
}

.lp-slider-controls {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.lp-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--lp-white);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: var(--lp-transition);
}

.lp-slider-dot.is-active {
    background: var(--lp-magenta);
    border-color: var(--lp-magenta);
    transform: scale(1.25);
}

.lp-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--lp-white);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--lp-transition);
    backdrop-filter: blur(4px);
}

.lp-slider-arrow:hover {
    background: var(--lp-magenta);
    border-color: var(--lp-magenta);
}

.lp-slider-prev { left: 20px; }
.lp-slider-next { right: 20px; }

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    text-decoration: none !important;
    transition: var(--lp-transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.lp-btn-magenta {
    background: var(--lp-magenta);
    color: var(--lp-white) !important;
    box-shadow: 0 8px 24px rgba(231, 50, 118, 0.32);
}

.lp-btn-magenta:hover {
    background: var(--lp-magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(231, 50, 118, 0.42);
}

.lp-btn-teal {
    background: var(--lp-teal);
    color: var(--lp-white) !important;
    box-shadow: 0 8px 24px rgba(44, 129, 148, 0.28);
}

.lp-btn-teal:hover {
    background: var(--lp-teal-dark);
    transform: translateY(-2px);
}

.lp-btn-outline-white {
    background: rgba(255, 255, 255, 0.12);
    color: var(--lp-white) !important;
    border-color: var(--lp-white);
    backdrop-filter: blur(4px);
}

.lp-btn-outline-white:hover {
    background: var(--lp-white);
    color: var(--lp-teal) !important;
}

/* Grid Layouts */
.lp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.lp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lp-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 960px) {
    .lp-grid-2, .lp-grid-3, .lp-grid-4 {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lp-header-inner {
        flex-direction: column;
        text-align: center;
    }
    .lp-nav {
        justify-content: center;
    }
}

/* Therapist Bio Card */
.lp-therapist-portrait-wrap {
    text-align: center;
    position: relative;
}

.lp-therapist-portrait {
    width: 100%;
    max-width: 340px;
    height: auto !important;
    object-fit: contain;
    border-radius: 0;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 14px 28px rgba(44, 129, 148, 0.16));
    margin: 0 auto 24px;
    display: block;
}

.lp-methode-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--lp-bg-light);
    padding: 14px 24px;
    border-radius: var(--lp-radius-md);
    border-left: 4px solid var(--lp-orange);
    margin-top: 16px;
    text-align: left;
}

.lp-methode-badge img {
    width: 72px;
    height: auto;
    flex-shrink: 0;
}

/* COMPONENT 1 : Les 12 Bulles "Troubles que la thérapie peut vous aider à surmonter" (#2C8194 & #E73276) */
.lp-troubles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 22px;
    max-width: 1040px;
    margin: 36px auto;
    padding: 20px 0;
}

.lp-trouble-bubble {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.28;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    cursor: default;
    user-select: none;
}

.lp-trouble-bubble:hover {
    transform: translateY(-8px) scale(1.06);
}

/* Alternating styles matching PAGE+1.png (#E73276 & #2C8194 filled and outlined circles) */
.lp-trouble-bubble.is-magenta-fill {
    background: var(--lp-magenta);
    color: var(--lp-white);
    box-shadow: 0 10px 25px rgba(231, 50, 118, 0.28);
}

.lp-trouble-bubble.is-teal-fill {
    background: var(--lp-teal);
    color: var(--lp-white);
    box-shadow: 0 10px 25px rgba(44, 129, 148, 0.28);
}

.lp-trouble-bubble.is-magenta-outline {
    background: var(--lp-white);
    color: var(--lp-magenta);
    border: 3px solid var(--lp-magenta);
    box-shadow: 0 8px 20px rgba(231, 50, 118, 0.12);
}

.lp-trouble-bubble.is-teal-outline {
    background: var(--lp-white);
    color: var(--lp-teal);
    border: 3px solid var(--lp-teal);
    box-shadow: 0 8px 20px rgba(44, 129, 148, 0.12);
}

.lp-troubles-disclaimer {
    text-align: center;
    font-size: 0.92rem;
    color: var(--lp-text-muted);
    font-style: italic;
    max-width: 720px;
    margin: 20px auto 0;
    padding: 12px 20px;
    background: var(--lp-white);
    border-radius: 50px;
    border: 1px dashed var(--lp-border);
}

/* 3 Pillars / 3 Steps Cards */
.lp-pillar-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius-md);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid var(--lp-border);
    transition: var(--lp-transition);
}

.lp-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow-md);
}

.lp-pillar-icon {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    transition: transform 0.35s ease;
}

.lp-pillar-card:hover .lp-pillar-icon {
    transform: scale(1.08);
}

.lp-pillar-title {
    font-size: 1.25rem;
    color: var(--lp-plum);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 12px;
}

/* COMPONENT 2 : Cartes de Témoignages HTML/CSS (Claire S. #5194A4 & Adrien V. #FFFFFF) */
.lp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .lp-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.lp-testimonial-card {
    border-radius: var(--lp-radius-md);
    padding: 48px 40px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: var(--lp-shadow-md);
    transition: var(--lp-transition);
}

.lp-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lp-shadow-lg);
}

.lp-testimonial-card.is-teal-card {
    background-color: var(--lp-teal-soft);
    color: var(--lp-white);
}

.lp-testimonial-card.is-white-card {
    background-color: var(--lp-white);
    color: var(--lp-teal-soft);
    border: 2px solid rgba(81, 148, 164, 0.28);
}

.lp-testimonial-quote-mark {
    font-family: var(--lp-font-serif);
    font-size: 5rem;
    line-height: 0.6;
    opacity: 0.35;
    margin-bottom: 18px;
    display: block;
}

.lp-testimonial-text {
    font-size: 1.04rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 26px;
}

.lp-testimonial-author {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-top: 16px;
}

.lp-testimonial-author::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: currentColor;
    margin: 0 auto 12px;
    opacity: 0.6;
}

/* COMPONENT 3 : Graphique Comparatif Hypnothérapie (38% / 72% / 93%) */
.lp-chart-box {
    background: var(--lp-white);
    border-radius: var(--lp-radius-lg);
    padding: 44px;
    box-shadow: var(--lp-shadow-md);
    border: 1px solid var(--lp-border);
    max-width: 880px;
    margin: 36px auto;
}

.lp-chart-title {
    text-align: center;
    font-size: 1.35rem;
    color: var(--lp-teal);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-chart-subtitle {
    text-align: center;
    font-size: 0.92rem;
    color: var(--lp-text-muted);
    margin-bottom: 32px;
}

.lp-chart-row {
    margin-bottom: 28px;
}

.lp-chart-row:last-child {
    margin-bottom: 0;
}

.lp-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-chart-method {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--lp-dark);
}

.lp-chart-meta {
    font-size: 0.92rem;
    color: var(--lp-text-muted);
    font-weight: 500;
}

.lp-chart-track {
    width: 100%;
    height: 36px;
    background: var(--lp-bg-light);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.lp-chart-fill {
    height: 100%;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 18px;
    color: var(--lp-white);
    font-weight: 700;
    font-size: 0.98rem;
    width: var(--target-width, 50%);
    transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-chart-fill.is-psychanalyse {
    background: linear-gradient(90deg, #6E8A94, var(--lp-teal-soft));
}

.lp-chart-fill.is-tcc {
    background: linear-gradient(90deg, var(--lp-teal-dark), var(--lp-teal));
}

.lp-chart-fill.is-hypnose {
    background: linear-gradient(90deg, var(--lp-teal), var(--lp-magenta));
    box-shadow: 0 6px 20px rgba(231, 50, 118, 0.3);
}

/* Content Cards, Lists & Quotes */
.lp-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius-md);
    padding: 36px;
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid var(--lp-border);
}

.lp-check-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.lp-check-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    line-height: 1.65;
}

.lp-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lp-magenta-light);
    color: var(--lp-magenta);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-blockquote {
    font-family: var(--lp-font-serif);
    font-size: clamp(1.35rem, 2.3vw, 1.75rem);
    font-style: italic;
    color: var(--lp-teal-dark);
    text-align: center;
    max-width: 820px;
    margin: 40px auto;
    padding: 32px 40px;
    background: var(--lp-teal-light);
    border-left: 5px solid var(--lp-teal);
    border-radius: 0 var(--lp-radius-md) var(--lp-radius-md) 0;
}

.lp-blockquote cite {
    display: block;
    font-family: var(--lp-font-sans);
    font-size: 0.92rem;
    font-style: normal;
    font-weight: 600;
    color: var(--lp-magenta);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* TBSI Pillars Grid */
.lp-tbsi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 36px 0;
}

@media (max-width: 768px) {
    .lp-tbsi-grid {
        grid-template-columns: 1fr;
    }
}

.lp-tbsi-item {
    background: var(--lp-white);
    border-radius: var(--lp-radius-md);
    padding: 28px;
    border-top: 4px solid var(--lp-teal);
    box-shadow: var(--lp-shadow-sm);
    transition: var(--lp-transition);
}

.lp-tbsi-item:nth-child(even) {
    border-top-color: var(--lp-magenta);
}

.lp-tbsi-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
}

.lp-tbsi-item h3 {
    color: var(--lp-teal-dark);
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Books Grid (Page Lectures) */
.lp-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.lp-book-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid var(--lp-border);
    transition: var(--lp-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.lp-book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lp-shadow-md);
    border-color: var(--lp-teal);
}

.lp-book-cover {
    width: 165px;
    height: 220px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 4px;
    background: var(--lp-bg-light);
    padding: 6px;
}

.lp-book-author {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--lp-teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Quotes Masonry / Cards (Page Citations) */
.lp-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.lp-quote-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius-md);
    padding: 32px 28px;
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid var(--lp-border);
    border-bottom: 4px solid var(--lp-teal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--lp-transition);
}

.lp-quote-card:nth-child(even) {
    border-bottom-color: var(--lp-magenta);
}

.lp-quote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
}

.lp-quote-text {
    font-family: var(--lp-font-serif);
    font-size: 1.32rem;
    font-style: italic;
    color: var(--lp-dark);
    line-height: 1.55;
    margin-bottom: 18px;
}

.lp-quote-author {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--lp-teal);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: right;
}

/* FAQ Accordion & Pricing Cards (Page FAQ) */
.lp-pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .lp-pricing-cards {
        grid-template-columns: 1fr;
    }
}

.lp-price-card {
    background: var(--lp-white);
    border-radius: var(--lp-radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--lp-shadow-sm);
    border: 2px solid var(--lp-border);
    transition: var(--lp-transition);
}

.lp-price-card.is-featured {
    border-color: var(--lp-magenta);
    box-shadow: var(--lp-shadow-md);
    position: relative;
}

.lp-price-label {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-teal-dark);
    margin-bottom: 12px;
}

.lp-price-amount {
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--lp-magenta);
    line-height: 1.1;
    margin-bottom: 8px;
}

.lp-faq-list {
    max-width: 840px;
    margin: 0 auto;
}

.lp-faq-item {
    background: var(--lp-white);
    border-radius: var(--lp-radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
    overflow: hidden;
}

.lp-faq-question {
    width: 100%;
    text-align: left;
    padding: 22px 28px;
    background: var(--lp-white);
    border: none;
    font-family: var(--lp-font-sans);
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--lp-teal-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--lp-transition);
}

.lp-faq-question:hover {
    color: var(--lp-magenta);
    background: var(--lp-teal-light);
}

.lp-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lp-teal-light);
    color: var(--lp-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.lp-faq-item.is-open .lp-faq-icon {
    transform: rotate(45deg);
    background: var(--lp-magenta);
    color: var(--lp-white);
}

.lp-faq-answer {
    padding: 0 28px 24px;
    color: var(--lp-text);
    border-top: 1px solid rgba(44, 129, 148, 0.08);
    padding-top: 16px;
}

/* Contact Form & Info (Page Contact) */
.lp-contact-form {
    background: var(--lp-white);
    border-radius: var(--lp-radius-lg);
    padding: 40px;
    box-shadow: var(--lp-shadow-md);
    border: 1px solid var(--lp-border);
}

.lp-form-group {
    margin-bottom: 20px;
}

.lp-form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lp-teal-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-form-input,
.lp-form-textarea,
.lp-form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(44, 129, 148, 0.25);
    border-radius: var(--lp-radius-sm);
    font-family: var(--lp-font-sans);
    font-size: 0.98rem;
    color: var(--lp-dark);
    background: var(--lp-bg-light);
    transition: var(--lp-transition);
}

.lp-form-input:focus,
.lp-form-textarea:focus,
.lp-form-select:focus {
    outline: none;
    border-color: var(--lp-teal);
    background: var(--lp-white);
    box-shadow: 0 0 0 4px rgba(44, 129, 148, 0.12);
}

.lp-form-alert {
    padding: 16px 20px;
    border-radius: var(--lp-radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
}

.lp-form-alert.is-success {
    background: #E7F7EE;
    color: #166534;
    border: 1px solid #86EFAC;
}

.lp-form-alert.is-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* Lite YouTube Facade (PageSpeed 100/100) */
.lp-youtube-facade {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 28px auto;
    aspect-ratio: 16 / 9;
    background: #11262c;
    border-radius: var(--lp-radius-md);
    overflow: hidden;
    box-shadow: var(--lp-shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-youtube-facade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.lp-youtube-facade:hover img {
    opacity: 0.95;
    transform: scale(1.03);
}

.lp-youtube-play {
    position: relative;
    z-index: 2;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--lp-magenta);
    color: var(--lp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(231, 50, 118, 0.5);
    transition: transform 0.3s ease;
}

.lp-youtube-facade:hover .lp-youtube-play {
    transform: scale(1.12);
}

/* Global Pre-Footer CTA & Footer */
.lp-cta-banner {
    background: linear-gradient(135deg, var(--lp-teal-dark) 0%, var(--lp-teal) 60%, var(--lp-plum) 100%);
    color: var(--lp-white);
    text-align: center;
    padding: 64px 24px;
}

.lp-cta-banner h2 {
    color: var(--lp-white) !important;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin-bottom: 14px;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lp-cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 28px;
    font-size: 1.08rem;
}

.lp-footer {
    background: var(--lp-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 56px 24px 36px;
    font-size: 0.92rem;
}

.lp-footer-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 800px) {
    .lp-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.lp-footer h4 {
    color: var(--lp-white) !important;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.lp-footer a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}

.lp-footer a:hover {
    color: var(--lp-magenta) !important;
}

.lp-footer-bottom {
    max-width: 1140px;
    margin: 24px auto 0;
    text-align: center;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.55);
}

@keyframes lpFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   SUPPRESSION TOTALE DE L'ANCIEN MENU & DU BANDEAU VERT DU STARTER KIT DIVI
   ("Fuel Your Body, Transform Your Health..." + "Home About Services...")
   ========================================================================== */
#top-header,
#main-header,
#main-footer,
header.et-l,
header.et-l--header,
.et-l--header,
.et-l--footer,
.et_pb_mm_header,
#et-top-navigation,
.wp-site-blocks > header,
.wp-block-template-part[area="header"],
body.lyonpsy-active #top-header,
body.lyonpsy-active #main-header,
body.lyonpsy-active .et-l--header,
body.lyonpsy-active .et-l--footer,
body.lyonpsy-active #main-footer,
body.lyonpsy-custom-page #top-header,
body.lyonpsy-custom-page #main-header,
body.lyonpsy-custom-page .et-l--header,
body.lyonpsy-custom-page .et-l--footer,
body.lyonpsy-custom-page #main-footer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Supprime l'espace supérieur que Divi réserve parfois à son ancien header fixe */
body.lyonpsy-active #page-container,
body.lyonpsy-custom-page #page-container,
#page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.lyonpsy-active #et-main-area,
body.lyonpsy-custom-page #et-main-area,
body.lyonpsy-active #main-content,
body.lyonpsy-custom-page #main-content,
body.lyonpsy-active .entry-content,
body.lyonpsy-custom-page .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.lyonpsy-active #main-content .container::before,
body.lyonpsy-custom-page #main-content .container::before,
body.lyonpsy-active #sidebar,
body.lyonpsy-custom-page #sidebar {
    display: none !important;
}

/* Ajustement de la barre de navigation LyonPsy quand la barre d'admin WordPress est connectée */
body.admin-bar .lp-header-bar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .lp-header-bar {
        top: 46px;
    }
}

/* Mise en valeur du logo blanc Caroline Lombard sur fond Bleu Canard #2C8194 */
.lp-brand {
    background: linear-gradient(135deg, var(--lp-teal-dark) 0%, var(--lp-teal) 100%);
    padding: 8px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(44, 129, 148, 0.22);
    transition: var(--lp-transition);
}
.lp-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(44, 129, 148, 0.32);
}
.lp-brand img {
    max-height: 44px;
    width: auto;
    display: block;
}
