/*
Theme Name: Extra Child
Theme URI: https://gpa.kur.mybluehost.me/website_1a59cffc
Description: Thème enfant basé sur Extra
Author: Floriane Martinant
Author URI: https://ametistes.com
Template: Extra
Version: 1.0
*/

/* ========== SOMMAIRE DU FICHIER CSS ==========

1️⃣ Base globale (body, liens, titres, dividers)
2️⃣ Boutons (DIVI, boutons génériques, see-all, read more, 404)
3️⃣ Sidebars (sidebar, titres, derniers articles, événements, images, boutons, articles populaires)
4️⃣ Navigation entre articles
5️⃣ Related Posts
6️⃣ Agenda - Events / Filtres
7️⃣ Articles individuels (auteur, tags)
8️⃣ Catégories spécifiques (header, titre, description)
9️⃣ Modules :
    - Curseur de posts
    - Toute l'actu
    - Grille des articles
    - Focus catégorie
    - Bloc 3 colonnes
    - Bloc 4 colonnes
    - Bloc 3 bas image
    - Bloc double Success + Events
    - Bloc Populaires Home
    - Bloc Luxe
    - Bloc Ecosystemes
    - Bloc Evenements catégorie
10️⃣ Pages spéciales :
    - 404
    - A propos
    - Mentions
11️⃣ Menus (Secondaire, Principal, Header Divi)
12️⃣ Floating Social Icons + Back to Top
13️⃣ Effets globaux (hover thumb)

============================================ */


/* ============ BASE GLOBALE ============ */

/* 🎨 Couleurs (variables désactivées remplacées par codes hexadécimaux) */
/* -- Couleur principale : #CE1126 */
/* -- Couleur secondaire : #525252 */
/* -- Couleur accent : #808080 */
/* -- Couleur fond : #AFAFAF */
/* -- Couleur texte : #00414b */
/* -- Couleur titres : #00414b */


/* 📝 Texte global */
body {
  font-family: 'Raleway', sans-serif;
  color: #00414b;
  background-color: #AFAFAF;
}

/* 🔗 Liens */
a {
  color: #00414b;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* 🧱 Titres */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 1px;
  margin-top: 1em;
  margin-bottom: 0.3em;
  line-height: 1.0;
  color: #00414b;
  text-transform: uppercase;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* 🧷 Dividers */
.section-divider {
  width: 100%;
  margin: 0 auto 0.6em;
  border: none;
  border-top: 2px solid #CE1126 !important;
}

/* variante fine pour H4 */
.section-divider-fine {
  width: 30%;
  margin: 0 auto 1em;
  border: none;
  border-top: 1px solid #e0e0e0;
}


/* ========== 2️⃣ BOUTONS ========== */


/* 🧷 Boutons DIVI */
.et_pb_button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  background-color: #808080;
  color: #00414b;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.et_pb_button:hover {
  background-color: #808080;
  color: #CE1126;
}

/* 🔘 Bouton Post Slider */
.et_pb_post_slider .et_pb_button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  padding: 12px 12px;
  border-radius: 4px;
  background-color: #808080;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  line-height: 1.0;
  min-width: 160px;
  text-align: center;
}

.et_pb_post_slider .et_pb_button:hover {
  background-color: #808080;
  color: #CE1126;
  text-decoration: underline;
}

/* 🔘 Bouton "Lire +" */
.more-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 4px;
  background-color: #808080;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  line-height: 1.0;
  min-width: 160px;
  text-align: center;
}

.more-link:hover {
  background-color: #ffffff;
  color: #CE1126;
  text-decoration: underline;
}

/* 🔘 see-all-button (exemple dans sidebars ou 404) */
.see-all-button {
  display: inline-block;
  padding: 0.4em 1em;
  font-size: 13px;
  font-family: 'Bebas Neue', cursive;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CE1126;
  border: 1px solid #CE1126;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.see-all-button:hover {
  background-color: #CE1126;
  color: #fff;
  text-decoration: underline;
}

/* ========== 3️⃣ SIDEBARS ========== */

.sidebar-custom {
  background-color: #fff;
  padding: 1em;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-section {
  margin-bottom: 2em;
}

.sidebar-section h2,
.sidebar-section h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 0.2em;
  letter-spacing: 0.5px;
}

/* Titre H4 de section dans la sidebar */
.sidebar-section h4 {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00414b;
}

/* Divider fin pour H4 */
.section-divider-fine {
  width: 30%;
  margin: 0 auto 1em;
  border: none;
  border-top: 1px solid #e0e0e0;
}

/* 📰 Liste des Derniers articles publiés (cartes) */

.sidebar-article {
  text-align: center;
  padding: 1em 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1em;
}

.sidebar-article .thumb {
  width: 80%;
  height: 120px;
  margin: 0 auto 0.8em;
  border-radius: 4px;
  background-color: #AFAFAF;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sidebar-article .title {
  font-weight: 400;
  margin-bottom: 0.0em;
}

.sidebar-article .title a {
  text-decoration: none;
  color: #00414b;
  font-weight: 400;
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  display: inline-block;
  padding: 0 0.5em;
}

.sidebar-article .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.sidebar-article .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.4em;
}

/* 📰 Liste des Prochains événements (cartes, style partagé) */

.sidebar-article.event-sidebar {
  text-align: center;
  padding: 1em 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1.5em;
}

.event-sidebar .thumb {
  width: 80%;
  height: 120px;
  margin: 0 auto 0.8em;
  border-radius: 4px;
  background-color: #AFAFAF;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.event-sidebar .title a {
  text-decoration: none;
  color: #00414b;
  font-weight: 400;
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  display: inline-block;
  padding: 0 0.5em;
}

.event-sidebar .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.event-sidebar .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.4em;
}

