#header-top-bar.eco-reprise-topbar {
  position: relative;
  overflow: hidden;
  padding: 0.32rem 0 !important;
  background: linear-gradient(90deg, #203414 0%, #5e7e39 48%, #ff6600 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(31, 42, 20, 0.18);
}

#header-top-bar.eco-reprise-topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 38%, transparent 52%);
  transform: translateX(-100%);
  animation: ecoTopbarSweep 4.8s linear infinite;
  pointer-events: none;
}

.eco-reprise-topbar .container,
.eco-reprise-topbar .topbar-text {
  position: relative;
  z-index: 1;
}

#header-top-bar.eco-reprise-topbar a,
#header-top-bar.eco-reprise-topbar a:hover {
  color: #fff !important;
}

.eco-reprise-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 18px;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.01em;
}

.eco-reprise-topbar-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff;
  color: #5e7e39;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
  animation: ecoTopbarPulse 1.8s ease-out infinite;
  will-change: transform, opacity;
}

.eco-reprise-topbar .list-inline-item,
.eco-reprise-topbar-link .eco-reprise-topbar-text {
  max-width: 100%;
}

.eco-reprise-topbar-link .eco-reprise-topbar-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eco-cloud-highlight {
  position: relative;
  overflow: hidden;
  border-left: 3px solid #5e7e39;
  background: linear-gradient(90deg, rgba(94, 126, 57, 0.14), rgba(255, 255, 255, 0));
}

.eco-cloud-highlight::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: ecoMenuShine 3.4s ease-in-out infinite;
  pointer-events: none;
}

.main-navbar-nav > .hs-has-mega-menu {
  position: relative;
}

.main-navbar-nav > .hs-has-mega-menu:hover > .hs-mega-menu,
.main-navbar-nav > .hs-has-mega-menu:focus-within > .hs-mega-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10050;
}

.main-navbar-nav > .hs-mega-menu-opened > .hs-mega-menu,
.main-navbar-nav .hs-sub-menu-opened > .hs-sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10050;
}

.main-navbar-nav > .hs-has-mega-menu[data-max-width="1080px"] > .hs-mega-menu {
  width: 1080px !important;
  max-width: calc(100vw - 32px);
}

.main-navbar-nav > .hs-has-mega-menu[data-max-width="720px"] > .hs-mega-menu {
  width: 720px !important;
  max-width: calc(100vw - 32px);
}

/* Menu « Informatique » : les glyphes Font Awesome n'ont pas tous la même
   largeur, ce qui décalait le texte d'une colonne à l'autre. */
.pro-mega-menu .menu-item-icon {
  flex: 0 0 auto;
  width: 1.75rem;
  text-align: center;
}

/* Le panneau reste à 720px (au-delà il serait rogné entre 992 et 1199px,
   où le .container plafonne à 960px) : on gagne la place à l'intérieur. */
.pro-mega-menu .title-with-icon-item {
  margin-left: 1rem;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  /* Deux colonnes côte à côte : une description qui passe à la ligne
     décalerait la 2e entrée de sa colonne. */
  .pro-mega-menu .u-header__promo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.main-navbar-nav > .hs-has-mega-menu:hover > a.custom-nav-link::before,
.main-navbar-nav > .hs-has-mega-menu:focus-within > a.custom-nav-link::before {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, 0) rotate(-315deg);
  border-radius: 3px;
  background-color: #5E7E39;
}

@keyframes ecoTopbarSweep {
  to {
    transform: translateX(100%);
  }
}

@keyframes ecoTopbarPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  70% {
    opacity: .92;
    transform: scale(1.04);
  }
}

@keyframes ecoMenuShine {
  0%, 46% {
    left: -60%;
  }
  100% {
    left: 120%;
  }
}

@media (max-width: 767px) {
  #header-top-bar.eco-reprise-topbar {
    min-height: 36px;
    padding: 0 !important;
  }

  #header-top-bar.eco-reprise-topbar::before {
    display: none;
  }

  .eco-reprise-topbar .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .eco-reprise-topbar .row {
    align-items: center;
    justify-content: center !important;
    min-height: 36px;
    margin-right: 0;
    margin-left: 0;
  }

  .eco-reprise-topbar .col-md-7 {
    display: block !important;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .eco-reprise-topbar .col-md-4 {
    display: none;
  }

  .eco-reprise-topbar .topbar-text,
  .eco-reprise-topbar .list-inline,
  .eco-reprise-topbar .list-inline-item {
    width: 100%;
    margin: 0;
  }

  .eco-reprise-topbar-link {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 6px 0;
    font-size: 0.74rem;
    line-height: 1.2;
    text-align: center;
  }

  .eco-reprise-topbar-badge {
    flex: 0 0 auto;
    padding: 2px 6px;
    font-size: 0.58rem;
  }

  .eco-reprise-topbar-link .eco-reprise-topbar-text {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100vw - 96px);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .eco-reprise-topbar .text-right {
    text-align: center !important;
  }

  .main-navbar-nav > .hs-has-mega-menu {
    position: static;
  }

  .main-navbar-nav > .hs-has-mega-menu:hover > .hs-mega-menu,
  .main-navbar-nav > .hs-has-mega-menu:focus-within > .hs-mega-menu {
    position: static;
    width: 100% !important;
    max-width: none;
    transform: none;
  }

  .main-navbar-nav > .hs-has-mega-menu:hover > a.custom-nav-link::before,
  .main-navbar-nav > .hs-has-mega-menu:focus-within > a.custom-nav-link::before {
    display: none;
  }
}

