/* --------------------
   HEADER (bleu + liens jaunes)
   -------------------- */
.header {
    background: var(--pahid-blue) !important;
}

/* Logo gros */
.header .logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto; /* ne se rétrécit pas */
}
.header .logo img {
    height: 90px; /* <= change ici (80/90/100) */
    width: auto;
    max-height: none !important; /* on ignore l'ancien max-height */
    margin-right: 16px;
    max-height: 38px;
}

/* Barre du header plus haute */
.header .branding {
    min-height: 110px !important; /* ajuste si besoin */
    padding: 0 !important;
    display: flex;
    align-items: center;
}

/* Empêche le container bootstrap de “coller” en haut/bas */
.header .branding .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* --------------------
   HERO (hauteur + texte centré style maquette)
   -------------------- */

.hero .carousel {
    min-height: 360px !important;
}
.hero .carousel-item:before {
    background: rgba(0, 0, 0, 0.28) !important;
}
.hero .carousel-container {
    inset: 70px 20px 50px 20px !important;
}
.hero h2 {
    font-size: 38px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.hero p {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.45);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.carousel-container {
    font-family: "Source Sans 3";
}
.hero #hero-carousel {
    position: relative;
}

.hero .carousel-fixed-text {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

.hero .carousel h2 {
    color: var(--pahid-blue);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(5, 5, 5, 0.35);
}

.hero .carousel p {
    color: var(--pahid-yellow);
    max-width: 760px;
    padding: 10px 14px;
    border-radius: 8px;
    line-height: 1.45;
    margin: 0;
}

/* --------------------
   home Page
-------------------- */

.section-title h2 {
    color: var(--pahid-blue-dark) !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 800;
}

/* Image + bouton play sur l'image */
#about .video-box {
    position: relative;
    margin-top: 12px;
    border-radius: 16px;
    overflow: hidden;
}

/* triangle */
#about .play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
}

/* pulsation légère */
#about .play-btn {
    animation: pahidPulse 1.6s ease-out infinite;
}
@keyframes pahidPulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(12, 79, 122, 0.35),
            0 12px 28px rgba(0, 0, 0, 0.25);
    }
    70% {
        box-shadow:
            0 0 0 18px rgba(12, 79, 122, 0),
            0 12px 28px rgba(0, 0, 0, 0.25);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(12, 79, 122, 0),
            0 12px 28px rgba(0, 0, 0, 0.25);
    }
}

#services {
    background: var(--pahid-yellow) !important;
}
#services .service-item {
    background: #ffffff !important;
    padding: 30px 25px !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
#services .service-item .icon {
    display: none; /* maquette : pas d'icônes */
}
#services .service-item h3 {
    color: var(--pahid-blue-dark) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
#services .service-item p {
    color: #4b4b4b !important;
    font-size: 13px !important;
    line-height: 1.5;
}

#team .row {
    justify-content: center;
}

#team .col-xl-4,
#team .col-md-6 {
    display: flex;
}

#team .team-member {
    border: 9px solid var(--pahid-blue);
    border-radius: 10px;
    overflow: hidden;
    background: #154d71;
    width: 100%;
    max-width: 320px; /* même largeur pour les 3 cartes */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#team .team-member .member-img {
    width: 100%;
    height: 260px; /* même hauteur d’image */
    overflow: hidden;
}

#team .team-member .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recadre proprement */
    object-position: center top;
    display: block;
}

#team .team-member .member-info {
    position: static !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #154d71 !important;
    color: #fff !important;
    padding: 12px !important;
    text-align: center;
    min-height: 88px; /* même hauteur du bloc texte */
}

#team .team-member .member-info h4 {
    margin: 0 0 6px 0 !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 20px;
}

#team .team-member .member-info span {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 16px !important;
}

/* social (facultatif, tu peux cacher comme la maquette) */
#team .team-member .social {
    display: none;
}

.Team {
    border: 1;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    border-color: #1c6ea4;
    color: #1c6ea4;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 15px;
}

/* =========================================================
 A PROPOS + NOS ACTIVITÉS
   ========================================================= */

