

/* :root {
    --formasoft-green: #9eb330;
    --formasoft-green-dark: #7d8c25;
    --formasoft-bg: #f3f3f3;
    --formasoft-text: #333;
    --formasoft-muted: #6c757d;
    --formasoft-border: #ddd;
    --formasoft-soft: rgba(158, 179, 48, .12);
    --formasoft-success: #198754;
    --formasoft-info: #0dcaf0;
    --formasoft-warning: #ffc107;
    --formasoft-danger: #dc3545;
    --formasoft-light: #f8f9fa;
    --formasoft-dark: #212529;

    --bs-primary : var(--formasoft-green);
    --bs-secondary : var(--formasoft-green-dark);
    --bs-success : var(--formasoft-success);
    --bs-info : var(--formasoft-info);
    --bs-warning : var(--formasoft-warning);
    --bs-danger : var(--formasoft-danger);
    --bs-light : var(--formasoft-light);
    --bs-dark : var(--formasoft-dark);
} */

/* =============================================
   HEADER — DROPDOWN
   ============================================= */

.navbar .dropdown-menu {
    background: #2a2a2a !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: 220px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.navbar .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.navbar .dropdown-item {
    color: #ccc !important;
    background: #2a2a2a !important;
    padding: .6rem 1.25rem;
    font-size: .85rem;
    border-bottom: 1px solid #333;
    white-space: nowrap;
}

.navbar .dropdown-item:last-child {
    border-bottom: none;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: #9eb330 !important;
    color: #fff !important;
}

/* =============================================
   HEADER — MEGA MENU
   ============================================= */

.mega-menu-item {
    position: relative !important;
}

.mega-menu-panel {
    position: absolute;
    left: -632%;
    width: auto;
    background: #2a2a2a !important;
    z-index: 1031;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    padding: 0 !important;
}

.mega-menu-item:hover .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-col-title {
    color: #9eb330;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .4rem .75rem;
}

.mega-menu-col ul li a {
    color: #ccc !important;
    background: #2a2a2a !important;
    font-size: .8rem;
    text-decoration: none;
    display: block;
    padding: .35rem .75rem;
    border-bottom: 1px solid #333;
    white-space: nowrap;
}

.mega-menu-col ul li:last-child a {
    border-bottom: none;
}

.mega-menu-col ul li a:hover {
    background: #9eb330 !important;
    color: #fff !important;
}

.mega-menu-col + .mega-menu-col {
    border-left: 1px solid #333;
}

/* =============================================
   HEADER — NAV LINKS
   ============================================= */

.navbar .nav-link {
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar .nav-link:hover {
    background: #9eb330 !important;
    color: #fff !important;
}

/* =============================================
   GLOBAL
   ============================================= */

body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Raleway', sans-serif;
}

::selection {
    background: #9eb330;
    color: #fff;
}

/* =============================================
   ACCUEIL — CARTES SERVICES
   ============================================= */

.service-card-wrapper {
    position: relative;
    overflow: hidden;
}

.service-card {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.service-card-overlay {
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    transition: top 0.35s ease;
    z-index: 2;
}

.service-card-wrapper:hover .service-card-overlay {
    top: 0;
}


/* =============================================
   PROJETS RÉCENTS (accueil + page standard)
   ============================================= */

.project-item {
    position: relative;
    overflow: hidden;
}
/*
Source - https://stackoverflow.com/a/29642222
Posted by Tom
Retrieved 2026-05-29, License - CC BY-SA 3.0
*/

img {
  display: block;
  max-width: 100%;
  height: auto;
}


.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(158, 179, 48, 0.92);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-overlay-content {
    color: #fff;
    text-align: left;
}

.project-overlay-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-overlay-content p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.9;
}

.project-overlay-btn {
    align-self: flex-end;
    color: #fff;
    border: 1px solid #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
}

.project-overlay-btn:hover {
    background: #fff;
    color: #9eb330;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

/* =============================================
   PAGE STANDARD — ARTICLE
   ============================================= */

#texte_article h2 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

#texte_article h3 {
    font-size: 1.1rem;
    color: #9eb330;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

#texte_article strong {
    color: #333;
}

#texte_article ul {
    padding-left: 1.2rem;
}

#texte_article ul li {
    margin-bottom: 0.5rem;
}

#texte_article a {
    color: #9eb330;
}

.btn-formation {
    background: #9eb330;
    color: #fff;
    border: 1px solid #fff;
}

.btn-formation:hover {
    background: #fff;
    color: #9eb330;
    border-color: #9eb330;
}

/* =============================================
   PAGE LISTE — ACCORDION
   ============================================= */

.accordion-liste-btn.collapsed {
    transition: background 0.2s ease, color 0.2s ease;
}

.accordion-liste-btn.collapsed:hover {
    background: #555 !important;
    color: #fff !important;
}

.accordion-liste-btn.collapsed:hover .accordion-liste-icon {
    color: #fff !important;
}

/* =============================================
   TEXTE ARTICLE
   ============================================= */

.text-article h2,
#tinymce h2 {
  font-weight: 500;
  font-size: 2rem;
  /* text-transform: uppercase; */
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #555;
  letter-spacing: 1px;
}

.text-article h3,
#tinymce h3 {
  font-weight: 400;
  font-size: 0.875rem;
  /* text-transform: uppercase; */
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #555;
  letter-spacing: 1px;
}

.text-article h4,
#tinymce h4 {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #555;
  letter-spacing: 1px;
}

.text-article p,
#tinymce p {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.75;
}

.text-article ul,
#tinymce ul {
  list-style: none;
  padding-left: 0;
}

.text-article li,
#tinymce li {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.75;
  margin-bottom: 0.5rem;
  margin-left: 1.5rem;
}

.text-article li::before,
#tinymce li::before {
  content: '\F27B';
  font-family: 'bootstrap-icons';
  font-weight: 900;
  color: #9eb330;
  margin-right: 0.75rem;
  margin-left: -1.5rem;
}

/* =============================================
   TEXT ARTICLE — DARK BACKGROUND
   ============================================= */

footer .text-article h2,
footer .text-article h3,
footer .text-article li,
footer .text-article a {
  color: #fff;
}
footer .text-article h4 {
  color: #999;
}

footer .text-article p {
    color: #777;
}

footer .text-article a {
  color: #9eb330;
}

footer .text-article a:hover {
  color: #fff;
}




/* =============================================
   PDF - FORMATIONS
   ============================================= */



 .row {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

.row>div {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

.row>div:last-child {
    margin-right: 0;
}


/* Fix wkhtmltopdf compatibility with BS tables borders */


/* Requires cellspacing="0" on table to prevent spacing */

table {
    border-collapse: separate !important;
}

th,
td {
    border-top: none;
    border-left: none;
    border-right: none;
}

.pdf li {
    padding: 0;
    margin: 0;
}