/* put here your custom css styles */
/* =========================================================
   FIMA TOP BAR
   ========================================================= */

.fima-top-bar {
    width: 100%;
    background: #344484;
    color: #fff;
    position: relative;
    z-index: 10000;
}

.fima-top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;

    min-height: 40px;
border-bottom: 1px #fff3 solid;
    display: flex;
    align-items: center;
}

.fima-top-bar-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.fima-top-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #fff !important;
    text-decoration: none !important;

    font-size: 13px;
    line-height: 1;

    transition: opacity 0.2s ease;
}

.fima-top-link:hover {
    color: #fff !important;
    opacity: 0.75;
}

.fima-top-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* TABLET */

@media (max-width: 900px) {

    .fima-top-bar-inner {
        padding: 0 20px;
    }

    .fima-top-bar-left {
        gap: 18px;
    }

    .fima-top-link {
        font-size: 12px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .fima-top-bar-inner {
        min-height: 36px;
    }

    .fima-top-bar-left {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .fima-top-link svg {
        width: 17px;
        height: 17px;
    }

    .fima-top-link:first-child {
        font-size: 12px;
    }

    .fima-top-link:first-child span {
        display: inline;
    }

}
/* ============================================
   FIMA — NAVIGATION PRINCIPALE
   ============================================ */

.fima-main-nav {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  z-index: 9999 !important;
}

.fima-main-nav .fima-menu {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;

  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fima-main-nav .fima-menu > .menu-item {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ============================================
   LIENS TOP LEVEL
   ============================================ */

.fima-main-nav .fima-menu > .menu-item > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;

  height: 44px !important;
  padding: 0 0 !important;

  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;

  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;

  cursor: pointer !important;

  transition:
    color 0.2s ease !important,
    opacity 0.2s ease !important;
}

.fima-main-nav .fima-menu > .menu-item > a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}


/* ============================================
   CHEVRON
   ============================================ */

.fima-main-nav
.fima-menu
> .menu-item.menu-item-has-children
> a::after {

  content: "" !important;

  display: block !important;

  width: 16px !important;
  height: 16px !important;

  flex: 0 0 16px !important;

  background-color: currentColor !important;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;

  -webkit-mask-position: center !important;
  mask-position: center !important;

  -webkit-mask-size: contain !important;
  mask-size: contain !important;

  transition: transform 0.2s ease !important;
}

.fima-main-nav
.fima-menu
> .menu-item.menu-item-has-children:hover
> a::after,
.fima-main-nav
.fima-menu
> .menu-item.menu-item-has-children.sfHover
> a::after {

  transform: rotate(180deg) !important;
}


/* ============================================
   ZONE HOVER
   Évite la fermeture en descendant vers le menu
   ============================================ */



/* ============================================
   SOUS-MENU
   ============================================ */

.fima-main-nav .fima-menu > .menu-item > .sub-menu {

  display: block !important;

  position: absolute !important;
  left: 0 !important;

  min-width: 280px !important;
  max-width: 90vw !important;

  margin: 0 !important;
  padding: 0.75rem !important;

  list-style: none !important;

  background: #fff !important;

  border: 1px solid #e5e7eb !important;
  border-radius: 0.75rem !important;

  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.18) !important;

  z-index: 99999 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  transform: translateY(-6px) !important;

  transition:
    opacity 0.15s ease !important,
    transform 0.15s ease !important,
    visibility 0.15s ease !important;
}


/* ============================================
   AFFICHAGE DROPDOWN
   ============================================ */

.fima-main-nav
.fima-menu
> .menu-item.menu-item-has-children:hover
> .sub-menu,

.fima-main-nav
.fima-menu
> .menu-item.menu-item-has-children.sfHover
> .sub-menu {

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  transform: translateY(0) !important;
}


/* ============================================
   DROPDOWN DU DERNIER ITEM
   ============================================ */

.fima-main-nav
.fima-menu
> .menu-item:last-child
> .sub-menu {

  left: auto !important;
  right: 0 !important;
}


/* ============================================
   ITEMS SOUS-MENU
   ============================================ */

.fima-main-nav .sub-menu .menu-item {

  display: block !important;

  width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
}

.fima-main-nav .sub-menu .menu-item > a {

  display: flex !important;
  align-items: center !important;

  width: 100% !important;
  min-height: 42px !important;

  gap: 0.75rem !important;

  padding: 0.65rem 0.75rem !important;

  box-sizing: border-box !important;

  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;

  color: #1f2937 !important;

  text-decoration: none !important;
  white-space: nowrap !important;

  background: transparent !important;

  border-radius: 0.5rem !important;

  transition:
    background 0.15s ease !important,
    color 0.15s ease !important,
    padding-left 0.15s ease !important;
}

.fima-main-nav .sub-menu .menu-item > a:hover {

  color: #111827 !important;
  background: #f3f4f6 !important;

  padding-left: 0.95rem !important;
}


/* ============================================
   PAS DE CHEVRON DANS LES SOUS-MENUS
   ============================================ */

.fima-main-nav .sub-menu .menu-item > a::after {

  display: none !important;
}


.header .logo a img {
    width: 129px !important;
}
.header-container {
    padding: 0;
    background: #344484 !important;
}

.actualites-link > a {
    
        padding: 0 !important;

        font-size: 17px !important;
        font-weight: 700 !important;

        color: #df171b !important;
}

.actualites-link > a::before {
    content: none !important;
    display: none !important;
}
/* ============================================
   ICÔNES SOUS-MENU
   ============================================ */

.fima-main-nav .sub-menu .menu-item > a::before {

  content: "" !important;

  display: block !important;

  width: 18px !important;
  height: 18px !important;

  flex: 0 0 18px !important;

  background-color: #6b7280 !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;

  -webkit-mask-position: center !important;
  mask-position: center !important;

  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}


/* ============================================
   LA MANUFACTURE
   ============================================ */

#menu-item-4857 > a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/svg%3E") !important;
}

#menu-item-4858 > a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") !important;
}

#menu-item-4859 > a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3-5-3 1.523-9.11'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3-5-3 1.523-9.11'/%3E%3C/svg%3E") !important;
}

#menu-item-4860 > a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E") !important;
}


/* ============================================
   RÉALISATIONS
   ============================================ */

#menu-item-4844 > a::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E") !important;
}


/* ============================================
   PRODUITS
   ============================================ */




/* ============================================
   ACTUALITÉS
   ============================================ */

#menu-item-4845 > a::before,
#menu-item-4846 > a::before,
#menu-item-4847 > a::before {

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8'/%3E%3Cpath d='M15 18h-5'/%3E%3Cpath d='M10 6h8v4h-8V6Z'/%3E%3C/svg%3E") !important;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8'/%3E%3Cpath d='M15 18h-5'/%3E%3Cpath d='M10 6h8v4h-8V6Z'/%3E%3C/svg%3E") !important;
}


/* ============================================
   SERVICES & PROXIMITÉ
   ============================================ */

#menu-item-4862 > a::before {

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E") !important;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'/%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 16 8'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E") !important;
}

#menu-item-4863 > a::before {

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") !important;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") !important;
}

#menu-item-4864 > a::before {

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") !important;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") !important;
}


/* ============================================
   SÉPARATEUR RECRUTEMENT
   ============================================ */

.fima-main-nav
.sub-menu
.button-plus-produit {

  margin-top: 0.5rem !important;
  padding-top: 0.75rem !important;

  border-top: 1px solid #e5e7eb !important;
}


/* ============================================
   BOUTON RECRUTEMENT
   ============================================ */

.fima-main-nav
.sub-menu
.button-plus-produit
> a {

  background: #b91c1c !important;
  color: #fff !important;

  padding: 0.75rem 1rem !important;

  border-radius: 0.5rem !important;

  font-weight: 600 !important;
}

.fima-main-nav
.sub-menu
.button-plus-produit
> a:hover {

  background: #991b1b !important;
  color: #fff !important;
}


/* Icône blanche */

.fima-main-nav
.sub-menu
.button-plus-produit
> a::before {

  width: 20px !important;
  height: 20px !important;

  background-color: #fff !important;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='7' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E") !important;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='7' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E") !important;
}

.fima-main-nav
.sub-menu
.button-plus-produit
> a::after {

  display: none !important;
}


/* ============================================
   ITEM ACTIF
   ============================================ */

.fima-main-nav
.sub-menu
.current-menu-item
> a,

.fima-main-nav
.sub-menu
.current_page_item
> a {

  background: #f3f4f6 !important;
  color: #111827 !important;
  font-weight: 500 !important;
}


/* ============================================
   SUPERFISH — NE PAS LAISSER SES STYLES
   CASSER LE DROPDOWN
   ============================================ */

.fima-main-nav .sf-menu li:hover > ul,
.fima-main-nav .sf-menu li.sfHover > ul {

  display: block !important;
}

.fima-main-nav .sf-menu ul {

  margin: 0 !important;
  padding: 0.75rem !important;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {

  .fima-main-nav {
    display: none !important;
  }

}

/* ============================================
   FIX DROPDOWN — AUCUN GAP ENTRE PARENT ET MENU
   ============================================ */

.fima-main-nav .fima-menu > .menu-item.menu-item-has-children {
  position: relative !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Zone invisible qui maintient le hover */
.fima-main-nav .fima-menu > .menu-item.menu-item-has-children::after {
  content: "" !important;
  position: absolute !important;

  left: 0 !important;
  right: 0 !important;

  top: 100% !important;
  height: 12px !important;

  background: transparent !important;

  z-index: 99998 !important;
}


/* ============================================
   SOUS-MENU
   ============================================ */

.fima-main-nav .fima-menu > .menu-item > .sub-menu {
  display: block !important;

  position: absolute !important;

  top: 100% !important;
  left: 0 !important;

  margin: 12px 0 0 0 !important;

  min-width: 280px !important;
  max-width: 90vw !important;

  padding: 0.75rem !important;

  list-style: none !important;

  background: #fff !important;

  border: 1px solid #e5e7eb !important;
  border-radius: 0.75rem !important;

  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18) !important;

  z-index: 99999 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  transform: translateY(-6px) !important;

  transition:
    opacity 0.15s ease !important,
    transform 0.15s ease !important,
    visibility 0.15s ease !important;
}


/* ============================================
   OUVERTURE
   ============================================ */

.fima-main-nav
.fima-menu
> .menu-item.menu-item-has-children:hover
> .sub-menu,

.fima-main-nav
.fima-menu
> .menu-item.menu-item-has-children.sfHover
> .sub-menu {

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  transform: translateY(0) !important;
}


/* =========================================================
   MEGA MENU PRODUITS
   UNIQUEMENT #menu-item-4010
   DESKTOP UNIQUEMENT
   ========================================================= */

@media (min-width: 1025px) {

    /* Le sous-menu de PRODUITS uniquement */
    #menu-item-4010 > ul.sub-menu {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;

        width: 600px !important;
        min-width: 600px !important;
        max-width: 600px !important;

        padding: 30px !important;
        margin: 0 !important;

        column-gap: 55px !important;
        row-gap: 0 !important;

        box-sizing: border-box !important;

        background: #fff !important;
        border: none !important;
        border-radius: 12px !important;

        box-shadow: 0 15px 35px rgba(0, 0, 0, .12) !important;

        list-style: none !important;
    }


    /* =====================================================
       RESET DES LI — PRODUITS UNIQUEMENT
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > li {
        display: block !important;

        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: none !important;
        background: transparent !important;

        list-style: none !important;
        box-shadow: none !important;
    }


    /* Supprime les carrés / pseudo éléments du thème */
    #menu-item-4010 > ul.sub-menu > li::before,
    #menu-item-4010 > ul.sub-menu > li::after {
        display: none !important;
        content: none !important;
    }


    #menu-item-4010 > ul.sub-menu > li > a::before,
    #menu-item-4010 > ul.sub-menu > li > a::after {
        display: none !important;
        content: none !important;
    }


    /* =====================================================
       COLONNE PVC
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > #menu-item-4852 {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    #menu-item-4010 > ul.sub-menu > #menu-item-4853 {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    #menu-item-4010 > ul.sub-menu > #menu-item-4854 {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }


    /* =====================================================
       COLONNE ALUMINIUM
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > #menu-item-4851 {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    #menu-item-4010 > ul.sub-menu > #menu-item-4855 {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }


    /* =====================================================
       LIEN "VOIR TOUTES LES GAMMES"
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > #menu-item-4856 {
        grid-column: 1 / 3 !important;
        grid-row: 4 !important;

        margin-top: 20px !important;
        padding-top: 20px !important;

        border-top: 1px solid #dfe2e7 !important;
    }


    /* =====================================================
       TOUS LES LIENS
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > li > a {
        display: block !important;

        width: auto !important;
        height: auto !important;

        margin: 0 !important;
        border: none !important;

        background: transparent !important;
        box-shadow: none !important;

        text-decoration: none !important;
    }


    /* =====================================================
       TITRES : PVC / ALUMINIUM
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > #menu-item-4852 > a,
    #menu-item-4010 > ul.sub-menu > #menu-item-4851 > a {

        padding: 0 0 15px 0 !important;

        font-family: Georgia, "Times New Roman", serif !important;
        font-size: 17px !important;
        font-weight: 700 !important;

        line-height: 1.4 !important;

        color: #071d3b !important;
    }


    /* =====================================================
       COSMO / CUZCO
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > #menu-item-4853 > a,
    #menu-item-4010 > ul.sub-menu > #menu-item-4854 > a,
    #menu-item-4010 > ul.sub-menu > #menu-item-4855 > a {

        padding: 7px 0 !important;

        font-size: 16px !important;
        line-height: 1.4 !important;

        color: #4c5058 !important;
    }


    /* =====================================================
       VOIR TOUTES LES GAMMES
       ===================================================== */

    #menu-item-4010 > ul.sub-menu > #menu-item-4856 > a {

        padding: 0 !important;

        font-size: 17px !important;
        font-weight: 700 !important;

        color: #df171b !important;
    }

}

#menu-item-4861.button-plus-produit > a,
#menu-item-4861.button-plus-produit > a:link,
#menu-item-4861.button-plus-produit > a:visited,
#menu-item-4861.button-plus-produit > a:hover,
#menu-item-4861.button-plus-produit > a:focus,
#menu-item-4861.button-plus-produit > a:active {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

#menu-item-4848.actualites-link > a,
#menu-item-4848.actualites-link > a:link,
#menu-item-4848.actualites-link > a:visited,
#menu-item-4848.actualites-link > a:hover,
#menu-item-4848.actualites-link > a:focus,
#menu-item-4848.actualites-link > a:active {
    color: #ff0000 !important;
    -webkit-text-fill-color: #ff0000 !important;
}

#menu-item-4848.actualites-link > a::before {
    content: none !important;
    display: none !important;
}



/* =========================================
   FIMA HERO
   ========================================= */

.fima-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Image de fond */
.fima-hero-bg {
 
    
      position: absolute;
    inset: 0;

background-image: url("/wp-content/uploads/hero-factory-CdkVidcS.jpg");
    background-size: cover;

    /* Position comme sur ta capture */
    background-position: center 35%;

    background-repeat: no-repeat;
}

/* Overlay bleu */
.fima-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 49, 78, 0.75);
}

/* Container */
.fima-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 128px 32px 80px;
}

/* Contenu */
.fima-hero-content {
    max-width: 900px;
}

/* =========================================
   BADGE
   ========================================= */

.fima-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 20px;
    margin-bottom: 32px;

    background: #ffffff;
    border-radius: 8px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

    color: #1f2937;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    animation: fimaFadeUp 0.6s ease-out both;
}

.fima-hero-badge svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: #c91d1d;
}

/* =========================================
   TITRE
   ========================================= */

.fima-hero-title {
    margin: 0 0 24px;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 60px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -1.5px;

    animation: fimaFadeUp 0.6s ease-out 0.1s both;
}

.fima-hero-title span {
    color: #c91d1d;
}

/* =========================================
   TEXTE
   ========================================= */

.fima-hero-text {
    max-width: 680px;
    margin: 0 0 40px;

    color: rgba(255, 255, 255, 0.90);

    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;

    animation: fimaFadeUp 0.6s ease-out 0.2s both;
}

/* =========================================
   BOUTONS
   ========================================= */

.fima-hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;

    animation: fimaFadeUp 0.6s ease-out 0.3s both;
}

.fima-btn {
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 40px;

    border-radius: 8px;

    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;

    text-decoration: none;
    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.fima-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Bouton principal */
.fima-btn-primary {
    border: 2px solid #c91d1d;

    background: #c91d1d;
    color: #ffffff;

    box-shadow: 0 8px 25px rgba(231, 111, 34, 0.35);
}

.fima-btn-primary:hover {
    background: #d95f16;
    border-color: #d95f16;

    transform: scale(1.02);

    box-shadow: 0 12px 35px rgba(231, 111, 34, 0.45);
}

.fima-btn-primary:active {
    transform: scale(0.98);
}

/* Bouton secondaire */
.fima-btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.35);

    background: transparent;
    color: #ffffff;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.fima-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.55);

    transform: scale(1.02);
}

.fima-btn-secondary:active {
    transform: scale(0.98);
}

/* =========================================
   ANIMATION
   ========================================= */

@keyframes fimaFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   TABLETTE
   ========================================= */

@media (max-width: 1024px) {

    .fima-container {
        padding: 120px 24px 70px;
    }

    .fima-hero-title {
        font-size: 50px;
    }

    .fima-hero-text {
        font-size: 19px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .fima-hero {
        min-height: 720px;
    }

    .fima-container {
        padding: 110px 20px 60px;
    }

    .fima-hero-content {
        max-width: 100%;
    }

    .fima-hero-badge {
        padding: 10px 15px;
        margin-bottom: 24px;

        font-size: 13px;
    }

    .fima-hero-title {
        font-size: 38px;
        line-height: 1.15;
        letter-spacing: -0.8px;
        margin-bottom: 20px;
    }

    .fima-hero-text {
        font-size: 18px;
        line-height: 1.55;
        margin-bottom: 32px;
    }

    .fima-hero-text br {
        display: none;
    }

    .fima-hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .fima-btn {
        width: 100%;
        min-height: 54px;
        padding: 0px;
        font-size: 16px;
    }
}

/* =========================================
   PETIT MOBILE
   ========================================= */

@media (max-width: 480px) {

    .fima-hero {
        min-height: 680px;
    }

    .fima-container {
        padding: 100px 16px 50px;
    }

    .fima-hero-title {
        font-size: 34px;
    }

    .fima-hero-text {
        font-size: 17px;
    }

    .fima-hero-badge span {
        white-space: normal;
    }
}


/* =====================================================
   FIMA - DELAIS DE LIVRAISON
   ===================================================== */

.fima-delivery-section {
    width: 100%;
    padding: 48px 0;
    background: #f3f5f7;
    border-top: 1px solid #dfe3e6;
    border-bottom: 1px solid #dfe3e6;
    scroll-margin-top: 96px;
    box-sizing: border-box;
}

.fima-delivery-section *,
.fima-delivery-section *::before,
.fima-delivery-section *::after {
    box-sizing: border-box;
}


/* =====================================================
   CONTAINER
   ===================================================== */

.fima-delivery-container {
    width: calc(100% - 48px);
    max-width: 1280px;
    margin: 0 auto;
}


/* =====================================================
   HEADER
   ===================================================== */

.fima-delivery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.fima-delivery-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fima-delivery-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #123b5d;
    border-radius: 50%;
}

