/*
Theme Name: Aramco Child
Theme URI: http://demo.casethemes.net/aramco
Author: Case-Themes
Author URI: https://casethemes.net/
Description: **Introducing Aramco – Physical Therapy & Physiotherapy WordPress Theme**   Experience the future of rehabilitation with Aramco. This cutting-edge approach combines AI-driven techniques with expert therapy to optimize recovery, improve mobility, and enhance overall well-being.
Version: 1.0.1
Requires PHP: 7.4
Tested up to: 6.0
License: ThemeForest
License URI: https://themeforest.net/licenses
Template: aramco
Text Domain: aramco-child
Copyright (c) 2025 Case-Themes. All rights reserved.
This theme is licensed under the GPL-2.0+ license.
Tags:  	chiropractor, clinic, dentist, doctor, healthcare, medical, orthopedic, pharmacy, physical therapy, physiotherapy, psychologist, rehab, rehabilitation, sport, wellness 
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --primary-color: #469633 !important;
    --secondary-color: #feca1a !important;
}

/* ── Écrasement global Tenor Sans → Poppins ── */
h1, h2, h3, h4, h5, h6,
.pxl-item--title,
.pxl-btn-slide-style2 .pxl--btn-text,
.pxl-btn-slide-style3 .pxl--btn-text,
.pxl-post--author-info .pxl-user--name,
.widget_product_categories ul li a .title,
.widget_categories ul li a .title,
.widget_nav_menu ul li a .title,
.widget_pages ul li a .title,
.widget_archive ul li a .title,
.widget_meta ul li a .title,
.widget_recent_entries ul li a .title,
.pxl-project-infomation1 .pxl-wrap-item .pxl-item .wrap-content .pxl-item-content,
.widget_brand_nav ul li a,
.error404 .pxl-error,
.pxl-page-title,
.pxl-breadcrumb li,
.pxl-breadcrumb a,
[class*="elementor-widget"] h1,
[class*="elementor-widget"] h2,
[class*="elementor-widget"] h3,
[class*="elementor-widget"] h4,
[class*="elementor-widget"] h5,
[class*="elementor-widget"] h6 {
    font-family: 'Poppins', sans-serif;
}

/* ── Hiérarchie typographique ── */
h1 { font-size: clamp(32px, 4vw, 54px); font-weight: 700; line-height: 1.15; letter-spacing: -1px; }
h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; line-height: 1.3; }
h4 { font-size: clamp(17px, 2vw, 22px); font-weight: 600; line-height: 1.4; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }

body,
.pxl-btn-slide-style2 .pxl--btn-text {
    font-family: 'Poppins', sans-serif;
}

.pxl-btn-slide-style2::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    z-index: -1;
    background-image: unset !important;
    animation: unset !important;   
    transition: all 0.3s ease-in-out;
}

.pxl-btn-slide-style2:hover::before {
    background-color: rgba(255,255,255, 0);
    border-color: var(--secondary-color);
}

.pxl-btn-slide-style2 .pxl--btn-text {
    font-size: 26px;
    transition: all 0.3s ease-in-out;
}

.pxl-btn-slide-style2:hover .pxl--btn-text {
    color: black;
}

.pxl-btn-slide-style2:hover svg {
    stroke: var(--secondary-color);
}

.pxl-btn-slide-style1:hover {
    color: black;
}

.pxl-btn-slide-style1:hover svg {
    stroke: black;
}

.pxl-image-single .pxl-item--label {
    text-transform: unset;
    letter-spacing: 0px;
    color: black;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
}

#home_section_bubble {
    align-items: center;
}

.button-contact:hover {
    background: #e9521c !important;
}

/* ── Formulaire CF7 – nouveaux champs ── */
.wpcf7[data-wpcf7-id="2530"] textarea[name="your-message"]{
    height: 119px !important;
    min-height: unset !important;
}

.pxl-contact-form-3 .pxl-message textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
}

/* Espacement entre lignes de holders */
.pxl-contact-form-3 .pxl-holder + .pxl-holder {
    max-width: 650px;
    margin: 25px auto 0;
}

/* pxl-holder-big : col unique pleine largeur */
.pxl-contact-form-3 .pxl-holder-big {
    display: block;
}

