:root {
  --bg: #f7f8fa;
  --primary: #15324a;
  --accent: #276fbf;
  --text: #1b1b1b;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 94%);
  margin: 0 auto;
}

header.site-header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 0;
  position: relative;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand h1 { margin: 0; font-size: 1.5rem; }
.brand p { margin: 0; font-size: 0.9rem; color: #cfe1ff; }

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
}

nav a:hover { background: #1f4a6d; }

.hero {
  background: linear-gradient(180deg, #dfe9f3, #fff);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

/* Bloc remplacé par image */
.hero-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;       /* prend toute la largeur de la fenêtre */
  height: 200px;      /* ajustez la hauteur selon vos besoins */
  object-fit: cover;  /* recouvre complètement le conteneur sans déformation */
  object-position: center;
  z-index: 1;
}










.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 220px; /* espace pour texte */
}

.hero h2 { font-size: 2rem; color: var(--primary); }
.hero p { max-width: 700px; margin: 1rem auto; color: #444; }

.btn {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.btn:hover { background: #1e5ba1; }

.section { padding: 3rem 0; }
.section.alt { background: transparent; }
.section h2 { text-align: center; color: var(--primary); margin-bottom: 2rem; }

/* Bloc arrondi autour de toutes les cartes */
.expertise-block {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card h3 { margin-top: 0; color: var(--accent); }

.card-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.cases {
  list-style: disc;
  padding-left: 1.5rem;
  color: #444;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

form label { font-weight: 600; }

input, textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
}

button.btn { cursor: pointer; margin-top: 0.5rem; width: 100%; }

.form-message {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #4CAF50;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.site-footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

/* Placeholders pour les sections non remplacées */
.placeholder { background: #000; width: 100%; margin-bottom: 1rem; }
.hero-placeholder { height: 200px; }
.about-image {
  width: 100%;
  height: 150px;       /* hauteur fixe */
  object-fit: cover;   /* coupe automatiquement si ratio différent */
  display: block;
  margin: 0 0 4rem 0;
  border-radius: 0;
}



eft: 0;               /* s'assurer qu'il commence bien à gauche */
}



.references-placeholder { height: 150px; }

@media(max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  nav ul { flex-direction: column; display: none; }
  .nav-toggle { display: inline-block; }
}

.ligne-separatrice {
  border: none;                /* supprime le style par défaut */
  height: 2px;                 /* épaisseur de la ligne */
  background-color: var(--accent); /* couleur de la ligne */
  margin: 2rem 0;              /* espace au-dessus et au-dessous */
}