.fima-delivery-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.fima-delivery-title-wrapper h3 {
    margin: 0 0 4px;

    color: #17212b;

    font-family: Arial, sans-serif;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.fima-delivery-title-wrapper p {
    margin: 0;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}


/* =====================================================
   DATE
   ===================================================== */

.fima-delivery-date {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 14px;
    white-space: nowrap;
}

.fima-delivery-date svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}


/* =====================================================
   GRID
   ===================================================== */

.fima-delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}


/* =====================================================
   CARD
   ===================================================== */

.fima-delivery-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    background: #ffffff;

    border: 1px solid #dfe3e6;
    border-radius: 9px;

    overflow: hidden;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}


/* =====================================================
   CARD HEADER
   ===================================================== */

.fima-card-header {
    padding: 14px 16px;

    background: #123b5d;
    color: #ffffff;
}

.fima-card-header h4 {
    margin: 0;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color:#fff !important;
}

.fima-card-header p {
    margin: 4px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}


/* =====================================================
   TABLE
   ===================================================== */

.fima-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.fima-delivery-card table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;

    font-family: Arial, sans-serif;
    font-size: 12px;
}

.fima-delivery-card th {
    padding: 10px 12px;

    background: #f4f6f8;

    color: #687581;

    font-size: 12px;
    font-weight: 700;

    border-bottom: 1px solid #dfe3e6;
}

.fima-delivery-card th:first-child {
    width: auto;
    text-align: left;
}

.fima-delivery-card th:nth-child(2) {
    width: 70px;
    text-align: center;
}

.fima-delivery-card th:nth-child(3) {
    width: 80px;
    text-align: right;
}

.fima-delivery-card td {
    padding: 10px 12px;

    color: #25313c;

    line-height: 1.4;

    vertical-align: middle;

    border-bottom: 1px solid #e5e8eb;
}

.fima-delivery-card tbody tr:last-child td {
    border-bottom: none;
}


/* Finition */

.fima-delivery-card td:first-child {
    text-align: left;
}


/* Semaine */

.fima-delivery-card td:nth-child(2) {
    text-align: center;

    color: #123b5d;

    font-weight: 700;

    white-space: nowrap;
}


/* Délai */

.fima-delivery-card td:nth-child(3) {
    text-align: right;

    color: #df291f;

    font-weight: 700;

    white-space: nowrap;
}


/* =====================================================
   NOTE
   ===================================================== */

.fima-card-note {
    margin: auto 0 0;
    padding: 10px 12px;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    font-style: italic;

    border-top: 1px solid #dfe3e6;
}


/* =====================================================
   DISCLAIMER
   ===================================================== */

.fima-delivery-disclaimer {
    margin-top: 24px;
    padding: 16px 18px;

    background: #ffffff;

    border: 1px solid #dfe3e6;
    border-radius: 9px;
}

.fima-delivery-disclaimer p {
    margin: 0;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1100px) {

    .fima-delivery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fima-delivery-card {
        width: 100%;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .fima-delivery-section {
        padding: 40px 0;
    }

    .fima-delivery-container {
        width: calc(100% - 32px);
    }

    .fima-delivery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 24px;
    }

    .fima-delivery-title-wrapper {
        align-items: flex-start;
    }

    .fima-delivery-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .fima-delivery-title-wrapper h3 {
        font-size: 23px;
    }

    .fima-delivery-title-wrapper p {
        font-size: 13px;
    }

    .fima-delivery-date {
        margin-left: 58px;
        font-size: 13px;
    }

    .fima-card-header {
        padding: 13px 14px;
    }

    .fima-delivery-card th,
    .fima-delivery-card td {
        padding: 9px 10px;
    }
}


/* =====================================================
   PETIT MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .fima-delivery-container {
        width: calc(100% - 24px);
    }

    .fima-delivery-title-wrapper h3 {
        font-size: 21px;
    }

    .fima-delivery-title-wrapper p {
        font-size: 12px;
    }

    .fima-delivery-date {
        margin-left: 0;
    }

    .fima-delivery-card table {
        font-size: 11px;
    }

    .fima-delivery-card th,
    .fima-delivery-card td {
        padding: 9px 8px;
    }

    .fima-delivery-card th:nth-child(2) {
        width: 65px;
    }

    .fima-delivery-card th:nth-child(3) {
        width: 70px;
    }

    .fima-delivery-disclaimer {
        padding: 14px;
    }

    .fima-delivery-disclaimer p {
        font-size: 12px;
    }
}


/* =====================================================
   FIMA - POURQUOI FIMA
   ===================================================== */

.fima-why-section {
    width: 100%;
    padding: 80px 0;
    background: #ffffff;
    box-sizing: border-box;
}

.fima-why-section *,
.fima-why-section *::before,
.fima-why-section *::after {
    box-sizing: border-box;
}


/* =====================================================
   CONTAINER
   ===================================================== */

.fima-why-container {
    width: calc(100% - 48px);
    max-width: 1280px;
    margin: 0 auto;
}


/* =====================================================
   INTRO
   ===================================================== */

.fima-why-intro {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.fima-why-badge {
    display: inline-block;

    padding: 8px 16px;
    margin-bottom: 16px;

    background: rgba(18, 59, 93, 0.10);
    color: #123b5d;

    border-radius: 999px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.fima-why-intro h2 {
    margin: 0 0 16px;

    color: #17212b;

    font-family: Arial, sans-serif;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
}

.fima-why-intro p {
    max-width: 650px;
    margin: 0 auto;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}


/* =====================================================
   STATS
   ===================================================== */

.fima-why-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    max-width: 760px;
    margin: 0 auto 48px;

    gap: 32px;
}

.fima-why-stat {
    text-align: center;
}

.fima-why-stat-number {
    margin-bottom: 4px;

    color: #123b5d;

    font-family: Arial, sans-serif;
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
}

.fima-why-stat-label {
    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}


/* =====================================================
   IMAGE
   ===================================================== */

.fima-why-image {
    max-width: 1024px;
    margin: 0 auto 48px;

    overflow: hidden;

    border-radius: 12px;

    cursor: pointer;
}

.fima-why-image img {
    display: block;

    width: 100%;
    height: auto;

    transition: transform 0.5s ease;
}

.fima-why-image:hover img {
    transform: scale(1.05);
}


/* =====================================================
   FEATURES
   ===================================================== */

.fima-why-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;

    margin-bottom: 64px;
}


/* =====================================================
   FEATURE CARD
   ===================================================== */

.fima-why-card {
    padding: 24px;

    background: #f8fafb;

    border: 1px solid #dfe3e6;
    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.fima-why-card:hover {
    transform: translateY(-4px);

    border-color: rgba(18, 59, 93, 0.25);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}


/* =====================================================
   CARD ICON
   ===================================================== */

.fima-why-card-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    background: rgba(18, 59, 93, 0.10);

    border-radius: 8px;

    color: #123b5d;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        color 0.3s ease;
}

.fima-why-card:hover .fima-why-card-icon {
    background: #123b5d;
    color: #ffffff;

    transform: scale(1.08);
}

.fima-why-card-icon svg {
    width: 28px;
    height: 28px;
}


/* =====================================================
   CARD TEXT
   ===================================================== */

.fima-why-card h3 {
    margin: 0 0 8px;

    color: #17212b;

    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.fima-why-card p {
    margin: 0;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}


/* =====================================================
   CERTIFICATIONS
   ===================================================== */

.fima-certifications {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 24px 40px;

    padding: 24px;

    background: #f3f5f7;

    border-radius: 12px;
}

.fima-certifications-title {
    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.fima-certification-item {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #17212b;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.fima-certification-item svg {
    width: 17px;
    height: 17px;

    color: #2f9e5f;

    flex-shrink: 0;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1100px) {

    .fima-why-features {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .fima-why-section {
        padding: 60px 0;
    }

    .fima-why-container {
        width: calc(100% - 32px);
    }

    .fima-why-intro {
        margin-bottom: 36px;
    }

    .fima-why-intro h2 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .fima-why-intro p {
        font-size: 16px;
    }


    /* Stats */

    .fima-why-stats {
        gap: 12px;
        margin-bottom: 36px;
    }

    .fima-why-stat-number {
        font-size: 34px;
    }

    .fima-why-stat-label {
        font-size: 13px;
    }


    /* Image */

    .fima-why-image {
        margin-bottom: 36px;
        border-radius: 8px;
    }


    /* Cards */

    .fima-why-features {
        grid-template-columns: 1fr;
        gap: 16px;

        margin-bottom: 40px;
    }

    .fima-why-card {
        padding: 20px;
    }


    /* Certifications */

    .fima-certifications {
        flex-direction: column;
        gap: 14px;

        padding: 20px;
    }

}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .fima-why-container {
        width: calc(100% - 24px);
    }

    .fima-why-intro h2 {
        font-size: 30px;
    }

    .fima-why-intro p {
        font-size: 15px;
    }

    .fima-why-stat-number {
        font-size: 30px;
    }

    .fima-why-stat-label {
        font-size: 12px;
    }

    .fima-why-card h3 {
        font-size: 18px;
    }

    .fima-why-card p {
        font-size: 14px;
    }

}


/* =====================================================
   FIMA - PRODUITS
   ===================================================== */

.fima-products-section {
    width: 100%;
    padding: 80px 0;
    background: #f8fafb;
    box-sizing: border-box;
}

.fima-products-section *,
.fima-products-section *::before,
.fima-products-section *::after {
    box-sizing: border-box;
}


/* =====================================================
   CONTAINER
   ===================================================== */

.fima-products-container {
    width: calc(100% - 48px);
    max-width: 1280px;
    margin: 0 auto;
}


/* =====================================================
   INTRO
   ===================================================== */

.fima-products-intro {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.fima-products-badge {
    display: inline-block;

    padding: 8px 16px;
    margin-bottom: 16px;

    background: rgba(223, 41, 31, 0.10);
    color: #df291f;

    border-radius: 999px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.fima-products-intro h2 {
    margin: 0 0 16px;

    color: #17212b;

    font-family: Arial, sans-serif;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
}

.fima-products-intro p {
    max-width: 650px;
    margin: 0 auto;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}


/* =====================================================
   PRODUCTS GRID
   ===================================================== */

.fima-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}


/* =====================================================
   PRODUCT CARD
   ===================================================== */

.fima-product-card {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.fima-product-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}


/* =====================================================
   PRODUCT IMAGE
   ===================================================== */

.fima-product-image {
    position: relative;

    height: 256px;

    overflow: hidden;
}

.fima-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.fima-product-card:hover .fima-product-image img {
    transform: scale(1.05);
}


/* =====================================================
   IMAGE OVERLAY
   ===================================================== */

.fima-product-overlay {
    position: absolute;
    inset: 0;

    opacity: 0.65;
}

.fima-product-overlay-pvc {
    background: linear-gradient(
        to top,
        #123b5d 0%,
        rgba(18, 59, 93, 0.65) 55%,
        rgba(18, 59, 93, 0.15) 100%
    );
}

.fima-product-overlay-alu {
    background: linear-gradient(
        to top,
        #26343f 0%,
        rgba(38, 52, 63, 0.65) 55%,
        rgba(38, 52, 63, 0.15) 100%
    );
}


/* =====================================================
   IMAGE CONTENT
   ===================================================== */

.fima-product-image-content {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 24px;
}

.fima-product-image-content span {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.82);

    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.fima-product-image-content h3 {
    margin: 0;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}


/* =====================================================
   PRODUCT CONTENT
   ===================================================== */

.fima-product-content {
    padding: 24px;
}

.fima-product-description {
    margin: 0 0 24px;

    color: #687581;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}


/* =====================================================
   FEATURES
   ===================================================== */

.fima-product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin: 0 0 24px;
    padding: 0;

    list-style: none;
}

.fima-product-features li {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #17212b;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.fima-product-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;

    border-radius: 50%;

    background: #df291f;
}


/* =====================================================
   PRODUCT BUTTON
   ===================================================== */

.fima-product-button {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 10px 16px;

    background: #ffffff;

    color: #17212b;

    border: 1px solid #d7dde2;
    border-radius: 6px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.fima-product-button svg {
    width: 17px;
    height: 17px;

    transition: transform 0.3s ease;
}

.fima-product-button:hover {
    background: #df291f;
    color: #ffffff;
    border-color: #df291f;
}

.fima-product-button:hover svg {
    transform: translateX(5px);
}


/* =====================================================
   CATALOGUE
   ===================================================== */

.fima-catalogue {
    margin-top: 40px;

    text-align: center;
}

.fima-catalogue-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 10px 16px;

    background: transparent;

    color: #687581;

    border: none;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}

.fima-catalogue-button svg {
    width: 17px;
    height: 17px;
}

.fima-catalogue-button:hover {
    color: #123b5d;
    background: #c91d1d;

    border-radius: 6px;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .fima-products-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .fima-products-section {
        padding: 60px 0;
    }

    .fima-products-container {
        width: calc(100% - 32px);
    }

    .fima-products-intro {
        margin-bottom: 40px;
    }

    .fima-products-intro h2 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .fima-products-intro p {
        font-size: 16px;
    }

    .fima-products-grid {
        gap: 20px;
    }

    .fima-product-image {
        height: 230px;
    }

    .fima-product-image-content {
        padding: 20px;
    }

    .fima-product-image-content h3 {
        font-size: 26px;
    }

    .fima-product-content {
        padding: 20px;
    }

}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .fima-products-container {
        width: calc(100% - 24px);
    }

    .fima-products-intro h2 {
        font-size: 30px;
    }

    .fima-products-intro p {
        font-size: 15px;
    }

    .fima-product-image {
        height: 210px;
    }

    .fima-product-image-content {
        padding: 18px;
    }

    .fima-product-image-content span {
        font-size: 11px;
    }

    .fima-product-image-content h3 {
        font-size: 23px;
    }

    .fima-product-description {
        font-size: 14px;
    }

}
/* =====================================================
   FIMA - REALISATIONS
   ===================================================== */

.fima-real-section {
    width: 100%;
    padding: 80px 0;
    background: #f3f5f7;
    box-sizing: border-box;
}

.fima-real-section *,
.fima-real-section *::before,
.fima-real-section *::after {
    box-sizing: border-box;
}


/* =====================================================
   CONTAINER
   ===================================================== */

.fima-real-container {
    width: calc(100% - 48px);
    max-width: 1280px;
    margin: 0 auto;
}


/* =====================================================
   HEADER
   ===================================================== */

.fima-real-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 48px;
}

.fima-real-title {
    flex: 1;
}

.fima-real-badge {
    display: inline-block;

    padding: 8px 16px;
    margin-bottom: 16px;

    background: rgba(18, 59, 93, 0.10);
    color: #123b5d;

    border-radius: 999px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.fima-real-title h2 {
    margin: 0;

    color: #17212b;

    font-family: Arial, sans-serif;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
}


/* =====================================================
   FILTERS
   ===================================================== */

.fima-real-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 8px;
}

.fima-real-filter {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 16px;

    background: #ffffff;
    color: #687581;

    border: none;
    border-radius: 999px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.fima-real-filter svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;
}

.fima-real-filter:hover {
    background: rgba(18, 59, 93, 0.10);
    color: #123b5d;
}

.fima-real-filter:active {
    transform: scale(0.97);
}

.fima-real-filter-active {
    background: #123b5d;
    color: #ffffff;
}

.fima-real-filter-active:hover {
    background: #123b5d;
    color: #ffffff;
}


/* =====================================================
   GRID
   ===================================================== */

.fima-real-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-bottom: 48px;
}


/* =====================================================
   CARD
   ===================================================== */

.fima-real-card {
    position: relative;

    overflow: hidden;

    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.fima-real-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}


/* =====================================================
   IMAGE
   ===================================================== */

.fima-real-image {
    position: relative;

    width: 100%;
    height: 256px;

    overflow: hidden;
}

.fima-real-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.fima-real-card:hover .fima-real-image img {
    transform: scale(1.10);
}


/* =====================================================
   OVERLAY
   ===================================================== */

.fima-real-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(18, 59, 93, 0.88),
        rgba(18, 59, 93, 0.20) 60%,
        transparent
    );

    opacity: 0;

    transition: opacity 0.3s ease;
}

.fima-real-card:hover .fima-real-overlay {
    opacity: 1;
}


/* =====================================================
   INFO
   ===================================================== */

.fima-real-info {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 16px;

    transform: translateY(100%);

    transition: transform 0.3s ease;
}

.fima-real-card:hover .fima-real-info {
    transform: translateY(0);
}

.fima-real-info span {
    display: block;

    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.82);

    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.fima-real-info h3 {
    margin: 0;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}


/* =====================================================
   MORE BUTTON
   ===================================================== */

.fima-real-more {
    display: flex;
    justify-content: center;

    text-align: center;
}

.fima-real-more-button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 32px;

    background: #ffffff;
    color: #17212b;

    border: 1px solid #d7dde2;
    border-radius: 6px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease;
}

.fima-real-more-button svg {
    width: 17px;
    height: 17px;

    transition: transform 0.3s ease;
}
/* =========================================
   RESPONSIVE - FIMA RÉALISATIONS
========================================= */


/* TABLETTE */
@media (max-width: 1024px) {

    .fima-real-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .fima-real-image {
        height: 240px;
    }

    .fima-real-filters {
        justify-content: center;
    }

}


