/* Refonte visuelle SysConfig
   Cette feuille surcharge le thème existant (style.min.css)
   sans casser la grille / les composants déjà utilisés. */

/* ---------- Palette & typographie (Dark Mode par défaut) ---------- */

:root {
  --color-bg-page: #111827;
  --color-bg-surface: #1f2937;
  --color-bg-soft: #374151;
  --color-text-main: #f3f4f6;
  --color-text-muted: #d1d5db;
  --color-accent: #ffc612;
  --color-accent-soft: rgba(255, 198, 18, 0.15);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.4);
  --radius-lg: 18px;
  --radius-xl: 26px;
}

body {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 50%, #000000 100%);
  color: var(--color-text-main);
}

body.theme-light {
  --color-bg-page: #f8fafc;
  --color-bg-surface: #ffffff;
  --color-bg-soft: #e2e8f0;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-accent: #f59e0b;
  --color-accent-soft: rgba(245, 158, 11, 0.18);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  background: radial-gradient(circle at top left, #ffffff 0, #f8fafc 50%, #e2e8f0 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-main);
  letter-spacing: -0.03em;
}

p,
li {
  color: var(--color-text-muted);
}

/* ---------- Navigation & header ---------- */

.header_9 {
  background: radial-gradient(circle at top left, #111827 0, #020617 55%, #020617 100%);
  color: #e5e7eb;
}

body.theme-light .header_9 {
  background: radial-gradient(circle at top left, #ffffff 0, #f1f5f9 55%, #e2e8f0 100%);
  color: #0f172a;
}

.header_9 .logo {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 16px;
  color: #e5e7eb;
}

.header_9 .logo-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header_9 .logo-with-icon img {
  width: auto;
  height: 46px;
  display: block;
}

body.theme-light .header_9 .logo {
  color: #0f172a;
}

body.theme-light .header_9 .logo-with-icon img {
  background: #0f172a;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.header_menu_9 {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.75));
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

body.theme-light .header_menu_9 {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.header_menu_9 .link {
  font-weight: 500;
  position: relative;
  color: #e5e7eb !important;
}

body.theme-light .header_menu_9 .link {
  color: #0f172a !important;
}

.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle-btn::before {
  content: "☾";
  font-size: 15px;
  line-height: 1;
}

.theme-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 198, 18, 0.5);
  background: rgba(255, 198, 18, 0.12);
}

body.theme-light .theme-toggle-btn {
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(15, 23, 42, 0.05);
  color: #f59e0b;
}

body.theme-light .theme-toggle-btn::before {
  content: "☀";
}

.header_menu_9 .link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  transition: width 0.22s ease-out;
}

.header_menu_9 .link:hover {
  color: var(--color-accent) !important;
}

.header_menu_9 .link:hover::after {
  width: 100%;
}

.header_menu_9 .btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 198, 18, 0.4) !important;
  color: #111827 !important;
  background-color: #ffc612 !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.header_menu_9 .btn:hover {
  background-color: #ffd54a !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.mb-logo {
  margin-bottom: 40px;
}

.mb-logo img {
  filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.7));
}

body.theme-light .hero-main-logo {
  background: #0f172a;
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22);
}

body.theme-light .mb-logo img {
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22);
  filter: none;
}

.header_9 h1 {
  font-size: 56px;
  line-height: 1.05;
}

.header_9 h1 + h1 {
  margin-top: -6px;
}

.header_9 .mt-text {
  max-width: 900px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-xl);
  padding: 32px 40px 36px;
  padding-left: 56px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.header_9 .container.mw-970.px-xl-0.mt-text {
  padding-left: 72px !important;
}

@media (min-width: 992px) {
  .header_9 #presentation .mt-text {
    margin-top: 30px;
  }
}

@media (min-width: 992px) {
  .header_9 #presentation {
    margin-top: 160px;
  }
}

.header_9 .mt-text p,
.header_9 .mt-text li {
  color: #e5e7eb;
}

.header_9 .mt-text ul {
  padding-left: 18px;
}

.header_9 .mt-text li + li {
  margin-top: 4px;
}

.header_9 #presentation .row {
  justify-content: center;
}

