/* ============================================================
   1. STRUCTURE DU HEADER ET LOGO
   ============================================================ */

/* Force le fond noir partout (Pages normales et Page Freelancer) */
header, .site-header, .ast-primary-header-bar, .main-header-bar, .page-id-38 #masthead {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Taille du Logo */
.site-logo img, .custom-logo img, .ast-site-identity img {
    max-width: 250px !important;
    width: 250px !important;
    height: auto !important;
}

/* Hauteur du header pour les 2 lignes de menu */
header, .site-header, .ast-primary-header-bar {
    height: auto !important;
    min-height: 110px !important;
    padding: 15px 0 !important;
    overflow: visible !important;
}

/* ============================================================
   2. MENU PRINCIPAL (ÉTATS : NORMAL, SURVOL, ACTIF)
   ============================================================ */

/* Menu sur deux lignes */
.main-navigation ul, .ast-primary-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* Couleur des onglets par défaut (Blanc) */
.main-navigation a, .ast-primary-menu a, .ast-builder-menu-1 .menu-item a {
    color: #ffffff !important;
}

/* Couleur au SURVOL (Bleu Logo #007bff) */
.main-navigation a:hover, 
.ast-primary-menu a:hover, 
.ast-builder-menu-1 .menu-item a:hover {
    color: #007bff !important;
    background-color: transparent !important;
}

/* Couleur de l'onglet PARENT (ex: Dessin, peinture) quand on est dans un sous-menu */
.main-header-menu li.current-menu-ancestor > a,
.main-header-menu li.current-menu-parent > a {
    color: #ffffff !important;
    background-color: transparent !important;
}

/* ============================================================
   3. SOUS-MENUS (ÉTATS : NORMAL, SURVOL, ACTIF)
   ============================================================ */

/* Fond du rectangle déroulant */
.ast-builder-menu-1 .main-header-menu .sub-menu,
.sub-menu {
    background-color: #000000 !important;
    border: 1px solid #222 !important;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.8) !important;
}

/* Liens du sous-menu par défaut (Blanc) */
.sub-menu li a {
    color: #ffffff !important;
    background-color: #000000 !important;
    display: block !important;
    padding: 12px 20px !important;
}

/* LIEN ACTIF du sous-menu (ex: Vidéos quand on est dessus) */
/* On force le blanc et un fond gris foncé pour qu'il soit visible */
.ast-builder-menu-1 .sub-menu li.current-menu-item a,
.main-header-menu .sub-menu li.current-menu-item a {
    color: #ffffff !important;
    background-color: #222222 !important;
    opacity: 1 !important;
}

/* Survol des liens du sous-menu (Bleu) */
.sub-menu li a:hover {
    color: #007bff !important;
    background-color: #111111 !important;
}

/* ============================================================
   4. ANIMATION LUMIÈRE
   ============================================================ */
.ast-primary-header-bar::before {
    content: "";
    position: absolute;
    top: 0; left: -150%;
    width: 250px; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite linear;
    pointer-events: none;
}
@keyframes shine {
    0% { left: -150%; }
    100% { left: 150%; }
}/* ============================================================
   1. STRUCTURE DU HEADER ET LOGO
   ============================================================ */

/* Fond noir forcé sur toutes les pages (y compris Freelancer) */
header, .site-header, .ast-primary-header-bar, .main-header-bar, .page-id-38 #masthead {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Taille du Logo */
.site-logo img, .custom-logo img, .ast-site-identity img {
    max-width: 250px !important;
    width: 250px !important;
    height: auto !important;
}

/* Hauteur du header pour accueillir le menu sur 2 lignes */
header, .site-header, .ast-primary-header-bar {
    height: auto !important;
    min-height: 110px !important;
    padding: 15px 0 !important;
    overflow: visible !important; /* Important pour voir le sous-menu */
}

/* ============================================================
   2. MENU PRINCIPAL (LIGNES ET COULEURS)
   ============================================================ */

/* Force le menu sur deux lignes si nécessaire */
.main-navigation ul, .ast-primary-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* Couleur des onglets par défaut (Blanc) */
.main-navigation a, .ast-primary-menu a {
    color: #ffffff !important;
}

/* Couleur au survol (Bleu Logo) */
.main-navigation a:hover, .ast-primary-menu a:hover {
    color: #007bff !important;
}

/* Onglet de la page active (Blanc avec trait bleu) */
.current-menu-item > a, .current_page_item > a {
    color: #ffffff !important;
    position: relative;
}

.current-menu-item > a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}

/* ============================================================
   3. SOUS-MENUS (FLIP BOOK, VIDEO, ETC.) - LA CORRECTION
   ============================================================ */

/* Force le FOND NOIR du bloc déroulant */
.ast-builder-menu-1 .main-header-menu .sub-menu,
.main-header-menu .sub-menu,
.sub-menu {
    background-color: #000000 !important;
    background: #000000 !important;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.8) !important;
    border: 1px solid #222 !important;
}

/* Force le TEXTE BLANC sur fond noir pour les liens du sous-menu */
.main-header-menu .sub-menu li a,
.ast-builder-menu-1 .sub-menu li a {
    color: #ffffff !important;
    background-color: #000000 !important;
    display: block !important;
    padding: 12px 20px !important;
    width: 100% !important;
    text-shadow: none !important;
}

/* Effet au survol des sous-menus (Fond Bleu) */
.main-header-menu .sub-menu li a:hover {
    background-color: #007bff !important;
    color: #ffffff !important;
}

/* ============================================================
   4. ANIMATION LUMIÈRE (OPTIONNEL)
   ============================================================ */
.ast-primary-header-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 250px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite linear;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -150%; }
    100% { left: 150%; }
	
	/* ============================================================
   CORRECTION FINALE : COULEUR AU SURVOL (HOVER)
   ============================================================ */

/* Force le texte en bleu au survol pour tous les menus */
.main-navigation a:hover, 
.ast-primary-menu a:hover, 
.ast-builder-menu-1 .menu-item a:hover,
.sub-menu li a:hover {
    color: #007bff !important; /* Bleu royal de votre logo */
    background-color: transparent !important; /* Évite qu'un fond gris n'apparaisse */
}

/* Force aussi la couleur pour les sous-menus spécifiques (Flip Book, Video) */
.main-header-menu .sub-menu li a:hover {
    color: #007bff !important;
    background-color: #111111 !important; /* Un noir légèrement plus clair pour le relief */
}
}
/* ============================================================
   SYNCHRONISATION COULEUR BLEU LOGO (SURVOL ET ACTIF)
   ============================================================ */

/* 1. On définit la couleur Bleu Royal du logo */
:root {
    --bleu-creagif: #007bff; 
}

/* 2. Application au survol sur tous les menus (Principal et Sous-menus) */
.main-navigation a:hover, 
.ast-primary-menu a:hover, 
.ast-builder-menu-1 .menu-item a:hover,
.sub-menu li a:hover,
.main-header-menu .sub-menu li a:hover {
    color: var(--bleu-creagif) !important;
    transition: color 0.3s ease !important; /* Animation fluide */
}

/* 3. On change aussi la barre sous l'onglet actif pour qu'elle soit de ce bleu */
.current-menu-item > a::after, 
.current_page_item > a::after {
    background-color: var(--bleu-creagif) !important;
}

/* 4. Pour les sous-menus (Flip Book, Video), on s'assure que le texte passe au bleu au survol */
.main-header-menu .sub-menu li a:hover {
    color: var(--bleu-creagif) !important;
    background-color: rgba(255, 255, 255, 0.05) !important; /* Très léger éclaircissement du fond */
}
/* ============================================================
   FORCE ABSOLUE : BLEU LOGO AU SURVOL (SÉCURITÉ)
   ============================================================ */

/* On cible l'état de survol (hover) sur tous les sélecteurs possibles d'Astra */
html body #masthead a:hover,
html body .site-header a:hover,
html body .ast-builder-menu-1 .menu-item a:hover,
html body .main-navigation a:hover,
html body .sub-menu li a:hover {
    color: #007bff !important; /* Bleu Royal du logo */
    fill: #007bff !important;
    background-color: transparent !important;
}

/* On s'assure que même si le lien est "visité", il reste bleu au survol */
html body #masthead a:visited:hover {
    color: #007bff !important;
}

/* Correction spécifique pour les sous-menus de la page Freelancer */
.page-id-38 .sub-menu li a:hover {
    color: #007bff !important;
    background-color: #111111 !important; /* Fond gris très sombre pour détacher le bleu */
}
/* ============================================================
   FIX : COULEUR DU PARENT (DESSIN, PEINTURE) QUAND UNE SOUS-PAGE EST ACTIVE
   ============================================================ */