/* MOBILE */
@media (max-width: 767px) {

    /* FILTRES */
    .fima-real-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;
        gap: 8px;

        justify-content: stretch;
        margin-bottom: 24px;
    }

    .fima-real-filter {
        width: 100%;
        min-width: 0;

        min-height: 44px;
        padding: 10px 8px;

        font-size: 13px;
        gap: 6px;

        white-space: normal;
        text-align: center;
    }

    .fima-real-filter svg {
        width: 16px;
        height: 16px;
    }


    /* GRILLE */
    .fima-real-grid {
        grid-template-columns: 1fr;
        gap: 20px;

        margin-bottom: 32px;
    }


    /* IMAGE */
    .fima-real-image {
        height: 240px;
    }


    /* INFO : visible sur mobile */
    .fima-real-overlay {
        opacity: 1;
    }

    .fima-real-info {
        transform: translateY(0);
        padding: 16px;
    }

    .fima-real-info h3 {
        font-size: 17px;
    }


    /* BOUTON VOIR PLUS */
    .fima-real-more-button {
        width: 100%;
        padding: 12px 20px;
    }

}


/* PETITS MOBILES */
@media (max-width: 400px) {

    .fima-real-filter {
        font-size: 12px;
        padding: 10px 5px;
    }

    .fima-real-filter svg {
        width: 15px;
        height: 15px;
    }

    .fima-real-image {
        height: 220px;
    }

}
.fima-real-more-button:hover {
    background: #df291f;
    color: #ffffff;
    border-color: #df291f;
}

.fima-real-more-button:hover svg {
    transform: translateX(5px);
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1000px) {

    .fima-real-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fima-real-filters {
        justify-content: flex-start;
    }

    .fima-real-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 767px) {

    .fima-real-section {
        padding: 60px 0;
    }

    .fima-real-container {
        width: calc(100% - 32px);
    }

    .fima-real-header {
        margin-bottom: 36px;
    }

    .fima-real-title h2 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .fima-real-filters {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .fima-real-filters::-webkit-scrollbar {
        display: none;
    }

    .fima-real-filter {
        flex-shrink: 0;
    }

    .fima-real-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .fima-real-image {
        height: 250px;
    }

    /*
     * Sur mobile, l'information reste visible
     * car il n'y a pas de vrai hover.
     */

    .fima-real-overlay {
        opacity: 1;
    }

    .fima-real-info {
        transform: translateY(0);
    }

}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 480px) {

    .fima-real-container {
        width: calc(100% - 24px);
    }

    .fima-real-title h2 {
        font-size: 30px;
    }

    .fima-real-badge {
        font-size: 13px;
    }

    .fima-real-filter {
        font-size: 13px;
        padding: 8px 14px;
    }

    .fima-real-image {
        height: 230px;
    }

    .fima-real-more-button {
        width: 100%;
    }

}



/* =========================================================
   FIMA - INSTALLATEUR / PARTICULIERS
   ========================================================= */

.fima-installateur {
    padding: 80px 20px;
    background: #ffffff;
    scroll-margin-top: 100px;
}

.fima-installateur-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.fima-installateur-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


/* =========================================================
   COLONNE GAUCHE
   ========================================================= */

.fima-installateur-content {
    padding-right: 20px;
}

.fima-installateur-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 16px;

    background: rgba(230, 105, 30, 0.10);
    border-radius: 999px;

    margin-bottom: 24px;

    color: #c91d1d;
    font-size: 14px;
    font-weight: 600;
}

.fima-installateur-badge svg {
    width: 17px;
    height: 17px;
}


.fima-installateur-title {
    margin: 0 0 24px;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 700;

    color: #1f2937;
    letter-spacing: -1px;
}

.fima-installateur-title span {
    display: block;
    color: #c91d1d;
}


.fima-installateur-text {
    margin: 0 0 30px;

    max-width: 620px;

    font-size: 18px;
    line-height: 1.7;

    color: #68707a;
}


/* =========================================================
   LISTE
   ========================================================= */

.fima-installateur-list {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.fima-installateur-list li {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 16px;
    line-height: 1.5;

    color: #252b32;
}

.fima-installateur-list svg {
    width: 21px;
    height: 21px;

    flex-shrink: 0;

    color: #2f9e5f;
}


/* =========================================================
   CARD DROITE
   ========================================================= */

.fima-installateur-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    padding: 38px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   HEADER CARD
   ========================================================= */

.fima-installateur-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.fima-installateur-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(31, 91, 139, 0.10);

    border-radius: 50%;
}

.fima-installateur-icon svg {
    width: 31px;
    height: 31px;

    color: #1f5b8b;
}


.fima-installateur-card-header h3 {
    margin: 0 0 10px;

    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;

    color: #1f2937;
}

.fima-installateur-card-header p {
    max-width: 480px;

    margin: 0 auto;

    font-size: 15px;
    line-height: 1.6;

    color: #737b85;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.fima-installateur-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.fima-installateur-input {
    position: relative;
}

.fima-installateur-input svg {
    position: absolute;

    left: 17px;
    top: 50%;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

    color: #8a929c;

    pointer-events: none;
}

.fima-installateur-input input {
    width: 100%;
    height: 56px;

    box-sizing: border-box;

    padding: 0 16px 0 48px;

    border: 1px solid #d8dde3;
    border-radius: 8px;

    background: #ffffff;

    color: #1f2937;

    font-family: inherit;
    font-size: 17px;

    outline: none;

    transition: all 0.25s ease;
}

.fima-installateur-input input::placeholder {
    color: #9299a2;
}

.fima-installateur-input input:focus {
    border-color: #1f5b8b;

    box-shadow:
        0 0 0 3px rgba(31, 91, 139, 0.12);
}


/* =========================================================
   BOUTON PRINCIPAL
   ========================================================= */

.fima-btn-primary {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 8px;

    background: #c91d1d;
    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.fima-btn-primary svg {
    width: 20px;
    height: 20px;
}

.fima-btn-primary:hover:not(:disabled) {
    background: #c91d1d;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(230, 106, 30, 0.25);
}

.fima-btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}


/* =========================================================
   BOUTON SECONDAIRE
   ========================================================= */
.fima-btn-secondary-hero {
    width: 100%;
    min-height: 52px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 20px;

    border: 1px solid #d8dde3;
    border-radius: 8px;

    background: transparent;

    color: #fff;

    font-size: 16px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.25s ease;
}

.fima-btn-secondary-hero svg {
    width: 20px;
    height: 20px;
}

.fima-btn-secondary-hero:hover {
       border: 1px solid #d8dde3;
   

    background: transparent;

    color: #fff;


    text-decoration: none;
}

.fima-btn-secondary {
    width: 100%;
    min-height: 52px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 20px;

    border: 1px solid #d8dde3;
    border-radius: 8px;

    background: #ffffff;

    color: #29313a;

    font-size: 16px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.25s ease;
}

.fima-btn-secondary svg {
    width: 20px;
    height: 20px;
}

.fima-btn-secondary:hover {
    background: #f5f7f9;

    border-color: #1f5b8b;

    color: #1f5b8b;

    text-decoration: none;
}


/* =========================================================
   CONTACT
   ========================================================= */

.fima-installateur-contact {
    margin-top: 25px;
    padding-top: 23px;

    border-top: 1px solid #e5e7eb;

    text-align: center;
}

.fima-installateur-contact p {
    margin: 0 0 9px;

    font-size: 14px;
    color: #737b85;
}


.fima-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 12px;

    border: 0;
    background: transparent;

    color: #1f5b8b;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}

.fima-contact-link svg {
    width: 17px;
    height: 17px;

    transition: transform 0.25s ease;
}

.fima-contact-link:hover {
    color: #c91d1d;
}

.fima-contact-link:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .fima-installateur {
        padding: 65px 20px;
    }

    .fima-installateur-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .fima-installateur-content {
        padding-right: 0;
    }

    .fima-installateur-text {
        max-width: none;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-installateur {
        padding: 50px 16px;
    }

    .fima-installateur-title {
        font-size: 36px;
    }

    .fima-installateur-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .fima-installateur-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .fima-installateur-card-header h3 {
        font-size: 22px;
    }

    .fima-installateur-card-header p {
        font-size: 14px;
    }

    .fima-installateur-input input {
        font-size: 16px;
    }

}


/* =========================================================
   FIMA - NOTRE TERRITOIRE
   ========================================================= */

.fima-territoire {
    position: relative;
    overflow: hidden;

    padding: 96px 20px;

    background: #0a2143;

    color: #ffffff;
}

.fima-territoire-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   BACKGROUND PATTERN
   ========================================================= */

.fima-territoire-pattern {
    position: absolute;
    inset: 0;

    opacity: 0.10;

    background-image:
        radial-gradient(
            circle at 1px 1px,
            rgba(255,255,255,0.35) 1px,
            transparent 0
        );

    background-size: 40px 40px;

    pointer-events: none;
}


/* =========================================================
   GRID
   ========================================================= */

.fima-territoire-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 65px;

    align-items: center;
}


/* =========================================================
   MAP CARD
   ========================================================= */

.fima-map-card {
    padding: 30px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.18);

    border-radius: 24px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =========================================================
   MAP
   ========================================================= */

.fima-map {
    position: relative;

    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* =========================================================
   CERCLES
   ========================================================= */

.fima-map-circle {
    position: absolute;

    border-radius: 50%;

    border: 2px dashed rgba(255,255,255,0.15);

    pointer-events: none;
}

.fima-map-circle.circle-1 {
    width: 350px;
    height: 350px;
}

.fima-map-circle.circle-2 {
    width: 250px;
    height: 250px;

    border-color: rgba(255,255,255,0.25);
}

.fima-map-circle.circle-3 {
    width: 150px;
    height: 150px;

    border-color: rgba(255,255,255,0.35);
}


/* =========================================================
   USINE FIMA
   ========================================================= */

.fima-factory {
    position: absolute;

    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.fima-factory-logo {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px;

    background: #ffffff;

    border-radius: 50%;

    box-shadow: 0 8px 25px rgba(0,0,0,0.20);
}

.fima-factory-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.fima-factory-label {
    margin-top: 8px;

    padding: 5px 12px;

    background: #c91d1d;

    border-radius: 999px;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.5px;
}


/* =========================================================
   VILLES SUR LA CARTE
   ========================================================= */

.fima-city {
    position: absolute;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: translate(-50%, -50%);

    color: rgba(255,255,255,0.85);

    font-size: 10px;
    font-weight: 600;

    white-space: nowrap;
}

.fima-city-dot {
    width: 12px;
    height: 12px;

    margin-bottom: 4px;

    background: #ffffff;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(255,255,255,0.08);

    animation: fima-pulse 2s infinite;
}


/* Positions */

.city-annecy {
    left: 50%;
    top: 8%;
}

.city-lyon {
    left: 35%;
    top: 15%;
}

.city-chambery {
    left: 70%;
    top: 25%;
}

.city-saint-etienne {
    left: 20%;
    top: 40%;
}

.city-grenoble {
    left: 75%;
    top: 45%;
}

.city-clermont {
    left: 10%;
    top: 55%;
}

.city-valence {
    left: 60%;
    top: 70%;
}

.city-le-puy {
    left: 30%;
    top: 85%;
}


@keyframes fima-pulse {

    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.75);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================================
   TITRE REGION
   ========================================================= */

.fima-region-title {
    position: absolute;

    bottom: 5px;
    left: 0;
    right: 0;

    text-align: center;

    color: rgba(255,255,255,0.28);

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   DEPARTEMENTS
   ========================================================= */

.fima-departments {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;

    margin-top: 18px;
}

.fima-departments span {
    padding: 5px 9px;

    border: 1px solid rgba(255,255,255,0.20);

    border-radius: 999px;

    background: rgba(255,255,255,0.08);

    color: rgba(255,255,255,0.72);

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   CONTENU DROITE
   ========================================================= */

.fima-territoire-content {
    color: #ffffff;
}

.fima-territoire-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 16px;

    margin-bottom: 24px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.18);

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.fima-territoire-badge svg {
    width: 17px;
    height: 17px;

    color: #c91d1d;
}


.fima-territoire-content h2 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -1px;
}

.fima-territoire-content h2 span {
    display: block;

    color: #c91d1d;
}


.fima-territoire-description {
    margin: 0 0 30px;

    color: rgba(255,255,255,0.80);

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   VILLES / TEMPS
   ========================================================= */

.fima-cities-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-bottom: 28px;
}

.fima-city-box {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 9px;
}

.fima-time {
    display: flex;

    align-items: center;

    gap: 4px;

    flex-shrink: 0;
}

.fima-time svg {
    width: 16px;
    height: 16px;

    color: #c91d1d;
}

.fima-time strong {
    color: #c91d1d;

    font-size: 14px;
}

.city-name {
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.3;
}

.city-dept {
    margin-top: 2px;

    color: rgba(255,255,255,0.55);

    font-size: 11px;
}


/* =========================================================
   LIVRAISON
   ========================================================= */

.fima-delivery {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 17px;

    background: rgba(230,106,30,0.18);

    border: 1px solid rgba(230,106,30,0.30);

    border-radius: 12px;
}

.fima-delivery > svg {
    width: 32px;
    height: 32px;

    flex-shrink: 0;

    color: #c91d1d;
}

.fima-delivery strong {
    display: block;

    margin-bottom: 4px;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.4;
}

.fima-delivery span {
    display: block;

    color: rgba(255,255,255,0.80);

    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 950px) {

    .fima-territoire {
        padding: 75px 20px;
    }

    .fima-territoire-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .fima-map-wrapper {
        max-width: 650px;

        width: 100%;

        margin: 0 auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-territoire {
        padding: 60px 16px;
    }

    .fima-map-card {
        padding: 18px;

        border-radius: 18px;
    }

    .fima-map {
        height: 330px;
    }

    .fima-map-circle.circle-1 {
        width: 280px;
        height: 280px;
    }

    .fima-map-circle.circle-2 {
        width: 205px;
        height: 205px;
    }

    .fima-map-circle.circle-3 {
        width: 125px;
        height: 125px;
    }

    .fima-factory-logo {
        width: 65px;
        height: 65px;
    }

    .fima-factory-label {
        font-size: 9px;
    }

    .fima-city {
        font-size: 9px;
    }

    .fima-city-dot {
        width: 9px;
        height: 9px;
    }

    .fima-region-title {
        font-size: 12px;

        letter-spacing: 1px;
    }

    .fima-territoire-content h2 {
        font-size: 36px;
    }

    .fima-territoire-description {
        font-size: 16px;
    }

    .fima-cities-grid {
        grid-template-columns: 1fr;
    }

    .fima-city-box {
        padding: 12px;
    }

    .fima-delivery {
        align-items: flex-start;
    }

}

/* =========================================================
   FIMA - PARTENAIRE
   Couleur accent : #c91d1d
   ========================================================= */

.fima-partenaire {
    position: relative;

    padding: 96px 20px;

    background: #f5f6f8;

    overflow: hidden;

    scroll-margin-top: 100px;
}

.fima-partenaire-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}

.fima-partenaire-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}


/* =========================================================
   CONTENU GAUCHE
   ========================================================= */

.fima-partenaire-content {
    min-width: 0;
}


/* Badge */

.fima-partenaire-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 16px;

    margin-bottom: 24px;

    background: rgba(31, 91, 139, 0.08);

    border: 1px solid rgba(31, 91, 139, 0.18);

    border-radius: 999px;

    color: #1f5b8b;

    font-size: 14px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.fima-partenaire-badge svg {
    width: 17px;
    height: 17px;
}


/* Titre */

.fima-partenaire-content h2 {
    margin: 0 0 24px;

    color: #1f2937;

    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -1px;
}

.fima-partenaire-content h2 span {
    display: block;

    color: #c91d1d;
}


/* Description */

.fima-partenaire-description {
    max-width: 650px;

    margin: 0 0 30px;

    color: #68707a;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   AVANTAGES
   ========================================================= */

.fima-avantages {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    margin-bottom: 32px;
}

.fima-avantage {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #252b32;

    font-size: 15px;

    line-height: 1.4;
}

.fima-avantage svg {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    color: #c91d1d;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.fima-partenaire-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


/* Bouton principal */

.fima-btn-partenaire {
    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 25px;

    border: 0;

    border-radius: 8px;

    background: #c91d1d;

    color: #ffffff;

    font-family: inherit;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.fima-btn-partenaire svg {
    width: 20px;
    height: 20px;

    transition: transform 0.25s ease;
}

.fima-btn-partenaire:hover {
    background: #a91818;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(201,29,29,0.25);
}

.fima-btn-partenaire:hover svg {
    transform: translateX(4px);
}


/* Bouton secondaire */

.fima-btn-brochure {
    min-height: 52px;

    padding: 13px 25px;

    border: 2px solid #1f5b8b;

    border-radius: 8px;

    background: transparent;

    color: #1f5b8b;

    font-family: inherit;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.fima-btn-brochure:hover {
    background: #1f5b8b;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   STATISTIQUES
   ========================================================= */

.fima-stats-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}


.fima-stat-card {
    padding: 24px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 6px 20px rgba(0,0,0,0.06);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.fima-stat-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.12);
}


/* Icône */

.fima-stat-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    background: rgba(201,29,29,0.10);

    border-radius: 12px;
}

.fima-stat-icon svg {
    width: 24px;
    height: 24px;

    color: #c91d1d;
}


/* Nombre */

.fima-stat-number {
    margin-bottom: 4px;

    color: #1f2937;

    font-size: 32px;

    line-height: 1.1;

    font-weight: 700;
}


/* Titre */

.fima-stat-title {
    margin-bottom: 5px;

    color: #252b32;

    font-size: 15px;

    line-height: 1.4;

    font-weight: 600;
}


/* Description */

.fima-stat-text {
    color: #737b85;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 950px) {

    .fima-partenaire {
        padding: 75px 20px;
    }

    .fima-partenaire-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .fima-partenaire-content {
        max-width: 750px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-partenaire {
        padding: 60px 16px;
    }

    .fima-partenaire-content h2 {
        font-size: 36px;
    }

    .fima-partenaire-description {
        font-size: 16px;
    }

    .fima-avantages {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .fima-partenaire-buttons {
        flex-direction: column;
    }

    .fima-btn-partenaire,
    .fima-btn-brochure {
        width: 100%;
    }

    .fima-stats-grid {
        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }

    .fima-stat-card {
        padding: 18px;
    }

    .fima-stat-number {
        font-size: 27px;
    }

    .fima-stat-title {
        font-size: 14px;
    }

    .fima-stat-text {
        font-size: 12px;
    }

}


@media (max-width: 420px) {

    .fima-stats-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   FIMA - ACTUALITÉS
   ========================================================= */

.fima-actu-section {
    width: 100%;
    padding: 80px 20px;
    background: #f7f7f7;
    box-sizing: border-box;
}

.fima-actu-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.fima-actu-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 48px;
}

.fima-actu-heading {
    max-width: 700px;
}

.fima-actu-badge {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 16px;

    background: rgba(201, 29, 29, 0.10);
    color: #c91d1d;

    border-radius: 999px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.fima-actu-heading h2 {
    margin: 0;

    color: #1f2937;

    font-family: Arial, sans-serif;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
}

.fima-actu-heading p {
    margin: 10px 0 0;

    color: #68707a;

    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   BOUTON TOUTES LES ACTUALITÉS
   ========================================================= */

.fima-actu-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 10px 18px;

    border: 1px solid #d9dde3;
    border-radius: 7px;

    background: #ffffff;
    color: #1f2937;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.fima-actu-all-btn svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    transition: transform 0.25s ease;
}

.fima-actu-all-btn:hover {
    background: #c91d1d;
    border-color: #c91d1d;
    color: #ffffff;
}

.fima-actu-all-btn:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   GRID
   ========================================================= */

.fima-actu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}


/* =========================================================
   CARD
   ========================================================= */

.fima-actu-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3e5e8;
    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.fima-actu-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.11);
}


/* =========================================================
   IMAGE
   ========================================================= */

.fima-actu-image {
    position: relative;

    width: 100%;
    height: 192px;

    overflow: hidden;
}

.fima-actu-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.fima-actu-card:hover .fima-actu-image img {
    transform: scale(1.05);
}


/* =========================================================
   CATEGORY
   ========================================================= */

.fima-actu-category {
    position: absolute;
    top: 16px;
    left: 16px;
}

.fima-actu-category span {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;

    background: rgba(255, 255, 255, 0.92);

    border-radius: 999px;

    color: #1f2937;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    backdrop-filter: blur(5px);
}

.fima-actu-category svg {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTENU
   ========================================================= */

.fima-actu-content {
    padding: 24px;
}


/* =========================================================
   META
   ========================================================= */

.fima-actu-meta {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    color: #737b85;

    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}


/* =========================================================
   TITRE
   ========================================================= */

.fima-actu-content h3 {
    margin: 0 0 12px;

    color: #1f2937;

    font-family: Arial, sans-serif;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;

    transition: color 0.25s ease;
}

.fima-actu-card:hover .fima-actu-content h3 {
    color: #c91d1d;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.fima-actu-content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    margin: 0 0 18px;

    color: #68707a;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   LIEN
   ========================================================= */

.fima-actu-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #c91d1d;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: color 0.25s ease;
}

.fima-actu-link svg {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    transition: transform 0.25s ease;
}

.fima-actu-link:hover {
    color: #a91616;
}

.fima-actu-link:hover svg {
    transform: translate(2px, -2px);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .fima-actu-section {
        padding: 65px 20px;
    }

    .fima-actu-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fima-actu-heading h2 {
        font-size: 38px;
    }

    .fima-actu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fima-actu-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 16px);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-actu-section {
        padding: 55px 16px;
    }

    .fima-actu-header {
        margin-bottom: 32px;
    }

    .fima-actu-heading h2 {
        font-size: 31px;
        letter-spacing: -0.5px;
    }

    .fima-actu-heading p {
        font-size: 16px;
    }

    .fima-actu-all-btn {
        width: 100%;
    }

    .fima-actu-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fima-actu-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .fima-actu-image {
        height: 200px;
    }

    .fima-actu-content {
        padding: 20px;
    }

    .fima-actu-content h3 {
        font-size: 20px;
    }

}

/* =========================================================
   FIMA FOOTER
   ========================================================= */

.fima-footer {
    background: #f2f1f3;
    color: #1d1d1f;
    margin: 0;
    padding: 0;
}

.fima-footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

.fima-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 64px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.fima-footer-brand {
    margin-bottom: 28px;
}

.fima-footer-logo {
    display: block;
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1px;
    color: #1d1d1f;
}

.fima-footer-brand p {
    margin: 6px 0 0;
    color: rgba(29, 29, 31, 0.5);
    font-size: 14px;
}

.fima-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fima-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(29, 29, 31, 0.7);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

.fima-footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--fima-accent, #c91d1d);
    margin-top: 2px;
}

.fima-footer-contact-item strong {
    display: block;
    color: #1d1d1f;
    font-weight: 600;
}

.fima-footer-link {
    align-items: center;
}

.fima-footer-link:hover {
    color: var(--fima-accent, #c91d1d);
}


/* =========================================================
   CERTIFICATIONS
   ========================================================= */

.fima-footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(29, 29, 31, 0.1);
}

.fima-footer-certifications span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    background: rgba(29, 29, 31, 0.05);
    border-radius: 6px;
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   SOCIAL
   ========================================================= */

.fima-footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
}

.fima-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(29, 29, 31, 0.05);
    color: #1d1d1f;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fima-footer-social svg {
    width: 19px;
    height: 19px;
}

