/* ============================================
   CREDIGEST - Babun Business Consultancy Style
   Credit Immobilier Belgique
   ============================================ */

:root {
  --primary: #0D2137;
  --blue: #0088D4;
  --orange: #E8891C;
  --dark: #0D2137;
  --text: rgba(0, 0, 0, 0.7);
  --text-dark: #0D2137;
  --white: #ffffff;
  --light-bg: #eef2f6;
  --border-color: rgba(0, 0, 0, 0.08);
}

/* ---- Reset & Base ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 0; }

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--text);
  position: relative;
  line-height: 1.7;
}

.main-page-wrapper { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--text-dark); }
h1 { font-size: 72px; line-height: 1.05em; }
h2 { font-size: 52px; line-height: 1.15em; }
h3 { font-size: 28px; line-height: 1.3em; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }

.text-xl { font-size: 24px; line-height: 1.5em; }
.text-lg { font-size: 22px; line-height: 1.6em; }
.text-md { font-size: 20px; }
.text-accent { color: var(--orange); }
.fw-500 { font-weight: 500; }
.border-30 { border-radius: 30px; }

a { text-decoration: none; color: var(--blue); transition: all 0.3s ease; }
a:hover { color: var(--orange); }

.tran3s { transition: all 0.3s ease; }
.style-none { list-style: none; padding: 0; margin: 0; }

img { max-width: 100%; }

/* ---- Spacing helpers ---- */
.pt-35 { padding-top: 35px; }
.pb-25 { padding-bottom: 25px; }
.pt-45 { padding-top: 45px; }
.pt-75 { padding-top: 75px; }
.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-45 { margin-top: 45px; }
.mt-80 { margin-top: 80px; }
.mt-150 { margin-top: 150px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-35 { margin-bottom: 35px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-80 { margin-bottom: 80px; }
.mb-110 { margin-bottom: 110px; }
.mb-150 { margin-bottom: 150px; }
.pb-35 { padding-bottom: 35px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.pb-150 { padding-bottom: 150px; }
.pt-120 { padding-top: 120px; }


/* ================================================
   HEADER
   ================================================ */
.theme-main-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 20px 0;
  background: var(--primary);
  transition: all 0.3s ease;
}

.theme-main-menu.scrolled {
  background: rgba(13, 33, 55, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 18px !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white);
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background: var(--orange);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.btn-cta:hover {
  background: #d47a15;
  color: var(--white);
  transform: translateY(-2px);
}

/* Mobile menu toggle */
.navbar-toggler {
  width: 35px;
  height: 30px;
  position: relative;
  background: none;
  border: none;
  padding: 0;
}

.navbar-toggler span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  margin-bottom: 7px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar-toggler span:last-child { margin-bottom: 0; }

.navbar-toggler:focus { box-shadow: none; }


/* ================================================
   HERO BANNER
   ================================================ */
.hero-banner {
  padding: 220px 0 150px;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 33, 55, 0.85), rgba(13, 33, 55, 0.6));
}

.hero-slide.active { opacity: 1; }

.hero-heading {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--white);
  position: relative;
}

.hero-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.hero-services {
  font-size: 16px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.5px;
  margin: 0;
  padding-top: 12px;
}

.hero-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 25px;
  margin-bottom: 0;
  line-height: 1.5;
  max-width: 480px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  background: var(--orange);
  color: var(--white);
  border-radius: 30px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-hero i {
  display: flex;
  align-items: center;
  font-size: 20px;
  margin: 0;
}

.btn-hero:hover {
  background: #d47a15;
  color: var(--white);
  transform: translateY(-2px);
}

.more-btn {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: var(--white);
  font-size: 20px;
  text-decoration: none;
  z-index: 2;
}

.more-btn:hover {
  background: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}


/* ================================================
   FANCY BANNER (Stats strip)
   ================================================ */