/* Force le parent à rester BLANC quand on est sur une de ses sous-pages */
.main-navigation .current-menu-ancestor > a,
.main-navigation .current-menu-parent > a,
.ast-builder-menu-1 .current-menu-ancestor > a {
    color: #ffffff !important;
}

/* Force le parent à passer en BLEU au survol, même si on est sur une sous-page */
.main-navigation .current-menu-ancestor > a:hover,
.ast-builder-menu-1 .current-menu-ancestor > a:hover {
    color: #007bff !important;
}

/* On s'assure qu'aucun fond noir ne vient masquer le texte du parent */
.main-navigation li.current-menu-ancestor {
    background-color: transparent !important;
}
/* ============================================================
   FIX : LIEN DU SOUS-MENU SÉLECTIONNÉ (EX: VIDÉO)
   ============================================================ */

/* 1. Force le lien du sous-menu à rester blanc lorsqu'on est sur sa page */
.main-navigation ul.sub-menu li[class*="current-menu-"] > a,
.ast-builder-menu-1 .sub-menu li[class*="current-menu-"] > a {
    color: #ffffff !important;
    background-color: #111111 !important; /* Un gris très sombre pour marquer la sélection */
}

/* 2. Optionnel : Si vous voulez que le lien sélectionné soit Bleu comme le logo */
/*
.main-navigation ul.sub-menu li[class*="current-menu-"] > a,
.ast-builder-menu-1 .sub-menu li[class*="current-menu-"] > a {
    color: #007bff !important;
}
*/
/* 3. On s'assure que le survol fonctionne toujours même si la page est active */
.main-navigation ul.sub-menu li[class*="current-menu-"] > a:hover {
    color: #007bff !important;
    background-color: #000000 !important;
}
/* LIENS SOUS-MENU – toujours lisibles */
.main-navigation a {
    color: #333333 !important;  /* Couleur texte par défaut */
}

/* Survol */
.main-navigation li:hover > a,
.main-navigation a:hover,
.main-navigation a:focus {
    color: #000000 !important;  /* Couleur au survol */
}

/* Lien actif / page courante */
.main-navigation .current-menu-item > a,
.main-navigation .current-page-ancestor > a,
.main-navigation .current-menu-parent > a {
    color: #000000 !important;  /* Couleur de l’élément sélectionné */
}

/* Si le fond est clair, blanc ou pastel */
.main-navigation ul li a {
    color: #222 !important;
}

/* Correction du sous-menu blanc */
.main-navigation ul li a {
    background: #fff !important;  /* fond clair */
    color: #222 !important;       /* texte lisible */
}
/* --- Menu principal : garder le texte en blanc --- */
#access a,
#access .menu a {
  color: #ffffff;
}

/* Lien actif / page en cours : ne plus passer en noir sur fond clair */
#access .current-menu-item > a,
#access .current_page_item > a,
#access .current-menu-ancestor > a,
#access .current_page_ancestor > a {
  color: #ffffff;
  background: transparent; /* ou la même couleur que ton header si tu préfères */
}

/* --- Sous-menu : arrêter le fond blanc et le texte pâle --- */
#access .sub-menu a {
  background: #000000;
  color: #ffffff;
}

/* Sous-menu : état actif (élément cliqué) */
#access .sub-menu .current-menu-item > a,
#access .sub-menu .current_page_item > a {
  background: #111111;
  color: #ffffff;
}/* Garder les items du menu principal en blanc, même quand un sous-onglet est actif */
.main-navigation ul li > a {
    color: #ffffff;
}

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a,
.main-navigation ul li.current_page_item > a,
.main-navigation ul li.current_page_ancestor > a {
    color: #ffffff !important;
}

/* Couleur des liens de sous-menu au repos */
.main-navigation ul ul li > a {
    color: #ffffff;
}

/* Couleur des liens de sous-menu actifs (page en cours) */
.main-navigation ul ul li.current-menu-item > a,
.main-navigation ul ul li.current_page_item > a {
    color: #2b8cff !important;  /* par ex. ton bleu de soulignement */
}/* Onglet parent “Dessin, peinture” quand un enfant est actif */
.main-navigation ul li.menu-item-1.current-menu-ancestor > a {
    color: #ffffff !important;
}/* --- MENU PRINCIPAL CREAGIF.FR --- */

/* Liens du menu principal : toujours blancs sur le fond noir */
nav ul li > a {
    color: #ffffff !important;
}

/* Quand une page est active ou que l'onglet est parent de la page active */
nav ul li.current-menu-item > a,
nav ul li.current-menu-ancestor > a,
nav ul li.current_page_item > a,
nav ul li.current_page_ancestor > a {
    color: #ffffff !important;
}

/* Sous-menu (les liens qui se déroulent sous "Dessin, peinture") */
nav ul li ul li > a {
    color: #ffffff !important;
}

/* Lien du sous-menu correspondant à la page actuelle :
   tu peux changer #2b8cff par le bleu de ton site */
nav ul li ul li.current-menu-item > a,
nav ul li ul li.current_page_item > a {
    color: #2b8cff !important;
}/* Empêche le lien parent d'un sous-menu de disparaître
   lorsque WordPress ajoute des classes "current-menu-ancestor" 
   ou "current-menu-parent" */

#site-navigation .current-menu-item > a,
#site-navigation .current-menu-parent > a,
#site-navigation .current-menu-ancestor > a,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-ancestor > a,
.menu .current-menu-item > a,
.menu .current-menu-parent > a,
.menu .current-menu-ancestor > a {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important; /* ou inline-block selon ton thème */
  color: inherit !important;
  position: relative !important;
  left: auto !important;
}/* Forcer la couleur du lien "Dessin, peinture" (menu-item-464) */
.header-nav-main > li#menu-item-464 > a.nav-top-link,
.header-nav-main > li#menu-item-464 > a.nav-top-link:visited,
.header-nav-main > li#menu-item-464 > a.nav-top-link:hover,
.header-nav-main > li#menu-item-464 > a.nav-top-link:active {
  color: #f5f5f5 !important; /* ou la couleur claire que tu veux */
}

/* Forcer aussi la couleur de l'icône de flèche à l'intérieur */
.header-nav-main > li#menu-item-464 > a.nav-top-link i {
  color: #f5f5f5 !important;
}/* Restaurer la couleur normale des liens du sous-menu */
.header-nav-main #menu-item-464 .nav-dropdown a,
.header-nav-main #menu-item-464 .nav-dropdown a * {
  color: #000 !important; /* texte noir ou ta couleur habituelle */
}/* === 1. Animation d'apparition du header === */

.header-main {
  animation: duHeaderReveal 0.7s ease-out 0.05s both;
}

@keyframes duHeaderReveal {
  0% {
    transform: translateY(-18px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Accessibilité : désactiver les animations si l'utilisateur l'a demandé */
@media (prefers-reduced-motion: reduce) {
  .header-main {
    animation: none !important;
  }
}

/* === 2. Animation subtile du logo (flottement + hover) === */

.header-main .logo img {
  animation: duLogoFloat 9s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}

.header-main .logo img:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.03);
  transition: transform 0.25s ease-out;
}

@keyframes duLogoFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    transform: translateY(1px) scale(1.005);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-main .logo img {
    animation: none !important;
    transform: none !important;
  }
}

/* === 3. Animation des liens du menu principal (lift + soulignement animé) === */

/* Base des liens de premier niveau */
.header-nav-main > li > a.nav-top-link {
  position: relative;
  transition:
    transform 0.18s cubic-bezier(.18,.89,.32,1.28),
    text-shadow 0.18s ease,
    color 0.18s ease;
}

/* Soulignement animé (pseudo-élément) */
.header-nav-main > li > a.nav-top-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.3em;
  width: 0;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.22s ease-out;
  opacity: 0.85;
}

/* Effet au survol : léger lift + ombre + underline étendu */
.header-nav-main > li:hover > a.nav-top-link {
  transform: translateY(-2px);
  text-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.header-nav-main > li:hover > a.nav-top-link::after {
  width: 70%;
}

/* Garder un underline discret sur l'élément actif/parent */
.header-nav-main > li.current-menu-item > a.nav-top-link::after,
.header-nav-main > li.current-menu-parent > a.nav-top-link::after,
.header-nav-main > li.current-menu-ancestor > a.nav-top-link::after,
.header-nav-main > li.current-dropdown > a.nav-top-link::after {
  width: 60%;
}

/* === 4. Effet sticky plus compact sur le header (si classe .stuck) === */

.stuck .header-main {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transition:
    padding 0.22s ease-out,
    box-shadow 0.22s ease-out,
    background-color 0.22s ease-out;
}/* === HALO LUMINEUX SOUS LE LOGO === */

/* Positionne le logo pour que le halo puisse exister autour */
.header-main .logo {
  position: relative;
  display: inline-block;
}

/* Le halo (créé en pseudo-élément) */
.header-main .logo::after {
  content: "";
  position: absolute;
  bottom: -8px; /* distance sous le logo */
  left: 50%;
  transform: translateX(-50%);
  width: 70px;        /* taille du halo au repos */
  height: 22px;       /* hauteur du halo */
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.10) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(12px);
  opacity: 0.55;
  transition:
    width 0.35s ease,
    height 0.35s ease,
    opacity 0.35s ease,
    filter 0.35s ease;
  pointer-events: none;
}