/* 🧷 Sidebars - Image */

.sidebar-image-block {
  text-align: center;
  margin-bottom: 2em;
}

.sidebar-image-block img {
  width: 100%;
  height: auto;
  max-width: 280px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 🧷 Sidebars - Boutons */

.sidebar-button {
  text-align: center;
  margin-top: 0em;
}

.see-all-button {
  display: inline-block;
  padding: 0.4em 1em;
  font-size: 13px;
  font-family: 'Bebas Neue', cursive;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #CE1126;
  border: 1px solid #CE1126;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 160px; /* fixe la largeur minimale */
  text-align: center;
}

.see-all-button:hover {
  background-color: #CE1126;
  color: #fff;
  text-decoration: underline;

}

/* 📈 Articles les + populaires (liste numérotée harmonisée) */

.popular-list {
  margin: 0;
  padding: 0;
}

.popular-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5em;
}

.popular-number {
  font-weight: bold;
  color: #CE1126;
  font-size: 16px;
  margin-right: 0.5em;
  line-height: 1.2;
}

.popular-content {
  flex: 1;
}

.popular-content .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  color: #00414b;
  display: inline-block;
  padding: 0 0.5em 0 0;
  margin-bottom: 0.2em;
  line-height: 1.0;
  text-decoration: none;
}

.popular-content .title:hover {
  color: #CE1126;
  text-decoration: underline;
}

.popular-content .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
}

.populaire-item .category {
  font-size: 11px;
  text-transform: uppercase;
  color: #CE1126;
  margin-bottom: 0.2em;
}

.populaire-item .category a {
  color: #CE1126;
  text-decoration: none;
}

/* 🧭 Navigation entre article précédant et article suivant */

.post-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
  margin-top: 1em;
  border-top: 0px solid #CE1126;
  padding-top: 1.0em;
  flex-wrap: wrap;
}

.post-nav-item {
  width: 48%;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
}

.post-nav-item .label {
  font-family: 'Bebas Neue', cursive;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #CE1126;
  display: inline-block;
  padding-bottom: 0.2em;
}

.post-nav-item img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0.5em 0;
}

.post-nav-item .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  margin-bottom: 0.2em;
}

.post-nav-item .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
}

/* 📚 Articles associés - Related Posts */

.related-posts-section {
  margin-top: 1em;
  padding-top: 1em;
}

.related-posts-title {
  text-align: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 0.5px;
  line-height: 1.0;
  margin-bottom: 0em;
}

.related-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 2em;
}

.related-post {
  flex: 1 1 calc(33.333% - 1.34em);
  box-sizing: border-box;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .related-post {
    flex: 1 1 100%;
  }
}

.related-post .thumb {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
  background-color: #AFAFAF;
}

.related-post .related-category {
  font-size: 11px;
  text-align: center;
  color: #CE1126;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.related-post .related-category a {
  color: #CE1126;
  text-decoration: none;
}

.related-post .related-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  text-decoration: none;
  text-align: center;
  color: #00414b;
  display: block;
  line-height: 1.0;
  margin: 0em 0;
}

.related-post .related-title:hover {
  text-decoration: underline;
  color: #CE1126;
}

.related-post .meta {
  font-size: 11px;
  text-align: center;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

.related-post .excerpt {
  font-size: 14px;
  text-align: center;
  color: #00414b;
  line-height: 1.2;
}

/* 🗓️ Section agenda : événements via articles classiques */

.events-from-posts {
  margin-top: 1em;
  padding-top: 1em;
}

.events-title {
  text-align: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  line-height: 1.0;
  letter-spacing: 0.5px;
  margin-bottom: 0.4em;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

/* 🎛️ Filtres agenda : dropdown par thématique */

.event-filter-form {
  text-align: center;
  margin-bottom: 2em;
  font-family: 'Raleway', sans-serif;
}

.event-filter-form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 500;
  color: #00414b;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-filter-form select {
  padding: 0.4em 1em;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  border: 1px solid #CE1126;
  border-radius: 3px;
  color: #00414b;
  background-color: #fff;
  cursor: pointer;
  transition: border 0.3s ease;
}

.event-filter-form select:hover,
.event-filter-form select:focus {
  border-color: #A0001A;
  outline: none;
}

/* 🧱 Carte d'événement (dans la grille) */

.event-item {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
}

.event-item .thumb {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
  background-color: #AFAFAF;
}

.event-item .category-label {
  font-size: 11px;
  color: #CE1126;
  text-transform: uppercase;
  margin-bottom: 0.2em;
}

.event-item .event-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  text-decoration: none;
  color: #00414b;
  line-height: 1.0;
  display: block;
  margin: 0.3em 0;
}

.event-item .event-title:hover {
  text-decoration: underline;
  color: #CE1126;
}

.event-item .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

.event-item .excerpt {
  font-size: 14px;
  color: #00414b;
  line-height: 1.2;
}

/* Articles - Auteurs */

.auteur-article {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #00414b;    
  margin-top: 1em; 
  margin-bottom: 0em;    
  margin-left: 1em;
  text-align: left;
}

/* Articles - Tags Etiquettes */

