:root {
  --primary: #3b5bdb;
  --secondary: #00b894;
  --accent: #ffb703;
  --dark: #152238;
  --light: #f7f9fc;
  --white: #ffffff;
  --text: #243044;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; color: var(--text); background: var(--light); }
a { color: inherit; }

.site-header { background: var(--white); box-shadow: 0 2px 14px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 10; }
.navbar { max-width: 1150px; margin: auto; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-text { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 10px 14px; border-radius: 14px; font-weight: 800; letter-spacing: 1px; }
/* Pour remplacer par un vrai logo : mets ton image dans images/logo.png puis remplace le span logo-text par une balise img dans les fichiers HTML. */
.brand img { max-height: 46px; width: auto; display: block; }

.menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; align-items: center; }
.menu a { text-decoration: none; font-weight: 600; color: var(--dark); }
.menu a:hover { color: var(--primary); }
#menu-toggle, .menu-icon { display: none; }

.hero { background: radial-gradient(circle at top left, #e9f7ff, transparent 30%), linear-gradient(135deg, var(--dark), var(--primary)); color: white; padding: 110px 20px; }
.hero-content { max-width: 900px; margin: auto; text-align: center; }
.badge { display: inline-block; background: rgba(255,255,255,.15); padding: 8px 14px; border-radius: 999px; }
h1 { font-size: 44px; margin: 20px 0; color: inherit; }
.hero p { font-size: 20px; line-height: 1.6; }
.hero-buttons { margin-top: 30px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 20px; border-radius: 12px; text-decoration: none; font-weight: bold; }
.btn.primary { background: var(--accent); color: var(--dark); }
.btn.secondary { background: white; color: var(--dark); }

.section { max-width: 1150px; margin: auto; padding: 70px 20px; }
.section h2, .section h1 { color: var(--dark); }
.section.alt { background: white; max-width: none; }
.section.alt > * { max-width: 1150px; margin-left: auto; margin-right: auto; }
.intro { font-size: 18px; max-width: 760px; line-height: 1.7; }
.narrow { max-width: 850px; }

.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card, .tool, .step { background: white; padding: 28px; border-radius: 20px; box-shadow: 0 8px 22px rgba(21,34,56,.08); }
.card h3, .tool h2, .step h3 { color: var(--primary); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.step span { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--secondary); color: white; font-weight: bold; }

.tool-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.tool a { color: var(--primary); font-weight: bold; }
.page { min-height: 65vh; }
.contact-mail a { font-size: 24px; color: var(--primary); font-weight: bold; }

.footer { background: var(--dark); color: white; text-align: center; padding: 28px 20px; }
.footer a { color: white; }

@media (max-width: 850px) {
  .menu-icon { display: block; font-size: 28px; cursor: pointer; }
  .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  #menu-toggle:checked ~ .menu { display: flex; }
  h1 { font-size: 34px; }
  .hero { padding: 80px 20px; }
  .cards.three, .steps, .tool-list { grid-template-columns: 1fr; }
}

/* Améliorations page services */
.services-hero {
  background: radial-gradient(circle at top right, rgba(255,183,3,.35), transparent 28%), linear-gradient(135deg, var(--dark), var(--primary));
  color: white;
  padding: 90px 20px;
}
.services-hero > div {
  max-width: 1050px;
  margin: auto;
}
.services-hero h1 {
  max-width: 850px;
}
.services-hero p {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.7;
}
.hero-buttons.left {
  justify-content: flex-start;
}
.services-grid .tool {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21,34,56,.06);
}
.tool-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.tool-icon {
  display: inline-flex;
  min-width: 46px;
  height: 46px;
  padding: 0 8px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(59,91,219,.10);
  color: var(--primary);
  font-weight: 800;
}
.status {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.status.free {
  background: rgba(0,184,148,.14);
  color: #087f5b;
}
.status.soon {
  background: rgba(255,183,3,.22);
  color: #8a5a00;
}
.status.active {
  background: rgba(59,91,219,.14);
  color: var(--primary);
}
.code-help {
  background: var(--dark);
  color: white;
  padding: 22px;
  border-radius: 16px;
  line-height: 1.9;
  overflow-x: auto;
}
.code-help code {
  color: white;
}
