/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/

/* ========================================
   CSS MANQUANT POUR EDPO.COM - BANDEAU HEADER
   À ajouter dans : Apparence > Personnaliser > CSS additionnel
   ou dans Simple Custom CSS (si plugin installé)
   ======================================== */

/* === SECTION TOPBAR === */
.topBar {
  padding-left: 40px !important;
  padding-right: 20px !important;
}

.topBar .topRow {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Colonnes de la topBar */
.topBar .et_pb_column.et_pb_column_1_2.et_pb_column_0_tb_header.et_pb_css_mix_blend_mode_passthrough {
  width: 270px;
  display: flex;
  justify-content: flex-start;
  margin-right: 0;
  margin-bottom: 0;
}

.topBar .et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_header.et_pb_css_mix_blend_mode_passthrough {
  width: 83%;
  display: flex;
  justify-content: flex-end;
}

/* Row interne avec les éléments */
.topBar .et_pb_row.et_pb_row_2_tb_header.et_pb_row_4col {
  width: 100%;
}

.topBar .topRow .et_pb_row.et_pb_row_2_tb_header.et_pb_row_4col {
  justify-content: flex-end;
}

/* Colonnes internes */
.topBar .et_pb_column.et_pb_column_1_4.et_pb_column_5_tb_header.et_pb_css_mix_blend_mode_passthrough {
  width: 115px;
  margin-right: 0 !important;
}

.topBar .et_pb_column.et_pb_column_1_4.et_pb_column_6_tb_header.et_pb_css_mix_blend_mode_passthrough {
  width: 242px;
  margin-right: 10px;
}

.topBar .et_pb_column.et_pb_column_1_4.et_pb_column_7_tb_header.et_pb_css_mix_blend_mode_passthrough.et-last-child {
  width: 189px;
}

/* === TOPROW (sans .topBar parent) === */
.topRow {
  display: flex;
  align-items: center;
  width: 100%;
}

.topRow .et_pb_column.et_pb_column_1_2.et_pb_column_0_tb_header.et_pb_css_mix_blend_mode_passthrough {
  display: flex;
  justify-content: flex-start;
  width: 28%;
  margin-right: 0;
  margin-bottom: 0;
}

.topRow .et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_header.et_pb_css_mix_blend_mode_passthrough {
  display: flex;
  justify-content: flex-end;
}

.topRow .et_pb_row.et_pb_row_2_tb_header.et_pb_row_4col {
  justify-content: flex-end;
}

/* === TOP INNER ROW (icône LinkedIn) === */
.topBar .topInnerRow .et_pb_column.et_pb_column_1_2.et_pb_column_1_tb_header.et_pb_css_mix_blend_mode_passthrough {
  width: 20%;
  margin-bottom: 0;
  margin-right: 5px;
}

.topBar .topInnerRow .et_pb_column.et_pb_column_1_2.et_pb_column_2_tb_header.et_pb_css_mix_blend_mode_passthrough.et-last-child {
  width: 38%;
}

.topBar .topInnerRow .et_pb_with_border.et_pb_module.et_pb_icon.et_pb_icon_0_tb_header a {
  justify-content: start;
}

/* Style de l'icône LinkedIn avec bordure */
.topBar .topRow .topInnerRow .et_pb_icon .et_pb_icon_wrap,
.topRow .topInnerRow .et_pb_icon .et_pb_icon_wrap,
.topInnerRow .et_pb_icon .et_pb_icon_wrap {
  border-width: 1px;
  border-color: #243e90;
  border-radius: 4px;
}

.topBar .topRow .topInnerRow .et-pb-icon,
.topRow .topInnerRow .et-pb-icon,
.topInnerRow .et-pb-icon {
  padding: 8px;
}

/* Image email */
.topBar .topRow .wp-image-22587 img,
.topRow .wp-image-22587 img {
  max-width: 40px;
}

/* === BOUTONS btnGradient === */
.btnGradient.et_pb_bg_layout_light {
  padding: 8px 30px !important;
  font-size: 14px !important;
}

.topBar .topRow .et_pb_button.et_pb_button_0_tb_header.btnGradient.et_pb_bg_layout_light {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

/* === HEADER BLEU (section avec le logo et menu) === */
.headerBlue .headerRow,
.topBar .topRow {
  width: 100%;
}

.headerBlue .headerRow .wrapperMenu .sub-menu .menu-item > a {
  padding: 0 !important;
  width: 100% !important;
}

.headerBlue .headerRow .wrapperMenu .sub-menu .menu-item {
  padding: 0 !important;
  width: 100%;
}

.headerBlue .headerRow .wrapperMenu .sub-menu .menu-item > a {
  width: 100% !important;
  padding: 12px 18px !important;
}

.headerBlue .headerRow .wrapperMenu .sub-menu {
  padding: 0 !important;
  margin-top: 0;
}

.headerBlue .headerRow .wrapperMenu ul .current-menu-item {
  background-repeat: no-repeat;
  background-position: bottom;
}

.headerBlue .headerRow .wrapperMenu .et_pb_column.et_pb_column_1_2.et_pb_column_9_tb_header.et_pb_css_mix_blend_mode_passthrough.et-last-child.et_pb_column--with-menu {
  padding-left: 12%;
}

.headerBlue .headerRow .et_pb_with_border.et_pb_module.et_pb_menu.et_pb_menu_0_tb_header.wrapperMenu.et_pb_bg_layout_light.et_pb_text_align_right.et_dropdown_animation_fade.et_pb_menu--without-logo.et_pb_menu--style-left_aligned {
  padding-right: 34px;
  height: 60px;
}

.headerBlue .headerRow .wrapperMenu ul li a {
  font-size: 14px;
}

.headerBlue .headerRow .wrapperMenu ul li {
  padding: 0 10px;
}

.headerBlue .headerRow .et_pb_menu_inner_container.clearfix {
  margin-top: -4px;
  position: static;
}

.headerBlue .headerRow #mobile_menu1 {
  padding: 0;
}

/* Menu item actif */
.headerBlue .headerRow .wrapperMenu ul .current-menu-item {
  background-position: 38px 0;
  background-image: none;
  background-color: #fbfbfb;
}

.headerBlue .headerRow .wrapperMenu ul .current-menu-item a {
  color: #009ad5 !important;
}

/* === RESPONSIVE - À ajuster selon les besoins === */
@media (max-width: 1200px) {
  .topBar .topRow .et_pb_column.et_pb_column_1_4.et_pb_column_4_tb_header.et_pb_css_mix_blend_mode_passthrough,
  .topBar .topRow .et_pb_column.et_pb_column_1_4.et_pb_column_5_tb_header.et_pb_css_mix_blend_mode_passthrough,
  .topRow .et_pb_column.et_pb_column_1_4.et_pb_column_4_tb_header.et_pb_css_mix_blend_mode_passthrough {
    display: none;
  }
  
  .topBar .topRow .et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_header.et_pb_css_mix_blend_mode_passthrough,
  .topRow .et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_header.et_pb_css_mix_blend_mode_passthrough {
    width: 84%;
  }
}

@media (max-width: 980px) {
  .topBar {
    padding-left: 22px !important;
  }
  
  .topBar .topRow .et_pb_column.et_pb_column_1_4.et_pb_column_6_tb_header.et_pb_css_mix_blend_mode_passthrough,
  .topRow .et_pb_column.et_pb_column_1_4.et_pb_column_6_tb_header.et_pb_css_mix_blend_mode_passthrough {
    display: none;
  }
  
  .topBar .topRow .et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_header.et_pb_css_mix_blend_mode_passthrough,
  .topRow .et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_header.et_pb_css_mix_blend_mode_passthrough {
    width: 65% !important;
    justify-content: end !important;
  }
  
  .topBar .topRow .et_pb_column.et_pb_column_1_2.et_pb_column_0_tb_header.et_pb_css_mix_blend_mode_passthrough,
  .topRow .et_pb_column.et_pb_column_1_2.et_pb_column_0_tb_header.et_pb_css_mix_blend_mode_passthrough {
    width: 34% !important;
  }
  
  .topBar .topInnerRow .et_pb_column.et_pb_column_1_2.et_pb_column_2_tb_header.et_pb_css_mix_blend_mode_passthrough.et-last-child,
  .topInnerRow .et_pb_column.et_pb_column_1_2.et_pb_column_2_tb_header.et_pb_css_mix_blend_mode_passthrough.et-last-child {
    width: 20% !important;
  }
  
  .topBar .topRow .et_pb_button.et_pb_button_0_tb_header.btnGradient.et_pb_bg_layout_light,
  .topRow .et_pb_button.et_pb_button_0_tb_header.btnGradient.et_pb_bg_layout_light {
    font-size: 13px !important;
    padding: 7px 22px !important;
  }
  
  .headerBlue .headerRow .et_pb_with_border.et_pb_module.et_pb_menu.et_pb_menu_0_tb_header.wrapperMenu.et_pb_bg_layout_light.et_pb_text_align_right.et_dropdown_animation_fade.et_pb_menu--without-logo.et_pb_menu--style-left_aligned {
    padding-right: 10px;
    height: 50px;
  }
}