/* ============================================================
   custom.css — Modernisation mariuscarriere.com
   Palette : navy #080c20 + bleu #3a5ce6 + cyan #22d3ee
   ============================================================ */

:root {
  --primary:        #3a5ce6;
  --primary-dk:     #2848c8;
  --accent:         #22d3ee;
  --navy:           #07091d;
  --navy-mid:       #0c1438;
  --navy-btn:       linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  --navy-btn-hover: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%);
  --title:          #111827;
  --text:           #4b5563;
  --light-bg:       #f4f6fb;
  --border:         #e5e9f4;
  --gradient:       linear-gradient(135deg, #3a5ce6 0%, #22d3ee 100%);
  --shadow-sm:      0 1px 4px rgba(8,12,32,.07);
  --shadow-md:      0 4px 16px rgba(8,12,32,.10);
  --shadow-lg:      0 10px 36px rgba(58,92,230,.18);
  --shadow-navy:    0 6px 24px rgba(37,99,235,.45), inset 0 1px 0 rgba(255,255,255,.12);
  --radius:         10px;
}

/* ── Globals ────────────────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--title);
}
a { color: var(--primary); }

/* ── Espacement ─────────────────────────────────────────────── */
.section_gap        { padding: 80px 0; }
.section_gap_top    { padding-top: 80px; }
.section_gap_bottom { padding-bottom: 80px; }
@media (max-width: 1199px) {
  .section_gap        { padding: 60px 0; }
  .section_gap_top    { padding-top: 60px; }
  .section_gap_bottom { padding-bottom: 60px; }
}

/* ── Titres de section ──────────────────────────────────────── */
.main_title          { margin-bottom: 44px; }
.main_title h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.4px;
  text-transform: none;
  margin-bottom: 14px;
  color: var(--title);
}
.main_title p {
  font-size: 15.5px;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto;
}

/* ── Boutons ────────────────────────────────────────────────── */
.primary_btn {
  background: var(--gradient);
  background-image: var(--gradient);
  border: none !important;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(58,92,230,.32);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  text-transform: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary_btn span { padding: 0 36px; line-height: 48px; height: 48px; display: inline-block; }
.primary_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(58,92,230,.45);
  color: #fff;
  background-image: var(--gradient);
  border: none !important;
}
.primary_btn.tr-bg {
  margin-left: 14px;
  background: rgba(255,255,255,.65) !important;
  background-image: none !important;
  border: 1.5px solid rgba(255,255,255,.70) !important;
  color: var(--navy) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(7,9,29,.15);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 13px;
}
.primary_btn.tr-bg:hover {
  background: rgba(255,255,255,.85) !important;
  background-image: none !important;
  border-color: rgba(255,255,255,.90) !important;
  color: var(--navy) !important;
  box-shadow: 0 4px 14px rgba(7,9,29,.20);
}