.fima-footer-social a:hover {
    background: var(--fima-accent, #c91d1d);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   COLONNES
   ========================================================= */

.fima-footer-column h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fima-footer-column h4 > span {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--fima-accent, #c91d1d);
}

.fima-footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fima-footer-column li {
    margin: 0 0 12px;
    padding: 0;
}

.fima-footer-column li:last-child {
    margin-bottom: 0;
}

.fima-footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(29, 29, 31, 0.6);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fima-footer-column a:hover {
    color: var(--fima-accent, #c91d1d);
    transform: translateX(4px);
}

.fima-footer-column a svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--fima-accent, #c91d1d);
    opacity: 0.7;
}

.fima-footer-column a:hover svg {
    opacity: 1;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.fima-footer-bottom {
    border-top: 1px solid rgba(29, 29, 31, 0.1);
}

.fima-footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(29, 29, 31, 0.4);
    font-size: 14px;
}

.fima-footer-status {
    display: flex;
    align-items: center;
    gap: 28px;
}

.fima-footer-status span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fima-footer-status i {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #22c55e;
    animation: fima-footer-pulse 2s infinite;
}

@keyframes fima-footer-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .fima-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-footer-main {
        padding: 55px 22px;
    }

    .fima-footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .fima-footer-logo {
        font-size: 34px;
    }

    .fima-footer-bottom-inner {
        padding: 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .fima-footer-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}


/* =========================================================
   FIMA - HERO NOS RÉALISATIONS
   ========================================================= */

.fima-real-hero {
    width: 100%;
    padding-bottom: 64px;
}

/* Container */

.fima-real-hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */

.fima-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;

    font-size: 14px;
    line-height: 1.5;
    color: #78716c;
}

.fima-breadcrumb a {
    color: #78716c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fima-breadcrumb a:hover {
    color: #d97706;
}

.fima-breadcrumb span:last-child {
    color: #292524;
}

/* =========================================================
   BADGE
   ========================================================= */

.fima-real-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 16px;

    margin-bottom: 16px;
    color: #c91d1d;
background:#c91d1d1a;
    border-radius: 999px;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

/* =========================================================
   TITRE
   ========================================================= */

.fima-real-hero h1 {
    max-width: 760px;

    margin: 0 0 24px;

    color: #292524;

    font-family: inherit;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 800;

    letter-spacing: -1.5px;
}

/* =========================================================
   DESCRIPTION
   ========================================================= */

.fima-real-hero p {
    max-width: 720px;

    margin: 0;

    color: #78716c;

    font-family: inherit;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .fima-real-hero {
        padding-top: 130px;
        padding-bottom: 55px;
    }

    .fima-real-hero-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .fima-real-hero h1 {
        font-size: 48px;
    }

    .fima-real-hero p {
        font-size: 17px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-real-hero {
        padding-top: 105px;
        padding-bottom: 45px;
    }

    .fima-real-hero-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fima-breadcrumb {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .fima-real-badge {
        padding: 7px 14px;
        font-size: 13px;
        margin-bottom: 14px;
    }

    .fima-real-hero h1 {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -0.8px;
        margin-bottom: 18px;
    }

    .fima-real-hero p {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* =========================================================
   FIMA - RÉALISATION COUP DE CŒUR
   ========================================================= */

.fima-realisation-featured {
    width: 100%;
    background: #ffffff;
    padding: 64px 0;
}

.fima-realisation-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}


/* =========================================================
   BADGE
   ========================================================= */

.fima-realisation-label-wrapper {
    margin-bottom: 32px;
}

.fima-realisation-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 16px;

    background: #c91d1d1a;
    color: #c91d1d;

    border-radius: 999px;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.fima-realisation-label svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* =========================================================
   CARTE
   ========================================================= */

.fima-realisation-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    width: 100%;

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   GALERIE
   ========================================================= */

.fima-realisation-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;

    gap: 2px;

    min-height: 100%;
    background: #ffffff;
}

.fima-realisation-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    min-height: 260px;
}

.fima-realisation-image-main {
    grid-column: 1 / -1;

    aspect-ratio: 16 / 9;

    min-height: 0;
}


/* =========================================================
   CONTENU
   ========================================================= */

.fima-realisation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 48px;
}


/* =========================================================
   LOCALISATION
   ========================================================= */

.fima-realisation-location {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;

    color: #78716c;

    font-size: 14px;
    line-height: 1.5;
}

.fima-realisation-location svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;
}


/* =========================================================
   TITRE
   ========================================================= */

.fima-realisation-content h2 {
    margin: 0 0 18px;

    color: #292524;

    font-family: inherit;

    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -0.8px;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.fima-realisation-description {
    margin: 0 0 28px;

    color: #78716c;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   INFORMATIONS
   ========================================================= */

.fima-realisation-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 30px;
}

.fima-realisation-info-item {
    padding-left: 14px;

    border-left: 2px solid #c91d1d;
}

.fima-realisation-info-label {
    margin-bottom: 5px;

    color: #78716c;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.fima-realisation-info-value {
    color: #292524;

    font-size: 15px;
    line-height: 1.5;

    font-weight: 600;
}


/* =========================================================
   BOUTON
   ========================================================= */

.fima-realisation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: fit-content;

    min-height: 48px;

    padding: 0 28px;

    background: #0a2143;
    color: #ffffff !important;

    border-radius: 6px;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.fima-realisation-button svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    transition: transform .25s ease;
}