.fancy-banner {
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.fancy-banner h2 {
  font-size: 38px;
}

.counter-text {
  font-size: 42px;
  color: var(--primary);
}

.counter-text .counter {
  color: var(--blue);
}


/* ================================================
   BLOCK FEATURE ONE (Services section)
   ================================================ */
.block-feature-one {
  background: var(--white);
  padding-bottom: 60px;
}

.upper-wrapper {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 60px;
}

.card-style-one .icon {
  min-width: 65px;
  width: 65px;
  height: 65px;
  background: rgba(0, 136, 212, 0.08);
  color: var(--blue);
  font-size: 26px;
}

.card-style-one .icon:hover {
  background: var(--blue);
  color: var(--white);
}

.card-style-one h4 { font-size: 20px; margin-bottom: 8px; }
.card-style-one p { font-size: 16px; margin: 0; }

.title-one h2 {
  position: relative;
}

.title-one h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin-top: 15px;
  border-radius: 2px;
}

.text-center .title-one h2::after {
  margin-left: auto;
  margin-right: auto;
}

.card-style-two {
  padding: 40px 35px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--white);
}

.card-style-two:hover {
  border-color: var(--blue);
  box-shadow: 0 15px 40px rgba(0, 136, 212, 0.08);
  transform: translateY(-5px);
}

.card-style-two .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: rgba(0, 136, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--blue);
}

.card-style-two:hover .card-icon {
  background: var(--blue);
  color: var(--white);
}

.card-style-two h4 { font-size: 22px; }
.card-style-two p { font-size: 16px; color: var(--text); }

.arrow-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  text-decoration: none;
}

.card-style-two:hover .arrow-btn {
  background: var(--orange);
  color: var(--white);
}

.section-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.section-subheading .text-lg {
  font-size: 20px;
  margin: 0;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  text-decoration: none;
}

.btn-link:hover { color: var(--orange); }


/* ================================================
   TEXT FEATURE ONE (About section)
   ================================================ */
.text-feature-one {
}

.upper-title {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(232, 137, 28, 0.1);
  color: var(--orange);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.btn-primary-custom {
  display: inline-block;
  padding: 14px 35px;
  background: var(--primary);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--primary);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  padding: 14px 35px;
  background: transparent;
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--primary);
  text-decoration: none;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
}

.media-list-item {
  background: var(--light-bg);
  border-radius: 20px;
  min-height: 300px;
  padding: 40px;
}

.media-list-item ul li {
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.media-list-item ul li:last-child { border-bottom: none; }
.media-list-item ul li i { color: var(--blue); }


/* ================================================
   BLOCK FEATURE TWO (Mission/Vision)
   ================================================ */
.block-feature-two .wrapper {
  background: var(--light-bg);
  border-radius: 20px;
  padding: 0 40px;
}

.card-style-three .card-icon-sm {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 136, 212, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--blue);
}

.card-style-three h4 { font-size: 20px; }
.card-style-three p { font-size: 16px; }

.border-line {
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.numb {
  font-size: 64px;
  line-height: 1;
  color: var(--blue);
  font-weight: 700;
}


/* ================================================
   BLOCK FEATURE THREE (Why choose us)
   ================================================ */
.block-feature-three {
  background: var(--light-bg);
}

.block-one {
  background: var(--white);
  min-height: 180px;
}

.block-one .tag {
  padding: 5px 18px;
  background: rgba(232, 137, 28, 0.1);
  color: var(--orange);
  font-size: 13px;
}

.block-one .date { font-size: 16px; }
.block-one .block-title { font-size: 22px; font-weight: 600; }

.block-two {
  overflow: hidden;
  min-height: 260px;
}

.block-two .img-wrapper {
  width: 40%;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 30px 0 0 30px;
}

.block-two .text-wrapper {
  width: 60%;
  padding: 30px;
  border-radius: 0 30px 30px 0;
}

.block-two .date {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
}

.block-two .block-title { font-size: 20px; font-weight: 600; }
.block-two .tag { font-size: 13px; color: var(--text); }

.block-three {
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 35px 30px 30px !important;
}

.block-three::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(232, 137, 28, 0.08);
}

.block-three .date {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
}

.block-three .block-title { font-size: 22px; font-weight: 600; color: var(--white); }
.block-three .tag { color: rgba(255, 255, 255, 0.5); font-size: 13px; }

