@import url('/css/copilote-design-system.css');

:root {
  --hb-bg: var(--cp-bg);
  --hb-hero: var(--cp-dark-gradient);
  --hb-card: var(--cp-card-gray);
  --hb-btn: var(--cp-btn-gradient);
  --hb-btn-text: #FFFFFF;
  --hb-ink: #23153f;
  --hb-muted: #6f667d;
  --hb-border: rgba(57, 32, 96, 0.12);
  --hb-white: #ffffff;
  --hb-shadow: 0 18px 45px rgba(35, 21, 63, 0.08);
  --hb-radius-lg: 28px;
  --hb-radius-md: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--hb-bg);
  color: var(--hb-ink);
  line-height: 1.7;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.blog-header,
.hb-header {
  background: var(--hb-hero);
  color: #fff;
}

.blog-nav,
.hb-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.blog-logo,
.hb-logo {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
}

.blog-nav-links,
.hb-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.blog-nav-links a,
.hb-nav-links a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.95rem;
}

.blog-nav-links a:hover,
.hb-nav-links a:hover {
  color: #fff;
}

.blog-hero,
.hb-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 22px 78px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
}

.blog-kicker,
.hb-kicker,
.tag,
.hb-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  line-height: 1.1;
  font-size: 0.82rem;
  padding: 8px 14px;
  margin-bottom: 18px;
}

.article .tag,
.hb-card .hb-tag,
.blog-card .tag,
.side-card .tag,
.featured-card .tag {
  background: var(--hb-card);
  border: 1px solid var(--hb-border);
  color: #4a237f;
}

.blog-hero h1,
.hb-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0 0 20px;
}

.blog-hero p,
.hb-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.84);
  font-size: 1.12rem;
}

.hero-actions,
.hb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
}

.btn-primary,
.hb-btn-primary {
  background: var(--hb-btn);
  color: var(--hb-btn-text);
  box-shadow: 0 14px 28px rgba(55, 24, 104, 0.18);
}

.btn-secondary,
.hb-btn-secondary {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}

.hero-visual img,
.hb-visual img {
  border-radius: var(--hb-radius-lg);
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.18);
}

.blog-main,
.hb-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 22px 86px;
}

.section-head,
.hb-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head h2,
.hb-section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0;
}

.section-head p,
.hb-section-head p {
  color: var(--hb-muted);
  max-width: 560px;
  margin: 0;
}

.blog-grid,
.hb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  margin-bottom: 34px;
}

.side-stack {
  display: grid;
  gap: 24px;
}

.blog-card,
.hb-card,
.featured-card,
.side-card,
.hb-founder,
.article,
.about-card {
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  overflow: hidden;
  box-shadow: var(--hb-shadow);
}

.blog-card img,
.hb-card img,
.featured-card img,
.side-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body,
.hb-card-body {
  padding: 24px;
}

.blog-card h3,
.hb-card h3,
.featured-card h3,
.side-card h3 {
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.blog-card p,
.hb-card p,
.featured-card p,
.side-card p,
.card-body p,
.hb-card-body p {
  color: var(--hb-muted);
  margin: 0 0 18px;
}

.read-link,
.hb-read {
  font-weight: 850;
  color: #4a237f;
  text-decoration: none;
}

.trust-strip {
  margin: 52px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  background: var(--hb-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  padding: 18px;
}

.trust-item strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: #4a237f;
}

.trust-item span {
  color: var(--hb-muted);
  font-size: 0.92rem;
}

.article-wrap,
.about-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 22px 86px;
}

.article,
.about-card {
  padding: clamp(28px, 5vw, 58px);
}

.article h1,
.about-card h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  margin: 0 0 18px;
}

.article h2,
.about-card h2 {
  margin-top: 42px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.article p,
.article li,
.about-card p {
  color: #41374f;
  font-size: 1.055rem;
}

.article-intro {
  color: #5d536b !important;
  font-size: 1.18rem !important;
}

.article-hero-image {
  border-radius: var(--hb-radius-lg);
  margin: 28px 0 34px;
  border: 1px solid var(--hb-border);
  box-shadow: var(--hb-shadow);
}

.article-box {
  background: var(--hb-card);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  padding: 22px;
  margin: 30px 0;
}

.cta-box,
.hb-cta {
  background: var(--hb-hero);
  color: #fff;
  border-radius: var(--hb-radius-lg);
  padding: 32px;
  margin-top: 44px;
  box-shadow: var(--hb-shadow);
}

.hb-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.cta-box h2,
.hb-cta h2 {
  margin-top: 0;
  color: #fff;
}

.cta-box p,
.hb-cta p {
  color: rgba(255,255,255,0.84);
}

.cta-box .btn,
.hb-cta .hb-btn {
  background: #fff;
  color: #4a237f;
}

.hb-founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-bottom: 58px;
}