.article-tags {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #00414b;
  margin-top: 0em;
  margin-left: 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.article-tags .tag-item {
  background-color: #F0F0F0;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 13px;
  color: #00414b;
  position: relative;
  display: inline-block;
}

.article-tags .tag-item::before {
  content: "#";
  color: #CE1126;
  margin-right: 0.2em;
  font-weight: bold;
}

/* Uniformisationd es styles des titres, descriptifs et logo de catégories spécifiques */

/* 🧱 Titre de la catégorie */
.categorie-header {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 2em;
  flex-wrap: wrap;
}

.categorie-header img {
  max-width: 100px;
  height: auto;
}

.categorie-infos .et_pb_dynamic_title {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  color: #00414b;
  text-transform: uppercase;
  margin-bottom: 0.3em;
  line-height: 1.0;
  text-align: left;
}

.categorie-infos .et_pb_dynamic_content {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: #00414b;
  max-width: 600px;
  line-height: 1.5;
  text-align: left;
}

/* 🎯 Titre dynamique de la catégorie */
.categorie-titre {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  text-align: center;
  color: #00414b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3em;
}

/* 📝 Description dynamique de la catégorie */
.categorie-description {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: #00414b;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.5em;
  line-height: 1.5;
}

/* 🎯 Largeur personnalisée des colonnes */
.categorie-ligne .et_pb_column_1 {
  width: 10% !important;
}

.categorie-ligne .et_pb_column_2 {
  width: 90% !important;
}

/* Réduit légèrement la colonne logo */
.et_pb_column.logo-col {
  width: 20% !important;
}

.et_pb_column.logo-col + .et_pb_column {
  width: 80% !important;
}

/* 🎯 Styles pour le module Curseur de défilement des posts // SLIDER POSTS de la section A LA UNE par exemple
*/

/* 🌫️ Fond du slider en gris clair */
.et_pb_post_slider {
  background-color: #F5F5F5;
  padding: 0;
  border: none;
}

/* 🖼️ Image du slider sans bordure, plein cader, borsd arrondie */
.et_pb_post_slider .et_pb_slide_image img {
  border: none;
  border-radius: 4px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

/* 🧱 Supprimer les marges internes autour de l'image */
.et_pb_post_slider .et_pb_slide_image {
  margin: 0;
  padding: 0;
}

.et_pb_post_slider .et_pb_slide {
  border: 1px solid #e0e0e0;
  border-radius: 0px;
  overflow: hidden;
}

.et_pb_post_slider .et_pb_slide_description {
  padding: 1.0em;
}

/* 🎨 Titre : Bebas Neue + interligne resserrée */
.et_pb_post_slider .et_pb_slide_title {
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  color: #00414b;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 0.1em;
}

/* 📝 Excerpt (contenu) en blanc */
.et_pb_post_slider .et_pb_slide_content {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.0;
}

/* 🔘 Bouton Post Slider : taille fixe (même au hover) */

.et_pb_post_slider .et_pb_button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  padding: 12px 12px;
  border-radius: 4px;
  background-color: #808080;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  line-height: 1.0;
  min-width: 160px; /* fixe la largeur minimale */
  text-align: center;
}

.et_pb_post_slider .et_pb_button:hover {
  background-color: #808080;
  color: #CE1126;
  text-decoration: underline;
  /* pas de changement de padding = taille stable */
}


/* 🎯 Style des boutons "Lire la suite" dans les modules Blog */

/* 🔘 Boutons "Lire la suite" dans les modules Blog */
.more-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 4px;
  background-color: #808080;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  line-height: 1.0;
  min-width: 160px;
  text-align: center;
}

.more-link:hover {
  background-color: #ffffff;
  color: #CE1126;
  text-decoration: underline;
}

/* 🎨 Style des articles dans la section "Toute l’actu" (même look que sidebar) */

/* 🎯 Style affiné des articles "Toute l’actu" */

.blog-sidebar-style .et_pb_post {
  text-align: center;
  padding: 0;
  border: none;
  margin-bottom: 0.5em;
  background: transparent;
  box-shadow: none;
}

/* 📸 Forcer image au format 4:3 dans le Blog (Toute l’actu) */
.blog-sidebar-style .et_pb_image_container {
  aspect-ratio: 4 / 3;
  width: 80%;
  margin: 0 auto 0.1em;
  overflow: hidden;
  border-radius: 4px;
}

.blog-sidebar-style .et_pb_image_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* 🧱 Titre de l’article */
.blog-sidebar-style h2.entry-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  color: #00414b;
  margin-top: 0.4em;
  margin-bottom: 0.1em;
  line-height: 1.0em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ✍️ Données meta (auteur, date) */
.blog-sidebar-style .post-meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.4em;
  font-family: 'Raleway', sans-serif;
}

/* 📝 Excerpt avec interligne réduit + espacement bas */
.blog-sidebar-style .post-content p {
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
  line-height: 1.2;
  margin-bottom: 1em;
}

/* 🔘 Bouton "Lire +" – fond blanc, bordure rouge, texte rouge */

.blog-sidebar-style .more-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  background-color: #ffffff;
  color: #CE1126;
  border: 1px solid #CE1126;
  padding: 10px 20px;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 140px;
  text-align: center;
  text-decoration: none;
}

.blog-sidebar-style .more-link:hover {
  background-color: #CE1126;
  color: #ffffff;
  text-decoration: underline;
}


/* 🧱 Grille des articles (style identique à sidebar / actu sauf image) */

.blog-grille-style .et_pb_post {
  text-align: center;
  padding: 0;
  border: none;
  margin-bottom: 2em;
  background: transparent;
  box-shadow: none;
}

/* 📸 Image 3:4, arrondie */

.blog-grille-style .et_pb_image_container {
  aspect-ratio: 1 / 1;
  width: 80%;
  margin: 0 auto 1em;
  overflow: hidden;
  border-radius: 4px;
  background-color: #AFAFAF;
}

.blog-grille-style .et_pb_image_container img {
  aspect-ratio: 1 / 1;
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}


/* 🧱 Titre */
.blog-grille-style h2.entry-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  color: #00414b;
  margin-top: 1em;
  margin-bottom: 0.1em;
  line-height: 1.0em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ✍️ Meta (date, auteur) */
.blog-grille-style .post-meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  margin-top: 0;
  margin-bottom: 0em;
}