.block-four {
  background: linear-gradient(135deg, var(--blue), #0099ee);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 35px 30px 30px !important;
}

.block-four::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.block-four .block-title { font-size: 22px; font-weight: 600; color: var(--white); }
.block-four .block-desc { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.5; }
.block-four .tag { color: rgba(255, 255, 255, 0.5); font-size: 13px; }

/* Card icons for block-three and block-four */
.block-card-icon {
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
}

.block-four .block-card-icon {
  color: var(--white);
}

.round-btn {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
}

.round-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.block-two .round-btn {
  background: var(--primary);
  color: var(--white);
}

.block-two .round-btn:hover {
  background: var(--orange);
}


/* ================================================
   GOOGLE REVIEWS
   ================================================ */
.google-reviews-section {
  background: var(--white);
}

/* Summary rating */
.google-rating-summary {
  background: var(--light-bg);
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.google-score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-score-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.google-stars {
  display: flex;
  gap: 2px;
}

.google-stars i {
  color: #FBBC05;
  font-size: 16px;
}

.google-review-count {
  font-size: 13px;
  color: var(--text);
  margin: 2px 0 0;
  opacity: 0.7;
}

/* Review card */
.google-review-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.google-review-card:hover {
  border-color: rgba(66, 133, 244, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.google-review-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.google-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #4285F4;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.google-reviewer-info {
  flex: 1;
  margin-left: 12px;
}

.google-reviewer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}

.google-review-meta {
  margin-top: 3px;
}

.google-stars-sm {
  display: flex;
  gap: 1px;
}

.google-stars-sm i {
  color: #FBBC05;
  font-size: 13px;
}

.google-g-sm {
  flex-shrink: 0;
  opacity: 0.6;
}

.google-review-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

@media (max-width: 991px) {
  .google-rating-summary { margin-top: 20px; }
}

@media (max-width: 767px) {
  .google-review-card { padding: 22px; }
}


/* ================================================
   PARTNERS SECTION
   ================================================ */
.partners-section {
  background: var(--light-bg);
}

.partners-grid {
  max-width: 1000px;
  margin: 0 auto;
}

.partners-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.partners-track-7 {
  grid-template-columns: repeat(4, 1fr);
}

.partners-track-8 {
  grid-template-columns: repeat(4, 1fr);
}

/* Hide duplicates on desktop */
.partners-track-7 .partner-logo-item:nth-child(n+8) {
  display: none;
}
.partners-track-8 .partner-logo-item:nth-child(n+9) {
  display: none;
}
.partners-track .partner-logo-item:nth-child(n+13) {
  display: none;
}

.partner-logo-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: all 0.3s ease;
}

.partner-logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.partner-logo-item:hover {
  border-color: rgba(0, 136, 212, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.partner-logo-img {
  max-width: 140px;
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.partner-logo-item:hover .partner-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-logo-placeholder {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* Dark background for white logos */
.partner-logo-item.logo-bg-blue {
  background: #0D2137;
}
.partner-logo-item.logo-bg-blue:hover {
  background: #122a45;
}
.partner-logo-item.logo-bg-blue .partner-logo-img {
  filter: none;
  opacity: 1;
}
.partner-logo-item.logo-bg-red {
  background: #2A1520;
}
.partner-logo-item.logo-bg-red:hover {
  background: #3a1f2e;
}
.partner-logo-item.logo-bg-red .partner-logo-img {
  filter: none;
  opacity: 1;
}

/* Dark bg for partner cards */
.partner-card-logo.logo-card-bg-blue {
  background: #0D2137;
}
.partner-card-logo.logo-card-bg-red {
  background: #2A1520;
}

.partners-section h3 {
  font-size: 20px;
  color: var(--text);
  font-weight: 600;
  margin-top: 20px;
}

@media (min-width: 992px) {
  .partners-track-7 {
    grid-template-columns: repeat(7, 1fr);
  }
  .partners-track-8 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .partners-track {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .partners-grid {
    overflow: hidden;
  }
  .partners-track {
    display: flex !important;
    gap: 10px;
    animation: scrollPartners 25s linear infinite;
    width: max-content;
  }
  .partners-track-7 .partner-logo-item:nth-child(n+8),
  .partners-track-8 .partner-logo-item:nth-child(n+9) {
    display: flex;
  }
  .partners-track .partner-logo-item:nth-child(n+13) {
    display: flex;
  }
  .partner-logo-item {
    flex: 0 0 auto;
    width: 120px;
    padding: 14px 10px;
    min-height: auto;
  }
  .partner-logo-img {
    max-width: 100px;
    max-height: 35px;
  }

  @keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Partners dedicated page */
.partners-page-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.partners-page-intro p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.partner-card:hover {
  border-color: rgba(0, 136, 212, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.partner-card-logo {
  width: 100%;
  height: 70px;
  background: var(--light-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.partner-card-logo span {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.partner-card-logo-img {
  max-width: 150px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-conditions {
  border-top: 1px solid var(--border-color);
}

.conditions-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  transition: all 0.3s ease;
}

.conditions-link:hover {
  color: var(--orange);
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.partner-card h3::after {
  display: none;
}

.partner-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.partner-card .partner-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.partner-type-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 136, 212, 0.07);
  color: var(--blue);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.partner-category-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.partner-category-title:first-of-type {
  margin-top: 0;
}

.partner-category-title i {
  color: var(--orange);
  margin-right: 8px;
}


/* ================================================
   FAQ SECTION
   ================================================ */
.accordion-style-one .accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}

.accordion-style-one .accordion-button {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 22px 0;
  background: transparent;
  box-shadow: none;
}

.accordion-style-one .accordion-button:not(.collapsed) {
  color: var(--orange);
  background: transparent;
}

.accordion-style-one .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230D2137'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-style-one .accordion-body {
  padding: 0 0 20px 0;
}

.accordion-style-one .accordion-body p {
  font-size: 16px;
  color: var(--text);
}


/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
}

.contact-form {
  background: var(--white);
  padding: 50px 45px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Blue form variant */
.contact-form-blue {
  background: var(--primary);
  box-shadow: 0 10px 40px rgba(13, 33, 55, 0.3);
}

.contact-form-blue .input-group-meta label {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form-blue .input-group-meta input,
.contact-form-blue .input-group-meta select,
.contact-form-blue .input-group-meta textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.contact-form-blue .input-group-meta input::placeholder,
.contact-form-blue .input-group-meta textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form-blue .input-group-meta input:focus,
.contact-form-blue .input-group-meta select:focus,
.contact-form-blue .input-group-meta textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 137, 28, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form-blue .input-group-meta select option {
  background: var(--primary);
  color: var(--white);
}

.contact-form-blue .agreement-checkbox label {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form-blue .agreement-checkbox label a {
  color: var(--orange);
}

.contact-form-blue .agreement-checkbox input[type="checkbox"] {
  accent-color: var(--orange);
}

.contact-form-blue .btn-primary-custom {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.contact-form-blue .btn-primary-custom:hover {
  background: #d47a15;
  border-color: #d47a15;
}

.input-group-meta label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.input-group-meta input,
.input-group-meta select,
.input-group-meta textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  transition: all 0.3s ease;
}

.input-group-meta input:focus,
.input-group-meta select:focus,
.input-group-meta textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 136, 212, 0.08);
}

.input-group-meta textarea { resize: vertical; }

.agreement-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.agreement-checkbox input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.agreement-checkbox label {
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.agreement-checkbox label a {
  color: var(--blue);
  text-decoration: underline;
}

.alert {
  border-radius: 12px;
  font-size: 16px;
}


/* ================================================
   FANCY BANNER TWO (CTA)
   ================================================ */
.fancy-banner-two {
  background: linear-gradient(180deg, var(--white) 0%, rgba(232, 137, 28, 0.04) 100%);
}


/* Inline credit disclaimer (discrete) */
.credit-disclaimer {
  font-size: 13px;
  color: var(--text);
  opacity: 0.55;
  text-align: center;
}

.credit-disclaimer i {
  font-size: 12px;
}


/* ================================================
   LEGAL PAGES
   ================================================ */
.legal-page {
  padding: 140px 0 80px;
  background: var(--white);
}

.legal-breadcrumb {
  font-size: 14px;
  margin-bottom: 30px;
  color: var(--text);
}

.legal-breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.legal-breadcrumb i {
  font-size: 10px;
  margin: 0 8px;
  color: var(--text);
  opacity: 0.4;
}

.legal-breadcrumb span {
  color: var(--text);
  opacity: 0.7;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--orange);
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.legal-card:hover {
  border-color: rgba(0, 136, 212, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.legal-card-warning {
  border-left: 4px solid var(--orange);
}

.legal-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.legal-card h2::after {
  display: none;
}

.legal-card h2 i {
  color: var(--orange);
  font-size: 20px;
}

.legal-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--blue);
}

.legal-card a:hover {
  color: var(--orange);
}

.legal-card ul {
  padding-left: 20px;
  margin: 10px 0;
}

.legal-card li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.6;
}

.legal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 15px 0;
}

.legal-info-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: var(--light-bg);
  border-radius: 10px;
}

.legal-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue);
  margin-bottom: 4px;
}

.legal-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
}

.legal-value a {
  color: var(--blue);
}

.legal-highlight {
  background: rgba(232, 137, 28, 0.08);
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 4px solid var(--orange);
  margin: 15px 0;
}

.legal-highlight p {
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 14px;
}

.legal-card th {
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  text-align: left;
}

.legal-card th:first-child { border-radius: 8px 0 0 0; }
.legal-card th:last-child { border-radius: 0 8px 0 0; }

.legal-card td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text);
}

.legal-card tr:nth-child(even) td {
  background: var(--light-bg);
}

.legal-update {
  margin-top: 30px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.5;
}

@media (max-width: 767px) {
  .legal-page { padding: 120px 0 60px; }
  .legal-page h1 { font-size: 28px; }
  .legal-info-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 20px; }
}


/* ================================================
   FINANCIAL DISCLAIMER
   ================================================ */
.financial-disclaimer {
  background: var(--orange);
  padding: 16px 0;
  text-align: center;
}

.financial-disclaimer p {
  color: var(--white);
  font-size: 14px;
  margin: 0;
}


/* ================================================
   FOOTER
   ================================================ */
.footer-one {
  background: var(--primary);
  padding-top: 80px;
}

.footer-one .inner-wrapper {
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  font-size: 17px;
}

.footer-nav-link li { margin-bottom: 10px; }

.footer-nav-link li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  text-decoration: none;
}

.footer-nav-link li a:hover { color: var(--white); }

.footer-contact li {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.5;
}

.footer-contact li i {
  color: var(--orange);
  font-size: 14px;
}

.social-icon li { margin-right: 12px; }

.social-icon li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
}