/* Fond général clair */
.about-mini {
    background: #f5f5f5;
    padding: 40px 0 20px;
    border-bottom: 2px solid #0e0000;
}

/* Titre A PROPOS */
.about-title {
    text-align: center;
    color: #0c4f7a;
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 35px;
    font-family: "DM Sans", sans-serif;
}

/* Bloc contenu */
.about-mini-box {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

/* Image petite à gauche */
.about-mini-img img {
    width: 200px;
    height: auto;
    display: block;
    border: 1px solid #9ea3d4;
}

/* Texte à droite */
.about-mini-content {
    width: 360px;
    padding-top: 4px;
    max-width: 420px;
}

.about-line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.about-line p {
    margin: 0;
    color: #222;
    font-size: 20px;
    line-height: 1.45;
    font-family: "Source Sans 3", sans-serif;
}

.about-icon {
    font-size: 34px;
    line-height: 1;
    min-width: 34px;
    color: #111;
}

.about-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.about-list {
    margin-top: 10px;
    padding-left: 20px;
}

.about-list li {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.5;
}

.about-position-relative {
    height: 450px; /* ajuste selon ton design */
    overflow: hidden;
    border-radius: 1rem; /* cohérent avec rounded-4 */
}

.about-img-presentation-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 règle le problème de déformation */
    object-position: center 50%; /* 🔥 descend l'image */
    display: block;
    transition: transform 0.3s ease;
}

.about-position-relative:hover .about-img-presentation-video {
    transform: scale(1.05);
}

/* =========================
   NOS ACTIVITÉS
   ========================= */
.services-mini {
    background: var(--pahid-yellow);
    margin-top: 30px;
    padding-bottom: 30px;
    padding: 18px 0 38px;
}

.services-title {
    text-align: center;
    color: #0c4f7a;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 28px;
    font-family: "DM Sans", sans-serif;
}

/* 3 colonnes */
.services-mini-grid {
    max-width: 1400px; /* plus large */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

/* Cartes*/
.service-mini-card {
    background: #fff;
    min-height: 215px;
    padding: 38px 25px;
}

/* Titres des cartes */
.service-mini-card h3 {
    text-align: center;
    color: #0c4f7a;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 28px 0;
    font-family: "DM Sans", sans-serif;
}

/* Texte des cartes */
.service-mini-card p {
    margin: 0;
    color: #222;
    font-size: 20px;
    line-height: 1.45;
    font-family: "Source Sans 3", sans-serif;
}

#team {
    border-top: 2px solid black;
    margin-top: 30px;
}

/* =========================
   FOOTER BLEU (ton footer-maquette)
   ========================= */
.footer-maquette {
    background: #154d71 !important;
    color: var(--nav-hover-color) !important;
    padding: 28px 16px;
    margin-top: 40px;
}
.footer-maquette .footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    font-size: 15px;
    font-family: var(--default-font);
}

.media {
    display: flex;
    gap: 50px;
    padding-top: 10px;
}
.social-links {
    width: 40px;
}

/* =========================
   SECTION CONTACT
   ========================= */
#contact .section-title h2 {
    font-family: var(--heading-font);
    text-transform: none;
    letter-spacing: 0;
    font-size: 18px;
    font-weight: 400;
    color: #1b1b1b !important;
}

#contact .section-title p {
    display: none;
}

#contact .row.gy-4 {
    justify-content: center;
    text-align: center;
    row-gap: 22px !important;
}

/* On cache l'adresse (dans ta capture on voit 2 colonnes seulement) */
#contact .row.gy-4 > .col-lg-6 {
    display: none !important;
}

/* Les 2 blocs restants */

#contact .info-item h3 {
    font-family: var(--heading-font);
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

#contact .info-item p {
    margin: 0;
    font-size: 14px;
    font-family: var(--default-font);
    font-weight: 600;
    color: #111;
}

#contact .php-email-form {
    width: min(60%, 100%);
    margin: 26px auto 0 auto;
    background: var(--form-blue) !important;
    padding: 22px 22px 18px !important;
    border-radius: 0 !important; /* angles carrés comme capture */
    box-shadow: none !important;
}