/* 📝 Excerpt */
.blog-grille-style .post-content p {
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
  margin-top: 0.4em;
  line-height: 1.2;
  margin-bottom: 1em;
}

/* 🔘 Bouton “Lire +” */
.blog-grille-style .more-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  background-color: #808080;
  color: #FFFFFF;
  padding: 10px 10px;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 160px;
  text-align: center;
  text-decoration: none;
}

.blog-grille-style .more-link:hover {
  background-color: #ffffff;
  color: #CE1126;
  text-decoration: underline;
}

/* 🎯 Bloc éditorial 1 image: Focus catégorie */

.focus-categorie-block {
  margin-bottom: 3em;
  padding: 1em 0;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
}

/* 🧱 Titre */
.focus-categorie-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3em;
  line-height: 1.0;
  color: #00414b;
}

/* 📸 Image principale */
.focus-main-article .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
}

/* 📝 Titre principal */
.focus-main-article .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3em;
  line-height: 1.0;
  text-align: center;
}

.focus-main-article .title a {
  color: #00414b;
  text-decoration: none;
}

.focus-main-article .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* ✏️ Excerpt */
.focus-main-article .excerpt {
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1em;
}

.focus-main-article .button-wrapper {
  text-align: center;
}

/* 🔗 Liste des articles secondaires */
.focus-secondary-list {
  list-style: none;
  padding: 0;
  margin-top: 2em;
}

.focus-secondary-list li {
  margin-bottom: 0.8em;
  font-size: 14px;
  text-align: center;
}

.focus-secondary-list li a {
  color: #00414b;
  text-decoration: none;
  font-weight: 600;
}

.focus-secondary-list li a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* 🧱 Disposition en 2 colonnes */
.focus-categorie-block {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: flex-start;
}

.focus-main-article {
  flex: 2;
  min-width: 260px;
}

.focus-secondary-list {
  flex: 1;
  min-width: 200px;
  margin-top: 0;
  padding-top: 0.5em;
}

@media (max-width: 768px) {
  .focus-categorie-block {
    flex-direction: column;
  }

  .focus-secondary-list {
    text-align: center;
  }
}

/* 🧱 Colonne droite : articles secondaires enrichis */
.focus-secondary-grid {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

/* Carte secondaire */
.focus-secondary-article {
  text-align: center;
}

/* Image */
.focus-secondary-article .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.5em;
}

/* Titre */
.focus-secondary-article .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  color: #00414b;
  margin: 0.3em 0 0.2em;
  line-height: 1.0;
}

.focus-secondary-article .title a {
  color: #00414b;
  text-decoration: none;
}

.focus-secondary-article .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* Méta : date + auteur */
.focus-secondary-article .meta {
  font-size: 11px;
  color: #808080;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
}

/* 🧱 Bloc éditorial en 3 colonnes */

.bloc-3-colonnes {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  margin-bottom: 3em;
}

/* Colonne 1 */
.bloc-3-colonnes .colonne.article-large:first-child {
  flex: 0 0 25%;
}

/* Colonne 2 */
.bloc-3-colonnes .colonne.article-large:nth-child(2) {
  flex: 0 0 25%;
}

/* Colonne 3 */
.bloc-3-colonnes .colonne.article-liste {
  flex: 0 0 50%;
}

/* Articles complets (colonnes 1 et 2) */
.bloc3-article {
  text-align: center;
}

.bloc3-article .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
}

.bloc3-article .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  color: #00414b;
  margin-bottom: 0.2em;
  line-height: 1.0;
}

.bloc3-article .title a {
  color: #00414b;
  text-decoration: none;
}

.bloc3-article .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.bloc3-article .meta {
  font-size: 11px;
  color: #808080;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

.bloc3-article .excerpt {
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  line-height: 1.2;
  color: #00414b;
}

/* Colonne 3 : liste d'articles */
.bloc3-liste-item {
  margin-bottom: 2em;
  text-align: center;
}

.bloc3-liste-item .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  margin-bottom: 0.2em;
  color: #00414b;
  line-height: 1.0;
}

.bloc3-liste-item .title a {
  color: #00414b;
  text-decoration: none;
}

.bloc3-liste-item .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.bloc3-liste-item .meta {
  font-size: 11px;
  color: #808080;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.4em;
}

.bloc3-liste-item .excerpt {
  font-size: 13px;
  font-family: 'Raleway', sans-serif;
  line-height: 1.2;
  color: #00414b;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .bloc-3-colonnes {
    flex-direction: column;
  }
}

/* 🧱 Bloc 4 colonnes - Derniers articles */

.bloc-4-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2em;
  margin-bottom: 3em;
}

.article-card {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
}

/* Image */
.article-card .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
}

/* Catégorie */
.article-card .category {
  font-size: 11px;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  color: #CE1126;
  margin-bottom: 0.2em;
}

.article-card .category a {
  color: #CE1126;
  text-decoration: none;
}

/* Titre */
.article-card .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  margin: 0.3em 0 0.2em;
  line-height: 1.0;
}

.article-card .title a {
  color: #00414b;
  text-decoration: none;
}

.article-card .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* Méta */
.article-card .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

/* Excerpt */
.article-card .excerpt {
  font-size: 14px;
  line-height: 1.2;
  color: #00414b;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .bloc-4-articles {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .bloc-4-articles {
    grid-template-columns: 1fr;
  }
}


/* 🧱 Bloc éditorial 3 colonnes - image en bas */

.bloc-3-basimg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin-bottom: 3em;
}

.bloc3-item {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
}

/* Méta */
.bloc3-item .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

/* Titre */
.bloc3-item .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  line-height: 1.0;
  margin-bottom: 0.2em;
}

.bloc3-item .title a {
  color: #00414b;
  text-decoration: none;
}