/* ── Header ─────────────────────────────────────────────────── */
.header_area {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header_area .navbar .nav .nav-item .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--title);
  line-height: 80px;
  text-transform: uppercase;
}
.header_area .navbar .nav .nav-item:hover .nav-link,
.header_area .navbar .nav .nav-item.active .nav-link { color: var(--primary); }
/* Bouton Contact dans la nav */
.header_area .navbar .nav .nav-item--cta .nav-cta-btn {
  background: var(--navy-btn) !important;
  color: #fff !important;
  border-radius: 10px;
  padding: 0 22px;
  line-height: 36px;
  margin-top: 22px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  box-shadow: var(--shadow-navy);
  transition: all .22s ease;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.header_area .navbar .nav .nav-item--cta .nav-cta-btn:hover {
  transform: translateY(-2px);
  background: var(--navy-btn-hover) !important;
  box-shadow: 0 10px 28px rgba(7,9,29,.45), inset 0 1px 0 rgba(255,255,255,.10);
  color: #fff !important;
}
.header_area.navbar_fixed .main_menu .navbar .nav .nav-item--cta .nav-cta-btn {
  margin-top: 14px;
}
.header_area.navbar_fixed .main_menu {
  box-shadow: 0 4px 20px rgba(8,12,32,.08);
}
.header_area.navbar_fixed .main_menu .navbar .nav .nav-item .nav-link {
  line-height: 64px;
}

/* ── Banner (conserve home-banner.png) ──────────────────────── */
.banner_content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--title);
  margin-bottom: 18px;
  text-transform: none;
}
.banner_content h5 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 36px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
}
.banner_content .d-flex { gap: 0; align-items: center; }
.banner_content .primary_btn { margin-right: 0; }
/* Bouton Contact banner : style bleu-marine premium */
.primary_btn.btn-contact-dark {
  background: var(--navy-btn) !important;
  background-image: var(--navy-btn) !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(59,130,246,.25), 0 8px 28px rgba(37,99,235,.50), inset 0 1px 0 rgba(255,255,255,.14) !important;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 15px !important;
}
.primary_btn.btn-contact-dark span {
  padding: 0 40px;
  line-height: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.primary_btn.btn-contact-dark:hover {
  background: var(--navy-btn-hover) !important;
  background-image: var(--navy-btn-hover) !important;
  box-shadow: 0 0 0 1px rgba(96,165,250,.35), 0 14px 36px rgba(37,99,235,.65), inset 0 1px 0 rgba(255,255,255,.16) !important;
  transform: translateY(-3px);
}

/* ── Services ───────────────────────────────────────────────── */
.features_area {
  background: var(--light-bg);
  padding: 80px 0;
}
.feature_item {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
/* Barre gradient subtile en haut, visible uniquement au hover */
.feature_item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feature_item:hover::before { opacity: 1; }
.feature_item img {
  display: block;
  margin-bottom: 20px;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.feature_item h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--title);
  margin-bottom: 10px;
}
.feature_item p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 0;
}
.feature_item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

/* ── Expériences ────────────────────────────────────────────── */
#experiences { background: #fff; }
.whole-wrap  { padding: 80px 0; }
.section-top-border {
  border-top: 1px solid var(--border);
  padding-top: 48px;
  margin-top: 48px;
}
.section-top-border h3.title_color {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--primary) !important;
  margin-bottom: 24px;
}
.section-top-border h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 14px;
}
.title_color { color: var(--primary) !important; }
.left-align-p p { color: var(--text); }
.single-gallery-image { border-radius: 8px; overflow: hidden; }

/* ── Témoignages ────────────────────────────────────────────── */
#temoignages          { background: var(--light-bg); }
/* ── Témoignages — hauteur uniforme + texte centré ─────────── */
.testimonial_area .owl-stage-outer {
  padding-top: 8px;
  margin-top: -8px;
}
.testimonial_area .owl-stage {
  display: flex;
}
.testimonial_area .owl-item {
  display: flex;
}
.testi_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.testi_item .row {
  flex: 1;
  align-items: flex-start;
}
.testi_item .testi_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.testi_item .testi_text h5 {
  margin-top: auto;
  padding-top: 16px;
}