.header_9 #presentation .left {
  text-align: center;
}

@media (max-width: 991.98px) {
  #presentation .hero-text-col {
    margin-top: 22px;
    padding-top: 22px;
    position: relative;
  }

  #presentation .hero-text-col::before {
    content: "";
    display: block;
    width: 78px;
    height: 2px;
    margin: 0 auto 18px;
    background: rgba(255, 198, 18, 0.7);
    border-radius: 999px;
  }

  body.theme-light #presentation .hero-text-col::before {
    background: rgba(15, 23, 42, 0.28);
  }
}

/* Portrait */

.header_9 img[alt^="Portrait"] {
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75);
  width: 100%;
  max-width: 250px;
}

@media (min-width: 992px) {
  .header_9 img[alt^="Portrait"] {
    margin-top: 80px;
    max-width: 270px;
  }
}

@media (max-width: 575.98px) {
  .header_9 img[alt^="Portrait"] {
    max-width: 200px;
  }
}

/* ---------- Mobile navigation ---------- */

.open_menu {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.navigation_mobile {
  background: rgba(15, 23, 42, 0.94) !important;
  backdrop-filter: blur(12px);
}

body.theme-light .navigation_mobile {
  background: rgba(255, 255, 255, 0.95) !important;
}

@media (max-width: 1199.98px) {
  body .navigation_mobile,
  body .navigation_mobile.bg-dark,
  body.theme-light .navigation_mobile,
  body.theme-light .navigation_mobile.bg-dark {
    background: #ffc612 !important;
  }

  .navigation_mobile .logo,
  .navigation_mobile .link,
  .navigation_mobile .close_menu {
    color: #111827 !important;
  }

  .navigation_mobile .theme-toggle-btn {
    width: 44px;
    height: 44px;
    background: #111827;
    border: 1px solid rgba(17, 24, 39, 0.25);
    color: #ffc612;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.25);
  }

  .navigation_mobile .theme-toggle-btn::before {
    font-size: 18px;
  }

  body.theme-light .navigation_mobile .theme-toggle-btn {
    background: #111827;
    color: #ffc612;
  }
}

.navigation_mobile .logo {
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.navigation_mobile .link {
  font-weight: 500;
}

/* ---------- Section Services ---------- */

.showcase_1 {
  background: transparent;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Bloc packages mis en avant */
.packages-featured-block {
  background: linear-gradient(135deg, rgba(255, 198, 18, 0.15) 0%, rgba(255, 198, 18, 0.05) 100%);
  border: 2px solid rgba(255, 198, 18, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  max-width: 100%;
}

.packages-featured-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 198, 18, 0.45);
}

.packages-featured-block h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.packages-featured-block p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.packages-featured-block p.text-adaptive {
  font-size: 18px;
  line-height: 1.7;
}

.packages-featured-block .btn {
  border-radius: 999px;
  padding: 16px 40px;
  font-weight: 600;
  font-size: 18px;
  background-color: #ffc612 !important;
  color: #111827 !important;
  border: 1px solid rgba(255, 198, 18, 0.4) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1.5;
  margin: 12px auto 0 auto;
  width: fit-content;
}

.packages-featured-block .col-lg-7 h2,
.packages-featured-block .col-lg-7 p {
  text-align: left;
}

@media (max-width: 991.98px) {
  .packages-featured-block .col-lg-7 h2,
  .packages-featured-block .col-lg-7 p {
    text-align: center;
  }

  .packages-featured-block .btn {
    margin-left: auto;
    margin-right: auto;
  }
}

.packages-featured-block .btn:hover {
  background-color: #ffd54a !important;
  border-color: #ffe58a !important;
  color: #111827 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.packages-featured-block {
  background: linear-gradient(135deg, rgba(255, 198, 18, 0.15) 0%, rgba(255, 198, 18, 0.05) 100%);
  border-color: rgba(255, 198, 18, 0.3);
}

@media (max-width: 991.98px) {
  .packages-featured-block {
    padding: 50px 40px;
  }

  .packages-featured-block h2 {
    font-size: 40px;
  }

  .packages-featured-block p {
    font-size: 17px;
  }

  .packages-featured-block .btn {
    font-size: 17px;
    padding: 15px 36px;
  }
}

@media (max-width: 767.98px) {
  .packages-featured-block {
    padding: 40px 30px;
  }

  .packages-featured-block h2 {
    font-size: 32px;
  }

  .packages-featured-block p {
    font-size: 16px;
  }

  .packages-featured-block .btn {
    font-size: 16px;
    padding: 14px 32px;
  }
}

.showcase_1 h2 {
  font-size: 34px;
}

.showcase_1 .block {
  background: var(--color-bg-surface);
  border-radius: var(--radius-xl);
  padding: 32px 30px 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(0);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.showcase_1 .block:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.showcase_1 .block img {
  border-radius: 16px;
}

.showcase_1 .block .title {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-main);
}

.showcase_1 .block .color-heading {
  margin-top: 4px;
  color: var(--color-text-muted);
}

/* ---------- Services freelance : espace entre colonnes ---------- */

.showcase_1 #services + .mt-10 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.showcase_1 #services + .mt-10 > .block {
  margin: 0 !important;
  flex: 1 1 calc(33.333% - 24px);
  max-width: calc(33.333% - 24px);
}

@media (max-width: 991.98px) {
  .showcase_1 #services + .mt-10 > .block {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

@media (max-width: 767.98px) {
  .showcase_1 #services + .mt-10 > .block {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Homepage services section compact spacing */
#services .small {
  margin-bottom: 0 !important;
}

#services .services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 24px;
}

#services .services-grid > .services-card {
  margin: 0 !important;
  flex: 1 1 calc(33.333% - 26px);
  max-width: calc(33.333% - 26px);
}