.bloc3-item .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* Excerpt */
.bloc3-item .excerpt {
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 0.8em;
  color: #00414b;
}

/* Image */
.bloc3-item .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .bloc-3-basimg {
    grid-template-columns: 1fr;
  }
}


/* 🧱 Bloc double colonne : Success Stories + Événements */

.bloc-double {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 3em;
}

.bloc-double .colonne {
  flex: 1;
  min-width: 280px;
}

/* 🔹 Colonne gauche : Success Stories */
.bloc-double .gauche .story-item {
  margin-bottom: 2em;    /* espace entre excerpt et bouton */
}

.bloc-double .gauche .story-grid {
  display: flex;
  align-items: center;
  gap: 1em;
}

.bloc-double .gauche .thumb {
  width: 100px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.bloc-double .gauche .story-text .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  line-height: 1.0;
  margin-bottom: 0.2em;
}

.bloc-double .gauche .story-text .title a {
  color: #00414b;
  text-decoration: none;
}

.bloc-double .gauche .story-text .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.bloc-double .gauche .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
}

.bloc-double .gauche .excerpt {
  font-size: 14px;
  color: #00414b;
  margin-top: 0.5em;
  line-height: 1.2;
}

/* 🔻 Colonne droite : Événements */

.bloc-double .droite .event-item {
  display: block; /* On repasse en block pour meilleure lisibilité */
  margin-bottom: 1.5em;
  padding-bottom: 1em;
  border-bottom: 1px solid #E0E0E0; /* Une séparation légère */
}

.bloc-double .droite .event-date {
  font-family: 'Bebas Neue', cursive;
  align-items: center;          /* ← pour aligner verticalement */
  color: #CE1126;
  margin-right: 1em;
  min-width: 40px;
}

.bloc-double .droite .event-date .jour {
  font-size: 20px;
  line-height: 1;
  margin-right: 3px; /* ← espace entre JOUR et MOIS */
}

.bloc-double .droite .event-date .mois {
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase; /* bonus : mets le mois en capitales si tu veux */
  letter-spacing: 0.5px; /* optionnel : léger espacement pour + chic */
}


.bloc-double .droite .event-text .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  margin-bottom: 0.2em;
  line-height: 1.2;
  text-align: center;
}

.bloc-double .droite .event-text .title a {
  color: #00414b;
  text-decoration: none;
}

.bloc-double .droite .event-text .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.bloc-double .droite .event-text .meta {
  font-size: 11px;
  color: #808080;
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  margin-top: 0.2em;
}



/* 🧱 Bloc Populaires Home - 2 colonnes (flex) */

.bloc-populaires-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 3em;
}

.populaire-item {
  flex: 0 0 calc(50% - 1em);
  box-sizing: border-box;
  position: relative;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
}

/* Rang */
.populaire-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #CE1126;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 auto 0.8em;
  transition: all 0.3s ease;
}

.populaire-rank:hover {
  background-color: #fff;
  color: #CE1126;
  border: 1px solid #CE1126;
}


/* Image */
.populaire-item .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
}

/* Titre */
.populaire-item .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  margin-bottom: 0.2em;
  line-height: 1.0;
}

.populaire-item .title a {
  color: #00414b;
  text-decoration: none;
}

.populaire-item .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* Méta */
.populaire-item .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

/* Excerpt */
.populaire-item .excerpt {
  font-size: 14px;
  color: #00414b;
  line-height: 1.2;
}

/* Responsive mobile : 1 colonne */
@media (max-width: 768px) {
  .populaire-item {
    flex: 0 0 100%;
  }
}

/* 🧱 Bloc Luxe & Durabilité */

.bloc-luxe {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 3em;
}

.bloc-luxe .luxe-col {
  flex: 1;
  min-width: 300px;
}

/* Article principal */
.luxe-main .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
}

.luxe-main .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  line-height: 1.0;
  margin-bottom: 0.2em;
}

.luxe-main .title a {
  color: #00414b;
  text-decoration: none;
}

.luxe-main .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.luxe-main .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

.luxe-main .excerpt {
  font-size: 14px;
  color: #00414b;
  line-height: 1.2;
  margin-bottom: 1em;
}

/* Articles secondaires */
.luxe-side .luxe-mini-article {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  margin-bottom: 1.5em;
}

.luxe-side .luxe-mini-article .thumb {
  width: 80px;
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.luxe-side .luxe-mini-article .text .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  margin-bottom: 0.2em;
  line-height: 1.0;
}

.luxe-side .luxe-mini-article .text .title a {
  color: #00414b;
  text-decoration: none;
}

.luxe-side .luxe-mini-article .text .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.luxe-side .luxe-mini-article .text .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .bloc-luxe {
    flex-direction: column;
  }
}

/* 🧱 Bloc Écosystèmes - Articles en alternance gauche/droite */

.bloc-ecosystemes {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin-bottom: 3em;
}

/* Conteneur d'un article */
.ecosysteme-item {
  display: flex;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
}

/* Alignement gauche */
.ecosysteme-item.align-left {
  flex-direction: row;
}

/* Alignement droite */
.ecosysteme-item.align-right {
  flex-direction: row-reverse;
}

/* Image */
.ecosysteme-item .thumb {
  width: 280px;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Texte */
.ecosysteme-item .text {
  flex: 1;
  font-family: 'Raleway', sans-serif;
  color: #00414b;
}

.ecosysteme-item .text .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  margin-bottom: 0.3em;
  line-height: 1.0;
}

.ecosysteme-item .text .title a {
  color: #00414b;
  text-decoration: none;
}

.ecosysteme-item .text .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.ecosysteme-item .text .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

