/* Maxel House — surcharges Wilcon */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: #fc5e28;
  color: #fff;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

.mxh-brand .mxh-logo-img {
  max-height: 70px;
  width: auto;
}

.top .text a {
  color: inherit;
  text-decoration: none;
}
.top .text a:hover {
  color: #fc5e28;
}
.topper .text .con a {
  color: inherit;
  text-decoration: none;
}
.topper .text .con a:hover {
  color: #fc5e28;
}

/* Boutons latéraux Boutique / Formations */
.floating-quick-links {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}
.floating-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: #fc5e28;
  color: #fff;
  text-decoration: none;
  border-radius: 8px 0 0 8px;
  transition: width 0.3s ease, background 0.3s ease;
  white-space: nowrap;
  padding: 0 14px;
  box-shadow: -2px 2px 8px rgba(0,0,0,0.15);
}
.floating-link:hover {
  width: 200px;
  color: #fff;
  background: #040e26;
}
.floating-link .fa {
  font-size: 1.2rem;
  min-width: 20px;
  text-align: center;
}
.floating-link-label {
  margin-left: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}
.floating-link:hover .floating-link-label {
  opacity: 1;
}
.floating-link-training {
  background: #040e26;
}
.floating-link-training:hover {
  background: #fc5e28;
}

/* Formulaires devis / contact */
.book-form,
.quotation-form,
.appointment-form {
  background: #fff;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.book-form h3,
.quotation-form h3,
.appointment-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Hero accueil — slider d'images (hauteur réduite) */
.hero-slider-wrap {
  position: relative;
  z-index: 1;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}
.hero-slider-wrap .hero-bg-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
}
.hero-slider-wrap .hero-bg-swiper .swiper-slide {
  height: 100%;
  width: 100%;
}
.hero-slider-wrap .hero-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slider-wrap > .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background: #040e26;
  pointer-events: none;
}
.hero-slider-wrap .hero-content-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 55px;
  padding-bottom: 2rem;
  pointer-events: none;
}
.hero-slider-wrap .hero-content-layer .row {
  pointer-events: auto;
}
.hero-slider-wrap .slider-text {
  height: auto;
  width: 100%;
  color: rgba(255, 255, 255, 0.9);
}
.hero-slider-wrap .slider-text h1,
.hero-slider-wrap .slider-text p {
  color: #fff;
}
.hero-slider-wrap .quotation-form {
  margin-top: 1rem;
}
.hero-slider-wrap .hero-swiper-pagination {
  bottom: 18px !important;
  z-index: 3;
}
.hero-slider-wrap .hero-swiper-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}
.hero-slider-wrap .hero-swiper-pagination .swiper-pagination-bullet-active {
  background: #fc5e28;
  opacity: 1;
}
@media (max-width: 767.98px) {
  .hero-slider-wrap {
    min-height: 520px;
  }
  .hero-slider-wrap .hero-content-layer {
    padding-top: 1rem;
  }
}

/* Section services sous le hero — au-dessus du banner (z-index Wilcon) */
.hero-home + .ftco-services-2 {
  position: relative;
  z-index: 5;
}
@media (min-width: 992px) {
  .hero-home + .ftco-services-2 .services {
    margin-top: -50px;
  }
}