/* Halo + logo au survol */
.header-main .logo:hover::after {
  width: 105px;        /* halo grossit */
  height: 32px;        /* halo plus large */
  opacity: 0.9;
  filter: blur(18px);
}

/* Petite animation du logo déjà mise : on synchronise légèrement */
.header-main .logo img:hover {
  transform: translateY(-2px) scale(1.03) !important;
}

/* Accessibilité (désactivation si demande utilisateur) */
@media (prefers-reduced-motion: reduce) {
  .header-main .logo::after {
    transition: none !important;
  }
}/* === Ne pas couper ce qui dépasse du header === */
.header,
.header-wrapper,
.header-main {
  overflow: visible !important;
}

/* === Halo lumineux sous le logo (version bien visible) === */

.header-main .logo {
  position: relative;
  display: inline-block;
  z-index: 10;
}

/* Halo par défaut */
.header-main .logo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px; /* plus bas sous le logo */
  transform: translateX(-50%);
  width: 120px;      /* plus large */
  height: 40px;      /* plus haut */
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(255, 255, 255, 0.0) 100%
  );
  filter: blur(14px);
  opacity: 0.85;
  pointer-events: none;
  transition:
    width 0.35s ease,
    height 0.35s ease,
    opacity 0.35s ease,
    filter 0.35s ease,
    bottom 0.35s ease;
}

/* Halo qui grossit VRAIMENT au survol */
.header-main .logo:hover::after {
  width: 200px;      /* beaucoup plus large */
  height: 70px;      /* plus haut */
  bottom: -26px;     /* descend un peu avec l’expansion */
  opacity: 1;
  filter: blur(22px);
}

/* On renforce aussi l'animation du logo au survol */
.header-main .logo img:hover {
  transform: translateY(-3px) scale(1.08);
  transition: transform 0.28s ease-out;
}

/* Accessibilité : pas d'animations si l’utilisateur l’a demandé */
@media (prefers-reduced-motion: reduce) {
  .header-main .logo::after {
    transition: none !important;
  }
  .header-main .logo img {
    animation: none !important;
    transform: none !important;
  }
}/* === On s'assure que le header ne coupe rien === */
.header,
.header-wrapper,
.header-main {
  overflow: visible !important;
}

/* === Halo circulaire autour du logo, bien centré === */

.header-main .logo {
  position: relative;
  display: inline-block;
  z-index: 10;
}

/* Halo par défaut : cercle centré sur le logo */
.header-main .logo::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%; /* légèrement vers le bas pour rester "sous" visuellement */
  transform: translate(-50%, -50%);
  width: 140%;          /* le halo dépasse bien du logo */
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(255, 255, 255, 0.0) 75%
  );
  filter: blur(14px);
  opacity: 0.75;
  pointer-events: none;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    filter 0.35s ease;
}

/* Au survol : le halo grossit et devient plus intense */
.header-main .logo:hover::after {
  transform: translate(-50%, -50%) scale(1.3);
  opacity: 1;
  filter: blur(20px);
}

/* On renforce aussi un peu le hover du logo lui-même */
.header-main .logo img:hover {
  transform: translateY(-3px) scale(1.08);
  transition: transform 0.28s ease-out;
}

/* Accessibilité : réduire les animations si demandé */
@media (prefers-reduced-motion: reduce) {
  .header-main .logo::after {
    transition: none !important;
  }
  .header-main .logo img {
    animation: none !important;
    transform: none !important;
  }
}/* --- Centrage parfait du halo autour du logo --- */

/* On force le conteneur du logo à avoir la taille exacte de l’image */
.header-main .logo,
.header-main .logo a {
  display: inline-block;
  position: relative;
}

/* Halo centré autour du logo */
.header-main .logo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180%;   /* taille du halo par rapport au logo */
  height: 180%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.35) 40%,
    rgba(255,255,255,0) 75%
  );
  filter: blur(22px);
  opacity: 0.75;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  z-index: -1; /* Le halo passe derrière le logo */
}

/* Halo qui grossit au survol */
.header-main .logo:hover::after {
  transform: translate(-50%, -50%) scale(1.35);
  opacity: 1;
  filter: blur(28px);
}

/* Animation du logo */
.header-main .logo img:hover {
  transform: translateY(-3px) scale(1.08);
  transition: transform 0.28s ease-out;
}/* Halo autour du logo, correction d'offset vers la gauche */
.header-main .logo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  /* ⚠️ Décalage manuel vers la gauche (à ajuster selon ton logo) */
  transform: translate(calc(-50% - 20px), -50%);

  width: 180%;
  height: 180%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.35) 40%,
    rgba(255,255,255,0) 75%
  );
  filter: blur(22px);
  opacity: 0.75;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  z-index: -1;
}

/* Au survol : halo plus grand */
.header-main .logo:hover::after {
  transform: translate(calc(-50% - 20px), -50%) scale(1.35);
  opacity: 1;
  filter: blur(28px);
}/* Halo autour du logo — décalage plus important vers la gauche */
.header-main .logo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  /* On augmente le décalage pour que le halo revienne au centre */
  transform: translate(calc(-50% - 30px), -50%);

  width: 180%;
  height: 180%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.35) 40%,
    rgba(255,255,255,0) 75%
  );
  filter: blur(22px);
  opacity: 0.75;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  z-index: -1;
}

/* Au survol : halo qui grossit */
.header-main .logo:hover::after {
  transform: translate(calc(-50% - 30px), -50%) scale(1.35);
  opacity: 1;
  filter: blur(28px);
}/* === Halo autour du logo, centré et stable === */

/* On force le conteneur du logo à épouser l'image */
.header-main .logo,
.header-main .logo a {
  position: relative;
  display: inline-block;
}

/* Halo autour du logo */
.header-main .logo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  /* Centrage absolu, sans décalage */
  transform: translate(-50%, -50%) scale(1);

  /* Taille du halo */
  width: 220%;
  height: 220%;
  border-radius: 50%;

  /* Glow très visible */
  background: radial-gradient(circle,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.45) 40%,
    rgba(255,255,255,0) 75%
  );

  filter: blur(35px);
  opacity: 1;

  /* Important : le halo DOIT être devant le fond, mais derrière le logo */
  z-index: 0;

  pointer-events: none;
  transition:
    transform 0.4s ease-out,
    filter 0.4s ease-out,
    opacity 0.4s ease-out;
}

/* Le logo doit être au-dessus du halo */
.header-main .logo img {
  position: relative;
  z-index: 1;
}

/* Au survol : halo plus grand, plus intense */
.header-main .logo:hover::after {
  transform: translate(-50%, -50%) scale(1.5);  /* halo qui grossit fortement */
  filter: blur(45px);
  opacity: 1;
}

/* Animation du logo au survol */
.header-main .logo img:hover {
  transform: translateY(-3px) scale(1.09);
  transition: transform 0.3s ease-out;
}/* — On force le conteneur à épouser l'image — */
.header-main .logo,
.header-main .logo a {
  position: relative;
  display: inline-block;
  line-height: 0;
}

/* — Halo discret derrière le logo — */
.header-main .logo::after {
  content: "";
  position: absolute;

  /* Centrage parfait */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);

  /* Taille du halo (petit) */
  width: 115%;
  height: 115%;
  border-radius: 50%;

  /* Glow discret */
  background: radial-gradient(circle,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.25) 40%,
    rgba(255,255,255,0) 75%
  );

  filter: blur(14px);
  opacity: 1;

  z-index: 0;   /* sous l'image */
  pointer-events: none;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

/* — On s'assure que le logo passe bien au-dessus du halo — */
.header-main .logo img {
  position: relative;
  z-index: 1;
}

/* — Hover : halo un peu plus grand, mais toujours discret — */
.header-main .logo:hover::after {
  transform: translate(-50%, -50%) scale(1.25); /* augmente légèrement */
  filter: blur(18px);
  opacity: 1;
}

/* — Hover du logo — */
.header-main .logo img:hover {
  transform: translateY(-2px) scale(1.05);
  transition: transform 0.28s ease-out;
}/* === 1. Le logo doit pouvoir recevoir un pseudo-élément === */
.header-main .logo img {
  position: relative;
  display: block;
  z-index: 2; /* le logo passe au-dessus du halo */
}

