:root {
  --max: 1100px;
  --primary: #008080;
  --dark: #111827;
  --light: #f9fafb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
}

/* --- Logo figé --- */
.logo {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
}

.logo img {
  height: 40px; /* Logo réduit (environ ÷3) */
  width: auto;
  display: block;
}

/* --- Header --- */
header {
  display: flex;
  justify-content: flex-end; /* menu à droite */
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 900;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* --- Container --- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem;
}

/* --- Hero --- */
.hero {
  background: var(--light);
  text-align: center;
  padding: 5rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #006666;
}

/* --- Services --- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  padding: 2rem 1.5rem;
  background: #fff;
  text-align: center;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: .75rem;
}

/* --- Footer --- */
footer {
  margin-top: 3rem;
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0;
  text-align: center;
  font-size: .9rem;
  color: #6b7280;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