@media (max-width: 380px) {
  .eco-reprise-topbar-link {
    font-size: 0.7rem;
    letter-spacing: 0;
  }

  .eco-reprise-topbar-badge {
    font-size: 0.54rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #header-top-bar.eco-reprise-topbar::before,
  .eco-reprise-topbar-badge,
  .eco-cloud-highlight::after {
    animation: none;
  }
}

.repair-local-boost {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(246, 244, 236, 0.96), rgba(238, 246, 226, 0.94)),
    repeating-linear-gradient(120deg, rgba(94, 126, 57, 0.08) 0 2px, transparent 2px 52px);
  color: #203414;
}

.repair-local-boost::before,
.repair-local-boost::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(94, 126, 57, 0.12);
  transform: rotate(-18deg);
  pointer-events: none;
}

.repair-local-boost::before {
  width: 240px;
  height: 34px;
  top: 38px;
  right: -60px;
}

.repair-local-boost::after {
  width: 180px;
  height: 28px;
  bottom: 54px;
  left: -44px;
}

.repair-local-boost .container {
  position: relative;
  z-index: 1;
}

.repair-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(94, 126, 57, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #5e7e39;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.repair-kicker i {
  color: #ff6600;
}

.repair-local-boost h2 {
  color: #203414;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}

.repair-local-boost .repair-lead {
  max-width: 820px;
  color: #51613f;
  font-size: 1.05rem;
  line-height: 1.75;
}

.repair-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
}

.repair-panel,
.repair-chat-panel,
.repair-links-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(94, 126, 57, 0.18);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(31, 52, 20, 0.1);
}

.repair-panel {
  padding: 28px;
}

.repair-chat-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(32, 52, 20, 0.96), rgba(94, 126, 57, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px);
  color: #fff;
}

.repair-chat-panel h3,
.repair-links-panel h3,
.repair-panel h3 {
  margin-bottom: 14px;
  color: inherit;
  font-size: 1.18rem;
  font-weight: 800;
}

.repair-chat-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.repair-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.repair-service-pill {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 76px;
  padding: 14px;
  border-radius: 12px;
  background: #f7f9f1;
  border: 1px solid rgba(94, 126, 57, 0.12);
}

.repair-service-pill i {
  color: #5e7e39;
  margin-top: 3px;
}

.repair-service-pill strong {
  display: block;
  color: #203414;
  font-size: 0.95rem;
}

.repair-service-pill span {
  display: block;
  color: #6c765d;
  font-size: 0.88rem;
  line-height: 1.45;
}

.repair-area-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.repair-area-line span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(94, 126, 57, 0.1);
  color: #40552e;
  font-size: 0.82rem;
  font-weight: 700;
}

.repair-chat-btn,
.repair-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.repair-chat-btn {
  background: #ff6600;
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 102, 0, 0.28);
}

.repair-chat-btn:hover,
.repair-quote-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.repair-quote-btn {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.repair-links-panel {
  margin-top: 24px;
  padding: 24px;
}

.repair-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.repair-links-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f7f9f1;
  color: #40552e;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.repair-links-grid a:hover,
.repair-links-grid a.active {
  background: #5e7e39;
  color: #fff;
}

@media (max-width: 991px) {
  .repair-local-grid {
    grid-template-columns: 1fr;
  }

  .repair-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .repair-local-boost {
    padding: 58px 0;
  }

  .repair-panel,
  .repair-chat-panel,
  .repair-links-panel {
    padding: 20px;
    border-radius: 12px;
  }

  .repair-services,
  .repair-links-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  --hopela-seo-bg: #ffffff;
  --hopela-seo-muted-bg: #f6f8f2;
  --hopela-seo-border: rgba(94, 126, 57, 0.18);
  --hopela-seo-text: #24321f;
  --hopela-seo-muted: #55624f;
  --hopela-seo-accent: #5e7e39;
}

.hopela-intent-section {
  background: var(--hopela-seo-bg);
  color: var(--hopela-seo-text);
}

.hopela-intent-section.hopela-intent-muted {
  background: var(--hopela-seo-muted-bg);
}

.hopela-intent-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--hopela-seo-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hopela-intent-section h2,
.hopela-intent-section h3 {
  color: #071f40;
}

.hopela-intent-section p {
  color: var(--hopela-seo-muted);
  line-height: 1.75;
}

.hopela-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hopela-intent-card {
  height: 100%;
  padding: 22px;
  border: 1px solid var(--hopela-seo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 42, 20, 0.06);
}

.hopela-intent-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hopela-intent-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.hopela-intent-list {
  margin: 0;
  padding-left: 18px;
  color: var(--hopela-seo-muted);
  line-height: 1.75;
}

.hopela-intent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hopela-intent-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--hopela-seo-border);
  border-radius: 999px;
  color: #40552e;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.hopela-intent-links a:hover {
  color: #fff;
  background: var(--hopela-seo-accent);
  border-color: var(--hopela-seo-accent);
}