.pxl-contact-form-3 .pxl-holder-big .pxl-col {
    width: 100%;
}

/* Champs pleine largeur (select, textarea, wrap CF7) */
.pxl-contact-form-3 .pxl-holder .pxl-col div .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.pxl-contact-form-3 .pxl-holder .pxl-col div select,
.pxl-contact-form-3 .pxl-holder .pxl-col div textarea {
    width: 100%;
    cursor: pointer;
}

.pxl-contact-form-3 .pxl-holder .pxl-col div textarea {
    height: auto !important;
    min-height: 100px;
    cursor: auto;
    resize: vertical;
}

.pxl-contact-form-3 .pxl-rgpd {
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: inherit;
}

.pxl-contact-form-3 .pxl-rgpd .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pxl-contact-form-3 .pxl-rgpd .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.pxl-header-ss-logo-h4 {
    min-height: 375px;
}

#home_newsletter_register .eleva-nl-row,
#home_newsletter_register .contact-submit {
    justify-content: center;
    max-width: 800px;
}

#home_newsletter_register .eleva-nl-row {
    text-align: center;
    margin-top: -150px;
}


#home_newsletter_register input[type="email"] {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

/* ── Newsletter — messages feedback ── */
#eleva-nl-message {
    display: block;
    margin-top: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    animation: elevaNlFadeIn .25s ease;
    max-width: 800px;
    border-radius: 999px;
}

#eleva-nl-message.success {
    background: #eaf6e6;
    color: #2a6e1a;
    border: 1px solid #b3dba8;
}

#eleva-nl-message.error {
    background: #fdf0ed;
    color: #b03a1e;
    border: 1px solid #f0b8a8;
}

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

/* ── Case Tabs Layout 1 — overrides ── */
.pxl-tabs1 .pxl-tab--title {
    padding: 6px 16px;
}

.pxl-tabs1 .pxl-tab--title .pxl-title--text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0;
}

.pxl-tabs1 .pxl-tab--title .pxl-count-tab {
    display: none;
}

.pxl-item--holder {
    padding: 30px 40px !important;
}

.pxl-tabs1 .pxl-tabs--title {
    margin-bottom: 20px !important;
}

.pxl-service-carousel svg {
    max-width: 50px !important;
}

.pxl-service-carousel .pxl-item--title {
    margin: 0 0 10px !important;
}

.pxl-service-carousel-build1 .pxl-swiper-dots.pxl-swiper-pagination-bullets {
    margin-top: 20px !important;
}

.pxl-contact-form-3 .pxl-holder ,
.pxl-contact-form-3 .pxl-rgpd {
    justify-content: center;
}

.pxl-nav-menu .pxl-menu-primary > li > a  {
    font-size: 14px !important;
}

.pxl-menu-primary li a {
    font-family: 'Poppins', sans-serif;
    font-size: 12px !important;
    color:white;
}

footer .pxl-icon1 a {
    margin-left: 0 !important;
}

@media (min-width: 992px) {
    .pxl-menu-primary .sub-menu, .pxl-menu-primary .children {
        background-color: #469633;
    }
}

@media (max-width: 767px) {
    .elementor-widget-icon-box.elementor-mobile-position-block-start .elementor-icon-box-wrapper {
        text-align: left !important;
    }
}

/* =========================================================
   SINGLE FORMATION (post type: portfolio)
   Eleva Formation — theme enfant
   ========================================================= */

.ef-single * { box-sizing: border-box; }

.ef-single {
    --ef-green:   #469633;
    --ef-yellow:  #feca1a;
    --ef-orange:  #e9521c;
    --ef-dark:    #111111;
    --ef-grey:    #f7f7f5;
    --ef-border:  #e8e8e8;
    --ef-radius:  10px;
    --ef-shadow:  0 2px 20px rgba(0,0,0,.08);
    font-family: 'Poppins', sans-serif;
    color: var(--ef-dark);
}

.ef-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 32px;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.ef-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    background: #f5f5f2 no-repeat center / cover;
    padding-block: 80px;
}

.ef-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(255,255,255,.88) 0%,
        rgba(255,255,255,.60) 55%,
        rgba(255,255,255,.10) 100%);
}