.testimonial_area     { background: var(--light-bg); }
.testimonial_area .container {
  padding-left: 20px;
  padding-right: 20px;
}
.testimonial_area .owl-carousel {
  margin: 0 -4px;
  width: calc(100% + 8px);
}
.testi_item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 36px 40px;
  margin: 0 10px 60px;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.testi_item::before {
  content: '\201C';
  position: absolute;
  top: -16px;
  left: 20px;
  font-size: 130px;
  line-height: 1;
  color: var(--primary);
  opacity: .06;
  font-family: Georgia, serif;
  font-weight: 700;
  pointer-events: none;
}
.testi_item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testi_item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.testi_item:hover::after { opacity: 1; }
.testi_item img { border-radius: 8px; max-width: 90px; }
.testi_text p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 0;
}
.testi_text h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--title);
  margin-top: 20px;
  margin-bottom: 2px;
}
.testi_text h6 {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.testimonial_area .owl-carousel .owl-dots { margin-top: 20px; }
.testimonial_area .owl-carousel .owl-dots .owl-dot {
  background: var(--border);
  border-radius: 10px;
  height: 8px;
  width: 8px;
  transition: all .2s ease;
}
.testimonial_area .owl-carousel .owl-dots .owl-dot.active {
  background: var(--primary);
  width: 24px;
  height: 8px;
}

/* ── Contact CTA ────────────────────────────────────────────── */
.newsletter_area {
  background: var(--navy) !important;
  position: relative;
  overflow: hidden;
}
/* Cercle cyan en haut à droite */
.newsletter_area::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(34,211,238,.13) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
/* Cercle bleu en bas à gauche */
.newsletter_area::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(58,92,230,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.subscription_box {
  background: none !important;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.subscription_box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  text-transform: none;
  margin-bottom: 14px;
}
.subscription_box p {
  font-size: 16px;
  color: rgba(255,255,255,.62);
  max-width: 480px;
  margin: 0 auto;
}
/* copy-email styling handled by .cta-email-btn */

/* ── Footer ─────────────────────────────────────────────────── */
.footer_area {
  background: var(--navy-mid) !important;
  padding: 60px 0 40px !important;
}
.footer_area::before { display: none !important; }
.footer_area .contact_info .info_item { margin-bottom: 22px; }
.footer_area .contact_info .info_item i {
  /* reset gradient thème */
  background: rgba(58,92,230,.18) !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff;
  /* badge arrondi */
  font-size: 14px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(58,92,230,.35);
  margin-bottom: 10px;
}
.footer_area .contact_info .info_item h6 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
  font-family: 'Inter', sans-serif;
}
.footer_area .contact_info .info_item h6 a { color: #fff; }
.footer_area .contact_info .info_item h6 a:hover { color: var(--primary); }
.footer_area .contact_info .info_item p {
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  margin-bottom: 0;
  line-height: 1.6;
}
.footer_area .footer_social { text-align: left; margin: 0; }
.footer_area .footer_social a { display: block; margin-bottom: 14px; padding: 0; }
.footer_area .footer_social h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  transition: color .2s;
}
.footer_area .footer_social h4 i {
  background: rgba(58,92,230,.18) !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff;
  font-size: 14px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(58,92,230,.35);
  margin-left: 0;
  margin-right: 10px;
  vertical-align: middle;
  flex-shrink: 0;
}
.footer_area .footer_social a:hover h4 { color: var(--primary); }
.footer_area .footer_bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  margin-top: 20px;
}
.footer_area .footer-text,
.footer_area .footer_bottom p {
  color: rgba(255,255,255,.28);
  font-size: 12px;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}

/* ── Tech tags (cartes services) ───────────────────────────── */
.tech-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech-tags span {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: .3px;
  background: rgba(58,92,230,.08);
  color: var(--primary);
  border: 1px solid rgba(58,92,230,.18);
  transition: all .2s ease;
}
.feature_item:hover .tech-tags span {
  background: rgba(34,211,238,.10);
  color: #0891b2;
  border-color: rgba(34,211,238,.30);
}

/* ── Services : numéro décoratif ────────────────────────────── */
.feature_inner {
  counter-reset: service-counter;
}
.feature_item {
  counter-increment: service-counter;
  position: relative;
}
.feature_item::after {
  content: '0' counter(service-counter);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  opacity: .07;
  line-height: 1;
  pointer-events: none;
}



.testi_text p {
  position: relative;
  z-index: 1;
}
/* Nom + rôle groupés proprement */
.testi_text h5 { margin-top: 24px; margin-bottom: 2px; }
.testi_text h6 { margin-bottom: 0; }