/* === 2. Halo parfaitement centré autour du logo (anneau lumineux) === */
.header-main .logo img::after {
  content: "";
  position: absolute;

  /* centre exact de l’image */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);

  /* taille du halo = cercle légèrement plus grand que le logo */
  width: 130%;
  height: 130%;
  border-radius: 50%;

  /* halo circulaire lumineux */
  background: radial-gradient(circle,
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,0.5) 35%,
    rgba(255,255,255,0.25) 55%,
    rgba(255,255,255,0) 80%
  );

  filter: blur(20px);
  opacity: 1;
  z-index: 1; /* sous l’image mais au-dessus du fond */
  pointer-events: none;

  /* animation douce */
  transition:
    transform 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease;
}

/* === 3. Halo qui s’élargit au survol (effet glow moderne) === */
.header-main .logo img:hover::after {
  transform: translate(-50%, -50%) scale(1.3);
  filter: blur(28px);
  opacity: 1;
}

/* === 4. Léger mouvement du logo au hover (optionnel) === */
.header-main .logo img:hover {
  transform: translateY(-2px) scale(1.05);
  transition: transform 0.28s ease-out;
}/* RESET des halos précédents sur le logo */
.header-main .logo::after,
.header-main .logo img::after,
.header-main .logo a::after {
  content: none !important;
}

/* On remet le conteneur du logo dans un état simple et propre */
.header-main .logo,
.header-main .logo a {
  position: relative;
  display: inline-block;
  line-height: 0;
}/* HALO autour du logo avec drop-shadow */
.header-main .logo img {
  display: block;
  position: relative;
  z-index: 1;

  /* Halo autour du logo, basé sur l'image elle-même */
  filter:
    drop-shadow(0 0 14px rgba(0, 191, 255, 0.85))   /* bleu cyan */
    drop-shadow(0 0 24px rgba(138, 43, 226, 0.75)); /* violet */

  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}

/* Au survol : halo plus fort + léger zoom */
.header-main .logo img:hover {
  transform: translateY(-2px) scale(1.06);
  filter:
    drop-shadow(0 0 22px rgba(0, 191, 255, 1))
    drop-shadow(0 0 36px rgba(138, 43, 226, 0.95));
}.bande-lumineuse {
  position: absolute; /* ou fixed si c’est un effet plein écran */
  top: 0;
  left: 0;
  width: 100%;
  height: ...; /* selon ton design */
  z-index: 10; /* au-dessus du header */
}.logo {
  position: relative; /* nécessaire pour que z-index fonctionne */
  z-index: 11; /* passe au-dessus de la bande */
}.bande-lumineuse {
  position: fixed; /* ou absolute si tu veux */
  top: 0;
  left: 0;
  width: 100%;
  height: ...;
  z-index: 9999; /* passe au-dessus de tout */
  pointer-events: none; /* pour éviter les soucis */
}.logo {
  position: relative;
  z-index: 10000; /* au-dessus de la bande */
}/* 1. On crée un contexte d'empilement pour le header */
.header-main {
  position: relative;
  z-index: 1;
}

/* 2. La bande lumineuse : au-dessus du menu, mais sous le logo */
.header-main .top-divider.full-width {
  position: absolute;          /* important pour que z-index fonctionne */
  left: 0;
  right: 0;
  bottom: 0;                   /* ajuste la position verticale si besoin */
  z-index: 20;                 /* au-dessus du menu */
  pointer-events: none;        /* pour ne pas gêner les clics */
}

/* 3. Le menu et les éléments du header passent dessous la barre */
.header-main .header-nav-main,
.header-main .mobile-nav,
.header-main .header-search {
  position: relative;
  z-index: 10;                 /* sous la barre lumineuse */
}

/* 4. Le logo passe au-dessus de tout */
#logo {
  position: relative;
  z-index: 30;                 /* au-dessus de la barre lumineuse */
}/* ----------------------------------------------
   Ajustements du header UNIQUEMENT pour :
   - Mes services (page-id-78)
   - Mon travail (page-id-38)
------------------------------------------------ */

.page-id-78 #logo img,
.page-id-38 #logo img {
  max-height: 110px !important;   /* agrandir le logo */
  height: auto;
  width: auto;
}

/* Centrer verticalement le contenu du header */
.page-id-78 .header-main .header-inner,
.page-id-38 .header-main .header-inner {
  min-height: 110px;      
  align-items: center;     /* centre logo + menus */
}

/* Évite que le menu semble collé en haut */
.page-id-78 .header-main .header-nav-main > li > a.nav-top-link,
.page-id-38 .header-main .header-nav-main > li > a.nav-top-link {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Correction en cas de débordement vers le haut */
.page-id-78 .header-main,
.page-id-38 .header-main {
  padding-top: 8px;
  padding-bottom: 8px;
}/* MES SERVICES + MON TRAVAIL : calage propre du header */
.page-id-78 .header-main .header-inner,
.page-id-38 .header-main .header-inner {
  min-height: 90px;          /* hauteur maîtrisée du header */
  align-items: center;       /* centre logo + menu verticalement */
}

/* Logo un peu plus grand mais pas énorme */
.page-id-78 #logo img,
.page-id-38 #logo img {
  max-height: 90px;
  height: auto;
  width: auto;
}

/* On évite que le menu ait l’air collé vers le haut */
.page-id-78 .header-nav-main > li > a.nav-top-link,
.page-id-38 .header-nav-main > li > a.nav-top-link {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* On enlève le surplus de “marge” du header sur ces pages */
.page-id-78 .header-main,
.page-id-38 .header-main {
  padding-top: 0;
  padding-bottom: 0;
}/* Centrer le menu du haut dans le header */
.header-main .header-inner {
  align-items: center !important;
}

/* Descendre légèrement le menu */
.header-nav-main > li > a.nav-top-link {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}/* Descendre le menu du haut dans la barre noire, sans toucher au logo */
.header-main .nav > li > a.nav-top-link,
.header-main .header-nav-main > li > a.nav-top-link,
.stuck .header-main .nav > li > a.nav-top-link,
.stuck .header-main .header-nav-main > li > a.nav-top-link {
  padding-top: 26px !important;   /* fait DESCENDRE le texte du menu */
  padding-bottom: 10px !important;
  line-height: 1.2 !important;
}padding-top: 26px;  /* + grand = plus bas, + petit = plus haut */
padding-bottom: 10px;/* Logo "normal" sur toutes les pages sauf Mes services & Mon travail */
body:not(.page-id-78):not(.page-id-38) #logo img.header_logo,
body:not(.page-id-78):not(.page-id-38) #logo img.header-logo,
body:not(.page-id-78):not(.page-id-38) #logo img.header-logo-dark {
  max-height: 60px !important;  /* ajuste à 55/65 si besoin */
  height: auto !important;
  width: auto !important;
}/* Logo plus grand UNIQUEMENT sur Mes services & Mon travail */
.page-id-78 #logo img.header_logo,
.page-id-78 #logo img.header-logo,
.page-id-78 #logo img.header-logo-dark,
.page-id-38 #logo img.header_logo,
.page-id-38 #logo img.header-logo,
.page-id-38 #logo img.header-logo-dark {
  max-height: 90px !important;  /* valeur à adapter si tu veux un poil plus/moins */
  height: auto !important;
  width: auto !important;
}/* Hauteur & centrage du header UNIQUEMENT sur Mes services & Mon travail */
.page-id-78 .header-main,
.page-id-38 .header-main {
  height: auto !important;
  min-height: 70px !important;       /* joue entre 65 et 80 pour ajuster */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-id-78 .header-main .header-inner,
.page-id-38 .header-main .header-inner {
  display: flex !important;
  align-items: center !important;
}

.page-id-78 .header-main .header-nav-main > li > a.nav-top-link,
.page-id-38 .header-main .header-nav-main > li > a.nav-top-link {
  padding-top: 14px !important;
  padding-bottom: 10px !important;
  line-height: 1.2 !important;
}/* Page chat plein écran sur creagif.fr */
.du-chat-page-wrapper {
  width: 100%;
  height: calc(100vh - 120px); /* 120px ≈ header+footer, ajuste si besoin */
  max-width: 1200px;
  margin: 0 auto;
}

.du-chat-iframe {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}/* Bulle "Chat en direct" en bas à droite */
.du-chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f1c, #ff6a00);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.du-chat-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0.95;
}

.du-chat-bubble-icon {
  font-size: 18px;
  line-height: 1;
}

.du-chat-bubble-text {
  white-space: nowrap;
}