/* Hero accueil — mots-clés animés */
.hero-keywords-wrap {
  display: block;
  min-height: 1.2em;
  position: relative;
}
.hero-keyword {
  position: absolute;
  left: 0;
  opacity: 0;
  animation: heroKwFade 24s infinite;
}
.hero-keyword-1 { animation-delay: 0s; }
.hero-keyword-2 { animation-delay: 3s; }
.hero-keyword-3 { animation-delay: 6s; }
.hero-keyword-4 { animation-delay: 9s; }
.hero-keyword-5 { animation-delay: 12s; }
.hero-keyword-6 { animation-delay: 15s; }
.hero-keyword-7 { animation-delay: 18s; }
.hero-keyword-8 { animation-delay: 21s; }
@keyframes heroKwFade {
  0%, 3% { opacity: 0; transform: translateY(10px); }
  5%, 10% { opacity: 1; transform: translateY(0); }
  13%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* Pages intérieures — en-tête (sans js-fullheight) */
.hero-wrap.hero-wrap-2.hero-page {
  height: 320px;
}
.hero-wrap.hero-wrap-2.hero-page .slider-text {
  height: 320px;
}
.hero-wrap.hero-wrap-2.hero-page h1 {
  font-size: 42px;
}
.hero-wrap.hero-wrap-2.hero-page-compact {
  height: 200px;
}
.hero-wrap.hero-wrap-2.hero-page-compact .slider-text {
  height: 200px;
  padding-bottom: 1.5rem !important;
}
.hero-wrap.hero-wrap-2.hero-page-compact h1 {
  font-size: 32px;
  margin-bottom: 0 !important;
}
.hero-wrap.hero-wrap-2.hero-page-compact .breadcrumbs {
  margin-bottom: 0.5rem;
}
@media (max-width: 767.98px) {
  .hero-wrap.hero-wrap-2.hero-page {
    height: 260px;
  }
  .hero-wrap.hero-wrap-2.hero-page .slider-text {
    height: 260px;
  }
  .hero-wrap.hero-wrap-2.hero-page h1 {
    font-size: 28px;
  }
  .hero-wrap.hero-wrap-2.hero-page-compact {
    height: 160px;
  }
  .hero-wrap.hero-wrap-2.hero-page-compact .slider-text {
    height: 160px;
  }
  .hero-wrap.hero-wrap-2.hero-page-compact h1 {
    font-size: 24px;
  }
}

/* Dropdown menu — la navbar Wilcon a overflow:hidden par défaut */
.ftco-navbar-light {
  overflow: visible !important;
}
.ftco-navbar-light .container {
  overflow: visible !important;
}
.ftco-navbar-light .navbar-nav > .nav-item.dropdown {
  position: relative;
}
.ftco-navbar-light .dropdown-menu {
  border: none;
  border-radius: 0;
  margin-top: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1050;
}
.ftco-navbar-light .dropdown-menu .dropdown-item {
  padding: 0.6rem 1.25rem;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ftco-navbar-light .dropdown-menu .dropdown-item.active,
.ftco-navbar-light .dropdown-menu .dropdown-item:hover {
  background: #fc5e28;
  color: #fff;
}

/* Services cards (pages services) */
.service-card {
  background: #fff;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}
.service-card .wrap-icon {
  width: 70px;
  height: 70px;
  background: #fc5e28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.service-card .wrap-icon .fa {
  font-size: 1.8rem;
  color: #fff;
}
.ul-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.ul-check li:before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  color: #fc5e28;
}

/* Partenaires */
.partner-logo img {
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}
.partner-logo:hover img {
  filter: grayscale(0%);
}

/* Réalisations grille */
.realisations-grid { margin: 0 -1px; }
.realisations-col { padding: 2px; }
.realisations-item { position: relative; }
.realisations-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #eee;
}
.realisations-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.realisations-item:hover .realisations-img {
  transform: scale(1.05);
}
.project .text h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Téléchargements */
.download-file-card {
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}
.download-file-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* Webdesign / Infographie — décor animé */
.webdesign-hero-decor {
  position: relative;
  min-height: 280px;
}
.webdesign-hero-decor .decor-dot,
.webdesign-hero-decor .decor-cross {
  position: absolute;
  opacity: 0.5;
}
.decor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fc5e28;
  animation: decorFloat 4s ease-in-out infinite;
}
.decor-dot-1 { top: 10%; left: 20%; animation-delay: 0s; }
.decor-dot-2 { top: 60%; left: 10%; animation-delay: 1s; }
.decor-dot-3 { top: 30%; right: 15%; animation-delay: 2s; }
.decor-dot-4 { bottom: 20%; right: 25%; animation-delay: 0.5s; }
@keyframes decorFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.commvis-keywords-wrap {
  position: relative;
  min-height: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fc5e28;
}
.commvis-keyword {
  position: absolute;
  left: 0;
  opacity: 0;
  animation: commvisKw 15s infinite;
}
.commvis-keyword-2 { animation-delay: 0s; }
.commvis-keyword-3 { animation-delay: 3s; }
.commvis-keyword-4 { animation-delay: 6s; }
.commvis-keyword-5 { animation-delay: 9s; }
.commvis-keyword-6 { animation-delay: 12s; }
@keyframes commvisKw {
  0%, 5% { opacity: 0; }
  8%, 25% { opacity: 1; }
  28%, 100% { opacity: 0; }
}

