/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #f9f9f9;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 4rem 0;
}

.overlay2 {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 4rem 0;
}

/* Backgrounds avec images marketing */
.header-bg {
  background-image: url('https://images.unsplash.com/photo-1607746882042-944635dfe10e');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.hero-bg {
  background-image: url('https://images.unsplash.com/photo-1721314787850-5745fdfb06b4');
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-bg {
  background-image: url('https://images.unsplash.com/photo-1607746882042-944635dfe10e');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.archi-bg {
  background-image: url('https://www.cyrilvincent.com/image/archi.png');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.contact-bg {
  background-image: url('https://images.unsplash.com/photo-1682125235036-d1ab54136ff4');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

/* Text */
header h1 {
  font-size: 3rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.subtitle {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #ddd;
}

/* Boutons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 2rem;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: #4f46e5;
  color: white;
}

.btn-primary:hover {
  background-color: #4338ca;
}

.btn-secondary {
  background-color: white;
  color: #1d4ed8;
}

.btn-secondary:hover {
  background-color: #e0e7ff;
}

/* Features */
.features {
  background-color: #fff;
  color: #333;
  padding: 4rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background-color: #f1f5f9;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.feature h3 {
  color: #1d4ed8;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: #111827;
  color: #aaa;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Header fixe */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #1b1f3b;
  color: white;
  padding: 1rem 0;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  background-image: url('header.png');
  background-size: cover;
  background-position: center;
}

.fixed-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8); /* Ajuste l'opacité ici (0.5 = 50%) */
  z-index: -1;
}


.fixed-header .container {
  padding: 0;
}

body {
  padding-top: 120px; /* pour compenser le header fixé */
}

/* Titre de section */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 2rem;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.feature-card h3 {
  color: #1d4ed8;
  margin-top: 1rem;
}

.feature-card p {
  color: #444;
  margin-top: 0.5rem;
}

.icon {
  font-size: 2rem;
  color: #4f46e5;
  margin-bottom: 0.5rem;
}

.icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
  stroke: #4f46e5;
}