.ecosysteme-item .text .excerpt {
  font-size: 14px;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 768px) {
  .ecosysteme-item {
    flex-direction: column !important;
    text-align: center;
  }

  .ecosysteme-item .thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .ecosysteme-item .text {
    text-align: left;
  }
}


/* Lien "A PROPOS DE NOUS" dans le top bar */

#et-info .apropos-link {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  text-transform: uppercase;
  color: #CE1126;
  margin-right: 2em;
}

#et-info .apropos-link a {
  color: #CE1126;
  text-decoration: none;
}

#et-info .apropos-link a:hover {
  text-decoration: underline;
}

#et-info .apropos-logo {
  width: 27px;
  height: auto;
  display: inline-block;
}


/* 🧱 Bloc Événements – Page catégorie */

.bloc-evenements-categorie {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  margin-bottom: 3em;
}

/* Bloc individuel */
.bloc-evenements-categorie .event-item {
  display: flex;
  align-items: flex-start;
}

/* Date */
.bloc-evenements-categorie .event-date {
  font-family: 'Bebas Neue', cursive;
  text-align: center;
  color: #CE1126;
  margin-right: 1em;
  min-width: 40px;
  line-height: 1;
  padding-top: 1.0em;

}

.bloc-evenements-categorie .event-date .jour {
  font-size: 30px;
  display: block;
}

.bloc-evenements-categorie .event-date .mois {
  font-size: 20px;
  display: block;
  margin-top: 2px;
}

/* Texte */
.bloc-evenements-categorie .event-text {
  flex: 1;
  text-align: left;
  padding-left: 1.0em;
  padding-top: 1.0em;
}

.bloc-evenements-categorie .event-text .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  margin-bottom: 0.2em;
  line-height: 1.0;
}

.bloc-evenements-categorie .event-text .title a {
  color: #00414b;
  text-decoration: none;
}

.bloc-evenements-categorie .event-text .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.bloc-evenements-categorie .event-text .excerpt {
  font-size: 14px;
  line-height: 1.2;
  color: #00414b;
  padding-left: 1em;
  border-left: 1px solid #808080;
}

/* Image dans bloc événements (entre date et texte) */
.bloc-evenements-categorie .event-thumb {
  width: 100%;
  height: 140px;
  background-image: inherit !important;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin: 0.8em 0;
}

.bloc-evenements-categorie a .event-thumb {
  background-image: inherit !important;
}

.bloc-evenements-categorie .event-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0em 0;
}


/* ajustement des titres HOME page */
.bloc-section-titre {
  text-align: center;
  margin-top: 0em;
  margin-bottom: 2em;
}

.bloc-titre-home {
  font-family: 'Bebas Neue', cursive;
  font-size: 38px;
  text-align: center;
  color: #00414b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3em;
}

.section-divider {
  width: 30%;
  margin: 0 auto;
  border: none;
  border-top: 2px solid #CE1126;
}



/* ✅ Bloc I&T HOME - final version */

/* 🧱 Layout */
.bloc-innovations-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
  margin-top: 2em;
}

/* ⬅️ Colonne gauche */
.bloc-innovations-layout .colonne.gauche {
  width: 69%;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.innovation-feature {
  display: flex;
  flex-direction: column;
}

img.top-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.8em;
  display: block;
}

/* ➡️ Colonne droite */
.bloc-innovations-layout .colonne.droite {
  width: 26%;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.innovation-item .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.8em;
}

/* 🖋️ Typo */
.innovation-feature .title,
.innovation-item .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  color: #00414b;
  line-height: 1.0;
  margin: 0.2em 0;
}

.innovation-feature .title a,
.innovation-item .title a {
  color: #00414b;
  text-decoration: none;
}

.innovation-feature .title a:hover,
.innovation-item .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

.innovation-feature .meta,
.innovation-item .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

.innovation-feature .excerpt,
.innovation-item .excerpt {
  font-size: 14px;
  color: #00414b;
  line-height: 1.2;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .bloc-innovations-layout {
    flex-direction: column;
  }

  .bloc-innovations-layout .colonne {
    width: 100% !important;
  }

  .innovation-feature img.top-thumb {
    width: 100%;
  }
}


/* 📦 Bloc Éco-mobilité Home */

/* 🌿 Bloc Eco-mobilité - Structure */

.bloc-eco-wrapper {
  margin-top: 2em;
}

.bloc-eco-columns {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 2em;
}

/* Colonne 1 et 2 */
.eco-large {
  width: 33%;
  box-sizing: border-box;
}

.eco-large-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.eco-large-inner .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

.eco-large .title {
  font-family: 'Bebas Neue', cursive;
   color: #00414b;
 font-size: 20px;
  line-height: 1.0;
  margin: 0.2em 0 0.0em;
}

.eco-large .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.eco-large .excerpt {
  font-size: 14px;
  color: #00414b;
  line-height: 1.2;
}

/* Colonne 3 */
.eco-list {
  width: 33%;
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding-left: 1.5em;
  border-left: 1px solid #CE1126;
  box-sizing: border-box;
}

.eco-list-item .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  color: #00414b;
  line-height: 1.0;
  margin-bottom: 0.2em;
}

.eco-list-item .meta {
  font-size: 11px;
  color: #808080;
  text-transform: uppercase;
  margin-bottom: 0.3em;
}

.eco-list-item .excerpt {
  font-size: 14px;
  color: #00414b;
  line-height: 1.2;
}

/* 🔴 Hover rouge sur les titres */

.eco-large .title a:hover,
.eco-list-item .title a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px) {
  .bloc-eco-columns {
    flex-direction: column;
  }

  .eco-large,
  .eco-list {
    width: 100%;
    border-left: none;
    padding-left: 0;
  }
}