@media (max-width: 991px) {
  .hopela-intent-grid {
    grid-template-columns: 1fr;
  }
}
.guide-author {
  margin: 18px 0 0;
  color: #eef3e7;
  font-size: 0.95rem;
  line-height: 1.5;
}

.guide-author a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
.responsive-hero-bg {
  background-image: var(--hero-bg-mobile) !important;
}
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.category-button img {
  width: auto;
}

.hopela-title img {
  width: auto;
  height: auto;
}

.menu-titile-icon {
  height: auto;
}

/* Les longues sections restent dans le DOM mais ne sont rendues qu'a l'approche
   du viewport. Reduit le layout initial sans masquer le contenu SEO. */
@supports (content-visibility: auto) {
  body > section:not(:first-of-type),
  body > main > section:not(:first-of-type),
  body > footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }

  .vps-pricing-plane .container > .row:not(:first-child),
  .pricing-section .container > .row:not(:first-child) {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
  }
}

.service-intro-toggle {
  display: none;
}

/* Hiérarchie typographique plus franche, avec les fontes locales légères. */
body {
  color: #3f4a3b;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

h1,
.h1 {
  font-weight: 800 !important;
  letter-spacing: -0.025em;
}

h2,
.h2,
.section-heading h2,
.sep-title-center h2 {
  font-weight: 700;
  letter-spacing: -0.018em;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.main-navbar-nav > li > a,
.custom-nav-link,
.sub-menu-nav-link {
  font-weight: 600 !important;
}

.lead,
.hero-content-wrap .lead,
.section-heading .lead {
  font-weight: 500;
}

.btn,
button,
.hopela-button,
.service-intro-toggle,
.category-button {
  font-family: Poppins, sans-serif;
  font-weight: 700 !important;
}

.price,
.rate,
.offer-price-tag,
.offert,
.pricing-header {
  font-weight: 800;
}

.card-header,
.accordion-faq .card-header,
.pricing-feature-list strong,
.hopela-intent-card h3,
.single-promo-2 h3,
.single-promo-2 h5,
strong,
b {
  font-weight: 700;
}

/* Couleurs vives conservées avec un texte sombre pour rester AA. */
.plan-badge-orange {
  color: #241000 !important;
  background-color: #ff6600 !important;
  font-weight: 800 !important;
}

.plan-badge-blue {
  color: #061c2a !important;
  background-color: #20b7f2 !important;
  font-weight: 800 !important;
}

.plan-badge,
.btn-link,
.action-wrap a {
  font-family: Poppins, sans-serif;
  font-weight: 700 !important;
}

.hopela-button:not(.is-disabled) {
  color: #251100 !important;
  background-color: #ff6600 !important;
  font-weight: 800 !important;
}

.hopela-button:not(.is-disabled):hover,
.hopela-button:not(.is-disabled):focus-visible {
  color: #fff !important;
  background-color: #a84400 !important;
}

.btn-link,
.hopela-intent-eyebrow,
.copyright-text a,
.hopela-intent-card a,
.guide-cta .outline-btn,
body > main > section:not(:first-child) p a:not(.btn):not([class]) {
  color: #4c682d !important;
}

.rate > span {
  color: #666 !important;
  opacity: 1 !important;
}

.footer-nav-wrap > .h4 {
  margin-bottom: 1.4rem;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

p a:not(.btn):not([class]),
.copyright-text a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body > main code {
  color: #9f1239;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  padding: 0.08em 0.28em;
}

@media (max-width: 767px) {
  .service-intro {
    position: relative;
    transition: max-height 0.25s ease;
  }

  .service-intro.is-collapsed {
    max-height: 8.2em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 70%, transparent);
    mask-image: linear-gradient(#000 70%, transparent);
  }

  .service-intro.is-expanded {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .service-intro-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 18px;
    padding: 7px 14px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
  }
}

/* Sous-ensembles des icônes réellement utilisées sur le site. */
@font-face {
  font-family: "Font Awesome 6 Pro";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900-hopela.woff2") format("woff2");
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-brands-400-hopela.woff2") format("woff2");
}

@font-face {
  font-family: "themify";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/themify-hopela.woff2") format("woff2");
}
