/* ===================================
   LEAD4YOU — Main Stylesheet
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --black:     #0B0B0B;
  --white:     #FFFFFF;
  --grey-50:   #F7F7F5;
  --grey-100:  #EFEFEC;
  --grey-200:  #DEDEDB;
  --grey-500:  #8E8E8A;
  --grey-700:  #3A3A38;
  --accent:    #1249D6;
  --accent-dk: #0D38A8;
  --accent-lt: #EEF2FF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w:     1160px;
  --nav-h:     72px;
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow:    0 2px 24px rgba(0,0,0,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 400; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { font-size: 1rem; color: var(--grey-700); line-height: 1.75; }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(18,73,214,0.25); }
.btn-secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--grey-200);
}
.btn-secondary:hover { border-color: var(--black); transform: translateY(-1px); }
.btn-white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.btn-white:hover { background: var(--grey-50); }

/* ── NAVBAR ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-100);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--black);
  font-weight: 400;
}
.nav-logo span { color: var(--accent); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-700);
  transition: color 0.15s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s;
  border-radius: 2px;
}
.nav-menu a:hover { color: var(--black); }
.nav-menu a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }




.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  background: var(--grey-50);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,73,214,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--grey-700);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-200);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--black);
  line-height: 1;
}
.hero-stat-label { font-size: 0.8rem; color: var(--grey-500); margin-top: 4px; }
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-100);
}
.hero-card:first-child { grid-column: span 2; }
.hero-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.hero-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.hero-card p { font-size: 0.82rem; color: var(--grey-500); line-height: 1.4; }

/* ── SECTIONS COMMON ── */
.section { padding: 96px 0; }
.section-alt { background: var(--grey-50); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .label { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── SERVICES PILIERS ── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.09); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.pillar-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
.pillar-card p { font-size: 0.9rem; line-height: 1.7; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--grey-100);
  color: var(--grey-700);
}

/* ── SERVICE DETAIL ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.2s;
}
.service-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(18,73,214,0.08); transform: translateY(-2px); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  background: var(--accent-lt);
}
.service-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 8px; color: var(--black); }
.service-card p { font-size: 0.87rem; color: var(--grey-500); }

/* ── CONSEIL IT ── */
.it-grid { display: grid; grid-template-columns: repeat(2, 1fr) 1.2fr; gap: 20px; align-items: start; }
.it-roles { display: flex; flex-direction: column; gap: 12px; }
.it-role {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all 0.18s;
  cursor: default;
}
.it-role:hover { border-color: var(--accent); background: var(--accent-lt); }
.it-role-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.it-role-name { font-weight: 500; font-size: 0.9rem; }
.it-role-desc { font-size: 0.8rem; color: var(--grey-500); }
.it-highlight {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: var(--white);
  grid-column: 3;
  grid-row: span 2;
}
.it-highlight h3 { color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; margin-bottom: 16px; }
.it-highlight p { color: rgba(255,255,255,0.8); font-size: 0.88rem; }
.it-highlight .btn-white { margin-top: 24px; }

/* ── PRODUITS LOGICIELS ── */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-100);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: all 0.22s;
}
.product-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.1); transform: translateY(-4px); }
.product-header {
  padding: 36px 32px 24px;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-100);
}
.product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-lt);
  color: var(--accent);
  margin-bottom: 16px;
}
.product-header h3 { font-size: 1.5rem; margin-bottom: 8px; }
.product-header p { font-size: 0.9rem; color: var(--grey-500); }
.product-body { padding: 28px 32px; flex: 1; }
.product-features { display: flex; flex-direction: column; gap: 12px; }
.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}
.product-feature::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--accent-lt);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.product-footer {
  padding: 20px 32px 28px;
  border-top: 1px solid var(--grey-100);
}

/* ── CLIENTS ── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all 0.18s;
  text-align: center;
}
.client-card:hover { border-color: var(--grey-200); box-shadow: var(--shadow); }
.client-card a { font-weight: 500; font-size: 0.9rem; color: var(--grey-700); transition: color 0.15s; }
.client-card:hover a { color: var(--accent); }
.client-domain { font-size: 0.78rem; color: var(--grey-500); margin-top: 4px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--black);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 { color: var(--white); max-width: 520px; }
.cta-inner p { color: rgba(255,255,255,0.6); margin-top: 12px; }
.cta-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-item p { font-size: 0.95rem; color: var(--black); }
.contact-form { background: var(--grey-50); border-radius: var(--radius-lg); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 7px; color: var(--grey-700); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-bottom a { transition: color 0.15s; }
.footer-bottom a:hover { color: var(--white); }

/* ── PAGE INTERNE ── */
.page-hero {
  background: var(--grey-50);
  padding: calc(var(--nav-h) + 64px) 0 64px;
  border-bottom: 1px solid var(--grey-100);
}
.page-hero .label { margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; max-width: 600px; }
.page-content { padding: 80px 0; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--grey-500); margin-bottom: 20px; }
.breadcrumb a { transition: color 0.15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--grey-200); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .it-grid { grid-template-columns: 1fr; }
  .it-highlight { grid-column: 1; grid-row: auto; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-menu, .nav-right .btn { display: none; }
  .nav-burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.2rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--grey-100); }

/* ── IMAGES INTÉGRÉES ── */
img { max-width: 100%; height: auto; }

.pillar-card img,
.service-card img,
.product-card img {
  display: block;
  transition: transform 0.4s ease;
}
.pillar-card:hover img,
.service-card:hover img,
.product-card:hover img {
  transform: scale(1.03);
}

/* Lazy loading placeholder */
img[loading="lazy"] {
  background: var(--grey-100);
}

/* Grid images IT */
@media (max-width: 960px) {
  .hero-visual { display: grid !important; }
}

/* ── LOGO SVG NAVBAR ── */
.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity 0.15s;
}
.nav-logo-link:hover .nav-logo-img { opacity: 0.82; }

/* Logo footer */
.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  /* Inversion pour fond sombre — blanc */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logo-img:hover { opacity: 1; }


/* ── LANGUAGE SWITCHER ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-500);
  padding: 5px 9px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1;
}
.lang-btn:hover {
  color: var(--accent);
  background: var(--accent-lt);
  border-color: transparent;
}
.lang-btn.active {
  color: var(--accent);
  background: var(--accent-lt);
  border-color: var(--accent);
  font-weight: 700;
}
.lang-sep {
  color: var(--grey-200);
  font-size: 0.75rem;
  padding: 0 2px;
  user-select: none;
}
