/*
 * Infosystem — Style Moderne
 * Couleurs : #2e7acc / #0f61ba (bleu) · #93111e (rouge)
 */

/* ════════════════════════════════════════
   DESIGN TOKENS
   ════════════════════════════════════════ */
:root {
  --blue:        #2e7acc;
  --blue-dark:   #0f61ba;
  --blue-deeper: #0a4d95;
  --red:         #93111e;
  --red-hover:   #c50014;
  --white:       #ffffff;
  --off-white:   #f8fafd;
  --gray-100:    #f0f4f8;
  --gray-200:    #e2e7ec;
  --gray-400:    #a0aab8;
  --gray-600:    #64748b;
  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --text:        #1a1a2e;
  --text-light:  #4e5a70;

  --shadow-xs: 0 1px 4px rgba(15,97,186,.08);
  --shadow-sm: 0 2px 12px rgba(15,97,186,.12);
  --shadow-md: 0 6px 24px rgba(15,97,186,.18);
  --shadow-lg: 0 12px 48px rgba(15,97,186,.22);

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;

  --ease:  cubic-bezier(.4,0,.2,1);
  --t:     all .3s var(--ease);

  --header-h: 88px;
}

/* ════════════════════════════════════════
   RESET
   ════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html, body, div, span, h1, h2, h3, h4, h5, h6,
p, a, img, ul, ol, li, form, label, input,
textarea, select, button, section, header, footer,
nav, article, aside, figure, main {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font: inherit; }
.clear { clear: both; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: 'Inter', 'Roboto', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════ */
.wrap {
  width: 88%;
  max-width: 1220px;
  margin: 0 auto;
}

/* ════════════════════════════════════════
   SECTION UTILITIES
   ════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: .75em;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-intro {
  font-size: 1.08em;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* ════════════════════════════════════════
   HEADER / NAVIGATION
   ════════════════════════════════════════ */
.header_top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(46,122,204,.1);
  box-shadow: 0 2px 20px rgba(46,122,204,.08);
  display: flex;
  align-items: center;
  transition: var(--t);
}
.header_top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 60%, var(--red) 100%);
}
.header_top.scrolled {
  height: 64px;
  box-shadow: 0 4px 24px rgba(15,97,186,.14);
}

.center-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1rem;
}

/* Logo */
.logo { flex-shrink: 0; width: 170px; transition: var(--t); }
.logo img { width: 100%; height: auto; }
.logo.smaller { width: 128px; }

/* Nav desktop */
.menu { flex: 1; padding: 0 1.5rem; }
.menu ul { display: flex; align-items: center; justify-content: center; gap: .25rem; flex-wrap: wrap; }
.menu li a {
  display: block;
  font-size: .9em;
  font-weight: 600;
  padding: .5em .9em;
  color: var(--text-light);
  border-radius: var(--r-sm);
  position: relative;
  transition: var(--t);
  letter-spacing: .02em;
}
.menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.menu li a:hover { color: var(--blue); background: rgba(46,122,204,.07); }
.menu li a:hover::after { transform: translateX(-50%) scaleX(1); }

/* Tel (compat) */
.tel, .tel_mobile { display: none; }