/* Source Malt */
.testi_source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  color: rgba(75,85,99,.55);
  font-weight: 500;
}
.testi_source::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 3px;
  opacity: .6;
}

/* ── Header logo texte ──────────────────────────────────────── */
.nav-logo {
  height: 44px;
  width: auto;
  display: block;
}
.header_area.navbar_fixed .nav-logo {
  height: 38px;
}
.navbar-brand.logo_h {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--title);
  line-height: 1;
}

.header_area.navbar_fixed .navbar-text-logo { line-height: 64px !important; }

/* ── Project cards ──────────────────────────────────────────── */
.project-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 28px;
  transition: box-shadow .22s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1.5px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.project-card:hover::before { opacity: 1; }
.project-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--light-bg);
}
.project-card__client {
  display: flex;
  align-items: center;
  gap: 14px;
}
.project-card__client img {
  height: 36px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.project-card__client span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.project-card__body {
  padding: 28px 28px 8px;
}
.project-card__body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}
.project-card__body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}
.project-card__gallery {
  padding: 4px 28px 28px;
}
.gallery-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  opacity: .65;
  margin-bottom: 8px;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.project-img {
  border-radius: 8px;
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.project-img--contain {
  object-fit: contain;
  background: var(--light-bg);
}
.project-img-contain {
  border-radius: 8px;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
}

/* ── CTA stats ──────────────────────────────────────────────── */
.cta-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 24px 0 0;
  flex-wrap: wrap;
}
.cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cta-stat__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.cta-stat__label {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: rgba(255,255,255,.50);
  text-align: center;
  line-height: 1.4;
}

/* ── CII Badge ──────────────────────────────────────────────── */
.cii-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 18px;
  background: rgba(58,92,230,.07);
  border: 1px solid rgba(58,92,230,.20);
  border-radius: 20px;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.cii-badge i { font-size: 15px; flex-shrink: 0; }

/* ── Stats row "Ils m'ont fait confiance" ──────────────────── */
.clients_stats_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 28px;
  margin-bottom: 0;
}
.clients_stat_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.clients_stat_num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
}
.clients_stat_lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text);
  opacity: .65;
  text-align: center;
  margin-top: 4px;
  line-height: 1.4;
}
.clients_stat_sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Clients logos grid ─────────────────────────────────────── */
.clients_area {
  padding: 70px 0;
  background: #fff;
}
.clients_area .main_title { margin-bottom: 40px; }
.clients_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
}
.client_logo_item {
  width: 150px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client_logo_item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(45%);
  transition: filter .3s ease;
}
.client_logo_item img:hover {
  filter: grayscale(0%) opacity(100%);
}
/* Légende clients sous les logos */
.clients_caption {
  margin-top: 40px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  opacity: .65;
  line-height: 1.9;
  letter-spacing: .1px;
}
.clients_caption span {
  color: var(--primary);
  opacity: .8;
  font-size: 12px;
}

/* ── Images harmonisation ───────────────────────────────────── */
.feature_item img { display: block; }
.single-gallery-image {
  height: 220px;
  background-size: cover !important;
  background-position: center !important;
}
.section-top-border .col-md-2 img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}
/* KaïSu schema : fond blanc natif, pas de cadre */
.kaisu-schema-img {
  width: 100%;
  object-fit: contain;
  display: block;
  margin-top: 0;
  flex: 0 0 auto;
}
/* Photo terrain KaïSu : hauteur généreuse */
.kaisu-terrain-img {
  border-radius: 8px;
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-top: 4px;
}

/* ── CTA amélioré ───────────────────────────────────────────── */