.hb-founder-photo {
  background: var(--hb-hero);
  border-radius: var(--hb-radius-lg);
  min-height: 360px;
  overflow: hidden;
}

.hb-founder-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.blog-footer,
.hb-footer {
  text-align: center;
  color: var(--hb-muted);
  padding: 34px 20px 54px;
}

.blog-footer a,
.hb-footer a {
  color: #4a237f;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 920px) {
  .blog-hero,
  .hb-hero,
  .featured-grid,
  .hb-founder,
  .hb-cta {
    grid-template-columns: 1fr;
  }

  .blog-grid,
  .hb-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section-head,
  .hb-section-head {
    display: block;
  }

  .blog-nav,
  .hb-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}





/* HEADER BUTTON NAV START */
.blog-nav-links,
.hb-nav-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

.blog-nav-links a,
.hb-nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  line-height: 1 !important;
}

.blog-nav-links a:hover,
.hb-nav-links a:hover {
  background: rgba(255,255,255,0.20) !important;
  color: #ffffff !important;
}

.blog-nav-links a[href="/copilote"],
.hb-nav-links a[href="/copilote"] {
  background: #ffffff !important;
  color: #3b1979 !important;
  border-color: #ffffff !important;
}

.blog-footer,
.hb-footer {
  font-size: 0.92rem !important;
}

@media (max-width: 720px) {
  .blog-nav-links,
  .hb-nav-links {
    gap: 8px !important;
  }

  .blog-nav-links a,
  .hb-nav-links a {
    min-height: 34px !important;
    padding: 7px 12px !important;
    font-size: 0.86rem !important;
  }
}
/* HEADER BUTTON NAV END */


/* HEADER BUTTON COLOR FIX START */
.blog-nav-links a,
.hb-nav-links a {
  background: #ffffff !important;
  color: #2b1454 !important;
  border: 1px solid rgba(255,255,255,0.65) !important;
}

.blog-nav-links a:hover,
.hb-nav-links a:hover {
  background: #f2ecff !important;
  color: #2b1454 !important;
}

.blog-nav-links a[href="/copilote"],
.hb-nav-links a[href="/copilote"] {
  background: #6d3df2 !important;
  color: #ffffff !important;
  border-color: #6d3df2 !important;
}

.blog-nav-links a[href="/copilote"]:hover,
.hb-nav-links a[href="/copilote"]:hover {
  background: #5630c8 !important;
  color: #ffffff !important;
}
/* HEADER BUTTON COLOR FIX END */

/* LOGOS SEPARES HOME ABOUT START */

/* Accueil uniquement */
.hb-home-page .blog-nav,
.hb-home-page .hb-nav {
  min-height: 92px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  align-items: center !important;
}

.hb-home-page .blog-logo.logo-img-link,
.hb-home-page .hb-logo.logo-img-link {
  display: flex !important;
  align-items: center !important;
  width: 300px !important;
  max-width: 30vw !important;
  height: auto !important;
  line-height: 0 !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  transform: translateY(10px) !important;
}

.hb-home-page .site-logo-img {
  width: 300px !important;
  max-width: 30vw !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
}

/* Qui suis-je uniquement */
.hb-about-page .blog-nav,
.hb-about-page .hb-nav {
  min-height: 76px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  align-items: center !important;
}

.hb-about-page .blog-logo.logo-img-link,
.hb-about-page .hb-logo.logo-img-link {
  display: flex !important;
  align-items: center !important;
  width: 240px !important;
  max-width: 28vw !important;
  height: auto !important;
  line-height: 0 !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  transform: none !important;
}

.hb-about-page .site-logo-img {
  width: 240px !important;
  max-width: 28vw !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
}