/* Optionnel : cacher la bulle sur les très petits écrans si ça gêne */
@media (max-width: 480px) {
  .du-chat-bubble-text {
    display: none;
  }
  .du-chat-bubble {
    padding: 12px;
  }
}/* Page Chat sur creagif.fr : intégration du chat de crea-net.info */
.du-chat-wrapper {
  max-width: 1200px;
  height: calc(100vh - 160px); /* ajuste si ton header/footer sont plus ou moins hauts */
  margin: 40px auto;
  padding: 0 16px;
}

.du-chat-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}/* Bulle flottante "Chat en direct" en bas à droite */
.du-chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f1c, #ff6a00);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.du-chat-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
  opacity: 0.95;
}

.du-chat-bubble-icon {
  font-size: 18px;
  line-height: 1;
}

.du-chat-bubble-text {
  white-space: nowrap;
}

/* Sur très petits écrans : version compacte de la bulle */
@media (max-width: 480px) {
  .du-chat-bubble-text {
    display: none;
  }
  .du-chat-bubble {
    padding: 12px;
  }
}/* Cacher la pastille orange sur la page d'accueil uniquement */
.home .communication-design-pill {
  display: none !important;
}.home .box-communication {
  display: none !important;
}/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  background: #f5f5f7;
}

/* CONTAINER */
.du-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.du-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #050816;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.du-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* LOGO */
.du-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.du-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4adeff, #1d1bff);
  box-shadow: 0 0 20px rgba(74, 222, 255, 0.7);
}

.du-logo-text {
  display: flex;
  flex-direction: column;
}

.du-logo-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.du-logo-subtitle {
  font-size: 12px;
  color: #9ca3af;
}

/* NAV */
.du-nav {
  display: flex;
  gap: 18px;
}

.du-nav a {
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.du-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  transition: width 0.2s ease;
}

.du-nav a:hover::after {
  width: 100%;
}

/* HERO */
.du-hero {
  background: radial-gradient(circle at top left, #1d1bff 0%, #050816 45%, #050816 100%);
  color: #ffffff;
  padding: 48px 0 60px;
}

.du-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.du-hero-text h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 14px;
}

.du-hero-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 520px;
  margin-bottom: 20px;
}

.du-btn-primary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f1c, #ff6a00);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.du-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  opacity: 0.95;
}

.du-hero-visual {
  display: flex;
  justify-content: center;
}

.du-hero-orb {
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #4adeff, transparent 55%),
    radial-gradient(circle at 70% 70%, #a855f7, transparent 55%),
    radial-gradient(circle at 50% 50%, #111827, #020617);
  box-shadow:
    0 0 35px rgba(56,189,248,0.65),
    0 0 70px rgba(168,85,247,0.55);
}

/* SECTIONS */
.du-section {
  padding: 48px 0;
}

.du-section h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
}

.du-section-intro {
  text-align: center;
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto 28px;
  color: #4b5563;
}

/* CHAT SECTION */
.du-section-chat {
  background: #eef1f7;
}

.du-chat-frame-wrapper {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  background: #050816;
}

.du-chat-iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* SERVICES / CARTES */
.du-section-services {
  background: #f5f5f7;
}

.du-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.du-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 14px 35px rgba(15,23,42,0.10);
  border: 1px solid rgba(148,163,184,0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.du-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #111827;
}

.du-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.du-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15,23,42,0.18);
  border-color: rgba(59,130,246,0.55);
}

/* FOOTER */
.du-footer {
  background: #050816;
  color: #9ca3af;
  padding: 18px 0;
}

.du-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* BULLE DE CHAT */
.du-chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f1c, #ff6a00);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.du-chat-bubble:hover {
  transform: translateY(-3px);
  opacity: 0.95;
  box-shadow: 0 22px 55px rgba(0,0,0,0.7);
}

.du-chat-bubble-icon {
  font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .du-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .du-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .du-hero-visual {
    order: -1;
  }

  .du-nav {
    display: none; /* tu peux faire un burger si tu veux */
  }

  .du-footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .du-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .du-chat-iframe {
    height: 520px;
  }
}

@media (max-width: 480px) {
  .du-chat-bubble-text {
    display: none;
  }
  .du-chat-bubble {
    padding: 10px;
  }
}/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background: #f3f4f6;
  color: #111827;
}

/* CONTAINER GÉNÉRIQUE */
.du-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.du-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #050816;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.du-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

/* LOGO */
.du-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.du-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4adeff, #1d1bff);
  box-shadow: 0 0 20px rgba(74, 222, 255, 0.8);
}

.du-logo-text {
  display: flex;
  flex-direction: column;
}

.du-logo-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.du-logo-subtitle {
  font-size: 12px;
  color: #9ca3af;
}

/* NAV */
.du-nav {
  display: flex;
  gap: 18px;
}

.du-nav a {
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e5e7eb;
  position: relative;
}

.du-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a855f7);
  transition: width 0.2s ease;
}

.du-nav a:hover::after {
  width: 100%;
}

/* HERO */
.du-hero {
  background: radial-gradient(circle at top left, #1d1bff, #050816 50%, #050816);
  color: #ffffff;
  padding: 48px 0 60px;
}

.du-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.du-hero-text h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 12px;
}

.du-hero-text p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
  color: #e5e7eb;
  margin-bottom: 18px;
}

.du-btn-primary {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f1c, #ff6a00);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.du-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  opacity: 0.96;
}

.du-hero-visual {
  display: flex;
  justify-content: center;
}

.du-hero-orb {
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #4adeff, transparent 55%),
    radial-gradient(circle at 70% 70%, #a855f7, transparent 55%),
    radial-gradient(circle at 50% 50%, #111827, #020617);
  box-shadow:
    0 0 35px rgba(56, 189, 248, 0.65),
    0 0 70px rgba(168, 85, 247, 0.55);
}

/* SECTIONS GÉNÉRALES */
.du-section {
  padding: 48px 0;
}

.du-section h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}

.du-section-intro {
  font-size: 15px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 26px;
  color: #4b5563;
}

/* CHAT SECTION */
.du-section-chat {
  background: #e5e7eb;
}

.du-chat-frame-wrapper {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  background: #050816;
}

.du-chat-iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* SERVICES (REMPLACE LA PASTILLE ORANGE) */
.du-section-services {
  background: #f9fafb;
}

.du-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.du-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.du-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #111827;
}

.du-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.du-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  border-color: rgba(59, 130, 246, 0.6);
}

/* FOOTER */
.du-footer {
  background: #050816;
  color: #9ca3af;
  padding: 16px 0;
}

.du-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* BULLE DE CHAT */
.du-chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f1c, #ff6a00);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.du-chat-bubble:hover {
  transform: translateY(-3px);
  opacity: 0.96;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

.du-chat-bubble-icon {
  font-size: 18px;
}

.du-chat-bubble-text {
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .du-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .du-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .du-hero-visual {
    order: -1;
  }

  .du-nav {
    display: none; /* tu pourras faire un menu burger si tu veux */
  }

  .du-footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .du-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .du-chat-iframe {
    height: 520px;
  }
}

@media (max-width: 480px) {
  .du-chat-bubble-text {
    display: none;
  }
  .du-chat-bubble {
    padding: 10px;
  }
}/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background: #050816;
  color: #e5e7eb;
}

/* CONTAINER */
.du-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.du-header {
  background: #050816;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

.du-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0;
}

/* LOGO */
.du-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.du-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4adeff, #1d1bff);
  box-shadow: 0 0 20px rgba(74, 222, 255, 0.9);
}

.du-logo-text {
  display: flex;
  flex-direction: column;
}

.du-logo-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.du-logo-subtitle {
  font-size: 12px;
  color: #9ca3af;
}

/* HERO */
.du-hero {
  padding: 28px 0 16px;
  background: radial-gradient(circle at top left, #1d1bff, #050816 55%);
}

.du-hero-inner {
  display: flex;
  align-items: center;
}

.du-hero-text h1 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 10px;
}

.du-hero-text p {
  font-size: 14px;
  max-width: 520px;
  line-height: 1.7;
  color: #e5e7eb;
}

/* SECTION CHAT */
.du-section-chat {
  padding: 20px 0 32px;
}

.du-chat-wrapper {
  background: #050816;
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Exemple de style temporaire pour la zone dummy */
.dummy-chat {
  padding: 40px;
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.6);
}

/* FOOTER */
.du-footer {
  padding: 16px 0 20px;
  background: #020617;
  color: #9ca3af;
}