#contact .php-email-form .loading,
#contact .php-email-form .error-message,
#contact .php-email-form .sent-message {
    display: none !important;
}

#contact .php-email-form button[type="submit"] {
    width: 100%;
    border: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--pahid-blue-ciel);
    color: var(--pahid-yellow);
    font-weight: 700;
    letter-spacing: 0.3px;
}

#contact .form-label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--pahid-yellow);
    font-family: var(--heading-font);
}

.sectionEntreprise {
    display: flex;
}

.link_ourMail {
    color: black;
    font-family: var(--heading-font);
}

.link_ourTel {
    color: black;
    font-family: var(--heading-font);
}

/* =========================
   SECTION MISSION + SECTION VALUE
   ========================= */

.container-mission {
    background-color: var(--pahid-yellow);
    border: 2px solid #7f7f7f;
    padding-top: 30px;
    padding-bottom: 120px; /* ← C'EST ÇA QUI FAIT QUE LE JAUNE DÉPASSE L'IMAGE */

    max-width: 1000px;
    margin: 40px auto;
}

.mission-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20%;
}

.row.align-items-stretch {
    align-items: stretch;
}

.mission-img {
    max-width: 100%;
    height: auto; /* ← tu l'as mis exprès, je ne touche à rien */
    object-fit: contain;
    display: block;
    border: 2px solid #7f7f7f;
}

.mission-text h2 {
    color: var(--pahid-blue);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 18px;
    line-height: 1;
}

.mission-text p {
    color: var(--pahid-blue);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 0;
}

.card-value,
.card-mission {
    border: 2px solid #7f7f7f;

    padding: 50px 40px;
    margin: 60px auto;
}

.card-mission {
    background-color: var(--pahid-yellow);
}

.card-mission .row {
    align-items: center;
}

.card-mission .col-lg-6,
.card-value .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-mission h2 {
    color: var(--pahid-blue);
    font-size: 30px;
    margin-bottom: 20px;
}

.card-mission p {
    color: var(--pahid-blue);
    font-size: 16px;
    line-height: 1.8;
    max-width: 420px;
}

.card:hover,
.card-value:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.image-box,
.image-value {
    position: relative;
}

.image-box img,
.image-value img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-overlay-mission {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: var(--form-blue);
    color: var(--white);
    border: none;
    padding: 10px 35px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-overlay-mission:hover {
    background-color: var(--pahid-blue-ciel); /* bleu plus foncé au hover */
    color: #ffffff; /* texte reste blanc */
}

.card-value {
    background-color: var(--pahid-blue-ciel);
}

.card-value .row {
    align-items: center;
}

.card-value h2 {
    color: var(--pahid-yellow) !important; /* jaune clair */
    font-size: 30px;
    margin-bottom: 20px;
}

.title-value {
    color: var(--pahid-yellow) !important; /* jaune clair */
}

.card-value h2 a {
    text-decoration: none;
    color: inherit;
}

.card-value h2 a:hover {
    color: rgb(209, 209, 40);
}

.card-value p {
    color: var(--white);
    font-size: 19px;
    line-height: 1.8;
    max-width: 95%;
}

.container-value {
    background-color: var(--pahid-blue-ciel);
    border: 2px solid #7f7f7f;

    margin: 40px auto;
}

.value-img-box {
    height: 100%;
}

.value-img {
    width: 100%;
    height: 95%;
    object-fit: cover;
    display: block;
    border: 2px solid #7f7f7f;
}

.value-text h2 {
    color: var(--pahid-yellow);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 18px;
    line-height: 1;
}

.value-text p {
    color: var(--white) !important;
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 0;
}

.value-description-title {
    color: white;
    font-size: 17px;
}

.value-ul {
    color: var(--white);
}

/* =========================================
   A propos
   ========================================= */

.about-page-title,
.team-page-title {
    text-align: center;
    color: var(--pahid-blue-ciel);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: none;
    font-family: var(--default-font);
}

.about-top-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.about-text p {
    color: #2b2b2b;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-family: var(--heading-font);
}

.about-side {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
}

.about-side-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.about-side-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-side-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about-side-icon {
    font-size: 28px;
    color: #111;
    line-height: 1;
    min-width: 28px;
    font-family: var(--nav-font);
}

.about-side-item h3 {
    margin: 0 0 8px 0;
    font-size: 26px;
    color: #4d79a0;
    font-weight: 400;
    font-family: var(--heading-font);
}

.about-side-item p {
    margin: 0;
    color: #2b2b2b;
    font-size: 16px;
    line-height: 1.45;
    font-family: var(--nav-font);
}

.team-page-block {
    margin-top: 34px;
}

.team-page-title {
    margin-bottom: 22px;
    letter-spacing: 1px;
}

.team-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 60px;
    justify-items: center;
}