@media (max-width: 720px) {
  .hb-home-page .blog-nav,
  .hb-home-page .hb-nav {
    min-height: 74px !important;
  }

  .hb-home-page .blog-logo.logo-img-link,
  .hb-home-page .hb-logo.logo-img-link,
  .hb-home-page .site-logo-img {
    width: 185px !important;
    max-width: 62vw !important;
  }

  .hb-home-page .blog-logo.logo-img-link,
  .hb-home-page .hb-logo.logo-img-link {
    transform: translateY(8px) !important;
  }

  .hb-about-page .blog-nav,
  .hb-about-page .hb-nav {
    min-height: 68px !important;
  }

  .hb-about-page .blog-logo.logo-img-link,
  .hb-about-page .hb-logo.logo-img-link,
  .hb-about-page .site-logo-img {
    width: 190px !important;
    max-width: 62vw !important;
  }
}
/* LOGOS SEPARES HOME ABOUT END */

/* GUIDES FOND GRIS COPILOTE START */
.hb-home-page .blog-card,
.hb-home-page .article-card,
.hb-home-page .post-card,
.hb-home-page .guide-card,
.hb-home-page .resource-card,
.hb-home-page .hb-card,
.hb-home-page .blog-grid article,
.hb-home-page .articles-grid article,
.hb-home-page .guides-grid article,
.hb-home-page .posts-grid article {
  background: var(--cp-card-gray) !important;
  border: 1px solid var(--cp-border-gray) !important;
  
}

.hb-home-page .blog-card .card-body,
.hb-home-page .article-card .card-body,
.hb-home-page .post-card .card-body,
.hb-home-page .guide-card .card-body,
.hb-home-page .resource-card .card-body {
  background: transparent !important;
}
/* GUIDES FOND GRIS COPILOTE END */

/* FIX FINAL 12 GUIDES MEME GRIS QUE TRUST ITEMS START */

/* Les 12 guides : section.blog-grid > article.blog-card */
.hb-home-page .blog-grid > article.blog-card {
  background: var(--cp-card-gray) !important;
  border: 1px solid var(--cp-border-gray) !important;
}

.hb-home-page .blog-grid > article.blog-card .card-body {
  background: var(--cp-card-gray) !important;
}

.hb-home-page .blog-grid > article.blog-card img {
  background: var(--cp-card-gray) !important;
}

/* FIX FINAL 12 GUIDES MEME GRIS QUE TRUST ITEMS END */

/* HB FINAL ARTICLES GRIS COPILOTE START */
html body .blog-grid > article.blog-card.hb-article-gray {
  background: #E9E9E9 !important;
  background-color: #E9E9E9 !important;
  border: 1px solid #DADADA !important;
  box-shadow: none !important;
}

html body .blog-grid > article.blog-card.hb-article-gray .card-body {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html body .blog-grid > article.blog-card.hb-article-gray h3,
html body .blog-grid > article.blog-card.hb-article-gray p,
html body .blog-grid > article.blog-card.hb-article-gray a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html body .blog-grid > article.blog-card.hb-article-gray .tag {
  background: rgba(255,255,255,0.55) !important;
  background-color: rgba(255,255,255,0.55) !important;
  color: #3b168f !important;
}

html body .blog-grid > article.blog-card.hb-article-gray img {
  background: #E9E9E9 !important;
  background-color: #E9E9E9 !important;
  opacity: 1 !important;
}
/* HB FINAL ARTICLES GRIS COPILOTE END */

/* ARTICLES BLOG HEADER BLANC START */
.hb-blog-article-page .blog-header,
.hb-blog-article-page .hb-header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #E6E2EE !important;
  box-shadow: 0 8px 28px rgba(27, 17, 55, 0.06) !important;
}

.hb-blog-article-page .blog-nav,
.hb-blog-article-page .hb-nav {
  min-height: 58px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  align-items: center !important;
}

.hb-blog-article-page .blog-logo.logo-img-link,
.hb-blog-article-page .hb-logo.logo-img-link {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  line-height: 0 !important;
  transform: none !important;
}

.hb-blog-article-page .site-logo-img,
.hb-blog-article-page .article-header-logo {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  filter: none !important;
}

.hb-blog-article-page .blog-nav-links a,
.hb-blog-article-page .hb-nav-links a {
  background: #f3f0f7 !important;
  color: #2b1454 !important;
  border: 1px solid #E0D9EA !important;
}