.du-footer-inner {
  text-align: center;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .du-hero-text p {
    max-width: none;
  }

  .du-chat-wrapper {
    padding: 14px;
  }
}.bulle-communication {
    display: none !important;
}.bulle-communication {
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 20px !important;
}/* Supprime la bulle orange */
.section-communication,
.bulle-communication,
.communication-design,
.communication-block {
    display: none !important;
}.home-section-communication,
.section-communication-container {
    background: transparent !important;
    box-shadow: none !important;
}.floating-button,
.floating-btn,
.left-bubble,
.bulle-orange,
.whatever-class {
    display: none !important;
}.chat-container,
.chat-box,
.message-thread {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

html, body {
    overflow-x: hidden !important;
}.chat-container iframe {
    overflow: hidden !important;
}#section_1045856536 .col:first-child {
    display: none !important;
}/* Empêche un conteneur du chat d'ajouter un scroll de plus */
#section_1045856536 iframe {
    overflow: hidden !important;
}

/* Si le chat n'est pas dans un iframe mais dans un div */
.chat-container,
.chat-box,
#chat,
#messages {
    max-height: none !important;
    overflow-y: auto !important;
}/* Supprime complètement la section avec la bulle orange */
#section_1045856536 {
    display: none !important;
}/* 1. Empêcher le body de scroller sur la page de chat */
.page-id-1209 {
    overflow: hidden !important;
}

/* 2. Faire du chat un bloc qui prend la hauteur de la fenêtre et scrolle en interne */
.page-id-1209 .entry-content iframe,
.page-id-1209 .entry-content > div,
.page-id-1209 .entry-content > section {
    height: calc(100vh - 120px) !important; /* ajuste 120px si besoin */
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
}/***********************************************
* 1. SUPPRESSION DE LA BULLE ORANGE (HOME ONLY)
************************************************/
body.home .col, 
body.home .icon-box, 
body.home [class*="communication"], 
body.home #section_1045856536,
body.home .ux-box,
body.home .box,
body.home .icon-box-featured,
body.home .featured-box {
    display: none !important;
}


/***********************************************
* 2. SUPPRESSION DOUBLE BARRE DE DÉFILEMENT
************************************************/

/* Supprime le scroll interne du chat */
[class*="chat"], 
[class*="discussion"], 
[class*="messages"], 
[class*="chat-box"], 
[class*="scroll"] {
    overflow-y: visible !important;
    max-height: none !important;
    height: auto !important;
}

/* Empêche la page d'avoir une barre de scroll horizontale parasite */
html, body {
    overflow-x: hidden !important;
}

/* Force un seul scroll vertical */
body {
    overflow-y: auto !important;
}/***********************************************
 * FIX GLOBAL CHAT + BULLE ORANGE
 * (rien d’autre n’est modifié)
 ***********************************************/

/* 1. Supprimer la bulle orange sur la page d'accueil uniquement */
body.home #section_1045856536 {
    display: none !important;
}

/* 2. Mise en page propre de la page de chat (ID 1209)
   - pas de double scroll
   - contenu plein largeur
*/
body.page-id-1209 {
    overflow-y: auto !important;   /* on laisse la page scroller normalement */
}

/* Contenu principal de la page de chat : pleine largeur, sans contraintes bizarres */
body.page-id-1209 .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Les blocs à l'intérieur ne forcent plus de hauteur fixe */
body.page-id-1209 .entry-content > * {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Si tu utilises un wrapper spécifique pour ton chat (par ex. .du-chat-wrapper) */
body.page-id-1209 .du-chat-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

/* Iframe du chat : hauteur gérable ici SANS double scroll */
body.page-id-1209 iframe,
body.page-id-1209 .du-chat-iframe {
    width: 100% !important;
    height: 600px !important;       /* ↙ augmente si tu veux plus haut */
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

/* On évite les scrollbars horizontales parasites */
html,
body {
    overflow-x: hidden !important;
}/***********************************************
 * FIX ULTIME : BULLE ORANGE + DOUBLE SCROLL CHAT
 * À METTRE ABSOLUMENT TOUT EN BAS DU CSS
 ***********************************************/

/* 1. CACHER LA BULLE ORANGE UNIQUEMENT SUR LA HOME */
body.home #section_1045856536,
body.home .bulle-communication,
body.home .communication-design-pill,
body.home .box-communication,
body.home .section-communication,
body.home .communication-design,
body.home .communication-block {
    display: none !important;
}

/* 2. PAGE CHAT (ID 1209) : ON NETTOIE LES OVERFLOW EXISTANTS */
body.page-id-1209,
body.page-id-1209 * {
    /* On annule tous les overflow hérités de tes essais précédents */
    overflow: visible !important;
    max-height: none !important;
}

/* 3. ON CHOISIT UN SEUL CONTENEUR QUI SCROLLE : LE WRAPPER DU CHAT
   (adapte si nécessaire à la classe exacte qui contient l'iframe) */
body.page-id-1209 .du-chat-wrapper,
body.page-id-1209 .du-chat-page-wrapper,
body.page-id-1209 .chat-container,
body.page-id-1209 .chat-box,
body.page-id-1209 #section_1045856536 iframe[src*="crea"],
body.page-id-1209 iframe[src*="crea-net"],
body.page-id-1209 iframe[src*="chat"] {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto !important;

    /* Hauteur = viewport – header/footer approximatifs */
    height: calc(100vh - 140px) !important;
    max-height: calc(100vh - 140px) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 20px;
    border: none !important;
}

/* 4. L’IFRAME INTERNE NE DOIT PAS AJOUTER UN SCROLL SUPPLÉMENTAIRE */
body.page-id-1209 .du-chat-wrapper iframe,
body.page-id-1209 .du-chat-page-wrapper iframe,
body.page-id-1209 .chat-container iframe,
body.page-id-1209 .chat-box iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    overflow: hidden !important;
}

/* 5. PAS DE SCROLL HORIZONTAL GLOBAL */
html,
body {
    overflow-x: hidden !important;
}/***********************************************
 * FIX CHAT CREAGIF — AFFICHE EN ENTIER + 1 SEUL SCROLL
 ***********************************************/

/* Empêche la page entière de générer une double scrollbar */
body.page-id-1209 {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

/* Conteneur du chat (celui entourant l’iframe) */
body.page-id-1209 .du-chat-wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    /* Le conteneur prend toute la hauteur visible */
    height: calc(100vh - 120px) !important; /* Ajustable */
    overflow: hidden !important;
}

/* L’iframe qui contient ton chat */
body.page-id-1209 .du-chat-iframe {
    width: 100% !important;
    height: 100% !important; /* prend toute la hauteur du wrapper */

    border: none !important;
    overflow: hidden !important; /* pas de scroll interne */
    display: block !important;
}

/* Supprime les scrollbars horizontales globales */
html, body {
    overflow-x: hidden !important;
}/***********************************************
 * CHAT CREAGIF — AFFICHE EN ENTIER + 1 SEUL SCROLL
 ***********************************************/

/* On laisse la page scroller normalement */
body.page-id-1209 {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Conteneur autour du chat */
body.page-id-1209 .du-chat-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

/* IFRAME DU CHAT : pleine largeur + grande hauteur
   → plus de scrollbar sur l'iframe elle-même */
body.page-id-1209 .du-chat-iframe {
    display: block;
    width: 100%;
    height: 800px !important;   /* hauteur à ajuster si besoin */
    border: none !important;
    overflow: hidden !important;
}/***********************************************
 * CHAT CREAGIF – CADRE NON ÉCRASÉ
 ***********************************************/

/* On laisse la page scroller normalement */
body {
    overflow-y: auto !important;
}

/* Conteneur autour du chat */
.du-chat-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

/* Iframe du chat : large et haute pour ne plus être "écrasée" */
.du-chat-iframe {
    display: block;
    width: 100% !important;
    height: 900px !important;      /* ⇐ ajuste si tu veux plus/moins haut */
    min-height: 900px !important;
    border: none !important;
    overflow: hidden !important;
}/* Page du chat sur creagif.fr */
body.page-id-1209 {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Le bloc qui contient le chat */
body.page-id-1209 .du-chat-wrapper {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 16px !important;
}

/* L'iframe du chat : affichage correct, sans écrasement */
body.page-id-1209 .du-chat-iframe {
    display: block !important;
    width: 100% !important;
    height: 800px !important;  /* Ajuste 800 → 700 ou 900 selon ton besoin */
    border: none !important;
    overflow: hidden !important; /* empêche une deuxième barre sur le site creagif.fr */
}body.page-id-1209 {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body.page-id-1209 .du-chat-wrapper {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 16px !important;
}

body.page-id-1209 .du-chat-iframe {
    display: block !important;
    width: 100% !important;
    height: 800px !important;
    border: none !important;
    overflow: hidden !important;
}.floating-button,
.floating-btn,
.left-bubble,
.bulle-orange,
.whatever-class {
    display: none !important;
}/***********************************************
 * 1. PAGE DU CHAT : CADRE PROPRE
 ***********************************************/

/* Laisse la page scroller normalement, évite les horreurs d'overflow:hidden */
body.page-id-1209 {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Conteneur autour du chat */
body.page-id-1209 .du-chat-wrapper {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 16px !important;
}

/* Iframe du chat : pas écrasée */
body.page-id-1209 .du-chat-iframe {
    display: block !important;
    width: 100% !important;
    height: 80vh !important;   /* 80% de la hauteur de l'écran */
    border: none !important;
    overflow: hidden !important;
}

/***********************************************
 * 2. BOUTON ORANGE "CHAT EN DIRECT" EN BAS À DROITE
 ***********************************************/

/* On remet la bulle visible, même si d'autres règles la cachaient */
.du-chat-bubble {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 9999 !important;

    display: inline-flex !important;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9f1c, #ff6a00);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.du-chat-bubble:hover {
    transform: translateY(-3px);
    opacity: 0.95;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
}

.du-chat-bubble-icon {
    font-size: 18px;
    line-height: 1;
}

.du-chat-bubble-text {
    white-space: nowrap;
}

/* Sur très petits écrans : bulle compacte */
@media (max-width: 480px) {
    .du-chat-bubble-text {
        display: none;
    }
    .du-chat-bubble {
        padding: 10px;
    }
}/***********************************************
 * CHAT CREAGIF – UNE SEULE BARRE DE SCROLL
 * (ne touche pas à crea-net.info)
 ***********************************************/

/* Page du chat : la page elle-même ne scrolle plus */
body.page-id-1209 {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

/* Le conteneur autour de l’iframe prend toute la hauteur visible
   (100vh - hauteur approximative du header) */
body.page-id-1209 .du-chat-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    height: calc(100vh - 120px) !important;   /* ajuste 120px si besoin */
}

/* L’iframe remplit entièrement ce conteneur :
   → plus de scroll sur la page, seulement dans le chat lui-même */
body.page-id-1209 .du-chat-iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    overflow: hidden !important;
}/***********************************************
 * CHAT CREAGIF – VERSION FINALE ANTI DOUBLE SCROLL
 * (ne touche pas au site crea-net.info)
 ***********************************************/

/* 1. La page du chat ne scrolle plus, seule l’iframe occupe la hauteur */
body.page-id-1209 {
    height: 100vh !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

/* 2. Les blocs principaux doivent s’étirer sur la hauteur */
body.page-id-1209 .site-content,
body.page-id-1209 .content-area,
body.page-id-1209 .site-main,
body.page-id-1209 .entry-content {
    height: 100% !important;
}

/* 3. Le wrapper du chat occupe l’espace restant sous le header */
body.page-id-1209 .du-chat-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    /* 120px ≈ hauteur du header + marge, ajuste si besoin (100, 130…) */
    height: calc(100vh - 120px) !important;
}

/* 4. L’iframe remplit complètement ce wrapper
      → plus de scroll de page, seulement celui du chat à l’intérieur */
body.page-id-1209 .du-chat-iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    overflow: hidden !important;
}/***********************************************
 * CHAT CREAGIF – NE GARDER QUE LA BARRE DU CHAT
 * (on masque la scrollbar de la page, pas celle de l'iframe)
 ***********************************************/

/* On laisse la page scroller, mais on cache sa scrollbar */
body.page-id-1209 {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none;              /* Firefox : cache la barre */
}

/* Firefox : aucune scrollbar visible sur le body */
body.page-id-1209::-webkit-scrollbar {
    display: none !important;
}

/* WebKit (Chrome, Edge, Safari) : on cache la scrollbar
   de tous les éléments de la page, mais PAS celle de l'iframe (document séparé) */
.page-id-1209 ::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}/* Masquer le texte d'intro / extrait sous le header sur les pages */
.page .entry-summary,
.page .page-header,
.page .page-header p,
.page .page-description,
.page .subtitle,
.page .page-subtitle,
.page .page-title,
.page .page-title + p {
    display: none !important;
}.hero-titles {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  color: #007bff;
  margin-bottom: .75rem;
}

.hero-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  opacity: .9;
}.logiciels-recommandes {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 2rem 1.5rem;
}

.logiciels-recommandes h1 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.logiciels-recommandes .intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.logiciel-list {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 768px) {
  .logiciel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.logiciel-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 1.4rem;
  border-radius: 10px;
}

.logiciel-item h2 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.logiciel-item p {
  margin: .3rem 0;
  line-height: 1.5;
}

.logiciel-link a {
  display: inline-block;
  margin-top: .6rem;
  font-size: .9rem;
  text-decoration: none;
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid #007bff;
  color: #007bff;
}

.logiciel-link a:hover {
  background: #007bff;
  color: #fff;
}

.note-legale {
  margin-top: 2.5rem;
  font-size: .9rem;
  opacity: .8;
  line-height: 1.5;
}/* HERO de la logithèque */
.logiciels-hero {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
}

.logiciels-hero-inner {
  text-align: center;
  padding: 2.2rem 1.8rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(0,123,255,0.35), transparent 55%),
              radial-gradient(circle at bottom right, rgba(111,66,193,0.35), transparent 55%),
              rgba(5, 8, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
  color: #f5f7ff;
}

.logiciels-hero .hero-kicker {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 0.75rem;
  color: #8fb4ff;
  margin-bottom: 0.9rem;
}

.logiciels-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 1rem;
}