.ef-hero__inner {
    position: relative;
    z-index: 1;
    color: var(--ef-dark);
    max-width: 1200px;
}

.ef-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(17,17,17,.5);
    margin-bottom: 18px;
}

.ef-breadcrumb a { color: inherit; text-decoration: none; transition: color .2s; }
.ef-breadcrumb a:hover { color: var(--ef-green); }
.ef-breadcrumb svg { opacity: .4; }

.ef-hero__tag {
    display: inline-block;
    background: var(--ef-yellow);
    color: var(--ef-dark);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.ef-hero__title {
    font-size: clamp(32px, 4.5vw, 58px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -1.5px;
    color: var(--ef-dark);
}

.ef-hero__excerpt {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 36px;
    color: rgba(17,17,17,.65);
    max-width: 560px;
}

.ef-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ef-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(17,17,17,.06);
    border: 1px solid rgba(17,17,17,.14);
    color: var(--ef-dark);
    backdrop-filter: blur(6px);
}

.ef-pill--yellow { background: var(--ef-yellow); border-color: var(--ef-yellow); color: var(--ef-dark); }
.ef-pill--outline { background: transparent; border-color: rgba(17,17,17,.22); }


/* ─────────────────────────────────────────
   BARRE DE STATS
───────────────────────────────────────── */
.ef-statsbar {
    background: var(--ef-green);
    color: #fff;
    padding-block: 32px;
}

.ef-statsbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

.ef-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    text-align: center;
}

.ef-stat__num {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    color: var(--ef-yellow);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ef-stat__num--date {
    font-size: 16px;
    letter-spacing: -.3px;
    white-space: nowrap;
}

.ef-stat__num small { font-size: 22px; }
.ef-stat__num svg { display: block; stroke: var(--ef-yellow); }

.ef-stat__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: .8;
}

.ef-stat__sep {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,.22);
}

@media (max-width: 767px) {
    .ef-stat__sep { display: none; }
    .ef-statsbar__inner { gap: 16px 0; justify-content: space-evenly; }
    .ef-stat { width: 50%; }
}


/* ─────────────────────────────────────────
   LAYOUT 2 COLONNES
───────────────────────────────────────── */
.ef-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 52px;
    align-items: start;
    padding-block: 72px;
}

@media (max-width: 1100px) {
    .ef-layout { grid-template-columns: 1fr; }
    .ef-aside { order: -1; }
}


/* ─────────────────────────────────────────
   SECTIONS CONTENU
───────────────────────────────────────── */
.ef-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--ef-border);
}

.ef-section:last-child { border-bottom: none; }

.ef-section--alt {
    background: var(--ef-grey);
    border-radius: 14px;
    padding: 40px;
    border-bottom: none;
    margin-bottom: 60px;
}

.ef-section__header { margin-bottom: 30px; }

.ef-section__eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ef-green);
    margin-bottom: 8px;
}

.ef-section__title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    padding-left: 16px;
    border-left: 4px solid var(--ef-yellow);
    line-height: 1.25;
    color: var(--ef-dark);
}

/* Grille objectifs */
.ef-objectives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 640px) { .ef-objectives-grid { grid-template-columns: 1fr; } }

.ef-objective {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    padding: 18px;
    transition: border-color .2s, box-shadow .2s;
}

.ef-objective:hover {
    border-color: var(--ef-green);
    box-shadow: 0 4px 16px rgba(70,150,51,.1);
}

.ef-objective__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ef-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ef-objective__icon svg { stroke: #fff; }

.ef-objective p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    padding-top: 5px;
    color: #444;
}

/* Accordéon programme */
.ef-accordion { display: flex; flex-direction: column; gap: 8px; }

.ef-accordion__item {
    border: 1.5px solid var(--ef-border);
    border-radius: var(--ef-radius);
    overflow: hidden;
    transition: border-color .25s;
}

.ef-accordion__item[open] { border-color: var(--ef-green); }

.ef-accordion__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    user-select: none;
    list-style: none;
    gap: 14px;
    color: var(--ef-dark);
    transition: background .2s, color .2s;
}

.ef-accordion__head::-webkit-details-marker { display: none; }

