/* ====== Styles d'origine neoconference / neobooking ====== */

#neoconference-events .program-items .session-event { 
    display: list-item; 
    margin-left: 1em; 
}

#neoconference-events .event-details .event-location, 
#neoconference-events .event-details .event-price  {
    padding: 20px 20px 0 30px;
}

#neoconference-events .event-speaker {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 20px;
    min-height: 100px;
    padding: 20px 20px 0 30px;
    background-color: #f2f2f2;
    max-width: 25%; 
}

#neoconference-events .event-details .event-speaker .legend {
    display: inline-block;
    width: 100%;
    padding-top: 5px;
    text-transform: uppercase;
}

#neoconference-events .event-registration .event-program li { 
    list-style-type: none; 
}
#neoconference-events .event-registration .event-program li input { 
    margin-right: 0.5em; 
}

#neoconference-events .event-registration .note { 
    padding: 10px 15px 5px 15px; 
}

#neoconference-events .neoconference-footer { 
    font-size: 0.9em; 
    margin-top: 1em; 
}

#neobooking-room .room-medias .slick-track { 
    height: 486px; 
}
#neobooking-room .room-medias .slick-slide { 
    background-size: 100%; 
}

/* Header pages conférences */
.neoconference-conferences .page-header {
    position: absolute;
    width: 100%;
    height: 250px;
    line-height: 250px;
    top: 0;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 0;
}

.neoconference-conferences .page-header h1 {
    display: inline-block !important;
    vertical-align: middle;
    margin: 0 auto;
    font-size: 50px;
    color: #fff;
    text-align: left;
    line-height: 1.25;
    padding-left: 15px;
    padding-right: 15px;
}

.neoconference-conferences .page-header h1, 
.neoconference-conferences .page-header .h1 {
    font-size: 50px;
    color: #fff;
    text-align: left;
    line-height: 1.25;
}

.neoconference-conferences .page-header h1:after {
    background-color: #fff;
    color: #fff;
    text-align: left;
    display: block;
    width: 35px;
    height: 6px;
    margin: 20px auto 0;
    content: '';
    border-radius: 4px;
}

@media(min-width:1200px) {
  .neoconference-conferences .page-header h1 { width: 1170px; }
}

/* Titre des pages article (ex : Vision) */
.page-article .article-header h1 {
  color: #005B2A !important; /* Vert profond Humus */
}

/* ==========================================
   HUMUS 2025 – CHARTE WEB OFFICIELLE
   ========================================== */

/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Sue+Ellen+Francisco&display=swap');

/* Typo globale */
html, body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #30415C; /* Bleu Humus */
  font-size: 16px;
  line-height: 1.5;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #30415C;
  font-weight: 600 !important;
  line-height: 1.2;
}

/* Paragraphes un peu plus lisibles dans les articles */
.page-article .article-content p {
  margin-bottom: 0.9rem;
}