.social-icon li a:hover {
  background: var(--orange);
  color: var(--white);
}

.bottom-footer {
  padding: 25px 0;
}

.copyright {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.bottom-nav li { margin-left: 20px; }

.bottom-nav li a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  text-decoration: none;
}

.bottom-nav li a:hover { color: var(--white); }


/* ================================================
   COOKIE BANNER
   ================================================ */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--primary);
  padding: 20px 0;
  transition: bottom 0.5s ease;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show { bottom: 0; }

.cookie-text { color: rgba(255, 255, 255, 0.8); }
.cookie-text h5 { color: var(--white); }
.cookie-text a { color: var(--orange); }

.btn-cookie-accept {
  padding: 10px 28px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cookie-accept:hover { background: #d47a15; }

.btn-cookie-refuse {
  padding: 10px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cookie-refuse:hover {
  border-color: var(--white);
  color: var(--white);
}


/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--blue); transform: translateY(-3px); }


/* ================================================
   SECTION RHYTHM - Visual separation between sections
   ================================================ */

/* --- Unified section gray background --- */
.section-gray {
  background: var(--light-bg);
  padding: 80px 0;
}


/* ================================================
   MOBILE COMPACTNESS
   ================================================ */
@media (max-width: 991px) {
  .google-reviews-section { padding-top: 50px; }
  .faq-section { padding-bottom: 50px; }
}

@media (max-width: 767px) {
  .block-feature-one { padding-top: 40px; }
  .block-feature-one .upper-wrapper { margin-bottom: 40px; padding-bottom: 30px; }

  .text-feature-one { margin-top: 50px !important; }

  .block-feature-two { margin-top: 40px; }
  .block-feature-two .wrapper { padding: 0 15px; }

  .block-feature-three { margin-top: 50px !important; padding-bottom: 50px !important; }
  .block-feature-three .title-one { margin-bottom: 30px !important; }

  .google-reviews-section { padding-top: 40px; padding-bottom: 40px; }
  .google-reviews-section .mb-50 { margin-bottom: 25px !important; }

  .partners-section { margin-top: 0 !important; padding-top: 40px; padding-bottom: 40px; }

  .faq-section { margin-top: 50px !important; padding-bottom: 40px; }

  .contact-section { margin-top: 50px !important; padding-top: 40px !important; }
  .contact-section .mb-50 { margin-bottom: 25px !important; }

  .fancy-banner-two { margin-top: 50px !important; margin-bottom: 30px; }

  .card-style-two { padding: 28px 24px; }
  .card-style-two .card-icon { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; }
  .card-style-two h4 { font-size: 18px; margin-top: 20px !important; margin-bottom: 15px !important; }
  .card-style-two p { font-size: 15px; }
  .card-style-two .mt-30 { margin-top: 16px !important; }

  .section-subheading { margin-top: 30px; padding-top: 20px; }
}

@media (max-width: 575px) {
  .block-feature-one { padding-top: 30px; }
  .block-feature-one .upper-wrapper { margin-bottom: 25px; padding-bottom: 20px; }

  .text-feature-one { margin-top: 35px !important; }
  .text-feature-one .text-lg { font-size: 16px; margin-top: 20px !important; margin-bottom: 20px !important; }

  .block-feature-two { margin-top: 30px; }

  .block-feature-three { margin-top: 35px !important; padding-bottom: 35px !important; }

  .google-reviews-section { padding-top: 30px; padding-bottom: 30px; }
  .partners-section { padding-top: 30px; padding-bottom: 30px; }
  .faq-section { margin-top: 35px !important; padding-bottom: 30px; }
  .contact-section { margin-top: 35px !important; padding-top: 30px !important; }
  .fancy-banner-two { margin-top: 35px !important; margin-bottom: 20px; }

  .card-style-two { padding: 22px 18px; border-radius: 14px; }
}


/* ================================================
   RESPONSIVE - Large screens down
   ================================================ */
@media (max-width: 1399px) {
  h1 { font-size: 60px; }
  h2 { font-size: 44px; }
  .hero-heading { font-size: 60px; }
  .mb-150 { margin-bottom: 100px; }
}

@media (max-width: 1199px) {
  h1 { font-size: 52px; }
  h2 { font-size: 38px; }
  .hero-heading { font-size: 52px; }
  .hero-banner { padding: 180px 0 120px; }
  .mt-150 { margin-top: 100px; }
  .mb-110 { margin-bottom: 70px; }
  .pb-150 { padding-bottom: 80px; }
  .pt-120 { padding-top: 80px; }
  .numb { font-size: 52px; }
}

@media (max-width: 991px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
  .hero-heading { font-size: 42px; }
  .hero-banner { padding: 150px 0 100px; }
  .text-xl { font-size: 20px; }
  .text-lg { font-size: 18px; }
  .mt-150 { margin-top: 80px; }
  .pt-75 { padding-top: 50px; }
  .pb-150 { padding-bottom: 60px; }
  .mb-110 { margin-bottom: 50px; }

  /* Mobile nav */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--primary);
    padding: 80px 30px 30px;
    transition: all 0.4s ease;
    z-index: 998;
    overflow-y: auto;
  }

  .navbar-collapse.show { left: 0; }

  .navbar-nav { flex-direction: column; }

  .navbar-nav .nav-link {
    padding: 12px 0 !important;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .section-subheading {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .block-two { flex-direction: column; }
  .block-two .img-wrapper {
    width: 100%;
    min-height: 200px;
    border-radius: 30px 30px 0 0;
  }
  .block-two .text-wrapper {
    width: 100%;
    border-radius: 0 0 30px 30px;
  }

  .border-line { border-left: none; border-right: none; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

  .feedback-item blockquote { font-size: 20px; }

  .contact-form { padding: 30px 25px; }

  .fancy-banner h2 { font-size: 28px; }
  .counter-text { font-size: 32px; }
  .numb { font-size: 42px; }
}

@media (max-width: 767px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .hero-heading { font-size: 36px; }
  .hero-banner { padding: 130px 0 80px; }
  .mt-150 { margin-top: 60px; }
  .pb-150 { padding-bottom: 40px; }
  .pt-120 { padding-top: 60px; }

  .block-feature-two .wrapper { padding: 0 20px; }

  .media-list-item {
    margin-top: 40px;
    padding: 25px;
  }

  .feedback-item blockquote { font-size: 18px; }

  .block-one .block-title { font-size: 18px; }
  .block-two .block-title { font-size: 18px; }
  .block-three .block-title { font-size: 18px; }
  .block-four .block-title { font-size: 18px; }
  .mb-80 { margin-bottom: 40px; }
  .mb-150 { margin-bottom: 50px; }

  .footer-one { padding-top: 50px; }

  /* ---- COMPACITE MOBILE ---- */

  /* 1. Espacements inter-sections reduits progressivement */
  .mt-80 { margin-top: 50px; }
  .mt-45 { margin-top: 30px; }
  .mt-40 { margin-top: 25px; }
  .mt-30 { margin-top: 20px; }
  .mb-110 { margin-bottom: 40px; }
  .mb-50 { margin-bottom: 30px; }
  .mb-40 { margin-bottom: 25px; }
  .mb-35 { margin-bottom: 22px; }
  .mb-30 { margin-bottom: 20px; }
  .pb-80 { padding-bottom: 50px; }
  .pt-75 { padding-top: 45px; }
  .pt-45 { padding-top: 30px; }
  .pt-35 { padding-top: 22px; }
  .pb-35 { padding-bottom: 22px; }
  .upper-wrapper { padding-bottom: 35px; }

  /* 2. Cartes de services plus compactes */
  .card-style-one .icon {
    min-width: 50px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  .card-style-one h4 { font-size: 18px; margin-bottom: 5px; }
  .card-style-one p { font-size: 15px; }

  /* 3. Blocs "Pourquoi choisir" compacts */
  .block-one { min-height: 140px; }
  .block-two { min-height: 200px; }
  .block-two .img-wrapper { min-height: 160px; }
  .block-three { padding: 25px 22px 22px !important; }
  .block-four { padding: 25px 22px 22px !important; }
  .block-card-icon { font-size: 26px; }
  .block-four .block-desc { font-size: 14px; }

  /* Media list items (services details) */
  .media-list-item { padding: 20px; }
  .media-list-item ul li { padding: 9px 0; font-size: 15px; }

  /* 4. Formulaire de contact compact */
  .contact-form { padding: 25px 20px; }
  .contact-section { border-radius: 20px 20px 0 0; }
  .input-group-meta input,
  .input-group-meta select,
  .input-group-meta textarea { padding: 11px 14px; font-size: 15px; }
  .input-group-meta label { font-size: 14px; margin-bottom: 5px; }
  .agreement-checkbox label { font-size: 13px; }

  /* 5. Accordeon FAQ compact */
  .accordion-style-one .accordion-button { font-size: 16px; padding: 16px 0; }
  .accordion-style-one .accordion-body { padding: 0 0 14px 0; }
  .accordion-style-one .accordion-body p { font-size: 15px; }

  /* Textes fluides */
  .text-xl { font-size: 18px; }
  .text-lg { font-size: 16px; }
  .text-md { font-size: 17px; }

  /* Sections background padding */
  .section-gray { padding: 45px 0; }
  .block-feature-three { padding: 0; }

  /* --- 3 icônes trust badges sur une ligne --- */
  .upper-wrapper .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .upper-wrapper .row > [class*="col-"] {
    flex: 1;
    width: auto;
    max-width: none;
  }
  .card-style-one {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .card-style-one .text {
    padding-left: 0 !important;
    padding-top: 8px;
  }
  .card-style-one .icon {
    min-width: 40px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .card-style-one h4 { font-size: 13px; margin-bottom: 2px; }
  .card-style-one p { font-size: 11px; line-height: 1.4; }
  .card-style-one .mb-35 { margin-bottom: 0 !important; }

  /* --- Services en 2 colonnes mobile --- */
  .block-feature-one .row.justify-content-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .block-feature-one .row.justify-content-center > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  .card-style-two {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .card-style-two .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
  }
  .card-style-two h4 {
    font-size: 14px;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
  }
  .card-style-two p {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px !important;
  }
  .card-style-two .mt-30 { margin-top: 8px; }
  .arrow-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* --- Mission/Engagement - marge sous "40+ dossiers" --- */
  .block-feature-two .wrapper {
    padding: 20px 15px 30px;
    border-radius: 16px;
  }
  .card-style-three h4 { font-size: 16px; margin-top: 12px !important; }
  .card-style-three p { font-size: 13px; }
  .numb { font-size: 36px; }

  /* --- Pourquoi Credigest - espace entre blocs --- */
  .block-feature-three .col-lg-4 { margin-top: 20px; }
  .block-feature-three .title-one.mb-90 { margin-bottom: 25px; }

  /* --- CTA final boutons centrés --- */
  .fancy-banner-two .d-inline-flex {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .fancy-banner-two .btn-primary-custom,
  .fancy-banner-two .btn-outline-custom {
    margin: 0 !important;
    width: 80%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero-heading { font-size: 30px; }
  h2 { font-size: 26px; }
  .hero-banner { padding: 120px 0 70px; }

  .fancy-banner h2 { font-size: 22px; }
  .counter-text { font-size: 28px; }

  /* ---- COMPACITE MOBILE XS ---- */

  /* Espacements encore plus serrés */
  .mt-150 { margin-top: 45px; }
  .mb-150 { margin-bottom: 40px; }
  .mb-110 { margin-bottom: 30px; }
  .mb-80 { margin-bottom: 30px; }
  .pt-120 { padding-top: 45px; }
  .pb-150 { padding-bottom: 30px; }
  .pb-80 { padding-bottom: 35px; }
  .pt-75 { padding-top: 35px; }

  /* Blocs encore plus compacts */
  .block-three { padding: 20px 18px 18px !important; }
  .block-four { padding: 20px 18px 18px !important; }
  .block-one { min-height: 120px; }
  .block-two .img-wrapper { min-height: 140px; }
  .block-card-icon { font-size: 22px; }

  /* Formulaire XS */
  .contact-form { padding: 20px 16px; }
  .input-group-meta input,
  .input-group-meta select,
  .input-group-meta textarea { padding: 10px 12px; font-size: 14px; }

  /* FAQ XS */
  .accordion-style-one .accordion-button { font-size: 15px; padding: 14px 0; }

  /* Section padding XS */
  .section-gray { padding: 35px 0; }
  .upper-wrapper { padding-bottom: 20px; }

  /* Trust badges encore plus compact */
  .card-style-one .icon {
    min-width: 36px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .card-style-one h4 { font-size: 12px; }
  .card-style-one p { font-size: 10px; }

  /* Service cards XS */
  .card-style-two {
    padding: 14px 12px;
  }
  .card-style-two .card-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .card-style-two h4 { font-size: 13px; }
  .card-style-two p { font-size: 11px; }

  /* CTA boutons pleine largeur */
  .fancy-banner-two .btn-primary-custom,
  .fancy-banner-two .btn-outline-custom {
    width: 100%;
  }

  /* Hero bouton compact */
  .btn-hero {
    padding: 14px 28px;
    font-size: 15px;
  }

  /* CTA bar texte plus petit */
  .mobile-cta-bar a { font-size: 12px; padding: 11px 6px; }
}


/* ================================================
   MOBILE OPTIMIZATIONS
   ================================================ */

/* --- Mobile Menu Overlay --- */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 997;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-overlay.show {
  display: block;
  opacity: 1;
}

/* --- Mobile Floating CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  padding: 10px 15px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.mobile-cta-bar .cta-inner {
  display: flex;
  gap: 10px;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mobile-cta-bar .cta-call {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-cta-bar .cta-call:hover {
  border-color: var(--white);
}

.mobile-cta-bar .cta-simulation {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}

.mobile-cta-bar .cta-simulation:hover {
  background: #d47a15;
  border-color: #d47a15;
}

@media (max-width: 991px) {
  /* Show mobile CTA bar */
  .mobile-cta-bar { display: block; }

  /* Add bottom padding to body so content isn't hidden behind CTA bar */
  body { padding-bottom: 70px; }

  /* Section padding compact on tablet */
  .section-navy { padding: 60px 0; }
  .section-gray { padding: 60px 0; }

  /* FAQ section - fix overflow */
  .faq-section .col-lg-5 { text-align: center; }
  .faq-section .title-one h2::after { margin-left: auto; margin-right: auto; }
  .faq-section .text-lg { text-align: center; }
  .faq-section .btn-primary-custom { display: inline-block; }

  /* Adjust scroll-top button above CTA bar */
  .scroll-top { bottom: 85px; }
  .scroll-top.show { bottom: 85px; }

  /* Cookie banner above CTA bar */
  .cookie-banner.show { bottom: 65px; }

}

@media (max-width: 767px) {
  /* Media list item - remove excessive min-height */
  .media-list-item { min-height: auto; }

  /* Footer padding for CTA bar */
  .footer-one { padding-bottom: 20px; }
}