.team-card-custom {
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 210px;
}

.team-card-custom img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    display: block;
}

.team-card-info {
    position: absolute;
    width: 160px;
    left: 50px;
    transform: translateX(-15%);
    bottom: -25px;
    background: #0d6ea8;
    color: #fff;
    padding: 8px 10px 7px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.team-card-info h4 {
    margin: 0;
    margin-bottom: 6px;
    color: #fff9af;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--default-font);
    word-break: break-word;
}

.team-card-info span {
    display: block;
    margin-top: 3px;
    font-size: 15px;
    line-height: 1.1;
    color: #fff9af;
    font-family: var(--default-font);
}

/* =========================================
   business strategy + ProjectDevelopmentSupport
   ========================================= */

.strategie {
    margin: 80px 0;
}

.strategie-title,
.Project-Development-Support-title {
    text-align: center;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 50px;
    color: #1f1f1f;
}

.strategie-container {
    display: grid;
    grid-template-columns: repeat(3, 220px);
    gap: 90px 55px;
    justify-content: center;
}

.strategie-item {
    position: relative;
    width: 220px;
    text-align: center;
}

.strategie-item img {
    width: 220px;
    height: 175px;
    object-fit: cover;
    display: block;
}

.strategie-box {
    width: 90%;
    background-color: var(--pahid-yellow);
    padding: 16px 12px;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -68px;
}

.strategie-box h3 {
    color: var(--pahid-blue-ciel);
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.btn-strategie {
    display: inline-block;
    background-color: var(--pahid-blue-ciel);
    color: var(--white);
    text-decoration: none;
    padding: 7px 20px;
    border-radius: 18px;
    font-size: 14px;
}

.btn-strategie:hover {
    color: var(--white);
}

.service-strategie-title {
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 35px;
    color: #214b6b;
}

.service-strategie-card .row {
    background-color: #3d9cd3;
    border: 1px solid #4f6c7c;
    padding: 18px 24px;
    align-items: center;
}

.service-strategie-img,
.Project-Development-Support-img {
    width: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #4f6c7c;
}

.service-strategie-content,
.Project-Development-Support-content {
    padding-left: 30px;
}

.service-strategie-content h3 {
    color: #f4e4a1;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
}

.service-strategie-content p {
    color: #f4e4a1;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 22px;
}

.btn-service-contact,
.btn-Project-Development-Support-contact {
    display: inline-block;
    width: auto;
    min-width: 100px;
    text-align: center;
    background-color: var(--pahid-blue-ciel);
    color: var(--pahid-yellow);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
}

.btn-service-contact:hover,
.btn-Project-Development-Support-contact {
    color: var(--pahid-yellow) !important;
}

.ProjectDevelopmentSupport {
    margin: 80px 0;
}

.ProjectDevelopmentSupport-title {
    text-align: center;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 50px;
    color: #1f1f1f;
}

.ProjectDevelopmentSupport-container {
    display: grid;
    grid-template-columns: repeat(3, 220px);
    gap: 90px 55px;
    justify-content: center;
}

.ProjectDevelopmentSupport-item {
    position: relative;
    width: 220px;
    text-align: center;
}

.ProjectDevelopmentSupport-item img {
    width: 220px;
    height: 175px;
    object-fit: cover;
    display: block;
}

.ProjectDevelopmentSupport-box {
    width: 90%;
    background-color: var(--pahid-blue-ciel);
    padding: 16px 12px;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -68px;
}

.ProjectDevelopmentSupport-box h3 {
    color: var(--pahid-yellow);
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.btn-ProjectDevelopmentSupport {
    display: inline-block;
    background-color: var(--pahid-blue);
    color: var(--white);
    text-decoration: none;
    padding: 7px 20px;
    border-radius: 18px;
    font-size: 14px;
}

.btn-ProjectDevelopmentSupport:hover {
    color: var(--white);
}

.Project-Development-Support .row {
    background-color: var(--pahid-yellow);
    border: 1px solid #4f6c7c;
    padding: 18px 24px;
    align-items: center;
}

.Project-Development-Support h3 {
    color: var(--pahid-blue);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
}

.Project-Development-Support p {
    color: var(--pahid-blue);
    font-size: 16px;
    line-height: 1.35;
}

/* =========================================
login
   ========================================= */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.login-form {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 34px;
}

.form-group input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.btn-login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: #154d71;
    color: #fff9af;
}

.btn-login:hover {
    background-color: #1e4fc9;
}

.login-error {
    background: #ffdddd;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    color: #a00;
}

.login-info {
    margin-bottom: 15px;
}

/* =========================================
Professional Training
   ========================================= */

#ProfessionalTraining .row {
    justify-content: center;
}

#ProfessionalTraining .col-xl-4,
#ProfessionalTraining .col-md-6 {
    display: flex;
}