.logiciels-hero .hero-subtitle {
  max-width: 700px;
  margin: 0 auto 1.4rem;
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.95;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.hero-tags span {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 20, 48, 0.9);
  border: 1px solid rgba(143, 180, 255, 0.4);
}

.hero-note {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* BLOC principal */
.logiciels-recommandes {
  max-width: 1100px;
  margin: 1.8rem auto 4rem;
  padding: 0 1.5rem 3rem;
}

/* Sections de logiciels */
.soft-section {
  margin-top: 2.2rem;
  padding: 1.6rem 1.5rem 1.3rem;
  border-radius: 18px;
  background: rgba(5, 8, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.soft-section h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin: 0 0 0.7rem;
  color: #ffffff;
}

.soft-section-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

/* Liste de logiciels */
.soft-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.soft-list li {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.6rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.soft-list li:last-child {
  border-bottom: none;
}

.soft-name {
  font-weight: 600;
  color: #4da3ff;
  font-size: 0.95rem;
}

.soft-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

.soft-link {
  justify-self: end;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 180, 255, 0.8);
  color: #9ec7ff;
  text-decoration: none;
  background: rgba(10, 20, 40, 0.9);
}

.soft-link:hover {
  background: #4da3ff;
  color: #050814;
  border-color: #4da3ff;
}

/* Bloc note final */
.soft-footer-note {
  margin-top: 2.8rem;
  padding: 1.6rem 1.5rem;
  border-radius: 16px;
  background: rgba(5, 8, 20, 0.96);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
  color: #f5f7ff;
  font-size: 0.9rem;
  line-height: 1.7;
}

.soft-footer-cta {
  margin-top: 0.9rem;
}

.soft-footer-cta a {
  color: #69b3ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(105, 179, 255, 0.7);
}

.soft-footer-cta a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .soft-list li {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }
  .soft-link {
    justify-self: flex-start;
  }
}

@media (max-width: 768px) {
  .logiciels-hero {
    padding: 1.2rem 1rem 0;
  }
  .logiciels-hero-inner {
    padding: 1.7rem 1.3rem;
  }
  .logiciels-recommandes {
    padding: 0 1rem 2.5rem;
  }
  .soft-section {
    padding: 1.4rem 1.2rem 1.1rem;
  }
}/* CONTAINER DU LOGO */
#logo-container {
  position: relative;
  display: inline-block;
}

/* HALO AUTOUR DU LOGO */
#logo-halo {
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  border-radius: 50%;
  background: radial-gradient(
    rgba(0, 140, 255, 0.45),
    rgba(0, 0, 0, 0)
  );
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}/* CONTENEUR DU LOGO */
.custom-logo-link {
  position: relative;
  display: inline-block;
}

/* HALO créé automatiquement autour du logo */
.custom-logo-link::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  border-radius: 50%;
  background: radial-gradient(
    rgba(0, 140, 255, 0.45),
    rgba(0, 0, 0, 0)
  );
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}/* Conteneur du logo dans Astra */
.custom-logo-link {
  position: relative;
  display: inline-block;
}

/* Halo par défaut (invisible) */
.custom-logo-link::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  border-radius: 50%;
  background: radial-gradient(
    rgba(0, 140, 255, 0.5),
    rgba(0, 0, 0, 0)
  );
  filter: blur(18px);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