/* 🟦 Bloc deux articles en ligne (catégorie) */
.bloc-2-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 2em;
  margin-bottom: 2em;

}

.bloc-2-articles .article-card {
  flex: 1 1 calc(50% - 1em); /* Deux colonnes avec un écart */
  box-sizing: border-box;
}

.bloc-2-articles .thumb {
  width: 100%;
  aspect-ratio: 4 / 3; /* Force un format 4:3 */
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  background-color: #AFAFAF;
  margin-bottom: 0.8em;
}


@media (max-width: 767px) {
  .bloc-2-articles .article-card {
    flex: 1 1 100%;
  }
}

/* 🟧 Bloc trois articles en ligne (catégorie) */
.bloc-3-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
  margin-top: 2em;
}

.bloc-3-articles .article-card {
  width: 100%;
  flex: 1 1 calc(33.333% - 1.5em);
  box-sizing: border-box;
}

.bloc-3-articles .thumb {
  width: 100%;
  aspect-ratio: 1 / 1; /* Force un format 1:1 */
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  background-color: #AFAFAF;
  margin-bottom: 0.8em;
}

@media (max-width: 767px) {
  .bloc-3-articles .article-card {
    flex: 1 1 100%;
  }
}

/* 🟧 Bloc pour la page 'erreur 404' */

.bloc-404-wrapper {
  text-align: center;
  padding: 3em 1em;
  max-width: 700px;
  margin: 0 auto;
}

.bloc-404-message {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  color: #00414b;
  margin-bottom: 2em;
}

.bloc-404-button .see-all-button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  background-color: #ffffff;
  color: #CE1126;
  border: 2px solid #CE1126;
  padding: 12px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 160px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.bloc-404-button .see-all-button:hover {
  background-color: #CE1126;
  color: #ffffff;
  text-decoration: underline;
}

.bloc-404-recent {
  margin-top: 3em;
  text-align: left;
}

.bloc-404-recent .recent-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  margin-bottom: 1em;
  color: #00414b;
}

.bloc-404-recent .recent-link a {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #00414b;
  text-decoration: none;
  display: block;
  margin-bottom: 0.8em;
}

.bloc-404-recent .recent-link a:hover {
  color: #CE1126;
  text-decoration: underline;
}


/* --------- Menu secondaire --------- */
.menu-secondaire {
  background-color: #f8f8f8;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: #808080;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4em 1em;
}

.menu-secondaire a {
  color: #CE1126;
  margin-left: 1em;
  text-decoration: none;
}

.fil-actu strong {
  color: #CE1126;
  font-weight: 600;
}

/* --------- Menu principal --------- */
.menu-principal {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  border-bottom: 1px solid #e0e0e0;
}

.menu-principal .logo img {
  max-height: 60px;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.navigation a {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  color: #00414b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.navigation a:hover {
  color: #CE1126;
  text-decoration: underline;
}

/* --------- Responsive --------- */
@media (max-width: 768px) {
  .navigation ul {
    flex-direction: column;
    gap: 0.5em;
  }
  .menu-principal {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* --------- HEADER : Menu principal --------- */

/* Supprime toute trace de soulignement Divi */
#main-header .nav li a::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

#main-header .nav li a {
  position: relative;
  font-family: 'Bebas Neue', cursive;
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: 1px;
  padding: 1.6em 0;  /* Gère espace entre top et items du menu - sauf logo */
  color: #00414b;
  text-align: center;
  display: inline-block;
  line-height: 1.0; /* renforce la hauteur propre */
  transition: all 0.3s ease; /* pour animer la taille + couleur */

}

#main-header .nav li a:hover,
#main-header .nav li.current-menu-item a {
  color: #CE1126;
  transform: scale(1.08); /* agrandit de 8% */

}

/* Soulignement rouge custom */
#main-header .nav li a:hover::before,
#main-header .nav li.current-menu-item a::before {
  content: "";
  position: absolute;
  top: 0; /* bien collé en haut */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background-color: #CE1126;
  border-radius: 1px;
}

#main-header .nav li a::before {
  transition: width 0.3s ease;
  width: 0;
}

#main-header .nav li a:hover::before,
#main-header .nav li.current-menu-item a::before {
  width: 60%;
}

/* Le logo n’est plus aligné à gauche seul */
#logo {
  order: 0;
  margin-right: 2em;
}

/* Permet au menu de s’adapter au centre */
#main-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#et-top-navigation {
  display: flex;
  align-items: center;  /* ✅ CENTRAGE VERTICAL */
  justify-content: center;
  gap: 3em;
  padding: 0em 0;
}

/* Menu secondaire */

#top-header .container {
  display: flex;
  align-items: flex-start; /* ✅ alignement haut */
  justify-content: space-between;
  flex-wrap: wrap;
}

/* enfants bien alignés haut */
#top-header .apropos-link,
#top-header .et-extra-social-icons {
  display: flex;
  align-items: flex-start;
}

/* Responsive : en mobile on centre proprement */
@media (max-width: 767px) {
  #top-header .container {
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
  }

  #top-header .apropos-link,
  #top-header .et-extra-social-icons {
    align-items: center;
    justify-content: center;
  }
}


/* 🟥 Bouton À propos */


#top-header .apropos-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 0.2em 0.8em;
  margin-right: 0em; /* espace vers les icônes */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* ✅ mini box-shadow permanent */
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#top-header .apropos-link:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ✅ effet hover plus prononcé */
  transform: translateY(-2px); /* petit effet "lift" */
  transition: all 0.3s ease;
    
}

#top-header .apropos-link a {
  font-family: 'Raleway', sans-serif; /* Ou 'Bebas Neue', cursive; 18px */
  font-weight: 700; /* bold */
  font-size: 15px;
  text-transform: uppercase;
  color: #CE1126 !important;
  text-decoration: none;
  letter-spacing: 1px;
  line-height: 1;
}