/* Liens */
a {
  color: #005B2A; /* Vert profond Humus */
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover,
a:focus {
  color: #00EE7D; /* Fluo Humus */
  opacity: 0.9;
}

/* Boutons Humus – version fluo */
button,
.btn,
.button,
.sppb-btn,
.sppb-btn-default,
.sppb-btn-primary {
  background-color: #00EE7D !important;   /* Fluo */
  color: #30415C !important;              /* Bleu Humus */
  border-radius: 999px !important;
  border: none !important;
  padding: 0.6rem 1.4rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-transform: none !important;
}

button:hover,
.btn:hover,
.button:hover,
.sppb-btn:hover,
.sppb-btn-default:hover,
.sppb-btn-primary:hover {
  background-color: #005B2A !important;  /* Vert profond */
  color: #FFFFFF !important;
}

/* Boutons outline */
.btn-outline,
.sppb-btn-outline {
  background-color: transparent !important;
  color: #005B2A !important;
  border: 2px solid #005B2A !important;
}
.btn-outline:hover,
.sppb-btn-outline:hover {
  background-color: #005B2A !important;
  color: #FFFFFF !important;
}

/* Logo / images Single Image SP Page Builder : ne pas couper les bords */
.sppb-addon-single-image-container {
    border-radius: 0 !important;
    overflow: visible !important;
}
.sppb-addon-single-image-container img.sppb-img-responsive {
    border-radius: 0 !important;
}
/* === FORCAGE HUMUS 2025 – BOUTONS FLUO === */
button,
.btn,
.button,
.sppb-btn,
.sppb-btn-default,
.sppb-btn-primary,
a.btn,
a.button,
a.sppb-btn,
a.sppb-btn-default,
a.sppb-btn-primary {
  background-color: #00EE7D !important;   /* Vert fluo Humus */
  color: #30415C !important;              /* Bleu Humus */
  border-radius: 999px !important;
  border: none !important;
  padding: 0.6rem 1.4rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-transform: none !important;
}

button:hover,
.btn:hover,
.button:hover,
.sppb-btn:hover,
.sppb-btn-default:hover,
.sppb-btn-primary:hover,
a.btn:hover,
a.button:hover,
a.sppb-btn:hover,
a.sppb-btn-default:hover,
a.sppb-btn-primary:hover {
  background-color: #005B2A !important;   /* Vert profond */
  color: #FFFFFF !important;
}
/* Cartes Humus – animation subtile à l'apparition */

.humus-card {
    opacity: 0;
    transform: translateY(24px);
    animation: humusFadeUp 0.9s ease-out forwards;
}

/* Délais légers pour un effet "cascade" */
.humus-card-1 {
    animation-delay: 0.1s;
}
.humus-card-2 {
    animation-delay: 0.25s;
}
.humus-card-3 {
    animation-delay: 0.4s;
}

/* Animation d'apparition */
@keyframes humusFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optionnel : léger effet au survol */
.humus-card:hover {
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
/* ---- Ajustements mobile Humus ---- */
@media (max-width: 767px) {

    /* Logo du hero : plus petit et mieux centré sur mobile */
    .sppb-addon-single-image-container img.sppb-img-responsive[src*="humus"] {
        max-width: 70% !important;   /* réduit un peu la taille */
        height: auto !important;
        margin: 24px auto 16px !important;  /* évite de coller en haut/bas */
        display: block !important;
    }

    /* Cartes : un peu moins larges et moins de marge verticale */
    .humus-card {
        max-width: 100% !important;
        padding: 24px 20px !important;
        margin: 32px auto !important;
    }
}
/* ---- Ajustement mobile portrait du hero Humus ---- */
@media (max-width: 767px) and (orientation: portrait) {

    /* Forcer une hauteur minimale suffisante à la section 1 */
    .sp-page-builder .page-content > div:first-child {
        min-height: 420px !important;   /* augmente ou réduit selon besoin */
        padding-bottom: 40px !important; /* évite que le logo touche le bas */
    }

    /* Optionnel : réduire très légèrement le logo */
    .sppb-addon-single-image-container img.sppb-img-responsive {
        max-width: 75% !important;
        height: auto !important;
        margin: 16px auto !important;
    }
}
#footer {
    background-color: #005B2A !important; /* Vert Humus profond */
}

#footer-links {
    background-color: #004622 !important; /* Option : légèrement plus foncé */
}
/* =========================================
   HEADER HUMUS — AJUSTEMENT FINAL
   ========================================= */

/* Header : alignement propre */
#header .navbar-brand,
header#header .navbar-brand {
  display: flex !important;
  align-items: center !important;
  height: 72px !important;      /* logo un peu plus petit */
  padding: 0 15px !important;
}

/* Logo */
#header .navbar-brand img,
header#header .navbar-brand img {
  height: 72px !important;
  width: auto !important;
  max-height: none !important;
  display: block !important;
}

/* Bouton MENU (hamburger) */
#header .navbar-toggle {
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  font-size: 1.05em;            /* légèrement plus grand */
}

/* Texte MENU */
#header .navbar-toggle .text {
  font-size: 1.05em !important;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 767px) {

  #header .navbar-brand,
  header#header .navbar-brand {
    height: 56px !important;
  }

  #header .navbar-brand img,
  header#header .navbar-brand img {
    height: 56px !important;
  }

  #header .navbar-toggle {
    height: 56px !important;
    font-size: 1em;
  }
}
/* =========================================
   HOME — CENTRAGE LOGO HERO
   ========================================= */

/* Uniquement sur la page d'accueil */
body.home .sppb-addon-single-image,
body.home .sppb-addon-single-image-container {
    text-align: center !important;
}

/* Centrage réel de l’image */
body.home .sppb-addon-single-image img {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}
/* =========================================
   HOME — CENTRAGE LOGO (COLONNE 12)
   ========================================= */

/* On centre le contenu de la colonne */
body.home .sppb-col-sm-12,
body.home .sppb-col-md-12 {
    display: flex;
    justify-content: center;
}

/* On évite tout décalage interne */
body.home .sppb-addon-single-image {
    text-align: center !important;
}

/* Centrage réel de l'image */
body.home .sppb-addon-single-image img {
    display: block;
    margin: 0 auto !important;
}
/* =========================================
   HOME — CENTRAGE LOGO HERO (INRATABLE)
   ========================================= */

body.home .sppb-addon-single-image-container {
  display: flex !important;
  justify-content: center !important;
}

body.home .sppb-addon-single-image-container img {
  margin: 0 !important;
}