/* ════════════════════════════════════════
   HAMBURGER (mobile)
   ════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: var(--t);
}
.hamburger:hover { border-color: var(--blue); background: rgba(46,122,204,.06); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--t);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(255,255,255,.99);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 8px 32px rgba(15,97,186,.18);
  z-index: 999;
  padding: 1.25rem 0 1.5rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: var(--t);
  pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav ul li a {
  display: block;
  font-size: 1em;
  font-weight: 600;
  color: var(--text);
  padding: .8em 2rem;
  border-left: 3px solid transparent;
  transition: var(--t);
}
.mobile-nav ul li a:hover { color: var(--blue); background: rgba(46,122,204,.06); border-left-color: var(--blue); }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.content_top {
  background: url("/images/services-infosystem-background.jpg") no-repeat center / cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  padding: 0 0 5rem;
}
.content_top::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(10,77,149,.94) 0%,
    rgba(15,97,186,.87) 50%,
    rgba(46,122,204,.80) 100%);
  z-index: 0;
}
.content_top .wrap { position: relative; z-index: 2; }

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
  z-index: 2;
}
.hero-wave svg { width: 100%; height: 80px; }

.banner_desc {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
  text-align: center;
  color: var(--white);
  max-width: 780px;
  margin: 0 auto;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: .4em 1.2em;
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge svg { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero-badge circle { fill: #6ee7b7; }

.banner_desc h1 {
  font-size: clamp(2em, 5vw, 3.2em);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
  margin-bottom: 1.25rem;
}
.banner_desc p {
  font-size: 1.1em;
  line-height: 1.75;
  opacity: .9;
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 1em;
  padding: .85em 2em;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: var(--t);
}
.hero-btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(0,0,0,.3);
  transform: translateY(-2px);
}
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  font-weight: 600;
  font-size: 1em;
  padding: .8em 1.8em;
  border-radius: 50px;
  transition: var(--t);
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
  padding: 1.25rem 2.5rem;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 0 auto;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-size: 1.8em;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: .72em;
  opacity: .75;
  font-weight: 500;
  margin-top: .25em;
  letter-spacing: .03em;
}
.hero-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.3);
}

/* ════════════════════════════════════════
   FEATURES / SERVICE CARDS
   ════════════════════════════════════════ */
.features {
  background: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.features h2 {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.features h2 span { color: var(--blue); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem 2rem;
  text-align: left;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  color: var(--text);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,122,204,.03) 0%, rgba(15,97,186,.06) 100%);
  opacity: 0;
  transition: var(--t);
}
.service-card:hover { border-color: rgba(46,122,204,.4); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--gray-200);
}
.service-card--featured::before { display: none; }
.service-card--featured:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,.85); }
.service-card--featured .service-card-link { color: rgba(255,255,255,.9); }

.service-card-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  font-size: .7em;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3em .8em;
  border-radius: 50px;
}

.service-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: var(--r-md);
  margin-bottom: 1.5rem;
  transition: var(--t);
}
.service-card-icon--blue {
  background: rgba(46,122,204,.1);
  border: 1.5px solid rgba(46,122,204,.2);
}
.service-card-icon--white {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
}
.service-card:hover .service-card-icon--blue {
  background: rgba(46,122,204,.18);
  transform: rotate(-4deg) scale(1.05);
}

.service-card h3 {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.service-card p {
  font-size: .92em;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: 1.5rem;
  font-size: .88em;
  font-weight: 700;
  color: var(--blue);
  transition: var(--t);
}
.service-card:hover .service-card-link { gap: .7em; }

/* ════════════════════════════════════════
   POURQUOI NOUS CHOISIR
   ════════════════════════════════════════ */
.why-section {
  background: var(--gray-100);
  padding: 5rem 0;
  position: relative;
}
.why-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(1.7em, 3vw, 2.3em);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.why-content h2 span { color: var(--red); }
.why-intro { color: var(--text-light); font-size: 1em; margin-bottom: 2rem; }

.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(15,97,186,.1);
  border-radius: 50%;
  margin-top: .1em;
}
.why-list li strong { display: block; font-size: .95em; font-weight: 700; color: var(--text); margin-bottom: .2em; }
.why-list li p { font-size: .88em; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Visual card */
.why-visual-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.why-visual-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-size: 1em;
  font-weight: 700;
}
.why-visual-stats { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
.why-vs-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  background: var(--gray-100);
  border-radius: var(--r-md);
  transition: var(--t);
}
.why-vs-item:hover { background: rgba(46,122,204,.08); transform: translateX(4px); }
.why-vs-item strong { display: block; font-size: .9em; font-weight: 700; color: var(--text); }
.why-vs-item span { font-size: .8em; color: var(--text-light); }
.why-visual-since {
  background: var(--blue-dark);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.why-since-year {
  font-size: 2em;
  font-weight: 800;
  color: var(--white);
  opacity: .5;
}
.why-since-label {
  font-size: .85em;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* ════════════════════════════════════════
   SERVICE SECTIONS (alarme / info / elec)
   ════════════════════════════════════════ */
.service-section {
  padding: 4.5rem 0;
  background: var(--white);
}
.service-section--alt {
  background: var(--gray-100);
}

.service-section-inner {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--t);
}
.service-section--alt .service-section-inner {
  background: var(--white);
}
.service-section-inner:hover { box-shadow: var(--shadow-md); }

.service-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem 2.5rem 2rem;
  border-bottom: 1.5px solid var(--gray-200);
  position: relative;
}
.service-section-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--blue-dark), var(--blue));
}