.hb-blog-article-page .blog-nav-links a[href="/copilote"],
.hb-blog-article-page .hb-nav-links a[href="/copilote"] {
  background: #3b168f !important;
  color: #ffffff !important;
  border-color: #3b168f !important;
}

.hb-blog-article-page .article-hero img,
.hb-blog-article-page .post-hero img,
.hb-blog-article-page .blog-article img,
.hb-blog-article-page main article img {
  background: #E9E9E9 !important;
  border-radius: 24px !important;
}

@media (max-width: 720px) {
  .hb-blog-article-page .blog-logo.logo-img-link,
  .hb-blog-article-page .hb-logo.logo-img-link,
  .hb-blog-article-page .site-logo-img,
  .hb-blog-article-page .article-header-logo {
    width: 92px !important;
    max-width: 92px !important;
  }

  .hb-blog-article-page .blog-nav,
  .hb-blog-article-page .hb-nav {
    min-height: 54px !important;
  }
}
/* ARTICLES BLOG HEADER BLANC END */

/* LOGO ARTICLES X2 START */
.hb-blog-article-page .blog-nav,
.hb-blog-article-page .hb-nav {
  min-height: 82px !important;
}

.hb-blog-article-page .blog-logo.logo-img-link,
.hb-blog-article-page .hb-logo.logo-img-link {
  width: 220px !important;
  max-width: 220px !important;
}

.hb-blog-article-page .site-logo-img,
.hb-blog-article-page .article-header-logo {
  width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
}

@media (max-width: 720px) {
  .hb-blog-article-page .blog-logo.logo-img-link,
  .hb-blog-article-page .hb-logo.logo-img-link,
  .hb-blog-article-page .site-logo-img,
  .hb-blog-article-page .article-header-logo {
    width: 160px !important;
    max-width: 160px !important;
  }

  .hb-blog-article-page .blog-nav,
  .hb-blog-article-page .hb-nav {
    min-height: 70px !important;
  }
}
/* LOGO ARTICLES X2 END */