@media (max-width: 991.98px) {
  #services .services-grid > .services-card {
    flex: 1 1 calc(50% - 26px);
    max-width: calc(50% - 26px);
  }
}

@media (max-width: 767.98px) {
  #services .services-grid > .services-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ---------- Section "Les packages proposés" : espacement et centrage ---------- */

body.page-offre-packages .showcase_1 .row.mt-10 {
  align-items: stretch !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
}

body.page-offre-packages .showcase_1 .row.mt-10 > div[class*="col-lg-4"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex: 1 1 calc(33.333% - 24px) !important;
  max-width: calc(33.333% - 24px) !important;
  min-width: 0 !important;
}

body.page-offre-packages .showcase_1 .row.mt-10 .block {
  margin-bottom: 60px !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
}

body.page-offre-packages .showcase_1 .block.mt-70 {
  margin-top: 0 !important;
}

body.page-offre-packages .showcase_1 .block h3 {
  text-align: center !important;
}

body.page-offre-packages .showcase_1 .block img {
  margin: 0 auto;
  display: block;
}

@media (max-width: 991.98px) {
  body.page-offre-packages .showcase_1 .row.mt-10 > div[class*="col-lg-4"] {
    flex: 1 1 calc(50% - 24px) !important;
    max-width: calc(50% - 24px) !important;
  }

  body.page-offre-packages .showcase_1 .block {
    margin-bottom: 50px !important;
  }
}

@media (max-width: 767.98px) {
  body.page-offre-packages .showcase_1 .row.mt-10 > div[class*="col-lg-4"] {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* ---------- Section Contact ---------- */

.contact_2 {
  background: radial-gradient(circle at top, var(--color-accent-soft) 0, transparent 55%) #111827;
  padding-top: 140px;
  padding-bottom: 150px;
}

.contact_2 .container {
  max-width: 1400px;
}

.contact_2 h2 {
  font-size: 40px;
  margin-bottom: 60px;
}

.contact_2 .f-14 {
  letter-spacing: 0.16em;
  font-size: 16px;
  margin-bottom: 12px;
}

.contact_2 .btn.lg {
  border-radius: 999px;
  height: 65px;
  width: 200px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  margin: 0 15px 25px 15px;
}

.button-link-mail,
.button-link-linkedin,
.button-link-malt {
  background-size: 60% auto;
  background-color: #ffc612 !important;
  border: 1px solid rgba(255, 198, 18, 0.4) !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827 !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.button-link-mail::before {
  content: "";
}

.button-link-linkedin::before {
  content: "";
}

.button-link-malt::before {
  content: "";
}

body.theme-light .button-link-mail,
body.theme-light .button-link-linkedin,
body.theme-light .button-link-malt {
  background-color: #ffc612 !important;
  border-color: rgba(255, 198, 18, 0.45) !important;
  color: #111827 !important;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
}

/* Fallback visible uniquement quand Dark Reader est actif */
html[data-darkreader-mode] .button-link-mail::before {
  content: "✉ Email";
}

html[data-darkreader-mode] .button-link-linkedin::before {
  content: "in LinkedIn";
}

html[data-darkreader-mode] .button-link-malt::before {
  content: "M Malt";
}

.button-link-mail:hover,
.button-link-linkedin:hover,
.button-link-malt:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
  background-color: #ffd54a !important;
  border-color: rgba(255, 198, 18, 0.55) !important;
}

/* ---------- Style unifié pour tous les boutons colorés (basé sur les boutons de contact) ---------- */

.btn.action-1:not(.button-link-mail):not(.button-link-linkedin):not(.button-link-malt),
.btn.lg:not(.button-link-mail):not(.button-link-linkedin):not(.button-link-malt):not(.contact_2 .btn.lg) {
  background-color: #ffc612 !important;
  color: #111827 !important;
  border: 1px solid rgba(255, 198, 18, 0.4) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease;
}

.btn.action-1:not(.button-link-mail):not(.button-link-linkedin):not(.button-link-malt):hover,
.btn.lg:not(.button-link-mail):not(.button-link-linkedin):not(.button-link-malt):not(.contact_2 .btn.lg):hover {
  background-color: #ffd54a !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

/* ---------- Footer ---------- */

.footer_7 {
  background: #020617;
  color: #9ca3af;
  border-top: 1px solid rgba(15, 23, 42, 0.7);
}

body.theme-light .footer_7 {
  background: #e2e8f0;
  color: #475569;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

body.theme-light .footer_7 .link {
  color: #0f172a;
}

/* ---------- CTA mobile ---------- */

.mobile-cta {
  display: none;
}

@media (max-width: 767.98px) {
  .mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 500;
    background: #ffc612;
    color: #111827 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  }

  body.theme-light .mobile-cta {
    background: #0f172a;
    color: #f8fafc !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
  }
}

.footer_7 .link {
  color: #e5e7eb;
}

.footer_7 .link:hover {
  color: var(--color-accent);
}

/* ---------- FAQ déroulante ---------- */

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--color-text-main);
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--color-accent);
}

.faq-item[open] summary::after {
  content: "−";
}

/* Prevent page-specific card height rules from breaking FAQ visibility */
.faq-item {
  height: auto !important;
}

.footer_7 img {
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.7));
}