@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.cta-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  margin-right: 8px;
  vertical-align: middle;
  animation: cta-pulse 2s ease-out infinite;
}
.cta-eyebrow {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(34,211,238,.15);
  border: 1px solid rgba(34,211,238,.35);
  border-radius: 20px;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .4px;
  margin-bottom: 28px;
}
.subscription_box p {
  color: rgba(255,255,255,.82) !important;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
/* Email : bouton principal large et lumineux */
.cta-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%) !important;
  background-image: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%) !important;
  border: none !important;
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(59,130,246,.30), 0 8px 32px rgba(37,99,235,.55), inset 0 1px 0 rgba(255,255,255,.15);
  transition: all .22s ease;
  cursor: pointer;
  padding: 18px 48px;
}
.cta-email-btn__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1px;
  white-space: nowrap;
}
.cta-email-btn__inner i { font-size: 19px; flex-shrink: 0; }
.cta-email-btn__text { line-height: 1; }
.cta-email-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%) !important;
  background-image: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%) !important;
  box-shadow: 0 0 0 1px rgba(96,165,250,.40), 0 14px 40px rgba(37,99,235,.65), inset 0 1px 0 rgba(255,255,255,.18);
  color: #fff !important;
  text-decoration: none;
}
/* LinkedIn / Malt : secondaires, côte à côte */
.cta-secondary-links {
  display: flex;
  gap: 12px;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 44px;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.40);
  border-radius: 8px;
  color: rgba(255,255,255,.92) !important;
  box-shadow: 0 2px 10px rgba(7,9,29,.20), inset 0 1px 0 rgba(255,255,255,.08);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .22s ease;
  backdrop-filter: blur(6px);
}
.cta-link:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.60);
  color: #fff !important;
  transform: translateY(-2px);
  text-decoration: none;
}
.cta-reassurance {
  margin-top: 20px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,.40) !important;
  font-family: 'Inter', sans-serif;
  letter-spacing: .2px;
}
/* ── Témoignages : harmoniser hauteur ───────────────────────── */
.testi_item { min-height: 0; }
.testi_text p { font-size: 13.5px; }
.testi_item img { max-height: 60px; width: auto; max-width: 120px; object-fit: contain; }

/* ── Étoiles témoignages ────────────────────────────────────── */
.testi_stars {
  color: #f59e0b;
  font-size: 17px;
  letter-spacing: 4px;
  margin-bottom: 14px;
  line-height: 1;
}
/* ── Textes project cards : justifiés ───────────────────────── */
.project-card__body p { text-align: justify; }

/* ── Responsive ─────────────────────────────────────────────── */