/* Quand la classe .halo-on est présente → halo visible */
.custom-logo-link.halo-on::before {
  opacity: 1;
}.custom-logo-link::before {
  opacity: 1 !important;
}/* 1) Cible ton logo dans le header */
/* Remplace .header_logo par la bonne classe si nécessaire */
.header_logo {
  position: relative;
  animation: logoHalo 3s ease-in-out infinite;
}

/* 2) Animation du halo avec un drop-shadow (respecte la forme ronde du logo) */
@keyframes logoHalo {
  0%, 100% {
    filter: drop-shadow(0 0 0px rgba(120, 200, 255, 0));   /* halo invisible */
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(120, 200, 255, 0.9)); /* halo très visible */
  }
}.logo img {
  position: relative;
  animation: logoHalo 3s ease-in-out infinite;
}.logo img { /* adapte ce sélecteur */
  position: relative;
  z-index: 1;
}

.logo img::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;   /* taille du halo */
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(120, 200, 255, 0.9) 0%,
      rgba(120, 200, 255, 0.05) 60%,
      transparent 80%);
  opacity: 0;
  animation: haloPulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes haloPulse {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}/* Page 76 : texte blanc dans la barre noire du haut */
.page-id-76 .page-title,
.page-id-76 .page-title h1,
.page-id-76 .page-title-inner,
.page-id-76 .page-title-inner h1,
.page-id-76 .page-title-inner .entry-title,
.page-id-76 .page-title-inner a,
.page-id-76 .breadcrumbs,
.page-id-76 .breadcrumbs a {
  color: #ffffff !important;
}

/* Optionnel : s'assurer que la barre reste bien foncée */
.page-id-76 .page-title,
.page-id-76 .page-title-inner {
  background-color: #000000 !important;
}/* Animation cyclique du halo derrière le logo */
.site-logo img {
    position: relative;
    z-index: 2;
    animation: logoHalo 3s ease-in-out infinite;
}

@keyframes logoHalo {
    0%, 100% {
        filter: drop-shadow(0 0 0px rgba(120, 160, 255, 0.0));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(120, 160, 255, 0.9));
    }
}.header-logo img { animation: logoHalo 3s ease-in-out infinite; }

.ux-logo img { animation: logoHalo 3s ease-in-out infinite; }

#logo img { animation: logoHalo 3s ease-in-out infinite; }/* Page 57 : rendre les textes bien lisibles */
.page-id-57 .entry-content,
.page-id-57 .entry-content p,
.page-id-57 .entry-content li,
.page-id-57 .entry-content h1,
.page-id-57 .entry-content h2,
.page-id-57 .entry-content h3,
.page-id-57 .entry-content h4,
.page-id-57 .entry-content h5,
.page-id-57 .entry-content h6 {
  color: #111111 !important;        /* texte gris très foncé */
  line-height: 1.7;                  /* plus d’air entre les lignes */
  font-size: 16px;                   /* taille confortable */
}

/* Liens plus visibles */
.page-id-57 .entry-content a {
  color: #1f3c88 !important;         /* bleu lisible */
  text-decoration: underline;
}

.page-id-57 .entry-content a:hover {
  color: #162861 !important;         /* bleu un peu plus foncé au survol */
}

/* Petit espace en haut de la zone de contenu, au cas où ce serait collé au header */
.page-id-57 .entry-content {
  margin-top: 20px;
}/* Rend le header fixe en haut de la page */
header#masthead, .site-header, #header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Pour qu'il passe au-dessus du contenu */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Ajoute une ombre légère pour le détacher du fond */
    background-color: #ffffff; /* Assurez-vous qu'il ne soit pas transparent */
}

/* Ajoute une marge au corps de la page pour éviter que le header ne cache le début du contenu */
body {
    padding-top: 80px; /* À ajuster selon la hauteur réelle de votre header */
}

/* Optionnel : Animation fluide lors du scroll */
header {
    transition: all 0.3s ease-in-out;
}/* On cible le header sans écraser ses couleurs d'origine */
header#masthead, .site-header, .header-v1 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    /* On ne définit PAS de background-color ici pour laisser celle du thème */
    transition: all 0.3s ease;
}

/* On décale le contenu pour qu'il ne passe pas derrière au chargement */
body {
    margin-top: 80px !important; /* Ajustez ce chiffre selon la hauteur de votre header */
}

/* Ajustement pour la barre d'administration WordPress (quand vous êtes connecté) */
body.admin-bar header#masthead, 
body.admin-bar .site-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar header#masthead, 
    body.admin-bar .site-header {
        top: 46px !important;
    }
}/* 1. On empêche le conteneur du header de changer de hauteur */
header#masthead, 
.site-header, 
.header-v1,
.sticky-header {
    height: auto !important;
    min-height: 80px !important; /* Ajustez ce chiffre à la hauteur réelle de votre header au repos */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    transition: none !important; /* Désactive l'animation de rétrécissement */
}

/* 2. On empêche le logo de rétrécir */
header#masthead img, 
.site-logo img, 
.custom-logo {
    max-height: none !important;
    height: auto !important;
    width: auto !important;
    transform: scale(1) !important; /* Annule tout effet de réduction d'échelle */
}

/* 3. On bloque les changements de taille de police du menu */
.main-navigation ul li a {
    font-size: inherit !important;
    padding: 15px 20px !important; /* Ajustez selon votre espacement d'origine */
}

/* 4. On neutralise la classe "sticky" que le thème ajoute automatiquement */
.is-sticky header, 
.header-minimized, 
.sticky-active {
    height: auto !important;
    padding: 10px 0 !important;
}/* 1. ON FORCE LA HAUTEUR DU HEADER (Fixe et Invariable) */
header#masthead, 
.site-header, 
.sticky-header,
.is-sticky #masthead {
    position: fixed !important;
    top: 0 !important;
    height: 120px !important; /* Ajustez cette hauteur selon votre préférence pour le "Grand" format */
    max-height: 120px !important;
    min-height: 120px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    background-color: #ffffff !important; /* Force le fond blanc pour éviter la transparence au scroll */
    transition: none !important; /* Supprime l'effet d'animation de réduction */
}

/* 2. ON FORCE LA TAILLE DU LOGO (Il ne doit plus rétrécir) */
header#masthead .site-logo img, 
header#masthead .custom-logo,
.site-header img {
    height: 90px !important; /* Taille du logo en grand */
    max-height: 90px !important;
    min-height: 90px !important;
    width: auto !important;
    transform: scale(1) !important; /* Annule tout zoom arrière */
    transition: none !important;
}

/* 3. ON ALIGNE LE MENU POUR QU'IL RESTE AU CENTRE */
.main-navigation, 
#site-navigation {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* 4. ON DÉCALE LE CONTENU DU SITE POUR NE PAS QU'IL SOIT CACHÉ */
body {
    padding-top: 120px !important; /* Doit être identique à la hauteur du header (point 1) */
}

/* 5. GESTION DE LA BARRE NOIRE WORDPRESS (ADMIN) */
body.admin-bar header#masthead {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar header#masthead {
        top: 46px !important;
    }
}/* 1. VERROUILLAGE DU CONTENEUR GÉNÉRAL */
header#masthead, 
.site-header, 
.ast-sticky-header,
[data-stick-default] {
    position: fixed !important;
    top: 0 !important;
    height: 120px !important; /* VOTRE HAUTEUR CIBLE */
    min-height: 120px !important;
    max-height: 120px !important;
    background-color: #ffffff !important;
    transition: none !important;
    display: flex !important;
    align-items: center !important;
    z-index: 99999 !important;
}

/* 2. VERROUILLAGE DES CONTENEURS INTERNES (Le secret est ici) */
header#masthead .ast-container, 
header#masthead .site-header-section,
header#masthead .header-main,
.main-header-bar {
    height: 120px !important; /* Doit être identique au point 1 */
    max-height: 120px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 120px !important; /* Aligne le menu verticalement */
}

/* 3. VERROUILLAGE DU LOGO ET DE SON LIEN */
header#masthead .site-logo-img img, 
header#masthead .custom-logo,
header#masthead .site-branding img,
.ast-sticky-device-helper img {
    height: 90px !important; /* TAILLE DU LOGO EN GRAND */
    max-height: 90px !important;
    min-height: 90px !important;
    width: auto !important;
    transform: scale(1) !important;
    transition: none !important;
}

/* 4. ON EMPÊCHE LE TEXTE DU MENU DE BOUGER */
.main-header-menu, 
.main-header-menu > .menu-item > a {
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    transition: none !important;
}

/* 5. DÉCALAGE DU CORPS DE PAGE */
body {
    padding-top: 120px !important;
}

/* Ajustement pour la barre d'admin WordPress */
body.admin-bar header#masthead {
    top: 32px !important;
}