#top-header .apropos-link a:hover {
  border-radius: 4px;
  text-decoration: underline;
  transition: all 0.3s ease;
    
}

#top-header .apropos-link img {
  height: 18px; /* Ajuste la taille du logo ici selon ton goût : 16px, 18px, 20px */
  width: auto;
  margin-right: 0.4em;
}


/* Style par défaut des icônes rsx scx : carré blanc */
.et-extra-social-icons a.et-extra-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: #ffffff;
  border-radius: 4px;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
/* On ne peut PAS changer la couleur de l'icône car c'est une image de fond */

/* Hover */
.et-extra-social-icons a.et-extra-icon-background-hover:hover {
  background-color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ombre douce */
  transform: translateY(-2px); /* petit effet "lift" */
  transition: all 0.3s ease;
}


/* Champs Recherche */

/* 🟨 Cibler la box globale loupe */
.et-top-search {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  padding: 0;
  overflow: hidden; /* évite les débordements du bouton */
}

/* 🟨 Effet hover */
.et-top-search:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  background-color: #ffffff !important;
  transform: translateY(-2px); /* petit effet "lift" */
  transition: all 0.3s ease;
    
}


/* Effet hover global sur toutes les images d'articles (.thumb) */
/* Compatible avec tes blocs éditoriaux, sidebars, related-posts */
/* Ne touche pas les logos, icônes, etc. */

.thumb {
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.thumb:hover {
  transform: scale(1.05);
  opacity: 0.9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* petite ombre subtile */
}

/* Si jamais .thumb est une <img> (fallback sécurité) */
.thumb img:hover {
  transform: scale(1.05);
  opacity: 0.9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sur mobile : on réduit un peu l'effet pour éviter les effets "collants" au toucher */
@media (max-width: 767px) {
  .thumb:hover {
    transform: scale(1.02);
    opacity: 1;
    box-shadow: none;
  }
}


/* Pour éviter d'avoir un titre et divider sur le haut de la page A propos */
body.page-id-1927 header.entry-header {
    display: none !important;
}


/* 🆙 Back to Top - style rond pro */

#back_to_top {
  width: 50px;
  height: 50px;
  background-color: #FFFFFF;
  border: 2px solid #CE1126;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg fill='%23CE1126' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-8 8h5v8h6v-8h5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  transition: all 0.3s ease;
}

/* Hover - fond rouge, flèche blanche */
#back_to_top:hover {
  background-color: #CE1126;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4l-8 8h5v8h6v-8h5z'/%3E%3C/svg%3E");
}

/* Responsive - réduire sur petits écrans */
@media (max-width: 768px) {
  #back_to_top {
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
    bottom: 20px;
    right: 20px;
  }
}

/* Effet LIFT Back to Top (délicat) */
#back_to_top {
  transform: translateY(0);
  transition: transform 0.3s ease, background-color 0.3s ease, background-image 0.3s ease;
}

#back_to_top:hover {
  transform: translateY(-5px);
}


/* 🟥 Bloc Réseaux Sociaux Flottant en bas à droite */

/* 🟥 Bloc Réseaux Sociaux Flottant en bas à gauche */
#floating-social-icons {
  position: fixed;
  top: 220px; /* au-dessus du Back to Top */
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

#floating-social-icons a {
  width: 40px;
  height: 40px;
  background-color: #FFFFFF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Couleur Hover */
#floating-social-icons a:hover {
  background-color: #CE1126;
  transform: translateY(-3px);
}

/* Icônes spécifiques */
#floating-social-icons .facebook {
  background-image: url('https://monaco-durable.com/wp-content/uploads/2025/06/FB_250_V.webp');
}

#floating-social-icons .x {
  background-image: url('https://monaco-durable.com/wp-content/uploads/2025/06/X_V.webp');
}

#floating-social-icons .instagram {
  background-image: url('https://monaco-durable.com/wp-content/uploads/2025/06/Insta_250px_V.webp');
}

#floating-social-icons .linkedin {
  background-image: url('https://monaco-durable.com/wp-content/uploads/2025/06/LK_250_V.webp');
}

#floating-social-icons .youtube {
  background-image: url('https://monaco-durable.com/wp-content/uploads/2025/06/YT_250_V.webp');
}

/* Mobile : on masque */
@media (max-width: 767px) {
  #floating-social-icons {
    display: none;
  }
}


/* Slider container */
.slider-articles-home {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 700px; /* hauteur plus grande */
}

/* Slides */
.slider-articles-home .slide {
  display: none;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

/* Active slide */
.slider-articles-home .slide.active {
  display: block;
}

/* Contenu du slide */
.slider-articles-home .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.3); /* fond semi-transparent */
  padding: 2em;
  border-radius: 4px;
  max-width: 90%;
}

/* Titre */
.slider-articles-home .slide-content .title {
  font-family: 'Bebas Neue', cursive;
  font-size: 30px;
  margin-bottom: 1em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Excerpt */
.slider-articles-home .slide-content .excerpt {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

/* Navigation dots */
.slider-articles-home .slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-articles-home .slider-dots span {
  display: block;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.slider-articles-home .slider-dots span.active {
  opacity: 1;
}

/* Flèches */
.slider-articles-home .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  padding: 0 0.4em;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  user-select: none;
}

.slider-articles-home .slider-nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slider-articles-home .slider-prev {
  left: 10px;
}

.slider-articles-home .slider-next {
  right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .slider-articles-home .slide-content {
    padding: 1em;
  }

  .slider-articles-home .slide-content .title {
    font-size: 22px;
  }

  .slider-articles-home .slide-content .excerpt {
    font-size: 15px;
  }
}