/* ── Services — hauteur uniforme ────────────────────────────── */
.feature_inner {
  align-items: stretch;
}
.feature_inner > [class*="col-"] {
  display: flex;
}
.feature_item {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.feature_item p {
  flex: 1;
}

.french-tech-logo {
  width: 90px;
  height: auto;
  opacity: .85;
  transition: opacity .2s;
}
.french-tech-logo:hover { opacity: 1; }
.kaisu-pcb-img {
  object-fit: cover;
  object-position: center;
  background: #fff;
  padding: 0;
  transform: scale(1.36);
  transform-origin: center;
}
.kaisu-gallery__item {
  display: flex;
  flex-direction: column;
}
.kaisu-gallery__item .gallery-label {
  margin-top: 14px;
  margin-bottom: 8px;
  height: 36px;
  min-height: 36px;
  display: flex;
  align-items: flex-start;
  line-height: 1.2;
}
.project-card__body .col-md-7.d-flex.flex-column > .gallery-label.mt-auto {
  margin-top: 14px !important;
  margin-bottom: 8px;
  height: 36px;
  min-height: 36px;
  display: flex;
  align-items: flex-start;
  line-height: 1.2;
}
.project-card__body .col-md-5.d-flex.flex-column > .gallery-label {
  visibility: hidden;
  margin-top: 14px;
  margin-bottom: 8px;
  height: 36px;
  min-height: 36px;
  line-height: 1.2;
}
.kaisu-gallery__item .img-gal {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  height: 220px;
  width: 100%;
  margin-bottom: 28px;
}
.kaisu-gallery__item .img-gal img {
  height: 100%;
  width: 100%;
}
.img-gal img {
  transition: opacity .3s ease;
}
.img-gal:hover img {
  opacity: .8;
}
@media (min-width: 768px) {
  .project-card__body .col-md-7.d-flex.flex-column {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    align-content: start;
  }
  .project-card__body .col-md-7.d-flex.flex-column > p[style] {
    grid-column: 1 / -1;
  }
  .project-card__body .col-md-7.d-flex.flex-column > .gallery-label.mt-auto {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
  }
  .project-card__body .col-md-7.d-flex.flex-column > a.img-gal {
    grid-column: 1;
    grid-row: 4;
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 28px;
  }
  .project-card__body .col-md-7.d-flex.flex-column > a.img-gal img {
    height: 100%;
  }
  .project-card__body .col-md-7.d-flex.flex-column > .kaisu-gallery__item {
    grid-column: 2;
    grid-row: 3 / span 2;
  }
}
@media (max-width: 991px) {
  .header_area .navbar            { background: rgba(255,255,255,.97) !important; }
  .navbar-toggler span            { background: var(--title) !important; }
  .home_banner_area .banner_inner { padding: 120px 0 70px; }
  .banner_content h1  { font-size: 44px; letter-spacing: -1px; }
  .banner_content h5  { font-size: 15px; }
  .feature_item       { border-left-width: 3px; }
  .testi_item         { padding: 30px 24px; }
  .subscription_box   { padding: 60px 20px; }
  .subscription_box h2 { font-size: 30px; }
  .features_area      { padding: 60px 0; }
  .whole-wrap         { padding: 60px 0; }
  .footer_area .footer_social { text-align: left; margin-top: 30px; }
  .clients_area           { padding: 44px 0; }
  .clients_grid           { gap: 24px 36px; }
  .client_logo_item       { width: 120px; height: 52px; }
  .project-card__body     { padding: 22px 20px 8px; }
  .project-card__gallery  { padding: 4px 20px 22px; }
  .project-card__header   { padding: 16px 20px; }
  .cta-stats              { gap: 28px; }
  .cta-email-btn          { font-size: 14px; padding: 0 28px; height: 52px; }
}
@media (max-width: 767px) {
  .banner_content h1      { font-size: 36px; letter-spacing: -.5px; }
  .navbar-collapse        { background: #fff; padding: 12px 16px 20px; border-top: 1px solid var(--border); }
  .home_banner_area .banner_inner .banner_content .primary_btn { display: none !important; }
  .home_banner_area .banner_inner .banner_content .btn-contact-dark { display: inline-flex !important; }
  .banner_content .d-flex { flex-direction: column; align-items: stretch; gap: 12px; }
  .banner_content .primary_btn.btn-contact-dark { width: 100%; justify-content: center; }
  .banner_content .primary_btn.btn-contact-dark span { width: 100%; justify-content: center; }
  .nav-item--cta          { display: none !important; }
  .main_title h2          { font-size: 26px; }
  .subscription_box h2    { font-size: 26px; }
  .clients_grid           { gap: 20px 24px; }
  .client_logo_item       { width: 110px; height: 48px; }
  .clients_counter        { flex-direction: column; gap: 10px; padding: 16px 20px; text-align: center; }
  .clients_counter__divider { width: 40px; height: 1px; }
  .cii-badge              { font-size: 12px; padding: 7px 14px; }
  .cta-stats              { gap: 20px 32px; }
  .cta-stat__number       { font-size: 26px; }
  .project-img            { height: 180px; }
  .cta-secondary-links    { flex-direction: column; width: 100%; }
  .cta-link               { justify-content: center; }
  .cta-email-btn          { width: 100%; font-size: 14px; }
}

@media (max-width: 991px) {
  .footer_french_tech { margin-top: 24px; }
}