.service-section-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: rgba(15,97,186,.1);
  border: 1.5px solid rgba(15,97,186,.2);
  border-radius: var(--r-md);
  color: var(--blue-dark);
}
.service-section-icon--alt { background: rgba(15,97,186,.08); }
.service-section-header h2 {
  font-size: 1.6em;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: .5rem;
}
.service-section-header h2 span { color: var(--blue); }
.service-section-header p { font-size: .95em; color: var(--text-light); line-height: 1.65; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: .5rem 0;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  transition: var(--t);
  position: relative;
}
.service-list li:nth-child(even) { border-right: none; }
.service-list li:last-child, .service-list li:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.service-list li:hover { background: rgba(46,122,204,.04); }
.service-list li svg {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: .15em;
}
.service-list li div { font-size: .9em; color: var(--text-light); line-height: 1.6; }
.service-list li strong { color: var(--text); font-weight: 700; }

/* ════════════════════════════════════════
   MAP SECTION
   ════════════════════════════════════════ */
.map-section {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.map-section iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(.8);
}
.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  padding: 0 6%;
}
.map-info-card {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(46,122,204,.15);
  max-width: 440px;
  width: 100%;
}
.map-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
}
.map-info-card h2 {
  font-size: 1.4em;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.map-info-card h2 span { color: var(--blue); }
.map-info-card p {
  font-size: .9em;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.map-extra { margin-top: .25rem; font-size: .82em !important; color: var(--gray-400) !important; }
.map-cta {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: 1.25rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  font-weight: 700;
  font-size: .9em;
  padding: .75em 1.75em;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(15,97,186,.35);
  transition: var(--t);
}
.map-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(15,97,186,.5); }

/* ════════════════════════════════════════
   CONTACT SECTION — FORMULAIRE MODERNE
   ════════════════════════════════════════ */
.contact-section {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  padding: 5rem 0 6rem;
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--red));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

/* Colonne info */
.contact-info h2 {
  font-size: clamp(1.7em, 3vw, 2.3em);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.contact-info h2 span { color: var(--blue); }
.contact-intro { font-size: .98em; color: var(--text-light); line-height: 1.75; margin-bottom: 2.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: var(--t);
}
.contact-detail-item:hover { border-color: rgba(46,122,204,.3); box-shadow: var(--shadow-xs); }
.contact-detail-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(15,97,186,.08);
  border-radius: var(--r-sm);
}
.contact-detail-item strong { display: block; font-size: .82em; font-weight: 700; color: var(--blue-dark); margin-bottom: .2em; text-transform: uppercase; letter-spacing: .05em; }
.contact-detail-item p { font-size: .92em; color: var(--text); margin: 0; }
.contact-detail-item a { color: var(--blue); text-decoration: underline; }

.contact-b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: rgba(15,97,186,.08);
  border: 1px solid rgba(15,97,186,.2);
  color: var(--blue-dark);
  font-size: .82em;
  font-weight: 700;
  padding: .6em 1.2em;
  border-radius: 50px;
}
.contact-b2b-badge svg { color: var(--blue-dark); }

/* Formulaire */
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.modern-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: .5rem; position: relative; }