.ef-accordion__item[open] .ef-accordion__head {
    background: var(--ef-green);
    color: #fff;
}

.ef-accordion__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
}

.ef-accordion__icon::before,
.ef-accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

.ef-accordion__icon::before { width: 10px; height: 2px; }
.ef-accordion__icon::after  { width: 2px; height: 10px; transition: transform .25s; }

.ef-accordion__item[open] .ef-accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.ef-accordion__body {
    padding: 22px;
    font-size: 14px;
    line-height: 1.8;
    color: #4a4a4a;
    background: #fafaf8;
    border-top: 1px solid var(--ef-border);
}

.ef-accordion__body p { margin: 0; }

/* WYSIWYG */
.ef-wysiwyg p { font-size: 15px; line-height: 1.85; color: #4a4a4a; margin: 0 0 16px; }
.ef-wysiwyg p:last-child { margin-bottom: 0; }

/* Public & prérequis */
.ef-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) { .ef-two-col { grid-template-columns: 1fr; } }

.ef-info-card {
    background: #fff;
    border: 1px solid var(--ef-border);
    border-radius: 14px;
    padding: 28px;
}

.ef-info-card--green {
    background: var(--ef-green);
    border-color: var(--ef-green);
    color: #fff;
}

.ef-info-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(255,255,255,.15);
}

.ef-info-card:not(.ef-info-card--green) .ef-info-card__icon {
    background: rgba(70,150,51,.1);
    color: var(--ef-green);
}

.ef-info-card__icon svg { stroke: currentColor; }

.ef-info-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
}

.ef-info-card.ef-info-card--green .ef-info-card__title {
    color: #fff;
}

.ef-info-card__body { font-size: 14px; line-height: 1.75; }

.ef-info-card__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ef-info-card__body li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
}

.ef-info-card:not(.ef-info-card--green) .ef-info-card__body li {
    border-bottom-color: var(--ef-border);
    color: #555;
}

.ef-info-card__body li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ef-yellow);
    flex-shrink: 0;
}

.ef-info-card:not(.ef-info-card--green) .ef-info-card__body li::before {
    background: var(--ef-green);
}

/* Intervenants */
.ef-instructors { display: flex; flex-direction: column; gap: 20px; }

.ef-instructor {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ef-border);
    border-radius: 14px;
    padding: 26px;
    transition: box-shadow .25s;
}

.ef-instructor:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }

.ef-instructor__photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--ef-yellow);
}

.ef-instructor__photo--placeholder {
    background: #dff0da;
}

.ef-instructor__name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--ef-dark);
    margin-bottom: 3px;
}

.ef-instructor__role {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ef-green);
    font-weight: 700;
    margin-bottom: 12px;
}

.ef-instructor__bio {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

.ef-instructor--quote { align-items: flex-start; }

.ef-quote-icon {
    color: var(--ef-yellow);
    margin-bottom: 12px;
    display: block;
    flex-shrink: 0;
}

.ef-instructor__bio--quote {
    font-size: 16px;
    font-style: italic;
    line-height: 1.85;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}


/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.ef-aside { position: relative; }

.ef-card {
    background: #fff;
    border: 1.5px solid var(--ef-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 48px rgba(0,0,0,.1);
    position: sticky;
    top: 100px;
}

.ef-card__price {
    text-align: center;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--ef-border);
}

.ef-card__amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--ef-green);
    line-height: 1;
}

.ef-card__currency {
    font-size: 30px;
    font-weight: 700;
    color: var(--ef-green);
    vertical-align: super;
}

.ef-card__price-sub {
    display: block;
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

/* Boutons */
.ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all .22s;
    border: 2px solid transparent;
}

.ef-btn--block { width: 100%; margin-bottom: 10px; }