.fima-realisation-button:hover {
    background: #0a2143;
    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.fima-realisation-button:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .fima-realisation-container {
        padding: 0 30px;
    }

    .fima-realisation-card {
        grid-template-columns: 1fr;
    }

    .fima-realisation-gallery {
        min-height: auto;
    }

    .fima-realisation-content {
        padding: 40px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-realisation-featured {
        padding: 45px 0;
    }

    .fima-realisation-container {
        padding: 0 20px;
    }

    .fima-realisation-label-wrapper {
        margin-bottom: 24px;
    }

    .fima-realisation-label {
        font-size: 13px;
        padding: 7px 14px;
    }

    .fima-realisation-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .fima-realisation-image {
        min-height: 160px;
    }

    .fima-realisation-image-main {
        min-height: 0;
    }

    .fima-realisation-content {
        padding: 30px 24px;
    }

    .fima-realisation-content h2 {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .fima-realisation-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .fima-realisation-info {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fima-realisation-button {
        width: 100%;
        padding: 0 20px;
    }
}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .fima-realisation-container {
        padding: 0 15px;
    }

    .fima-realisation-content {
        padding: 25px 20px;
    }

    .fima-realisation-content h2 {
        font-size: 27px;
    }
}


/* =========================================================
   FIMA - GRID RÉALISATIONS
   ========================================================= */

.vc_grid-container.vc_basic_grid {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* GRILLE */
.vc_grid-container.vc_basic_grid .vc_pageable-slide-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    /* important avec WPBakery */
    transform: none !important;
}

/* =========================================================
   CORRECTION DU GRAND ESPACE
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_grid-item {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;

    /* annule les positions générées par WPBakery */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}

/* Annule les animations WPBakery */
.vc_grid-container.vc_basic_grid .vc_grid-item.fadeIn,
.vc_grid-container.vc_basic_grid .vc_grid-item.animated {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* =========================================================
   CARTE
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_grid-item-mini {
    position: relative !important;

    width: 100% !important;

    overflow: hidden !important;

    border-radius: 16px !important;

    background: #fff !important;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08) !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}

.vc_grid-container.vc_basic_grid .vc_grid-item-mini:hover {
    transform: translateY(-4px) !important;

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.14) !important;
}


/* =========================================================
   IMAGE
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_gitem-zone-a {
    position: relative !important;

    width: 100% !important;
    height: 256px !important;

    min-height: 256px !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: hidden !important;

    background-size: cover !important;
    background-position: center !important;
}

/* Image réelle */
.vc_grid-container.vc_basic_grid .vc_gitem-zone-a .vc_gitem-zone-img {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: cover !important;

    transition:
        transform 0.7s ease !important;
}

/* Zoom */
.vc_grid-container.vc_basic_grid
.vc_grid-item-mini:hover
.vc_gitem-zone-img {
    transform: scale(1.10) !important;
}


/* =========================================================
   LIEN IMAGE
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_gitem-zone-a .vc-zone-link {
    position: absolute !important;

    inset: 0 !important;

    z-index: 5 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    font-size: 0 !important;

    text-decoration: none !important;
}


/* =========================================================
   GRADIENT
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_gitem-zone-a::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 70% !important;

    z-index: 3 !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.20),
            transparent
        ) !important;

    opacity: 0 !important;

    transition:
        opacity 0.3s ease !important;
}

.vc_grid-container.vc_basic_grid
.vc_grid-item-mini:hover
.vc_gitem-zone-a::after {
    opacity: 1 !important;
}


/* =========================================================
   ZONE TITRE
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_gitem-zone-c {
    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    z-index: 6 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 20px !important;

    background: transparent !important;

    border: 0 !important;

    transform: translateY(100%) !important;

    transition:
        transform 0.3s ease !important;
}

.vc_grid-container.vc_basic_grid
.vc_grid-item-mini:hover
.vc_gitem-zone-c {
    transform: translateY(0) !important;
}


/* =========================================================
   TITRE
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_gitem-zone-c h2 {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 17px !important;
    line-height: 1.35 !important;

    font-weight: 700 !important;

    color: #fff !important;
}

.vc_grid-container.vc_basic_grid .vc_gitem-zone-c h2 a {
    display: block !important;

    font-size: 17px !important;
    line-height: 1.35 !important;

    font-weight: 700 !important;

    color: #fff !important;

    text-decoration: none !important;
}


/* =========================================================
   MASQUER EXCERPT / ESPACES VIDES
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_gitem-zone-c .vc_gitem-post-data-source-post_excerpt {
    display: none !important;
}

.vc_grid-container.vc_basic_grid .vc_empty_space {
    display: none !important;
}


/* =========================================================
   BOUTON CHARGER PLUS
   ========================================================= */

.vc_grid-container.vc_basic_grid .vc_pageable-load-more-btn {
    margin-top: 40px !important;

    text-align: center !important;
}

.vc_grid-container.vc_basic_grid .vc_pageable-load-more-btn .vc_btn3 {
    padding: 13px 28px !important;

    border: 0 !important;
    border-radius: 8px !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    background: #1f2937 !important;
    color: #fff !important;

    transition: all 0.3s ease !important;
}

.vc_grid-container.vc_basic_grid
.vc_pageable-load-more-btn
.vc_btn3:hover {
    background: #111827 !important;

    transform: translateY(-2px) !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .vc_grid-container.vc_basic_grid .vc_pageable-slide-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .vc_grid-container.vc_basic_grid .vc_pageable-slide-wrapper {
        grid-template-columns: 1fr !important;

        gap: 20px !important;
    }

    .vc_grid-container.vc_basic_grid .vc_gitem-zone-a {
        height: 240px !important;
        min-height: 240px !important;
    }

    /* Sur mobile : titre toujours visible */
    .vc_grid-container.vc_basic_grid
    .vc_gitem-zone-c {
        transform: translateY(0) !important;
    }

    .vc_grid-container.vc_basic_grid
    .vc_gitem-zone-a::after {
        opacity: 1 !important;
    }

}


/* =========================================================
   IMPORTANT : supprimer le clearfix WPBakery
   qui crée une colonne vide avec CSS Grid
   ========================================================= */

.vc_clearfix::before,
.vc_clearfix::after {
    content: none !important;
    display: none !important;
}


.project-section {
  background-color: #0a2143;
  color: #ffffff;
  padding: 80px 20px;
}

.project-container {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.project-container h2 {
  font-family: Arial, sans-serif;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 16px;
  color:#fff;
}

.project-container p {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

.project-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 48px;
  padding: 0 32px;

  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color:#c91d1d ;
  color:#ffffff ;
  border: 1px solid #c91d1d;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background-color: #c91d1d;
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #c91d1d;
}

@media (max-width: 600px) {
  .project-section {
    padding: 60px 20px;
  }

  .project-container h2 {
    font-size: 30px;
  }

  .project-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.site-container .vc_row.gray {
    background: #fff !important;
}

.page-header>.vc_inner {
    padding-top: 33px !important;
    padding-left: 40px !important;
}



/* =========================================
   FIMA - Header page Sponsoring
   ========================================= */

.fima-page-header {
    width: 100%;
    padding: 55px 20px 60px;
    background: #ffffff;
    box-sizing: border-box;
}

.fima-page-header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* Titre */

.fima-page-header h1 {
    margin: 0 0 16px;

    font-family: inherit;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;

    letter-spacing: -1px;
    color: #171717;
}

/* Description */

.fima-page-header p {
    max-width: 680px;

    margin: 0;

    font-family: inherit;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;

    color: #737373;
}






/* =========================================
   Responsive
   ========================================= */

@media (max-width: 767px) {

    .fima-page-header {
        padding: 35px 20px 45px;
    }

  
    .fima-page-header h1 {
        font-size: 36px;
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin-bottom: 14px;
    }





    .fima-page-header p {
        font-size: 17px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {

    .fima-page-header {
        padding: 30px 16px 40px;
    }

    .fima-page-header h1 {
        font-size: 31px;
    }

    .fima-page-header p {
        font-size: 16px;
    }
}



/* =========================================================
   FIMA - CARTES SPONSORING
   ========================================================= */

/* Ligne WPBakery */
.fima-sponsoring-grid {
   
    flex-wrap: wrap !important;

    width: 100% !important;
    max-width: 1400px !important;

    margin: 0 auto !important;
    padding: 0 12px !important;

    box-sizing: border-box !important;
}

/* =========================================================
   COLONNES = CARTES
   ========================================================= */

.fima-sponsoring-grid > .wpb_column {
    width: 33.333333% !important;
    flex: 0 0 33.333333% !important;

    margin: 0 !important;
    padding: 12px !important;

    box-sizing: border-box !important;

    float: none !important;
}

/* =========================================================
   CONTENU DE LA CARTE
   ========================================================= */

.fima-sponsoring-grid > .wpb_column > .wpb_wrapper {
    display: flex !important;
    flex-direction: column !important;

    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    overflow: hidden;

    box-sizing: border-box !important;

    transition: box-shadow 0.25s ease,
                transform 0.25s ease;
}

/* Hover */
.fima-sponsoring-grid > .wpb_column:hover > .wpb_wrapper {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    transform: translateY(-3px);
}


/* =========================================================
   IMAGE
   ========================================================= */

.fima-sponsoring-grid .wpb_single_image {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Figure */
.fima-sponsoring-grid .wpb_single_image figure {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Wrapper image */
.fima-sponsoring-grid .vc_single_image-wrapper {
    display: block !important;

    position: relative !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    line-height: 0 !important;
}

/* Image */
.fima-sponsoring-grid .vc_single_image-img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 4 / 3 !important;

    object-fit: cover !important;

    margin: 0 !important;
    padding: 0 !important;

    transition: transform 0.35s ease;
}

/* Zoom image au hover */
.fima-sponsoring-grid
.wpb_column:hover
.vc_single_image-img {
    transform: scale(1.03);
}


/* =========================================================
   TEXTE
   ========================================================= */

.fima-sponsoring-grid .wpb_text_column {
    flex: 1 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 20px !important;

    box-sizing: border-box !important;
}

/* Wrapper texte */
.fima-sponsoring-grid .wpb_text_column .wpb_wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Titre */
.fima-sponsoring-grid .wpb_text_column p {
    margin: 0 !important;

    font-family: inherit;

    font-size: 16px !important;
    line-height: 1.45 !important;

    font-weight: 600 !important;

    color: #1f2937;

    box-sizing: border-box;
}

/* Supprimer le strong qui change le rendu */
.fima-sponsoring-grid .wpb_text_column strong {
    font-size: inherit !important;
    font-weight: 600 !important;
}

/* Liens */
.fima-sponsoring-grid .wpb_text_column a {
    color: #1f2937;

    text-decoration: none;

    transition: color 0.2s ease;
}

.fima-sponsoring-grid .wpb_text_column a:hover {
    color:#c91d1d;
}


/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 991px) {

    .fima-sponsoring-grid > .wpb_column {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .fima-sponsoring-grid {
        padding: 0 10px !important;
    }

    .fima-sponsoring-grid > .wpb_column {
        width: 100% !important;
        flex: 0 0 100% !important;

        padding: 10px !important;
    }

    .fima-sponsoring-grid .wpb_text_column {
        padding: 18px !important;
    }

}

.fima-partner-modal-label{
    color:#c91d1d;
}


}


.fima-card-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color:#0a2143 !important;
    text-decoration: none !important;
}

.fima-card-link::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23eb6a1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* =========================================
   FIMA - INTRO SAV
========================================= */

.fima-sav-intro {
    width: 100%;
    margin-bottom: 40px;
}


/* Ligne icône + titre */

.fima-sav-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}


/* Cercle de l'icône */

.fima-sav-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(229, 107, 32, 0.10);

    color: #c91d1d;
}


/* SVG */

.fima-sav-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}


/* Conteneur titre */

.fima-sav-heading {
    min-width: 0;
}


/* Petit titre */

.fima-sav-heading p {
    margin: 0 0 3px;

    color: #c91d1d;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.16em;
}


/* H1 */

.fima-sav-heading h1 {
    margin: 0;

    color: #163b6d;

    font-size: 36px;
    line-height: 1.15;

    font-weight: 700;
}


/* Description */

.fima-sav-description {
    max-width: 850px;

    margin: 0;

    color: #6b7280;

    font-size: 16px;
    line-height: 1.7;
}


/* Strong */

.fima-sav-description strong {
    color: #4b5563;
    font-weight: 700;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .fima-sav-intro {
        margin-bottom: 30px;
    }

    .fima-sav-title-row {
        gap: 12px;
        align-items: flex-start;
    }

    .fima-sav-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .fima-sav-icon svg {
        width: 22px;
        height: 22px;
    }

    .fima-sav-heading p {
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .fima-sav-heading h1 {
        font-size: 27px;
        line-height: 1.2;
    }

    .fima-sav-description {
        font-size: 15px;
        line-height: 1.65;
    }
}


@media (max-width: 480px) {

    .fima-sav-heading h1 {
        font-size: 24px;
    }

    .fima-sav-description {
        font-size: 14px;
    }
}

/* =========================================
   FIMA - FORMULAIRE SAV CF7
========================================= */

.fima-sav-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}


/* Sections */

.fima-sav-section {
    margin-bottom: 34px;
}

.fima-sav-section:last-of-type {
    margin-bottom: 0;
}

.fima-sav-section h2 {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #163b6d;
}

.fima-sav-section h2 span,
.fima-field label span {
    color: #c91d1d;
}


/* Grid */

.fima-grid {
    display: grid;
    gap: 18px;
}

.fima-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fima-full {
    grid-column: 1 / -1;
}


/* Code postal + ville */

.fima-cp-ville {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}


/* Fields */

.fima-field {
    min-width: 0;
}

.fima-field label {
    display: block;
    margin-bottom: 7px;
    color: #263238;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}


/* Inputs */

.fima-sav-form input[type="text"],
.fima-sav-form input[type="email"],
.fima-sav-form input[type="tel"],
.fima-sav-form select,
.fima-sav-form textarea {
    width: 100%;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #d7dce2;
    border-radius: 7px;
    background: #fff;
    color: #263238;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    transition: all 0.2s ease;
}


/* Hauteur */

.fima-sav-form input[type="text"],
.fima-sav-form input[type="email"],
.fima-sav-form input[type="tel"],
.fima-sav-form select {
    height: 46px;
}


/* Select */

.fima-sav-form select {
    cursor: pointer;
    appearance: auto;
}


/* Placeholder */

.fima-sav-form input::placeholder,
.fima-sav-form textarea::placeholder {
    color: #8a929a;
    opacity: 1;
}


/* Focus */

.fima-sav-form input:focus,
.fima-sav-form select:focus,
.fima-sav-form textarea:focus {
    outline: none;
    border-color: #163b6d;
    box-shadow: 0 0 0 3px rgba(22, 59, 109, 0.10);
}


/* Textarea */

.fima-sav-form textarea {
    min-height: 145px;
    resize: vertical;
}


/* Small text */

.fima-field small,
.fima-help {
    display: block;
    margin-top: 7px;
    color: #747b83;
    font-size: 12px;
    line-height: 1.5;
}


/* Footer */

.fima-sav-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    margin-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.fima-sav-footer p {
    margin: 0;
    color: #747b83;
    font-size: 12px;
    line-height: 1.5;
}


/* Bouton */

.fima-sav-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: 0;
    border-radius: 7px;
    background: #c91d1d;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(229, 107, 32, 0.20);
}

.fima-sav-form input[type="submit"]:hover {
    background: #d45f18;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 107, 32, 0.25);
}


/* CF7 */

.fima-sav-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.fima-sav-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.fima-sav-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}

.fima-sav-form .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 12px 15px !important;
    border-radius: 7px;
    font-size: 14px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .fima-sav-form {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .fima-grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fima-full {
        grid-column: auto;
    }

    .fima-cp-ville {
        grid-template-columns: 1fr 1fr;
    }

    .fima-sav-section {
        margin-bottom: 28px;
    }

    .fima-sav-section h2 {
        font-size: 18px;
    }

    .fima-sav-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .fima-sav-footer p {
        text-align: center;
    }

    .fima-sav-form input[type="submit"] {
        width: 100%;
    }
}


@media (max-width: 420px) {

    .fima-cp-ville {
        grid-template-columns: 1fr;
    }

}



/* =========================================================
   FIMA — FORMULAIRE PARTENAIRE CF7
   Style inspiré du formulaire Lovable / Tailwind
   ========================================================= */

.fima-cf7-form {
    width: 100%;
    max-width: 100%;
    font-family: inherit;
}

/* ---------------------------------------------------------
   ROWS — grille 2 colonnes
   --------------------------------------------------------- */

.fima-cf7-form .fima-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

/* ---------------------------------------------------------
   GROUPES
   --------------------------------------------------------- */

.fima-cf7-form .fima-form-group {
    width: 100%;
    margin-bottom: 16px;
}

/* Les groupes dans une row n'ont pas de marge supplémentaire */
.fima-cf7-form .fima-form-row .fima-form-group {
    margin-bottom: 0;
}

/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.fima-cf7-form label {
    display: block;
    margin: 0 0 6px 0;
    padding: 0;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #111827;
}

.fima-cf7-form label span {
    color: #111827;
}

/* ---------------------------------------------------------
   WRAPPER CF7
   --------------------------------------------------------- */

.fima-cf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* ---------------------------------------------------------
   INPUTS + SELECT
   --------------------------------------------------------- */

.fima-cf7-form input[type="text"],
.fima-cf7-form input[type="email"],
.fima-cf7-form input[type="tel"],
.fima-cf7-form select {
    display: flex;
    width: 100%;
    height: 40px;

    box-sizing: border-box;

    padding: 8px 12px;

    border: 1px solid #d1d5db;
    border-radius: 6px;

    background-color: #fff;
    color: #111827;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.25;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* ---------------------------------------------------------
   PLACEHOLDER
   --------------------------------------------------------- */

.fima-cf7-form input::placeholder,
.fima-cf7-form textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.fima-cf7-form input:focus,
.fima-cf7-form select:focus,
.fima-cf7-form textarea:focus {
    border-color: #9ca3af;
    outline: none;

    box-shadow:
        0 0 0 2px rgba(107, 114, 128, 0.15);
}

/* ---------------------------------------------------------
   SELECT
   --------------------------------------------------------- */

.fima-cf7-form select {
    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    padding-right: 40px;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Option placeholder */
.fima-cf7-form select option:first-child {
    color: #9ca3af;
}

/* ---------------------------------------------------------
   TEXTAREA
   --------------------------------------------------------- */

.fima-cf7-form textarea {
    display: block;
    width: 100%;
    min-height: 80px;
    height: 80px;

    box-sizing: border-box;

    padding: 8px 12px;

    border: 1px solid #d1d5db;
    border-radius: 6px;

    background-color: #fff;
    color: #111827;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;

    resize: vertical;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* ---------------------------------------------------------
   SUBMIT
   --------------------------------------------------------- */

.fima-cf7-form .fima-form-submit {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    margin-top: 20px;
}

/* Bouton CF7 */
.fima-cf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 0;
    height: 48px;

    padding: 0 32px;

    border: none;
    border-radius: 6px;

    background:#c91d1d;
    color: #fff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(235, 106, 30, 0.18);

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Hover */
.fima-cf7-form input[type="submit"]:hover {
    background: #d95d16;

    box-shadow: 0 12px 28px rgba(235, 106, 30, 0.25);

    transform: scale(1.02);
}

/* Active */
.fima-cf7-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* ---------------------------------------------------------
   SPINNER CF7
   --------------------------------------------------------- */

.fima-cf7-form .wpcf7-spinner {
    margin: 0 0 0 10px;
}

/* ---------------------------------------------------------
   ERREURS CF7
   --------------------------------------------------------- */

.fima-cf7-form .wpcf7-not-valid {
    border-color: #dc2626 !important;
}

.fima-cf7-form .wpcf7-not-valid-tip {
    margin-top: 5px;

    font-size: 12px;
    line-height: 1.4;
    color: #dc2626;
}

/* ---------------------------------------------------------
   MESSAGE GLOBAL CF7
   --------------------------------------------------------- */

.fima-cf7-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 16px;

    border-radius: 6px;

    font-size: 14px;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 640px) {

    .fima-cf7-form .fima-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .fima-cf7-form .fima-form-row .fima-form-group {
        margin-bottom: 0;
    }

    .fima-cf7-form .fima-form-group {
        margin-bottom: 16px;
    }

    .fima-cf7-form .fima-form-submit {
        justify-content: stretch;
    }

    .fima-cf7-form input[type="submit"] {
        width: 100%;
    }
}

/* =========================
   POPUP PARTENAIRE
========================= */

.fima-partner-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    
    display: none;
    align-items: center;
    justify-content: center;
    
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
}

.fima-partner-overlay.is-open {
    display: flex;
}

.fima-partner-modal {
    position: relative;
    
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    
    overflow-y: auto;
    
    background: #fff;
    border-radius: 16px;
    
    padding: 35px;
    
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    
    animation: fimaPopupIn 0.25s ease;
}

@keyframes fimaPopupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fima-popup-open {
    overflow: hidden;
}

/* Bouton fermer */

.fima-partner-close {
    position: absolute;
    top: 18px;
    right: 18px;
    
    width: 40px;
    height: 40px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    border: 0;
    border-radius: 50%;
    
    background: #f3f4f6;
    color: #333;
    
    cursor: pointer;
    
    z-index: 10;
}

.fima-partner-close:hover {
    background: #e5e7eb;
}

.fima-partner-close svg {
    width: 20px;
    height: 20px;
}
/* =========================================================
   FIMA — LABELS & GARANTIES
   ========================================================= */

.fima-labels-hero,
.fima-labels-list,
.fima-labels-quality {
    box-sizing: border-box;
}

.fima-labels-hero *,
.fima-labels-list *,
.fima-labels-quality * {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.fima-labels-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   HERO
   ========================================================= */

.fima-labels-hero {
    background:
        linear-gradient(
            135deg,
            #123d66 0%,
            #155985 55%,
            #0e456f 100%
        );

    color: #ffffff;
}

.fima-labels-hero-content {
    max-width: 780px;
    padding-top: 96px;
    padding-bottom: 96px;
}

.fima-labels-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.14em;

    color: #c91d1d;
}

.fima-labels-hero h1 {
    margin: 0 0 20px;

    font-family: inherit;
    font-size: 58px;
    line-height: 1.05;
    font-weight: 700;

    color: #ffffff;
}

.fima-labels-hero p {
    max-width: 760px;

    margin: 0;

    font-size: 18px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   LABELS SECTION
   ========================================================= */

.fima-labels-list {
    padding: 80px 0;

    background: #f6f8fa;
}

.fima-labels-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 32px;
}


/* =========================================================
   CARD
   ========================================================= */

.fima-label-card {
    padding: 32px;

    background: #ffffff;

    border: 1px solid #e3e7eb;
    border-radius: 14px;

    box-shadow:
        0 5px 20px rgba(15, 42, 64, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fima-label-card:hover {
    transform: translateY(-3px);

    border-color: #d6dfe7;

    box-shadow:
        0 14px 35px rgba(15, 42, 64, 0.10);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.fima-label-header {
    display: flex;

    align-items: flex-start;

    gap: 20px;
}

.fima-label-icon {
    flex: 0 0 56px;

    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(21, 89, 133, 0.10);

    color: #155985;
}

.fima-label-icon svg {
    width: 28px;
    height: 28px;

    display: block;
}


.fima-label-title {
    min-width: 0;

    padding-top: 2px;
}

.fima-label-title h2 {
    margin: 0 0 7px;

    font-family: inherit;

    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;

    color: #123d66;
}

.fima-label-title span {
    display: block;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;

    color: #c91d1d
;
}


/* =========================================================
   CARD DESCRIPTION
   ========================================================= */

.fima-label-card > p {
    margin: 24px 0 0;

    font-size: 16px;
    line-height: 1.7;

    color: #687684;
}


/* =========================================================
   QUALITY SECTION
   ========================================================= */

.fima-labels-quality {
    padding: 64px 0;

    background: #ffffff;

    border-top: 1px solid #e3e7eb;
}

.fima-labels-quality-content {
    max-width: 800px;

    margin: 0 auto;

    text-align: center;
}

.fima-labels-quality h2 {
    margin: 0 0 16px;

    font-family: inherit;

    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;

    color: #123d66;
}

.fima-labels-quality p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #687684;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .fima-labels-hero-content {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .fima-labels-hero h1 {
        font-size: 48px;
    }

    .fima-labels-grid {
        gap: 24px;
    }

    .fima-label-card {
        padding: 28px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .fima-labels-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fima-labels-hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .fima-labels-eyebrow {
        margin-bottom: 15px;
        font-size: 11px;
    }

    .fima-labels-hero h1 {
        margin-bottom: 18px;

        font-size: 40px;
        line-height: 1.1;
    }

    .fima-labels-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .fima-labels-list {
        padding: 55px 0;
    }

    .fima-labels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fima-label-card {
        padding: 24px;
    }

    .fima-label-header {
        gap: 15px;
    }

    .fima-label-icon {
        flex: 0 0 50px;

        width: 50px;
        height: 50px;
    }

    .fima-label-icon svg {
        width: 25px;
        height: 25px;
    }

    .fima-label-title h2 {
        font-size: 21px;
    }

    .fima-label-title span {
        font-size: 13px;
    }

    .fima-label-card > p {
        margin-top: 20px;

        font-size: 15px;
        line-height: 1.65;
    }

    .fima-labels-quality {
        padding: 50px 0;
    }

    .fima-labels-quality h2 {
        font-size: 28px;
    }

    .fima-labels-quality p {
        font-size: 15px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .fima-labels-hero h1 {
        font-size: 34px;
    }

    .fima-label-card {
        padding: 20px;
    }

    .fima-label-header {
        align-items: center;
    }

    .fima-label-title h2 {
        font-size: 19px;
    }

}

.page-id-4947 .vc_row.wpb_row.vc_inner.vc_row-fluid,  .postid-4965 .vc_row.wpb_row.vc_inner.vc_row-fluid, .postid-4975 .vc_row.wpb_row.vc_inner.vc_row-fluid, .postid-4982 .vc_row.wpb_row.vc_inner.vc_row-fluid{
    display:none !important;
}

/* =========================================================
   FIMA — COSMO 70+
   CSS PUR
   ========================================================= */

.fima-cosmo-hero,
.fima-cosmo-section,
.fima-cosmo-delivery,
.fima-cosmo-comparator {
    box-sizing: border-box;
}

.fima-cosmo-hero *,
.fima-cosmo-section *,
.fima-cosmo-delivery *,
.fima-cosmo-comparator * {
    box-sizing: border-box;
}

.fima-cosmo-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.fima-cosmo-narrow {
    max-width: 1080px;
}

.fima-cosmo-wide {
    max-width: 1240px;
}


/* =========================================================
   HERO
   ========================================================= */

.fima-cosmo-hero {
    padding: 90px 0;
    color: #fff;
    background:
        linear-gradient(135deg, #102c46 0%, #164b6d 55%, #0d263d 100%);
}

.fima-cosmo-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.fima-cosmo-hero-content {
    min-width: 0;
}

.fima-cosmo-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: .8;
}

.fima-line {
    width: 32px;
    height: 1px;
    background: #c91d1d;
}

.fima-cosmo-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 800;
}

.fima-cosmo-hero h1 span {
    display: block;
    margin-top: 12px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 500;
    opacity: .8;
}

.fima-cosmo-intro {
    max-width: 650px;
    margin: 25px 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.7;
}

.fima-cosmo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fima-cosmo-badge {
    padding: 10px 16px;
    border: 1px solid #c91d1d66;
    border-radius: 50px;
    background:#c91d1d26;
    color: #fff;
    font-size: 14px;
}

.fima-cosmo-badge strong {
    margin-right: 7px;
}

.fima-cosmo-hero-image {
    position: relative;
    overflow: hidden;
    min-height: 550px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    background: #fff;
}

.fima-cosmo-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 550px;
    object-fit: cover;
}

.fima-cosmo-image-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 70px 28px 25px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.35),
        transparent
    );
}