body.theme-light .footer_7 img {
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  filter: none;
}

/* ---------- Largeurs et espacements ---------- */

/* Élargir les conteneurs sur grands écrans */
.mw-970 {
  max-width: 1400px !important;
}

.container.mw-970 {
  padding-left: 40px;
  padding-right: 40px;
}

/* Augmenter les espacements pour aérer */
.container.px-xl-0 {
  padding-left: 40px;
  padding-right: 40px;
}

/* Ajustements pour les sections */
section .container {
  padding-left: 40px;
  padding-right: 40px;
}

/* Responsive : garder les paddings originaux sur petits écrans */
@media (max-width: 1199.98px) {
  .mw-970 {
    max-width: 970px !important;
  }

  .container.mw-970,
  .container.px-xl-0,
  section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 767.98px) {
  .container.mw-970,
  .container.px-xl-0,
  section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------- Utilitaires ---------- */

.bg-light {
  background-color: #111827 !important;
}

.bg-dark {
  background-color: #020617 !important;
}

body.theme-light .bg-light {
  background-color: #f8fafc !important;
}

body.theme-light .bg-dark {
  background-color: #e2e8f0 !important;
}

.color-main {
  color: var(--color-text-main) !important;
}

@media (max-width: 991.98px) {
  .header_menu_9 {
    border-radius: 32px;
  }

  .header_9 h1 {
    font-size: 40px;
  }

  .header_9 .mt-text {
    margin-top: 32px;
  }

  .showcase_1 {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 575.98px) {
  .header_menu_9 .link {
    margin-left: 10px;
    margin-right: 10px;
  }

  .showcase_1 .block {
    padding: 22px 18px 24px;
  }

  .contact_2 .btn.lg {
    width: 160px;
    height: 54px;
  }
}

/* ---------- Page offre-packages : centrage des titres ---------- */

body.page-offre-packages section h2.small {
  text-align: center !important;
}

/* ---------- Liste sans puces ---------- */

ul.no-bullets {
  list-style: none;
  padding-left: 0;
}

ul.no-bullets li {
  padding-left: 0;
  margin-left: 0;
}

/* ---------- Page développement-web : styles spécifiques ---------- */

body.page-developpement-web section h2.small {
  text-align: center !important;
}

body.page-developpement-web .header_9 h1.small {
  font-size: 42px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  body.page-developpement-web .header_9 h1.small {
    font-size: 36px;
    white-space: normal;
  }
}

@media (max-width: 991.98px) {
  body.page-developpement-web .header_9 h1.small {
    font-size: 32px;
    white-space: normal;
  }

  body.page-developpement-web .header_menu_9 .link {
    font-size: 15px;
    margin-left: 10px;
    margin-right: 10px;
  }

  body.page-developpement-web .header_menu_9 .link:last-of-type {
    white-space: nowrap;
  }
}

body.page-developpement-web .block {
  height: 100%;
}

body.page-developpement-web .block h3 {
  color: var(--color-text-main);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center !important;
}

/* ---------- Section "Trois types de projets" : espacement réduit ---------- */

body.page-developpement-web .showcase_1 h2.small {
  white-space: nowrap;
  font-size: 32px;
}

@media (max-width: 991.98px) {
  body.page-developpement-web .showcase_1 h2.small {
    white-space: normal;
    font-size: 28px;
  }
}

body.page-developpement-web .showcase-web-offers {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

body.page-developpement-web .showcase-web-offers > div[class*="col-"] {
  display: flex !important;
  flex-direction: column !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  flex: 1 1 calc(33.333% - 5.33px) !important;
  max-width: calc(33.333% - 5.33px) !important;
  align-items: stretch !important;
  align-self: stretch !important;
}

body.page-developpement-web .showcase-web-offers > div[class*="col-"].block {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 calc(33.333% - 5.33px) !important;
  align-self: stretch !important;
}

@media (max-width: 991.98px) {
  body.page-developpement-web .showcase-web-offers > div[class*="col-"],
  body.page-developpement-web .showcase-web-offers > div[class*="col-"].block {
    flex: 1 1 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
}

@media (max-width: 767.98px) {
  body.page-developpement-web .showcase-web-offers > div[class*="col-"],
  body.page-developpement-web .showcase-web-offers > div[class*="col-"].block {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* ---------- Page mentions légales : titres en accent ---------- */

body.page-mentions-legales h1,
body.page-mentions-legales h2,
body.page-mentions-legales h3 {
  color: #ffc612 !important;
}

/* =====================================================
   REFRESH GLOBAL - style plus premium et lisible
===================================================== */

.site-refresh {
  text-rendering: optimizeLegibility;
}

.site-refresh section {
  scroll-margin-top: 120px;
}

.site-refresh .header_menu_9 {
  backdrop-filter: blur(10px);
}

.site-refresh .small {
  letter-spacing: -0.02em;
}

.site-refresh .text-adaptive {
  line-height: 1.75;
  font-size: 1.04rem;
}

.site-refresh .block {
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.site-refresh .block h3 {
  line-height: 1.28;
}

.site-refresh .block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.site-refresh .btn {
  letter-spacing: 0.01em;
}

.site-refresh .contact_2 {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-refresh .footer_7 {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-light.site-refresh .block {
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

body.theme-light.site-refresh .block:hover {
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

body.theme-light.site-refresh .contact_2 {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.theme-light.site-refresh .footer_7 {
  border-top: 1px solid rgba(15, 23, 42, 0.09);
}

@media (max-width: 991.98px) {
  .site-refresh .text-adaptive {
    font-size: 1rem;
    line-height: 1.68;
  }

  .site-refresh .block {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  }
}