.ef-btn--primary { background: var(--ef-green); color: #fff; border-color: var(--ef-green); }
.ef-btn--primary:hover { background: #fff; color: var(--ef-green); }

.ef-btn--ghost { background: transparent; color: var(--ef-dark); border-color: var(--ef-border); }
.ef-btn--ghost:hover { border-color: var(--ef-green); color: var(--ef-green); }

.ef-card__divider { height: 1px; background: var(--ef-border); margin-block: 24px; }

/* Liste détails */
.ef-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ef-details__item {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: top;
    gap: 9px;
    font-size: 13px;
}

.ef-details__icon { color: var(--ef-green); display: flex; align-items: top; }
.ef-details__key { color: #999; }
.ef-details__val { font-weight: 600; text-align: right; max-width: 150px; word-break: break-word; }
.ef-details__val--green { color: var(--ef-green); font-size: 11px; }

/* Public concerné — item pleine largeur avec expand */
.ef-details__item--full {
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto;
    align-items: flex-start;
}
.ef-details__item--full .ef-details__icon { grid-row: 1 / 3; align-self: flex-start; padding-top: 1px; }
.ef-details__item--full .ef-details__val {
    text-align: left;
    max-width: none;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.ef-expand__text {
    max-height: calc(1.5em * 3);
    overflow: hidden;
    font-size: 12px;
    color: var(--ef-dark);
    line-height: 1.5;
    transition: max-height .3s ease;
}
.ef-expand__text.is-expanded {
    max-height: 600px;
}
.ef-expand__toggle {
    color: var(--ef-green);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
}
.ef-expand__toggle:hover { text-decoration: underline; }

/* Support pédagogique */
.ef-card--support {
    background: var(--ef-cream);
    border: 1.5px solid var(--ef-border);
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 10px;
}
.ef-card--support__inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.ef-card--support__icon { color: var(--ef-green); flex-shrink: 0; margin-top: 2px; }
.ef-card--support__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ef-dark);
    margin: 0 0 5px;
}
.ef-card--support__body { font-size: 13px; color: #555; }
.ef-card--support__body p { margin: 0; }

/* Bandeau légal */
.ef-legal-strip {
    margin-top: 48px;
    padding: 24px 0 8px;
    border-top: 1px solid #e8e8e8;
}
.ef-legal-strip__inner {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.ef-legal-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    flex: 1;
    min-width: 160px;
}
.ef-legal-item svg { color: var(--ef-green); flex-shrink: 0; margin-top: 2px; }
.ef-legal-item strong { color: #666; }
.ef-legal-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbb;
    display: block;
    margin-bottom: 2px;
}
.ef-legal-val { font-size: 12px; font-weight: 600; color: #777; display: block; }
.ef-legal-sub { margin-top: 4px; font-style: italic; }

.ef-card__section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ef-dark);
    margin: 0 0 14px;
}

/* Sessions */
.ef-sessions { display: flex; flex-direction: column; gap: 8px; }
.ef-sessions__empty { font-size: 12px; color: #aaa; font-style: italic; margin: 0; }
.ef-sessions__empty a { color: var(--ef-green); text-decoration: none; }
.ef-sessions__empty a:hover { text-decoration: underline; }

.ef-session {
    border-radius: 8px;
    padding: 12px 15px;
    border-left: 3px solid var(--ef-green);
    background: var(--ef-grey);
}

.ef-session__dates {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ef-session__arrow { color: #aaa; }

.ef-session__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ef-session__places { font-size: 11px; color: #999; }

.ef-session__badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 2px 9px;
    border-radius: 50px;
}

.ef-session--ouvert      .ef-session__badge { background: rgba(70,150,51,.1); color: var(--ef-green); }
.ef-session--complet     .ef-session__badge { background: rgba(231,76,60,.1); color: #e74c3c; }
.ef-session--prochainement .ef-session__badge { background: rgba(254,202,26,.18); color: #957300; }

.ef-card__updated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
}


/* ─────────────────────────────────────────
   BANDEAU INSCRIPTION
───────────────────────────────────────── */
.ef-cta-strip {
    background: #fff2d5;
    color: var(--ef-dark);
    padding-block: 80px;
}

.ef-cta-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

@media (max-width: 900px) { .ef-cta-strip__inner { grid-template-columns: 1fr; } }

.ef-cta-strip__eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ef-green);
    margin-bottom: 12px;
}

.ef-cta-strip__title {
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.18;
}

.ef-cta-strip__title em { font-style: normal; color: var(--ef-orange); }

.ef-cta-strip__text p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(17,17,17,.62);
    margin: 0;
}

.ef-cta-strip__form {
    background: #ffffff;
    border: 1px solid rgba(17,17,17,.1);
    border-radius: var(--ef-radius);
    padding: 30px;
    box-shadow: 0 4px 24px rgba(70,150,51,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.ef-cta-strip__button {
    width: min(100%, 360px);
    min-height: 58px;
    justify-content: center;
    font-size: 13px;
    letter-spacing: 1.4px;
}


/* ─────────────────────────────────────────
   FORMATIONS CONNEXES
───────────────────────────────────────── */
.ef-related {
    padding-block: 88px;
    background: white;
}

.ef-related__header { text-align: center; margin-bottom: 44px; }

.ef-related__eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--ef-green);
    margin-bottom: 10px;
}

.ef-related__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.ef-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

@media (max-width: 900px) { .ef-related__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ef-related__grid { grid-template-columns: 1fr; } }

.ef-formation-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--ef-shadow);
    transition: transform .25s, box-shadow .25s;
}

.ef-formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,.14);
}