.fima-cosmo-image-overlay span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fima-cosmo-image-overlay strong {
    color: #fff;
    font-size: 36px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.fima-cosmo-section {
    padding: 85px 0;
    background: #fff;
}

.fima-cosmo-grey {
    background: #f5f6f7;
}

.fima-cosmo-section-heading {
    margin-bottom: 40px;
}

.fima-cosmo-section-heading > span,
.fima-cta-content > span,
.fima-comparator-heading > span {
    display: block;
    margin-bottom: 9px;
    color: #c91d1d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.fima-cosmo-section-heading h2,
.fima-cta-content h2,
.fima-comparator-heading h2 {
    margin: 0;
    color: #123653;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    font-weight: 800;
}

.fima-cosmo-section-heading p {
    margin: 12px 0 0;
    color: #66717c;
    line-height: 1.7;
}


/* =========================================================
   GALERIE
   ========================================================= */

.fima-cosmo-tabs {
    display: flex;
    padding: 5px;
    margin-bottom: 25px;
    border-radius: 8px;
    background: #eef0f2;
}

.fima-cosmo-tab {
    padding: 12px 18px;
    border-radius: 5px;
    background: #fff;
    color: #1b2e3d;
    font-size: 14px;
    font-weight: 600;
}

.fima-cosmo-profile {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
}

.fima-cosmo-profile img {
    display: block;
    width: 100%;
    height: auto;
}

.fima-cosmo-caption {
    margin: 12px 0 0;
    color: #777;
    font-size: 13px;
    text-align: center;
}


/* =========================================================
   PERFORMANCE
   ========================================================= */

.fima-cosmo-performance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.fima-cosmo-performance-card {
    padding: 35px 28px;
    border: 1px solid #e0e3e6;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
}

.fima-cosmo-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: #123653;
}

.fima-cosmo-icon-circle svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fima-cosmo-performance-card h3 {
    margin: 20px 0 8px;
    color: #123653;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.fima-accent-line {
    width: 48px;
    height: 4px;
    margin: 0 auto;
    border-radius: 5px;
    background: #c91d1d;
}

.fima-performance-value {
    margin: 18px 0;
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

.fima-progress {
    position: relative;
    height: 8px;
    border-radius: 10px;
    background: #e9ecef;
}

.fima-progress span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 10px;
    background: #123653;
}

.fima-progress i {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #c91d1d;
    transform: translate(-50%,-50%);
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.fima-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #7b858d;
    font-size: 11px;
    text-transform: uppercase;
}

.fima-resistance-list {
    margin-top: 20px;
}

.fima-resistance-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
    text-align: left;
}

.fima-resistance-list small {
    display: block;
    color: #123653;
    font-weight: 700;
    text-transform: uppercase;
}

.fima-resistance-list strong {
    display: block;
    margin-top: 3px;
}

.fima-dots {
    color: #42a66b;
    font-size: 13px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.fima-cosmo-note {
    margin-top: 20px;
    color: #777;
    font-size: 12px;
    font-style: italic;
}


/* =========================================================
   PRODUITS
   ========================================================= */

.fima-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.fima-product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dfe3e6;
    border-radius: 10px;
    background: #fff;
    transition: .3s ease;
}

.fima-product-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 50px;
    background: #123653;
}

.fima-product-card:hover {
    border-color: #123653;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.fima-product-card h3 {
    margin: 0;
    padding: 25px 20px 15px 28px;
    color: #123653;
    font-size: 22px;
}

.fima-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    margin: 0 20px;
    padding: 35px;
    border: 2px solid rgba(18,54,83,.5);
    border-radius: 6px;
    color: #123653;
    background: #f7f8f9;
}

.fima-product-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

.fima-product-card p {
    margin: 0;
    padding: 20px;
    color: #6b747c;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   OUVERTURES
   ========================================================= */

.fima-subheading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.fima-subheading span {
    width: 32px;
    height: 1px;
    background: #c91d1d;
}

.fima-subheading h3 {
    margin: 0;
    color: #123653;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fima-subheading-margin {
    margin-top: 50px;
}

.fima-opening-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.fima-opening-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 15px;
    border: 1px solid #dfe3e6;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    transition: .25s;
}

.fima-opening-card:hover {
    border-color: #c91d1d;
    box-shadow: 0 8px 20px rgba(0,0,0,.07);
}

.fima-opening-icon {
    width: 90px;
    height: 90px;
    color: #123653;
}

.fima-opening-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fima-opening-card span {
    color: #123653;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   POSE
   ========================================================= */

.fima-install-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fima-install-tab {
    padding: 12px 22px;
    border: 1px solid #d8dde1;
    border-radius: 50px;
    background: #fff;
    color: #123653;
    font-size: 14px;
    font-weight: 600;
}

.fima-install-tab.active {
    border-color: #123653;
    background: #123653;
    color: #fff;
}

.fima-install-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 25px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 18px;
    background: #fff;
}

.fima-install-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    padding: 35px;
    background: #f1f3f4;
}

.fima-install-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.fima-install-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.fima-install-text .fima-accent-line {
    margin: 0 0 20px;
}

.fima-install-text h3 {
    margin: 0 0 15px;
    color: #123653;
    font-size: 28px;
}

.fima-install-text p {
    color: #69747d;
    line-height: 1.8;
}

.fima-slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.fima-slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5d9dc;
}

.fima-slider-dots span.active {
    background: #c91d1d;
    transform: scale(1.25);
}


/* =========================================================
   COLORIS
   ========================================================= */

.fima-color-group {
    margin-bottom: 55px;
}

.fima-color-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.fima-color-title span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #123653;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.fima-color-title h3 {
    margin: 0;
    color: #123653;
    font-size: 24px;
}

.fima-color-group > p {
    margin: 0 0 18px;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.7;
}

.fima-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.fima-color-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f7f8f9;
}

.fima-color-card i {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.fima-color-card strong,
.fima-color-card small {
    display: block;
}

.fima-color-card strong {
    overflow: hidden;
    color: #222;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fima-color-card small {
    margin-top: 2px;
    color: #777;
    font-size: 11px;
}

.fima-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f7f8f9;
}

.fima-info-box strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #c91d1d;
    border-radius: 50%;
    color: #c91d1d;
    font-size: 12px;
}

.fima-info-box p {
    margin: 0;
    color: #6b747c;
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   VITRAGE
   ========================================================= */

.fima-glass-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.fima-glass-card {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.fima-glass {
    aspect-ratio: 1;
    margin: 14px;
    border-radius: 4px;
    box-shadow: inset 0 0 15px rgba(0,0,0,.08);
}

.fima-glass-card strong {
    display: block;
    padding: 12px;
    border-top: 1px solid #ddd;
    color: #123653;
    font-size: 14px;
}

.glass-clair {
    background:
        linear-gradient(45deg, transparent 49%, #d0e0ef 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, #d0e0ef 50%, transparent 51%),
        #f2f6fa;
}

.glass-satin {
    background: repeating-linear-gradient(
        0deg,
        #dde8f0,
        #dde8f0 18px,
        #c5d8e8 19px,
        #dde8f0 21px
    );
}

.glass-imprime {
    background:
        repeating-linear-gradient(
            0deg,
            #e6edf3 0,
            #e6edf3 14px,
            #b8c9d9 15px,
            #e6edf3 18px
        );
}

.glass-brillant {
    background: linear-gradient(135deg,#b8d4e8,#e8f1f8);
}

.glass-mat {
    background:
        radial-gradient(circle at 30% 40%,#cedde9 0 15%,transparent 16%),
        radial-gradient(circle at 70% 70%,#cedde9 0 18%,transparent 19%),
        #e2ebf2;
}

.glass-stopsol {
    background: linear-gradient(135deg,#d6e4f0,#8fa9be);
}

.glass-bronze {
    background: linear-gradient(135deg,#8a9aae,#6e7e91);
}

.fima-glass-text {
    margin-top: 25px;
    color: #454f57;
    line-height: 1.8;
}


/* =========================================================
   POIGNÉES
   ========================================================= */

.fima-handle-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    border-radius: 8px;
    background: #f0f2f4;
}

.fima-handle-tabs div {
    padding: 13px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.fima-handle-tabs .active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.fima-handle-content {
    margin-top: 25px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.fima-handle-content h3 {
    margin: 0;
    color: #123653;
    font-size: 22px;
}

.fima-handle-content > p {
    margin-top: 5px;
    color: #777;
}

.fima-handle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.fima-handle-grid figure {
    overflow: hidden;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
}

.fima-handle-grid figure img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 15px;
}

.fima-handle-grid figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid #ddd;
    font-size: 14px;
}

.fima-handle-grid figcaption i {
    width: 22px;
    height: 22px;
    border: 1px solid #ddd;
    border-radius: 50%;
}


/* =========================================================
   ÉQUIPEMENT
   ========================================================= */

.fima-equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.fima-equipment-card {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.fima-equipment-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #123653;
    font-size: 22px;
}

.fima-equipment-card h3 span {
    width: 30px;
    height: 2px;
    background: #c91d1d;
}

.fima-equipment-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fima-equipment-card li {
    margin-bottom: 12px;
    color: #313b43;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   DÉLAIS
   ========================================================= */

.fima-cosmo-delivery {
    padding: 60px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: #eef0f2;
}

.fima-delivery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.fima-delivery-header > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fima-clock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #123653;
    color: #fff;
    font-size: 25px;
}

.fima-delivery-header h3 {
    margin: 0;
    color: #1e2b35;
    font-size: 26px;
}

.fima-delivery-header p {
    margin: 4px 0 0;
    color: #777;
    font-size: 13px;
}

.fima-delivery-header > span {
    color: #777;
    font-size: 13px;
}

.fima-delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fima-delivery-card {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #fff;
}

.fima-delivery-card h4 {
    margin: 0;
    padding: 14px;
    background: #123653;
    color: #fff;
    font-size: 14px;
}

.fima-delivery-card h4 small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 400;
}

.fima-delivery-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.fima-delivery-card th {
    padding: 9px;
    background: #f3f4f5;
    color: #69737c;
    text-align: left;
}

.fima-delivery-card td {
    padding: 9px;
    border-top: 1px solid #eee;
    color: #303941;
}

.fima-delivery-card td:nth-child(2) {
    color: #123653;
    font-weight: 600;
    text-align: center;
}

.fima-delivery-card td:nth-child(3) {
    color: #c91d1d;
    font-weight: 700;
    text-align: right;
}

.fima-delivery-card > p {
    margin: 0;
    padding: 10px;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: 11px;
    font-style: italic;
}

.fima-delivery-note {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #777;
    font-size: 13px;
    font-style: italic;
}


/* =========================================================
   CTA
   ========================================================= */

.fima-cosmo-cta {
    text-align: center;
}

.fima-cta-content {
    max-width: 850px;
    margin: auto;
}

.fima-cta-content p {
    max-width: 720px;
    margin: 18px auto 0;
    color: #69747d;
    line-height: 1.8;
}

.fima-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.fima-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .25s;
}

.fima-btn-accent {
    border: 2px solid #c91d1d;
    background: #c91d1d;
    color: #fff !important;
}

.fima-btn-accent:hover {
    background: #d86514;
    transform: translateY(-2px);
}

.fima-btn-outline {
    border: 2px solid #123653;
    background: transparent;
    color: #123653 !important;
}

.fima-btn-outline:hover {
    background: #123653;
    color: #fff !important;
}


/* =========================================================
   COMPARATEUR
   ========================================================= */

.fima-cosmo-comparator {
    padding: 80px 0;
    background: #123653;
    color: #fff;
}

.fima-comparator-heading {
    margin-bottom: 35px;
    text-align: center;
}

.fima-comparator-heading h2 {
    color: #fff;
}

.fima-comparator-heading p {
    margin-top: 10px;
    color: rgba(255,255,255,.7);
}

.fima-comparator-table-wrapper {
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
}

.fima-comparator-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 14px;
}

.fima-comparator-table th,
.fima-comparator-table td {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: left;
}

.fima-comparator-table thead th {
    border-top: 0;
    background: #ffffff0d !important;
}

.postid-4975 .fima-comparator-table thead th:nth-child(2) {
   color: #ffffff !important;
    font-size: 20px !important;
}

.postid-4975 .fima-comparator-table thead th:nth-child(3) {
    color: #c91d1d !important;
    font-size: 20px !important;
}
.postid-4965 .fima-comparator-table thead th:nth-child(2) {
    color: #c91d1d !important;
    font-size: 20px !important;
}
.fima-cosmo-badge strong {
    color: #ffff !important;
}

.postid-4965 .fima-comparator-table thead th:nth-child(3) {
    color: #ffffff !important;
    font-size: 20px !important;
}
.fima-comparator-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.025);
}
table tr:nth-child(odd){
    background: #ffffff0d !important;
}
table td:first-child, table th:first-child{
  width:20% !important;  
}
.fima-comparator-table td:first-child {
    width: 20% !important;
    color: rgba(255,255,255,.75);
    font-weight: 700;
}

.fima-comparator-table td:not(:first-child) {
    color: rgba(255,255,255,.9);
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .fima-cosmo-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fima-cosmo-hero-image {
        max-width: 650px;
        width: 100%;
        margin: auto;
    }

    .fima-cosmo-performance-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fima-cosmo-performance-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        width: 100%;
        margin: auto;
    }

    .fima-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fima-opening-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fima-color-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fima-glass-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fima-handle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fima-delivery-grid {
        grid-template-columns: 1fr;
    }

    .fima-delivery-card {
        max-width: 750px;
        width: 100%;
        margin: auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .fima-cosmo-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .fima-cosmo-section {
        padding: 60px 0;
    }

    .fima-cosmo-hero {
        padding: 55px 0;
    }

    .fima-cosmo-hero h1 {
        font-size: 42px;
    }

    .fima-cosmo-hero h1 span {
        font-size: 22px;
    }

    .fima-cosmo-intro {
        font-size: 16px;
    }

    .fima-cosmo-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .fima-cosmo-hero-image,
    .fima-cosmo-hero-image img {
        min-height: 430px;
    }

    .fima-cosmo-performance-grid {
        grid-template-columns: 1fr;
    }

    .fima-cosmo-performance-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .fima-product-grid {
        grid-template-columns: 1fr;
    }

    .fima-opening-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fima-install-content {
        grid-template-columns: 1fr;
    }

    .fima-install-image {
        min-height: 250px;
    }

    .fima-install-text {
        padding: 30px;
    }

    .fima-color-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fima-glass-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fima-handle-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fima-equipment-grid {
        grid-template-columns: 1fr;
    }

    .fima-delivery-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .fima-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .fima-btn {
        width: 100%;
    }

}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .fima-cosmo-hero h1 {
        font-size: 36px;
    }

    .fima-cosmo-section-heading h2 {
        font-size: 29px;
    }

    .fima-opening-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fima-opening-card {
        padding: 15px 8px;
    }

    .fima-opening-icon {
        width: 70px;
        height: 70px;
    }

    .fima-opening-card span {
        font-size: 12px;
    }

    .fima-color-grid {
        grid-template-columns: 1fr;
    }

    .fima-glass-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fima-handle-grid {
        grid-template-columns: 1fr;
    }

    .fima-handle-grid figure img {
        height: 230px;
    }

    .fima-install-tabs {
        flex-direction: column;
    }

    .fima-install-tab {
        width: 100%;
        text-align: center;
    }

    .fima-delivery-header h3 {
        font-size: 22px;
    }

}
/* =========================================================
   FIMA — TYPES DE POSE : ONGLETS HORIZONTAUX
   ========================================================= */

.fima-install-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 35px 0 0 !important;
}

.fima-install-tabs .fima-install-tab {
    display: flex !important;
    flex: 1 1 25% !important;
    width: 25% !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    cursor: pointer !important;
    padding: 18px 20px !important;
}

/* Onglet actif */
.fima-install-tabs .fima-install-tab.active {
    font-weight: 600 !important;
}

/* Contenus cachés */
.fima-install-content[hidden] {
    display: none !important;
}

/* Contenu actif */
.fima-install-content.active {
    display: grid !important;
}
/* =========================================================
   FIMA — FILTRES PRODUITS
   ========================================================= */

.fima-product-filters {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    position: sticky;
    top: 120px;
    z-index: 30;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.fima-filters-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 24px;

    display: flex;
    align-items: center;

    gap: 32px;
}


/* =========================================================
   GROUPE
   ========================================================= */