#ProfessionalTraining .training-member {
    border: 9px solid var(--pahid-blue);
    border-radius: 10px;
    overflow: hidden;
    background: #154d71;
    width: 100%;
    max-width: 320px; /* même largeur pour les 3 cartes */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#ProfessionalTraining .training-member .training-img {
    width: 100%;
    height: 260px; /* même hauteur d’image */
    overflow: hidden;
}

#ProfessionalTraining .training-member .training-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recadre proprement */
    object-position: center top;
    display: block;
}

#ProfessionalTraining .training-member .training-info {
    position: static !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #154d71 !important;
    color: #fff !important;
    padding: 12px !important;
    text-align: center;
    min-height: 88px; /* même hauteur du bloc texte */
}

#ProfessionalTraining .training-member .training-info h4 {
    margin: 0 0 6px 0 !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 20px;
}

#ProfessionalTraining .training-member .training-info span {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 16px !important;
}

/* social (facultatif, tu peux cacher comme la maquette) */
#ProfessionalTraining .training-member .social {
    display: none;
}

.training-h3 {
    color: #f4e4a1;
}

/* --------------------
   BUTTON (bleu + centré)
   -------------------- */
.btn-ProfessionalTraining {
    border: 1;
    padding: 10px 14px;
    border-radius: 999px;
    background: #1c6ea4;
    border-color: #1c6ea4;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 15px;
}

.ProfessionalTraining-filter {
    display: flex;
    flex-wrap: wrap; /* Permet d’avoir des éléments sur plusieurs lignes */
    gap: 15px; /* Espace entre les éléments */
    margin-bottom: 30px; /* Espace sous le formulaire */
    align-items: center;
}

/* Style du select (filtre) */
.ProfessionalTraining-filter select {
    height: 60px; /* augmente la hauteur du filtre */
    min-width: 200px; /* largeur minimale */
    padding: 5px 10px;
    font-size: 16px;
}

.btn-filter {
    border: 1;
    padding: 10px 14px;
    background: #1c6ea4;
    border-color: #1c6ea4;
    color: #ffffff;
    font-weight: 700;
}