.form-group label {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .82em;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-group label svg { color: var(--blue); opacity: .7; }
.req { color: var(--red); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: .85em 1.1em;
  font-size: .95em;
  font-family: inherit;
  color: var(--text);
  transition: var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(46,122,204,.15);
}
.form-group input:valid:not(:placeholder-shown) { border-color: rgba(46,122,204,.4); }
.form-group input:invalid:not(:placeholder-shown) { border-color: rgba(147,17,30,.4); }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234e5a70' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 130px; }
.char-count {
  font-size: .75em;
  color: var(--gray-400);
  text-align: right;
  margin-top: -.25rem;
}

/* Math challenge style */
.math-challenge-block {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
}
.math-challenge-block label {
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: .82em;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
}
.math-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.math-question-text {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  padding: .5em 1em;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--blue-dark);
}
.math-question input[type="number"] {
  width: 100px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: .6em .8em;
  font-size: .95em;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  transition: var(--t);
}
.math-question input[type="number"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,122,204,.15);
}

/* Notification */
.form-notification {
  border-radius: var(--r-md);
  padding: .85rem 1.2rem;
  font-size: .9em;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: .5em;
}
.form-notification.error {
  display: flex;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
.form-notification.success {
  display: flex;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

/* Footer du form */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: .5rem;
}
.form-rgpd {
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .78em;
  color: var(--gray-400);
}
.form-rgpd svg { flex-shrink: 0; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1em;
  padding: .9em 2.2em;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 18px rgba(15,97,186,.4);
  transition: var(--t);
  white-space: nowrap;
}
.form-submit:hover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 6px 26px rgba(15,97,186,.55);
  transform: translateY(-2px);
}
.form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.site-footer {
  background: linear-gradient(135deg, #071e45 0%, var(--blue-dark) 60%, #1a61a8 100%);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 0;
  border-top: 3px solid var(--blue);
}
.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { opacity: .85; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88em; max-width: 280px; line-height: 1.7; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
}
.footer-links a {
  font-size: .88em;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: var(--t);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  padding: 1.25rem 0;
  font-size: .82em;
  color: rgba(255,255,255,.45);
}

/* ════════════════════════════════════════
   WOW ANIMATIONS COMPAT
   ════════════════════════════════════════ */
.wow { visibility: hidden; }

/* ════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 1100px
   ════════════════════════════════════════ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-visual { max-width: 560px; }
  .why-visual-card { max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-wrap { padding: 2rem; }

  .service-section-header { flex-direction: column; gap: 1rem; }
  .service-section-header::before { width: 100%; height: 4px; }
}

@media (max-width: 960px) {
  .service-cards { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li:nth-child(even) { border-right: none; }
  .service-list li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--gray-200); }
  .service-list li:last-child { border-bottom: none; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 768px
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .menu { display: none; }

  .logo { width: 130px; }
  .logo.smaller { width: 110px; }
  .center-topbar { width: 100%; padding: 0 1rem; }

  .wrap { width: 94%; }

  .banner_desc { padding: calc(var(--header-h) + 2rem) 0 1.5rem; }
  .banner_desc h1 { font-size: 1.8em; }
  .hero-stats { gap: 1rem; padding: 1rem 1.5rem; }

  .features { padding: 3.5rem 0 2.5rem; }

  .service-section { padding: 3rem 0; }
  .service-section-header { padding: 1.5rem; }
  .service-section-header h2 { font-size: 1.3em; }
  .service-list li { padding: 1rem 1.5rem; flex-direction: column; gap: .5rem; }

  .map-section { height: auto; }
  .map-overlay { position: relative; flex-direction: column; padding: 0; }
  .map-info-card { max-width: 100%; border-radius: 0; box-shadow: none; border-left: none; border-right: none; }
  .map-section iframe { position: relative; width: 100%; height: 300px; filter: none; }

  .contact-form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-submit { justify-content: center; }

  .footer-content { flex-direction: column; gap: 1.5rem; }
  .footer-links { gap: .5rem 1rem; }

  .why-visual { display: none; }

  .hero-cta { flex-direction: column; align-items: center; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 480px) {
  .banner_desc h1 { font-size: 1.5em; }
  .features h2, .contact-info h2, .why-content h2, .map-info-card h2 { font-size: 1.5em; }
  .hero-stats { flex-direction: column; gap: .75rem; }
  .hero-stat-div { width: 60px; height: 1px; }
  .service-cards { max-width: 100%; }
}