.fima-filter-group {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   LABEL
   ========================================================= */

.fima-filter-label {
    display: inline-flex;
    align-items: center;

    margin-right: 4px;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: #6b7280;

    white-space: nowrap;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.fima-filter-buttons {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}


.fima-filter-btn {
    appearance: none;
    border: 1px solid #dfe3e8;

    background: #ffffff;

    color: #1f2937;

    padding: 7px 16px;

    min-height: 34px;

    border-radius: 999px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.fima-filter-btn:hover {
    border-color: #0a2143;

    color: #0a2143;

    background: #f8faf9;
}


/* =========================================================
   ACTIVE
   ========================================================= */

.fima-filter-btn.active {
    background: #0a2143;

    border-color: #0a2143;

    color: #ffffff;

    box-shadow: 0 3px 8px rgba(31, 77, 59, 0.18);
}


/* =========================================================
   ACTIVE — OUVERTURE
   ========================================================= */

.fima-filter-opening.active {
    background: #c91d1d;

    border-color: #c91d1d;

    color: #ffffff;

    box-shadow: 0 3px 8px rgba(233, 111, 45, 0.18);
}


/* =========================================================
   FOCUS
   ========================================================= */

.fima-filter-btn:focus-visible {
    outline: 2px solid #0a2143;

    outline-offset: 3px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .fima-filters-container {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }

    .fima-filter-group {
        width: 100%;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fima-product-filters {
        top: 80px;
    }

    .fima-filters-container {
        padding: 16px 18px;

        gap: 16px;
    }

    .fima-filter-group {
        display: block;
    }

    .fima-filter-label {
        display: block;

        margin-bottom: 9px;
    }

    .fima-filter-buttons {
        gap: 7px;
    }

    .fima-filter-btn {
        padding: 8px 13px;

        font-size: 12px;

        min-height: 34px;
    }

}



/* =========================================================
   FIMA — PRODUITS
   ========================================================= */

.fima-products-section {
    width: 100%;
    padding: 64px 0 80px;
    background: #f5f6f5;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.fima-products-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 24px;
}


/* =========================================================
   CATÉGORIE
   ========================================================= */

.fima-product-category {
    margin-bottom: 64px;
}

.fima-product-category:last-child {
    margin-bottom: 0;
}


/* =========================================================
   HEADER CATÉGORIE
   ========================================================= */

.fima-product-category-header {
    display: flex;

    align-items: baseline;
    justify-content: space-between;

    margin-bottom: 32px;
}


.fima-product-category-header h2 {
    margin: 0;

    font-size: 38px;
    line-height: 1.15;

    font-weight: 700;

    color: #173f32;

    letter-spacing: -0.02em;
}


.fima-product-category-header span {
    font-size: 14px;
    font-weight: 500;

    color: #6b7280;
}


/* =========================================================
   GRILLE
   ========================================================= */

.fima-products-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   CARTE
   ========================================================= */

.fima-product-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1e5e2;

    border-radius: 10px;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.fima-product-card:hover {
    transform: translateY(-3px);

    border-color: #d5ddd8;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   IMAGE
   ========================================================= */

.fima-product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #f0f2f1;

    border-bottom: 1px solid #e5e7eb;
}


.fima-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.fima-product-card:hover
.fima-product-image img {
    transform: scale(1.05);
}


/* =========================================================
   CONTENU
   ========================================================= */

.fima-product-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    gap: 16px;

    padding: 24px;
}


/* =========================================================
   META
   ========================================================= */

.fima-product-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;
}


.fima-product-material {
    flex-shrink: 0;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.10em;

    color: #c91d1d;
}


.fima-product-openings {
    font-size: 11px;
    font-weight: 500;

    text-align: right;

    color: #6b7280;
}


/* =========================================================
   TITRE
   ========================================================= */

.fima-product-content h3 {
    margin: 0;

    font-size: 26px;
    line-height: 1.2;

    font-weight: 700;

    color: #173f32;

    letter-spacing: -0.02em;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.fima-product-description {
    flex: 1;

    margin: 0;

    font-size: 14px;
    line-height: 1.65;

    color: #6b7280;
}


/* =========================================================
   CARACTÉRISTIQUES
   ========================================================= */

.fima-product-specs {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.fima-product-specs span {
    display: inline-flex;

    align-items: center;

    min-height: 27px;

    padding: 5px 10px;

    border: 1px solid rgba(23, 63, 50, 0.16);

    border-radius: 999px;

    font-size: 11px;
    line-height: 1.3;

    font-weight: 600;

    color: #173f32;

    background: #ffffff;
}


/* =========================================================
   LIEN
   ========================================================= */

.fima-product-link {
    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    gap: 8px;

    margin-top: auto;

    color: #c91d1d;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}


.fima-product-link:hover {
    gap: 12px;

    color: #c9571d;
}


.fima-product-link svg {
    flex-shrink: 0;

    transition:
        transform 0.2s ease;
}


.fima-product-link:hover svg {
    transform: translateX(2px);
}


/* =========================================================
   FILTRAGE
   ========================================================= */

/*
 * Quand le JavaScript ajoute .is-hidden,
 * la carte disparaît.
 */

.fima-product-card.is-hidden {
    display: none;
}


/*
 * Si une catégorie entière ne contient plus
 * aucun produit après filtrage.
 */

.fima-product-category.is-hidden {
    display: none;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .fima-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .fima-products-section {
        padding: 48px 0 60px;
    }

    .fima-products-container {
        padding: 0 18px;
    }

    .fima-product-category {
        margin-bottom: 48px;
    }

    .fima-product-category-header {
        margin-bottom: 24px;
    }

    .fima-product-category-header h2 {
        font-size: 30px;
    }

    .fima-products-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .fima-product-content {
        padding: 20px;
    }

    .fima-product-content h3 {
        font-size: 24px;
    }

}


/* =========================================================
   TRÈS PETIT MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .fima-product-meta {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }

    .fima-product-openings {
        text-align: left;
    }

}

/* =========================================================
   FIMA - FILTRES PRODUITS
   ========================================================= */

.fima-product-card.is-hidden {
    display: none !important;
}

.fima-product-category.is-hidden {
    display: none !important;
}


/* =========================================================
   FIMA — MENTIONS LÉGALES
   ========================================================= */

.fima-legal-section {
    width: 100%;
    padding: 80px 20px;
    background: #ffffff;
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.fima-legal-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   CONTENU
   ========================================================= */

.fima-legal-content {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
}


/* =========================================================
   TITRE PRINCIPAL
   ========================================================= */

.fima-legal-title {
    margin: 0 0 24px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 36px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}


/* =========================================================
   DATE
   ========================================================= */

.fima-legal-update {
    margin: 0 0 40px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #6b7280 !important;
}


/* =========================================================
   CONTENU
   ========================================================= */

.fima-legal-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}


/* =========================================================
   BLOCS
   ========================================================= */

.fima-legal-block {
    padding: 0;
}


.fima-legal-block h2 {
    margin: 0 0 12px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}


.fima-legal-block p {
    margin: 0 !important;
    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 400 !important;
   
}


/* =========================================================
   SÉPARATEURS
   ========================================================= */

.fima-legal-separator {
    width: 100%;
    height: 1px;
    margin: 32px 0;
    background: #e5e7eb;
}


/* =========================================================
   LIENS
   ========================================================= */

.fima-legal-block a {
    color: #c91d1d;
    text-decoration: none;
}

.fima-legal-block a:hover {
    text-decoration: underline;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 768px) {

    .fima-legal-section {
        padding: 64px 20px;
    }

    .fima-legal-title {
        font-size: 32px !important;
    }

    .fima-legal-block h2 {
        font-size: 20px !important;
    }

    .fima-legal-block p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .fima-legal-section {
        padding: 48px 18px;
    }

    .fima-legal-title {
        font-size: 28px !important;
        margin-bottom: 18px !important;
    }

    .fima-legal-update {
        font-size: 14px !important;
        margin-bottom: 32px !important;
    }

    .fima-legal-block h2 {
        font-size: 19px !important;
    }

    .fima-legal-block p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .fima-legal-separator {
        margin: 26px 0;
    }

}

/* =========================================================
   FIMA — PAGE RECRUTEMENT
   PAGE ID : 4953
   Transformation VC Grid -> cartes modernes
   ========================================================= */


/* ---------------------------------------------------------
   1. CONTENEUR PRINCIPAL
   --------------------------------------------------------- */

body.page-id-4953 .vc_grid-container,
body.page-id-4953 .vc_grid {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

body.page-id-4953 .vc_pageable-slide-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;

    position: static !important;
    height: auto !important;
    min-height: 0 !important;
}


/* ---------------------------------------------------------
   2. RESET DU POSITIONNEMENT WPBAKERY
   --------------------------------------------------------- */

body.page-id-4953 .vc_grid-item {
    position: static !important;
    left: auto !important;
    top: auto !important;

    width: auto !important;
    max-width: none !important;

    float: none !important;
    padding: 0 !important;
    margin: 0 !important;

    display: block !important;
}


/* ---------------------------------------------------------
   3. CARTE
   --------------------------------------------------------- */

body.page-id-4953 .vc_grid-item-mini {
    height: 100% !important;

    background: #ffffff !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;

    padding: 24px !important;

    display: flex !important;
    flex-direction: column !important;

    box-sizing: border-box !important;

    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease !important;
}


/* ---------------------------------------------------------
   4. HOVER
   --------------------------------------------------------- */

body.page-id-4953 .vc_grid-item:hover .vc_grid-item-mini {
    transform: translateY(-3px) !important;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08) !important;

    border-color: #d1d5db !important;
}


/* ---------------------------------------------------------
   5. SUPPRIMER L'IMAGE VC
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-animated-block {
    display: none !important;
}

body.page-id-4953 .vc_gitem-zone-a {
    display: none !important;
}


/* ---------------------------------------------------------
   6. ZONE CONTENU
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-zone-c {
    background: transparent !important;
    border: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    display: block !important;
}

body.page-id-4953 .vc_gitem-zone-mini {
    padding: 0 !important;
    margin: 0 !important;
}


/* ---------------------------------------------------------
   7. ROW WPBAKERY
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem_row {
    display: flex !important;
    flex-direction: column !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-4953 .vc_gitem-col {
    width: 100% !important;
    padding: 0 !important;
}


/* ---------------------------------------------------------
   8. TITRE
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-post-data-source-post_title {
    margin: 0 0 14px !important;
}

body.page-id-4953 .vc_gitem-post-data-source-post_title h4 {
    margin: 0 !important;

    font-family: inherit !important;

    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    color: #111827 !important;

    text-align: left !important;
}


/* ---------------------------------------------------------
   9. DESCRIPTION
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-post-data-source-post_excerpt {
    margin: 0 !important;

    font-size: 14px !important;
    line-height: 1.6 !important;

    color: #4b5563 !important;
}

body.page-id-4953 .vc_gitem-post-data-source-post_excerpt p {
    margin: 0 0 8px !important;
}

body.page-id-4953 .vc_gitem-post-data-source-post_excerpt p:last-child {
    margin-bottom: 0 !important;
}


/* ---------------------------------------------------------
   10. CACHER LES PARAGRAPHES VIDES
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-post-data-source-post_excerpt p:empty {
    display: none !important;
}


/* ---------------------------------------------------------
   11. BOUTON "LIRE PLUS"
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-zone-c a.more {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    min-height: 42px !important;

    margin-top: 24px !important;
    padding: 10px 16px !important;

    box-sizing: border-box !important;

    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;

    background: #ffffff !important;

    color: #111827 !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease !important;
}


/* ---------------------------------------------------------
   12. HOVER BOUTON
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-zone-c a.more:hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
    color: #111827 !important;
}


/* ---------------------------------------------------------
   13. LIEN PRINCIPAL
   --------------------------------------------------------- */

body.page-id-4953 .vc_gitem-link {
    text-decoration: none !important;
}


/* ---------------------------------------------------------
   14. CLEARFIX
   --------------------------------------------------------- */

body.page-id-4953 .vc_clearfix::after {
    content: none !important;
}

body.page-id-4953 .vc_grid-item::after {
    content: none !important;
}


/* ---------------------------------------------------------
   15. TABLETTE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    body.page-id-4953 .vc_pageable-slide-wrapper {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

}


/* ---------------------------------------------------------
   16. MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    body.page-id-4953 .vc_pageable-slide-wrapper {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    body.page-id-4953 .vc_grid-item-mini {
        padding: 20px !important;
    }

    body.page-id-4953 .vc_gitem-post-data-source-post_title h4 {
        font-size: 19px !important;
    }

}

/* =========================================================
   FIMA - CANDIDATURE SPONTANÉE
   ========================================================= */

.fima-spontaneous {
    width: 100%;
    max-width: 1200px;
    margin: 64px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.fima-spontaneous-content {
    background: #123653;
    color: #ffffff;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 40px;
}

/* Titre */

.fima-spontaneous-content h3 {
    margin: 0 0 12px;
    font-family: inherit;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

/* Description */

.fima-spontaneous-content p {
    max-width: 600px;
    margin: 0 auto 24px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Bouton */

.fima-spontaneous-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    padding: 0 32px;

    border-radius: 6px;

    background: #ffffff;
    color: #123653;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none !important;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Icône */

.fima-spontaneous-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Hover */

.fima-spontaneous-btn:hover {
    background: #f2f2f2;
    color: #123653;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Focus */

.fima-spontaneous-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 768px) {

    .fima-spontaneous {
        margin-top: 48px;
        padding: 0 16px;
    }

    .fima-spontaneous-content {
        padding: 40px 24px;
        border-radius: 14px;
    }

    .fima-spontaneous-content h3 {
        font-size: 28px;
    }

    .fima-spontaneous-content p {
        font-size: 16px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .fima-spontaneous {
        margin-top: 40px;
        padding: 0 12px;
    }

    .fima-spontaneous-content {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .fima-spontaneous-content h3 {
        font-size: 24px;
    }

    .fima-spontaneous-content p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .fima-spontaneous-btn {
        width: 100%;
        padding: 0 20px;
        font-size: 15px;
        box-sizing: border-box;
    }

}


/* ================================
   FIMA — OFFRES D'EMPLOI
   ================================ */

.fima-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.fima-job-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.fima-job-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.fima-job-type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    color: #c91d1d;
}

.fima-job-type svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.fima-job-title {
    margin: 0 0 16px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
    color: #231f20;
}

.fima-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;

    font-family: "Oxygen", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #737373;
}

.fima-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fima-job-meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.fima-job-description {
    margin: 0 0 24px;

    font-family: "Oxygen", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #4b4b4b;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.fima-job-button-wrapper {
    display: block;
    width: 100%;
    margin-top: auto;
    text-decoration: none !important;
}

.fima-job-button {
    width: 100%;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 3px;

    border: 1px solid #d6d6d6;
    border-radius: 7px;

    background: #fff;
    color: #231f20;

    font-family: "Oxygen", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.3s ease;
}

.fima-job-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.fima-job-button:hover {
    background: #f5f5f5;
    border-color: #c91d1d;
    color: #c91d1d;
}

.fima-job-button:hover svg {
    transform: translateX(4px);
}

.fima-no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #737373;
}


/* ================================
   TABLET / MOBILE
   ================================ */

@media (max-width: 767px) {

    .fima-jobs-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fima-job-card {
        padding: 20px;
        min-height: auto;
    }

    .fima-job-title {
        font-size: 19px;
    }

    .fima-job-meta {
        flex-direction: column;
        gap: 8px;
    }
}


:root {
    --text-primary: #1e293b;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --pill-bg: #eef1f5;
    --pill-text: #334155;
    --accent-red: #dc2626;
    --border-color: #e2e8f0;
    --bg: #ffffff;
  }



  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* --- Pills row --- */
  .pills-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--pill-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
  }

  .pill svg {
    width: 16px;
    height: 16px;
    stroke: var(--pill-text);
  }

  /* --- Presse section --- */
  .presse-section {
    padding: 56px 0;
  }

  .section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 32px;
  }

  .section-heading svg {
    width: 26px;
    height: 26px;
    stroke: var(--text-heading);
    flex-shrink: 0;
  }

  .section-heading h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 34px;
    margin: 0;
    color: var(--text-heading);
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }

  .press-card {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    background: var(--bg);
    max-width: 600px;
  }

  .press-card .eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 10px;
  }

  .press-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--text-heading);
  }

  .press-card p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 20px;
  }

  .press-card .read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
  }

  .press-card .read-link svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-heading);
  }
  
  
  /* =========================================
   FIMA - SALONS & ÉVÉNEMENTS
========================================= */

#evenements.fima-events-section {
    padding: 64px 20px;
    background: #f7f7f7;
    width: 100%;
    box-sizing: border-box;
}

.fima-events-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   TITRE
========================================= */

.fima-events-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.fima-events-heading svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: #0a2143;
}

.fima-events-heading h2 {
    margin: 0;
    color: #222222;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
}


/* =========================================
   GRILLE
========================================= */

.fima-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================
   CARTE
========================================= */

.fima-event-card {
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fima-event-card:hover {
    transform: translateY(-4px);
    border-color: #d8d8d8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}


/* =========================================
   IMAGE
========================================= */

.fima-event-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eeeeee;
}

.fima-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fima-event-card:hover .fima-event-image img {
    transform: scale(1.04);
}


/* =========================================
   CONTENU
========================================= */

.fima-event-content {
    padding: 24px;
}

.fima-event-content h3 {
    margin: 0;
    color: #222222;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================
   LIEN "VOIR TOUS"
========================================= */

.fima-events-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.fima-events-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a2143;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.fima-events-more a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.fima-events-more a:hover {
    color: #c91d1d;
    text-decoration: underline;
}

.fima-events-more a:hover svg {
    transform: translateX(4px);
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 768px) {

    #evenements.fima-events-section {
        padding: 48px 18px;
    }

    .fima-events-heading {
        margin-bottom: 24px;
    }

    .fima-events-heading h2 {
        font-size: 32px;
    }

    .fima-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fima-event-content {
        padding: 20px;
    }

    .fima-event-content h3 {
        font-size: 20px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    #evenements.fima-events-section {
        padding: 40px 16px;
    }

    .fima-events-heading {
        gap: 10px;
    }

    .fima-events-heading svg {
        width: 22px;
        height: 22px;
    }

    .fima-events-heading h2 {
        font-size: 27px;
    }

    .fima-event-card {
        border-radius: 12px;
    }

    .fima-event-content {
        padding: 18px;
    }

    .fima-event-content h3 {
        font-size: 19px;
    }

    .fima-events-more {
        margin-top: 26px;
    }
}
/* =========================================
   FIMA - SPONSORING & ENGAGEMENTS
========================================= */

#sponsoring.fima-sponsoring-section {
    width: 100%;
    padding: 64px 20px;
    background: #faf6f0;
    box-sizing: border-box;
}

.fima-sponsoring-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   TITRE
========================================= */

.fima-sponsoring-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.fima-sponsoring-heading svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: #0a2143;
}

.fima-sponsoring-heading h2 {
    margin: 0;
    color: #231f20;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
}


/* =========================================
   GRILLE
========================================= */