.ef-formation-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ef-formation-card__img-wrap {
    position: relative;
    overflow: hidden;
}

.ef-formation-card__img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.ef-formation-card:hover .ef-formation-card__img { transform: scale(1.05); }

.ef-formation-card__img--fallback {
    height: 210px;
    background: #dff0da;
}

.ef-formation-card__duration {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--ef-yellow);
    color: var(--ef-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 50px;
}

.ef-formation-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ef-formation-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--ef-dark);
}

.ef-formation-card__excerpt {
    font-size: 13px;
    line-height: 1.65;
    color: #777;
    margin: 0;
    flex: 1;
}

.ef-formation-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ef-green);
    margin-top: 10px;
    transition: gap .2s;
}

.ef-formation-card:hover .ef-formation-card__cta { gap: 10px; }

.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--content {
    font-family: 'Poppins', sans-serif;
}

/* ─────────────────────────────────────────
   BLOG GRID LAYOUT3 — Alignement des cartes
   Corrige le désalignement dû aux images de
   ratios différents et aux titres variables.
───────────────────────────────────────── */

/* 1. Image circulaire, recadrée au centre */
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--featured {
    overflow: visible;
    display: flex;
    justify-content: center;
}
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--featured a {
    display: block;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-item--inner:hover .pxl-post--featured img {
    transform: scale(1.05);
}

/* 2. Carte en flex colonne → contenu empilé proprement */
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-item--inner {
    display: flex;
    flex-direction: column;
}

/* 3. Tags — hauteur uniforme même avec 1 ou 2 étiquettes */
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--tags {
    min-height: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

/* 4. Titre — 2 lignes max, hauteur constante */
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: calc(2em * 1.3);
}

/* 5. Excerpt — 3 lignes max, pousse le bouton vers le bas */
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--content {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

/* 6. Bouton toujours ancré en bas de la carte */
.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--button {
    margin-top: 24px;
}

.home .pxl-service-carousel .pxl-item--title {
    height: 130px;
    overflow: auto;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) transparent;
}

.home .pxl-service-carousel .pxl-item--title::-webkit-scrollbar {
    width: 3px;
}
.home .pxl-service-carousel .pxl-item--title::-webkit-scrollbar-track {
    background: transparent;
}
.home .pxl-service-carousel .pxl-item--title::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.35);
    border-radius: 99px;
}
.home .pxl-service-carousel .pxl-item--title::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.6);
}

.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--meta .pxl-post--date {
    font-weight: 600;
}

.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--title {
    font-weight: 600;
    color: black;
}

.pxl-blog-grid-layout3.pxl-blog-style1 .pxl-post--button .button-post {
    color: #222;
    letter-spacing: 0;
    text-transform: none;
}

#pxl-page-title-elementor {
    padding-top: 200px;
}

body.page-id-4824 #pxl-page-title-elementor ,
body.page-id-6045 #pxl-page-title-elementor {
    padding-top: 145px;
}

.pxl-list1.style-3 .pxl--item .pxl-item--icon {
    background-color: var(--primary-color);
}