.btn-pdf-global {
    padding: 10px 16px;
    background: #1f5778;
    color: var(--pahid-yellow);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.btn-pdf-global:hover {
    background: #17445d;
    color: var(--pahid-yellow);
}

/* Pour que le texte sur deux lignes */
.ProfessionalTraining-filter select option {
    white-space: normal; /* autorise le retour à la ligne dans le texte */
}

/* Style du bouton */
.ProfessionalTraining-filter .btn-filter {
    height: 60px; /* même hauteur que le select */
    padding: 0 20px;
    font-size: 16px;
    align-self: flex-start; /* aligne le bouton sur le haut du select */
}

/* Barre de recherche */
.ProfessionalTraining-filter input[type="text"] {
    flex-grow: 1; /* prend tout l’espace disponible */
    min-width: 250px;
    height: 60px;
    padding: 10px 15px;
    font-size: 16px;
    margin-left: 10px; /* un peu d’espace par rapport au filtre */
}

.Professional-Training-detail {
    margin: 70px 0;
}

.Professional-Training-detail-title {
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 35px;
    color: #154d71;
}

.Professional-Training-detail .row {
    background-color: #fff9af;
    border: 1px solid #4f6c7c;
    padding: 18px 24px;
    align-items: center;
}
/* IMAGE */
.ProfessionalTraining-detail-img {
    width: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #4f6c7c;
}

/* TEXTE */

.ProfessionalTraining-detail-content h3 {
    color: #154d71;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
}

.ProfessionalTraining-detail-content p {
    color: #154d71;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 22px;
}

/* BOUTON */
.one-ProfessionalTraining-contact,
.btn-ProfessionalTraining-pdf {
    display: inline-block;
    width: auto;
    min-width: 100px;
    text-align: center;
    background-color: #1f5778;
    color: #f4e4a1;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    margin-right: 2%;
}

.one-ProfessionalTraining-contact:hover .btn-ProfessionalTraining-pdf:hover {
    color: #f4e4a1;
    background-color: #5092b8;
}

.form-container-training {
    background: #1f4e6b;
    padding: 40px;
    width: 500px;
    margin: auto;
    border-radius: 5px;
}

.form-group-training {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group-training label {
    color: #fff;
    font-size: 12px;
    margin-bottom: 5px;
    text-align: left; /* 🔥 important */
}

.form-group-training input,
.form-group-training textarea,
.form-group-training select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 2px;
}

.form-group-training-description {
    height: 100px;
}

.new-training-btn-submit {
    background: #3fa9f5;
    color: white;
    border: none;
    padding: 10px;
    width: 200px;
    margin: 20px auto 0;
    display: block;
    cursor: pointer;
}

.h1-new-training-form,
.h1-edit-training-form {
    text-align: center;
}

.btn-new-return-training,
.btn-edit-return-training {
    margin-left: 10%;
    text-align: center;
}

/* =========================
   MODE PUBLIC (VISITEUR)
   ========================= */
.public-mode .row {
    background-color: #fff9af;
    border: 1px solid #4f6c7c;
}

.public-mode .ProfessionalTraining-detail-content h3,
.public-mode .ProfessionalTraining-detail-content p,
.public-mode .Professional-Training-detail-title {
    color: #154d71;
}

/* boutons public */
.public-mode .btn-ProfessionalTraining {
    background-color: #1f5778;
    color: #f4e4a1;
}

.public-mode .btn-ProfessionalTraining:hover {
    background-color: #5092b8;
    color: #f4e4a1;
}

/* =========================
   MODE ADMIN
   ========================= */
.admin-mode .row {
    background-color: #1f4f6f;
    border: 1px solid #0e2f44;
}

.admin-mode .ProfessionalTraining-detail-content h3,
.admin-mode .ProfessionalTraining-detail-content p,
.admin-mode .Professional-Training-detail-title {
    color: #f4e4a1;
}

/* boutons admin */
.admin-mode .btn-warning {
    background-color: #f4e4a1;
    color: black !important;
    border: none;
}

.ProfessionalTraining-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-mode .btn-danger {
    background-color: #f4e4a1;
    color: black !important;
    border: none;
}

.admin-mode .btn-warning:hover {
    background-color: #b58d16;
}

.admin-mode .btn-danger:hover {
    background-color: #b0bb1d;
}

/* rgpd*/

.rgpd-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.rgpd-content {
    background: white;
    padding: 20px;
    max-width: 500px;
    margin: 10% auto;
}

.btn-rgpd {
    background-color: var(--pahid-blue);
    color: var(--white);
}