/* BOUTON HERO DECOUVRIR COPILOTE SLIM START */
.hb-home-page .hb-hero-btn-slim,
.hb-hero-btn-slim {
  min-height: 42px !important;
  height: 42px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

@media (max-width: 720px) {
  .hb-home-page .hb-hero-btn-slim,
  .hb-hero-btn-slim {
    min-height: 40px !important;
    height: 40px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
/* BOUTON HERO DECOUVRIR COPILOTE SLIM END */

/* QUI SUIS JE BLOC TEXTE GRIS SANS CADRE EXTERIEUR START */
.hb-about-page main,
.hb-about-page .about-main,
.hb-about-page .about-section,
.hb-about-page .about-wrapper,
.hb-about-page .about-container {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hb-about-page .about-card,
.hb-about-page .presentation-card,
.hb-about-page .hb-about-card,
.hb-about-page article {
  background: #E9E9E9 !important;
  background-color: #E9E9E9 !important;
  border: 1px solid #DADADA !important;
  border-radius: 28px !important;
  box-shadow: none !important;
}
/* QUI SUIS JE BLOC TEXTE GRIS SANS CADRE EXTERIEUR END */

/* ESPACEMENT TITRE HERO HOME START */
.hb-home-page .hb-hero-title-spaced,
.hb-hero-title-spaced {
  letter-spacing: 0.018em !important;
}
/* ESPACEMENT TITRE HERO HOME END */

/* HOME NAV BLANC HERO VIOLET START */

/* Le grand header reste violet, car il contient le hero */
body.hb-home-page .blog-header {
  background: var(--hb-hero) !important;
  background-color: var(--hb-hero) !important;
  color: #ffffff !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Seule la barre de navigation devient blanche */
body.hb-home-page .blog-nav {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
}

/* Fond blanc pleine largeur derrière la nav seulement */
body.hb-home-page .blog-nav::before {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 100vw !important;
  transform: translateX(-50%) !important;
  background: #ffffff !important;
  border-bottom: 1px solid #E6E2EE !important;
  box-shadow: 0 8px 28px rgba(27, 17, 55, 0.06) !important;
}

/* Logo visible sur fond blanc */
body.hb-home-page .blog-logo.logo-img-link,
body.hb-home-page .hb-logo.logo-img-link,
body.hb-home-page header a[href="/"]:first-of-type {
  width: 300px !important;
  max-width: 300px !important;
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  line-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.hb-home-page .blog-logo.logo-img-link img,
body.hb-home-page .hb-logo.logo-img-link img,
body.hb-home-page header a[href="/"]:first-of-type img {
  opacity: 1 !important;
  visibility: visible !important;
  width: 300px !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 68px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Boutons lisibles sur header blanc */
body.hb-home-page .blog-nav-links a,
body.hb-home-page .hb-nav-links a {
  background: #f4f0fb !important;
  color: #2B1454 !important;
  border: 1px solid #E0D8EF !important;
}

body.hb-home-page .blog-nav-links a:hover,
body.hb-home-page .hb-nav-links a:hover {
  background: #ebe3fb !important;
  color: #2B1454 !important;
}

body.hb-home-page .blog-nav-links a[href="/copilote"],
body.hb-home-page .hb-nav-links a[href="/copilote"] {
  background: #3B168F !important;
  color: #ffffff !important;
  border-color: #3B168F !important;
}

body.hb-home-page .blog-nav-links a[href="/copilote"]:hover,
body.hb-home-page .hb-nav-links a[href="/copilote"]:hover {
  background: #2B106C !important;
  color: #ffffff !important;
}

/* Le hero reste bien en violet avec texte clair */
body.hb-home-page .blog-hero {
  color: #ffffff !important;
}

body.hb-home-page .blog-hero h1,
body.hb-home-page .blog-hero p,
body.hb-home-page .blog-kicker {
  color: #ffffff !important;
}

body.hb-home-page .blog-hero p {
  color: rgba(255,255,255,0.84) !important;
}

@media (max-width: 720px) {
  body.hb-home-page .blog-logo.logo-img-link,
  body.hb-home-page .hb-logo.logo-img-link,
  body.hb-home-page header a[href="/"]:first-of-type {
    width: 230px !important;
    max-width: 230px !important;
    height: 58px !important;
  }

  body.hb-home-page .blog-logo.logo-img-link img,
  body.hb-home-page .hb-logo.logo-img-link img,
  body.hb-home-page header a[href="/"]:first-of-type img {
    width: 230px !important;
    max-width: 230px !important;
    max-height: 54px !important;
  }
}
/* HOME NAV BLANC HERO VIOLET END */

/* HOME REALIGNEMENT GAUCHE GLOBAL START */
/* Ajustement final : encore un peu moins de décalage vers la gauche */
body.hb-home-page .blog-hero,
body.hb-home-page .section-head,
body.hb-home-page .blog-grid {
  transform: translateX(-8px) !important;
}

@media (max-width: 1100px) {
  body.hb-home-page .blog-hero,
  body.hb-home-page .section-head,
  body.hb-home-page .blog-grid {
    transform: translateX(-6px) !important;
  }
}

@media (max-width: 760px) {
  body.hb-home-page .blog-hero,
  body.hb-home-page .section-head,
  body.hb-home-page .blog-grid {
    transform: translateX(-2px) !important;
  }
}

@media (max-width: 480px) {
  body.hb-home-page .blog-hero,
  body.hb-home-page .section-head,
  body.hb-home-page .blog-grid {
    transform: translateX(0) !important;
  }
}
/* HOME REALIGNEMENT GAUCHE GLOBAL END */

/* LOGO HOME REMONTE 10PX START */
body.hb-home-page .blog-logo.logo-img-link,
body.hb-home-page .hb-logo.logo-img-link,
body.hb-home-page header a[href="/"]:first-of-type {
  transform: translateY(-10px) !important;
}
/* LOGO HOME REMONTE 10PX END */

/* BOUTON HEADER DECOUVRIR COPILOTE START */
body.hb-home-page .blog-nav-links a.hb-header-copilote-btn,
body.hb-home-page .hb-nav-links a.hb-header-copilote-btn {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #3B168F !important;
  color: #ffffff !important;
  border: 1px solid #3B168F !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(59, 22, 143, 0.20) !important;
}

body.hb-home-page .blog-nav-links a.hb-header-copilote-btn:hover,
body.hb-home-page .hb-nav-links a.hb-header-copilote-btn:hover {
  background: #2B106C !important;
  color: #ffffff !important;
  border-color: #2B106C !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 720px) {
  body.hb-home-page .blog-nav-links a.hb-header-copilote-btn,
  body.hb-home-page .hb-nav-links a.hb-header-copilote-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 18px !important;
    font-size: 0.9rem !important;
  }
}
/* BOUTON HEADER DECOUVRIR COPILOTE END */

/* BOUTON HEADER MEME DEGRADE HERO START */
body.hb-home-page .blog-nav-links a.hb-header-copilote-btn,
body.hb-home-page .hb-nav-links a.hb-header-copilote-btn {
  background: linear-gradient(135deg, #7B3CFF 0%, #5B21D6 45%, #3B168F 100%) !important;
  background-color: #5B21D6 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 14px 30px rgba(91, 33, 214, 0.28) !important;
}

body.hb-home-page .blog-nav-links a.hb-header-copilote-btn:hover,
body.hb-home-page .hb-nav-links a.hb-header-copilote-btn:hover {
  background: linear-gradient(135deg, #8B5CFF 0%, #6D35F2 45%, #4B1FB8 100%) !important;
  background-color: #6D35F2 !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.22) !important;
}
/* BOUTON HEADER MEME DEGRADE HERO END */

/* LOGO HOME X2 START */
/* Logo légèrement agrandi, header gardé compact */
body.hb-home-page .blog-logo.logo-img-link,
body.hb-home-page .hb-logo.logo-img-link,
body.hb-home-page header a[href="/"]:first-of-type {
  width: 560px !important;
  max-width: 560px !important;
  height: 88px !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

body.hb-home-page .blog-logo.logo-img-link img,
body.hb-home-page .hb-logo.logo-img-link img,
body.hb-home-page header a[href="/"]:first-of-type img {
  width: 560px !important;
  max-width: 560px !important;
  height: auto !important;
  max-height: 82px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

body.hb-home-page .blog-nav {
  min-height: 92px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  align-items: center !important;
}

@media (max-width: 900px) {
  body.hb-home-page .blog-logo.logo-img-link,
  body.hb-home-page .hb-logo.logo-img-link,
  body.hb-home-page header a[href="/"]:first-of-type {
    width: 400px !important;
    max-width: 400px !important;
    height: 76px !important;
  }

  body.hb-home-page .blog-logo.logo-img-link img,
  body.hb-home-page .hb-logo.logo-img-link img,
  body.hb-home-page header a[href="/"]:first-of-type img {
    width: 400px !important;
    max-width: 400px !important;
    max-height: 70px !important;
  }

  body.hb-home-page .blog-nav {
    min-height: 80px !important;
  }
}

@media (max-width: 520px) {
  body.hb-home-page .blog-logo.logo-img-link,
  body.hb-home-page .hb-logo.logo-img-link,
  body.hb-home-page header a[href="/"]:first-of-type {
    width: 305px !important;
    max-width: 305px !important;
    height: 64px !important;
  }

  body.hb-home-page .blog-logo.logo-img-link img,
  body.hb-home-page .hb-logo.logo-img-link img,
  body.hb-home-page header a[href="/"]:first-of-type img {
    width: 305px !important;
    max-width: 305px !important;
    max-height: 60px !important;
  }

  body.hb-home-page .blog-nav {
    min-height: 70px !important;
  }
}
/* LOGO HOME X2 END */

/* BOUTONS HEADER HOME PLUS PETITS START */
body.hb-home-page .blog-nav-links a,
body.hb-home-page .hb-nav-links a {
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 13px !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

body.hb-home-page .blog-nav-links a.hb-header-copilote-btn,
body.hb-home-page .hb-nav-links a.hb-header-copilote-btn {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 16px !important;
  font-size: 0.84rem !important;
  line-height: 1 !important;
  border-radius: 999px !important;
}

@media (max-width: 720px) {
  body.hb-home-page .blog-nav-links a,
  body.hb-home-page .hb-nav-links a {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 11px !important;
    font-size: 0.78rem !important;
  }

  body.hb-home-page .blog-nav-links a.hb-header-copilote-btn,
  body.hb-home-page .hb-nav-links a.hb-header-copilote-btn {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 13px !important;
    font-size: 0.8rem !important;
  }
}
/* BOUTONS HEADER HOME PLUS PETITS END */