.pxl-number-text1 .pxl-item--number {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.pxl-bg-text-landing .pxl-heading--text {
    background: linear-gradient(180deg, var(--primary-color) 23.23%, #fff 78.86%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Service Carousel Build — lien "En savoir plus" ── */
.pxl-service-carousel-build1 .pxl-item--button > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}
.pxl-service-carousel-build1 .pxl-item--button > a .pxl-svg {
    margin-left: 0;
}
.pxl-service-carousel-build1 .pxl-item--button > a .pxl-svg svg {
    fill: currentColor;
    display: block;
}

/* ── Sous-menus de navigation : limiter la largeur ── */
.pxl-menu-primary .sub-menu .sub-menu {
    max-width: 320px;
}
.pxl-menu-primary .sub-menu .sub-menu > li > a {
    white-space: normal;
    line-height: 1.4;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* ── Effet hover sur les liens du menu principal (niveau 1) ── */
.pxl-nav-menu1 .pxl-menu-primary > li > a .pxl-menu-item-text {
    position: relative;
}
.pxl-nav-menu1 .pxl-menu-primary > li > a .pxl-menu-item-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}
.pxl-nav-menu1 .pxl-menu-primary > li:hover > a .pxl-menu-item-text::after,
.pxl-nav-menu1 .pxl-menu-primary > li.current-menu-item > a .pxl-menu-item-text::after,
.pxl-nav-menu1 .pxl-menu-primary > li.current_page_ancestor > a .pxl-menu-item-text::after,
.pxl-nav-menu1 .pxl-menu-primary > li.current-menu-ancestor > a .pxl-menu-item-text::after {
    width: 100%;
}
.pxl-nav-menu1 .pxl-menu-primary > li.current-menu-item > a .pxl-menu-item-text::after,
.pxl-nav-menu1 .pxl-menu-primary > li.current_page_ancestor > a .pxl-menu-item-text::after,
.pxl-nav-menu1 .pxl-menu-primary > li.current-menu-ancestor > a .pxl-menu-item-text::after {
    background-color: #feca1a;
}

/* Effet hover sur les liens des sous-menus */
.pxl-menu-primary .sub-menu li > a:hover .pxl-menu-item-text,
.pxl-menu-primary .sub-menu .sub-menu li > a:hover .pxl-menu-item-text {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Supprimer le décalage et le soulignement mal placé au hover */
.pxl-nav-menu.sub-style-default .sub-menu > li > a.pxl-onepage-active .pxl-menu-item-text,
.pxl-nav-menu.sub-style-default .sub-menu > li:hover > a .pxl-menu-item-text,
.pxl-nav-menu.sub-style-default .sub-menu > li.current_page_item > a .pxl-menu-item-text,
.pxl-nav-menu.sub-style-default .sub-menu > li.current-menu-item > a .pxl-menu-item-text,
.pxl-nav-menu.sub-style-default .sub-menu > li.current_page_ancestor > a .pxl-menu-item-text,
.pxl-nav-menu.sub-style-default .sub-menu > li.current-menu-ancestor > a .pxl-menu-item-text {
    margin-left: 0 !important;
}
.pxl-nav-menu.sub-style-default .sub-menu > li .pxl-menu-item-text:before {
    display: none !important;
}

/* ── Carousel formations : masquer les images sur mobile ── */
@media (max-width: 576px) {
    .pxl-service-carousel-build1 .pxl-item--image {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .pxl-header-ss-logo-h4 {
        width: 100% !important;
    }
} 

@media (max-width: 1200px) {
    #pxl-page-title-elementor ,
    #pxl-main ,
    body.page-id-4824 #pxl-page-title-elementor, body.page-id-6045 #pxl-page-title-elementor {
        padding-top: 0px !important;
    }
} 

/* ── Lien "Voir la formation en détail" ── */
a.link_formation_installation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #469633;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: gap 0.25s ease, color 0.25s ease;
}

a.link_formation_installation::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #469633;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

a.link_formation_installation:hover {
    color: #357a26;
    gap: 12px;
}

a.link_formation_installation:hover::after {
    background-color: #357a26;
    transform: translateX(3px);
}

.pxl-icon-box1.style-9 .pxl-item--title {
    margin-bottom: 10px;
}