/* FAQ accordion */
.custom-accordion .accordion-item {
  border: none;
  margin-bottom: 8px;
  background: #f8f9fa;
}
.custom-accordion .btn-link {
  color: #040e26;
  text-decoration: none;
  font-weight: 500;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
}
.custom-accordion .btn-link:not(.collapsed) {
  color: #fc5e28;
}
.custom-accordion .accordion-body {
  padding: 0 1.25rem 1rem;
}

.footer-star-link {
  opacity: 0.6;
}
.footer-star-link:hover {
  opacity: 1;
}

/* Pages Webdesign / Infographie */
.webdesign-first-section {
  background-size: cover;
  background-position: center;
  position: relative;
}
.webdesign-first-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
}
.webdesign-first-section .container {
  position: relative;
  z-index: 1;
}
.commvis-heading-accent,
.commvis-join-accent {
  color: #fc5e28;
}
.commvis-poles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.commvis-pole {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e9ecef;
}
.commvis-pole-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fc5e28;
  letter-spacing: 1px;
}
.commvis-pole-title {
  font-size: 1.25rem;
  margin: 0.25rem 0;
}
.commvis-pole-text {
  color: #6c757d;
  margin: 0;
}
.commvis-join-section .quotation-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.commvis-join-section .quotation-form h3,
.commvis-join-section .quotation-form label {
  color: #fff;
}
.expertise-section .expertise-card {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 4px;
  height: 100%;
}
.heading-section .subheading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fc5e28;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.section-heading {
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-heading strong {
  color: #fc5e28;
}
.font-fancy {
  font-style: italic;
  color: #fc5e28 !important;
}

/* Sidebar pages services */
.service-sidebar {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 90px;
}
.service-sidebar-nav .nav-link {
  color: #1a1a1a;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 6px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-sidebar-nav .nav-link:hover,
.service-sidebar-nav .nav-link.active {
  background: #fc5e28;
  color: #fff;
}
.service-tab-content {
  min-height: 200px;
}
.custom-accordion .accordion-body .wrap-icon {
  width: 56px;
  height: 56px;
  background: #fc5e28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-accordion .accordion-body .wrap-icon .fa {
  font-size: 1.4rem;
  color: #fff;
}
.custom-accordion .accordion-price {
  line-height: 1.2;
}
.custom-accordion .accordion-price-label {
  display: block;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.25rem;
}
.custom-accordion .accordion-price-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fc5e28;
  line-height: 1.1;
}
.custom-accordion .accordion-price-unit {
  display: block;
  font-size: 1rem;
  color: #666;
  margin-top: 0.25rem;
}
@media (max-width: 767.98px) {
  .custom-accordion .accordion-price {
    text-align: left !important;
    margin-bottom: 1rem;
  }
}
.delais-item {
  background: #f8f9fa;
  padding: 1.25rem;
  height: 100%;
  border-left: 3px solid #fc5e28;
}
.delais-badge {
  display: inline-block;
  background: #fc5e28;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
@media (max-width: 991.98px) {
  .service-sidebar {
    position: static;
  }
}

/* Page À propos */
.about-intro-visual {
  position: relative;
}
.about-intro-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #fc5e28;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.about-intro-badge-label,
.about-intro-badge-sub {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
}
.about-intro-badge strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}
.about-stats-section {
  background: #040e26;
  color: #fff;
  padding: 3rem 0;
}
.about-stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fc5e28;
  line-height: 1.1;
}
.about-stat-label {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}
.about-value-card {
  background: #fff;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #fc5e28;
}
.about-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(252, 94, 40, 0.12);
  color: #fc5e28;
  border-radius: 50%;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.about-process-step {
  background: #fff;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}
.about-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fc5e28;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.about-process-note a {
  color: #fc5e28;
}
.btn-outline-dark {
  border: 2px solid #040e26;
  color: #040e26;
}
.btn-outline-dark:hover {
  background: #040e26;
  color: #fff;
}