.fima-sponsoring-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================
   CARTE
========================================= */

.fima-sponsoring-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e4dfd9;
    border-radius: 14px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fima-sponsoring-card:hover {
    transform: translateY(-4px);
    border-color: #d7d0c8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}


/* =========================================
   IMAGE
========================================= */

.fima-sponsoring-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eeeeee;
}

.fima-sponsoring-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fima-sponsoring-card:hover .fima-sponsoring-image img {
    transform: scale(1.04);
}


/* =========================================
   CONTENU
========================================= */

.fima-sponsoring-content {
    padding: 20px;
}

.fima-sponsoring-content h3 {
    margin: 0;
    color: #231f20;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================
   LIEN
========================================= */

.fima-sponsoring-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.fima-sponsoring-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a2143;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.fima-sponsoring-more a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.fima-sponsoring-more a:hover {
    color: #c91d1d;
    text-decoration: underline;
}

.fima-sponsoring-more a:hover svg {
    transform: translateX(4px);
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 900px) {

    #sponsoring.fima-sponsoring-section {
        padding: 52px 18px;
    }

    .fima-sponsoring-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .fima-sponsoring-heading h2 {
        font-size: 34px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    #sponsoring.fima-sponsoring-section {
        padding: 42px 16px;
    }

    .fima-sponsoring-heading {
        gap: 10px;
        margin-bottom: 24px;
    }

    .fima-sponsoring-heading svg {
        width: 23px;
        height: 23px;
    }

    .fima-sponsoring-heading h2 {
        font-size: 28px;
    }

    .fima-sponsoring-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fima-sponsoring-content {
        padding: 18px;
    }

    .fima-sponsoring-content h3 {
        font-size: 17px;
    }

    .fima-sponsoring-more {
        margin-top: 26px;
    }
}

/* =========================================
   FIMA - ARTICLE DE PRESSE HERO
========================================= */

.fima-press-hero {
    width: 100%;
    padding: 20px 32px;
    box-sizing: border-box;


}


/* =========================================
   CONTAINER
========================================= */

.fima-press-container {
    width: 100%;
    max-width: 900px;
}


/* =========================================
   BADGE
========================================= */

.fima-press-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 12px;

    color: #c91d1d;
    background: #c91d1d1a;

    border-radius: 999px;

    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    margin-bottom: 16px;
}

.fima-press-badge svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}


/* =========================================
   TITRE
========================================= */

.fima-press-container h1 {
    margin: 0 0 16px;

    max-width: 850px;

    color: #231f20;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 52px;
    line-height: 1.12;
    font-weight: 700;

    letter-spacing: -0.02em;
}


/* =========================================
   SOUS-TITRE
========================================= */

.fima-press-subtitle {
    margin: 0 0 16px;

    color: #666666;

    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
}


/* =========================================
   DATE
========================================= */

.fima-press-date {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #777777;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.fima-press-date svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 768px) {

    .fima-press-hero {
        padding: 120px 20px 32px;
    }

    .fima-press-container h1 {
        font-size: 42px;
    }

    .fima-press-subtitle {
        font-size: 19px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .fima-press-hero {
        padding: 100px 16px 28px;
    }

    .fima-press-badge {
        font-size: 11px;
        padding: 6px 10px;
    }

    .fima-press-container h1 {
        font-size: 32px;
        line-height: 1.18;
    }

    .fima-press-subtitle {
        font-size: 18px;
    }
}

/* =========================================
   FIMA - ARTICLE DE PRESSE
========================================= */

.fima-article-content {
    width: 100%;
    padding: 32px 20px 64px;
    box-sizing: border-box;
}

.fima-article-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

a.press-card {
    text-decoration: none;
}
/* =========================================
   IMAGE
========================================= */

.fima-article-cover {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.fima-article-cover img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================
   ARTICLE
========================================= */

.fima-article-body {
    width: 100%;
    color: #3a3735;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================
   PARAGRAPHES
========================================= */

.fima-article-body p {
    margin: 0 0 24px;
}

.fima-article-body strong {
    color: #231f20;
    font-weight: 700;
}

.fima-article-body em {
    font-style: italic;
}


/* =========================================
   INTRODUCTION
========================================= */

.fima-article-body .fima-article-intro {
    margin-bottom: 28px;

    color: #0a2143;

    font-size: 19px;
    line-height: 1.7;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* =========================================
   TITRES
========================================= */

.fima-article-body h2 {
    margin: 48px 0 22px;

    color: #231f20;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.fima-article-body h2:first-child {
    margin-top: 40px;
}


/* =========================================
   CITATION
========================================= */

.fima-article-body blockquote {
    position: relative;

    margin: 40px 0;
    padding: 28px 30px;

    background: #fff2e8;

    border-left: 4px solid #0a2143;
    border-radius: 0 10px 10px 0;

    color: #3a3735;
}

.fima-article-body blockquote p {
    margin: 0 0 12px;

    font-size: 19px;
    line-height: 1.7;
    font-style: italic;
}

.fima-article-body blockquote cite {
    display: block;

    color: #55504c;

    font-size: 14px;
    line-height: 1.5;
    font-style: normal;
    font-weight: 700;
}


/* =========================================
   RETOUR ACTUALITÉS
========================================= */

.fima-article-back {
    margin-top: 48px;
    padding-top: 32px;

    border-top: 1px solid #ddd6cf;
}

.fima-article-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #0a2143;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.fima-article-back a svg {
    width: 17px;
    height: 17px;

    transition: transform 0.2s ease;
}

.fima-article-back a:hover {
    color: #c91d1d;
    text-decoration: underline;
}

.fima-article-back a:hover svg {
    transform: translateX(-4px);
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 768px) {

    .fima-article-content {
        padding: 28px 18px 50px;
    }

    .fima-article-cover {
        margin-bottom: 32px;
        border-radius: 12px;
    }

    .fima-article-body {
        font-size: 17px;
        line-height: 1.75;
    }

    .fima-article-body .fima-article-intro {
        font-size: 18px;
    }

    .fima-article-body h2 {
        font-size: 28px;
        margin-top: 40px;
    }

    .fima-article-body blockquote {
        padding: 24px;
        margin: 32px 0;
    }

    .fima-article-body blockquote p {
        font-size: 18px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .fima-article-content {
        padding: 24px 16px 42px;
    }

    .fima-article-cover {
        margin-bottom: 28px;
        border-radius: 10px;
    }

    .fima-article-body {
        font-size: 16px;
        line-height: 1.7;
    }

    .fima-article-body .fima-article-intro {
        font-size: 16px;
        line-height: 1.65;
        letter-spacing: 0.02em;
    }

    .fima-article-body h2 {
        font-size: 25px;
        margin-top: 36px;
        margin-bottom: 18px;
    }

    .fima-article-body blockquote {
        margin: 30px 0;
        padding: 20px;
    }

    .fima-article-body blockquote p {
        font-size: 17px;
    }

    .fima-article-back {
        margin-top: 36px;
        padding-top: 26px;
    }
}


/* =========================================
   FIMA — Carte Contrat & avantages
   ========================================= */

.fima-contract-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 128px;
  box-sizing: border-box;
  width: 100%;
  font-family: "Oxygen", Arial, sans-serif;
  color: #231f20;
}

/* Titre */

.fima-contract-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #231f20;
}

/* Liste */

.fima-contract-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.fima-contract-list li {
  margin: 0;
  padding: 0;
}

.fima-contract-label {
  font-weight: 700;
}

/* Avantages avec icône */

.fima-benefit {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fima-benefit svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  stroke: #eb6a1e;
  stroke-width: 2;
  fill: none;
}

/* Bouton Postuler */

.fima-apply-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 24px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #0a2143 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: "Oxygen", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.fima-apply-button:hover {
  background: #0a2143;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.fima-apply-button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Note sous le bouton */

.fima-contract-note {
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: #6b7280;
  margin: 12px 0 0;
}

/* Responsive */

@media (max-width: 767px) {
  .fima-contract-card {
    position: static;
    padding: 20px;
  }

  .fima-contract-title {
    font-size: 19px;
  }
}

.mobile-menu-container {
    display: none;
}

.mobile-menu-container.active {
    display: block;
}



/* ================= Barre de filtres ================= */
.fima-distributor-filters {
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.fima-filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.fima-filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .fima-filter-grid { grid-template-columns: 1fr auto auto; }
}

.fima-search-wrapper,
.fima-select-wrapper {
  position: relative;
}

.fima-search-icon,
.fima-filter-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}
.fima-filter-icon { left: 12px; width: 16px; height: 16px; }

.fima-distributor-search,
.fima-department-select {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  box-sizing: border-box;
}
.fima-department-select { min-width: 200px; padding-left: 38px; }

.fima-distributor-search:focus,
.fima-department-select:focus {
  outline: none;
  border-color: #e63946;
  box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
}

.fima-reset-button {
  height: 48px;
  padding: 0 20px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.fima-reset-button:hover { background: #f3f4f6; }

.fima-results-count {
  margin: 12px 0 0;
  font-size: 14px;
  color: #6b7280;
}

/* ================= Section grille ================= */
.fima-section { padding: 48px 0; }
.fima-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.fima-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px)  { .fima-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .fima-grid { grid-template-columns: repeat(3,1fr); } }

.fima-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow .2s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1d1d1f;
}
.fima-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.fima-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.fima-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(10,37,64,0.08);
  color: #0a2540;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fima-badge {
  display: inline-flex; align-items: center;
  background: #f3f4f6; color: #1d1d1f;
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
}
.fima-title {
  font-size: 18px; font-weight: 700;
  line-height: 1.3; margin: 0 0 12px;
}
.fima-adresse {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; line-height: 1.5;
  color: #6b7280; margin-bottom: 20px;
}
.fima-adresse svg { margin-top: 2px; flex-shrink: 0; }

.fima-card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  display: flex; flex-direction: column; gap: 8px;
}

  .fmd-root{
    --navy:#2c3170;--navy-deep:#232758;--navy-soft:#3a4088;
    --card:#ffffff;--ink:#1b1e3a;--ink-soft:#5b607e;
    --line:#e4e6f0;--line-soft:#f4f5fa;
    --red:#d61f2b;--red-soft:#fdecec;--none:#9aa0b8;
    --shadow:0 1px 2px rgba(28,32,74,.06),0 12px 32px -18px rgba(28,32,74,.28);
    font-family:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
    color:var(--ink);    width: calc(100% - 48px);
    max-width: 1280px;
    margin: 0 auto;
    -webkit-font-smoothing:antialiased;line-height:1.4;
  }
  .fmd-root *{box-sizing:border-box}

  .fmd-head{display:flex;align-items:flex-start;gap:14px;margin :40px 0;flex-wrap:wrap}
  .fmd-clock{flex:0 0 auto;width:46px;height:46px;border-radius:14px;background:var(--navy);
    display:grid;place-items:center;color:#fff;box-shadow:var(--shadow)}
  .fmd-clock svg{width:24px;height:24px}
  .fmd-htxt h2{margin:0;font-size:1.65rem;font-weight:800;letter-spacing:-.02em;line-height:1.05;color:var(--ink)}
  .fmd-htxt p{margin:4px 0 0;color:var(--ink-soft);font-size:.9rem}
  .fmd-stamp{margin-left:auto;flex:0 0 auto;display:flex;align-items:center;gap:6px;
    font-size:.78rem;color:var(--ink-soft);background:var(--card);border:1px solid var(--line);
    border-radius:999px;padding:6px 12px;white-space:nowrap}
  .fmd-stamp svg{width:14px;height:14px;opacity:.7}

  .fmd-tabs{display:flex;gap:6px;background:var(--card);border:1px solid var(--line);
    border-radius:14px;padding:6px;margin-bottom:18px;box-shadow:var(--shadow)}
  .fmd-tab{flex:1;min-width:0;border:0;cursor:pointer;font-family:inherit;background:transparent;
    color:var(--ink-soft);padding:11px 8px;border-radius:9px;font-weight:600;font-size:.86rem;
    display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.15;
    transition:background .18s,color .18s}
  .fmd-tab .fmd-sub{font-size:.68rem;font-weight:500;opacity:.72}
  .fmd-tab:hover{color:var(--ink);background:var(--line-soft)}
  .fmd-tab[aria-selected="true"]{background:var(--navy);color:#fff;box-shadow:0 6px 16px -8px rgba(44,49,112,.7)}
  .fmd-tab[aria-selected="true"] .fmd-sub{opacity:.85}
  .fmd-tab:focus-visible{outline:2px solid var(--navy-soft);outline-offset:2px}

  .fmd-panel{background:var(--card);border:1px solid var(--line);border-radius:16px;
    overflow:hidden;box-shadow:var(--shadow)}
  .fmd-panel[hidden]{display:none}
  .fmd-phead{background:linear-gradient(180deg,var(--navy),var(--navy-deep));color:#fff;padding:16px 18px}
  .fmd-phead h3{margin:0;font-size:1.05rem;font-weight:700;letter-spacing:-.01em;color:#fff}
  .fmd-phead .fmd-desc{margin:3px 0 0;font-size:.8rem;color:rgba(255,255,255,.75)}

  .fmd-rh,.fmd-row{display:grid;grid-template-columns:1fr 74px 96px;align-items:center;gap:10px;padding:12px 18px}
  .fmd-rh{font-size:.7rem;text-transform:uppercase;letter-spacing:.07em;color:var(--ink-soft);
    font-weight:600;background:var(--line-soft);padding-top:9px;padding-bottom:9px}
  .fmd-row{border-top:1px solid var(--line);transition:background .15s}
  .fmd-row:hover{background:var(--line-soft)}
  .fmd-fin{font-weight:600;font-size:.9rem;line-height:1.25}
  .fmd-sem{font-weight:700;color:var(--navy-soft);font-size:.9rem;text-align:center;font-variant-numeric:tabular-nums}
  .fmd-del{justify-self:end}
  .fmd-badge{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:.9rem;
    color:var(--red);background:var(--red-soft);border-radius:999px;padding:5px 11px;
    font-variant-numeric:tabular-nums;white-space:nowrap}
  .fmd-dot{width:8px;height:8px;border-radius:50%;background:var(--red);flex:0 0 auto}
  .fmd-badge.fmd-none{color:var(--none);background:transparent;font-weight:600;font-size:.82rem;padding:5px 4px}

  .fmd-note{display:flex;gap:8px;align-items:flex-start;padding:12px 18px;background:var(--line-soft);
    font-size:.8rem;color:var(--ink-soft);font-style:italic;border-top:1px solid var(--line)}
  .fmd-note svg{width:15px;height:15px;flex:0 0 auto;margin-top:1px;opacity:.7}

  .fmd-legend{display:flex;flex-wrap:wrap;gap:14px;margin:16px 4px 0;font-size:.76rem;color:var(--ink-soft)}
  .fmd-legend span{display:inline-flex;align-items:center;gap:6px}
  .fmd-legend .fmd-dot{width:9px;height:9px}

  @media(max-width:460px){
    .fmd-stamp{margin-left:0;width:100%;justify-content:flex-start}
    .fmd-tab{font-size:.8rem}.fmd-tab .fmd-sub{display:none}
    .fmd-rh,.fmd-row{grid-template-columns:1fr 56px 92px;gap:8px;padding-left:14px;padding-right:14px}
    .fmd-htxt h2{font-size:1.4rem}
  }
/* ============ MODAL CONTACT ============ */
.fima-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fima-modal.is-open { display: flex; }

.fima-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.fima-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1d1d1f;
  animation: fimaModalIn .25s ease-out;
}

@keyframes fimaModalIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

.fima-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none; background: transparent;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #6b7280;
  transition: background .2s;
}
.fima-modal-close:hover { background: #f3f4f6; color: #1d1d1f; }

/* En-tête */
.fima-modal-head { margin-bottom: 20px; }

.fima-modal-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: #e63946; margin-bottom: 10px;
}
.fima-modal-head h2 {
  font-size: 22px; font-weight: 700;
  margin: 0 0 8px; color: #0a2540;
}
.fima-modal-head p {
  font-size: 14px; color: #6b7280;
  margin: 0; line-height: 1.5;
}

body.fima-modal-open { overflow: hidden; }

/* ============ STYLES CF7 ============ */
.fima-cf7-wrapper .wpcf7 { margin: 0; }
.fima-cf7-wrapper form { display: flex; flex-direction: column; gap: 14px; }

.fima-cf7-row { display: flex; flex-direction: column; gap: 6px; }
.fima-cf7-2col { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) {
  .fima-cf7-2col { grid-template-columns: 1fr 1fr; }
}

.fima-cf7-row label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 500; color: #1d1d1f;
}

/* Champs CF7 */
.fima-cf7-wrapper input[type="text"],
.fima-cf7-wrapper input[type="email"],
.fima-cf7-wrapper input[type="tel"],
.fima-cf7-wrapper select,
.fima-cf7-wrapper textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: border .2s, box-shadow .2s;
}
.fima-cf7-wrapper input:focus,
.fima-cf7-wrapper select:focus,
.fima-cf7-wrapper textarea:focus {
  border-color: #e63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}
.fima-cf7-wrapper textarea {
  resize: vertical;
  min-height: 90px;
}

/* Bouton submit */
.fima-cf7-wrapper input[type="submit"],
.fima-cf7-wrapper button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 0 24px;
  background: #e63946 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: none !important;
}
.fima-cf7-wrapper input[type="submit"]:hover,
.fima-cf7-wrapper button[type="submit"]:hover {
  background: #d12e3b !important;
}
.fima-cf7-wrapper input[type="submit"]:active {
  transform: scale(0.98);
}

/* Messages CF7 */
.fima-cf7-wrapper .wpcf7-response-output {
  margin: 12px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-size: 14px;
  border-width: 1px !important;
}
.fima-cf7-wrapper .wpcf7-not-valid-tip {
  color: #e63946;
  font-size: 12px;
  margin-top: 4px;
}
.fima-cf7-wrapper .wpcf7 form.invalid .wpcf7-response-output {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.fima-cf7-wrapper .wpcf7 form.sent .wpcf7-response-output {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

/* Spinner CF7 */
.fima-cf7-wrapper .wpcf7-spinner {
  display: inline-block;
  margin: 0 0 0 10px;
}

.fima-real-card-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.fima-real-card-link:hover,
.fima-real-card-link:focus,
.fima-real-card-link:active {
    color: inherit;
    text-decoration: none;
}

.fima-real-card-link .fima-real-image {
    width: 100%;
    height: 100%;
}
