/* styles.css - simple, responsive, modern */
:root{
  --bg:#ffffff;
  --muted:#6b7280;
  --primary:#2563eb; /* blue-600 */
  --accent:#0f172a;
  --card:#f8fafc;
  --radius:12px;
  --container:1100px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--accent);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
}

/* Layout */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;       /* permet aux éléments de passer à la ligne sur petit écran */
  padding: 18px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}

/* Navigation */
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;       /* tous les liens restent visibles sur petit écran */
}

.nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;   /* empêche le texte de se couper */
}

/* Bouton CTA */
.nav a.cta {
  background: var(--primary);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

/* Optionnel : réduire légèrement les liens sur très petit écran */
@media (max-width: 480px) {
  .nav a {
    font-size: 14px;
    padding: 6px 8px;
  }

  .nav a.cta {
    padding: 8px 12px;
  }
}

/* Hero */
.hero{
  display:flex;
  align-items:center;
  gap:40px;
  padding:48px 0;
}
.hero-left{flex:1}
.hero-right{flex:1;display:flex;justify-content:center}
.h-title{font-size:48px;line-height:1.02;margin:0 0 12px}
.h-lead{color:var(--muted);margin-bottom:22px;font-size:18px}

/* Features */
.features{display:flex;gap:18px;margin-top:36px}
.feature{flex:1;background:var(--card);padding:18px;border-radius:12px;display:flex;gap:12px;align-items:flex-start}
.feature .icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px}

/* Simple cards */
.card{
  background:var(--card);
  padding:18px;border-radius:12px;margin:18px 0;
}

/* Footer */
.footer{
  border-top:1px solid #eef2f7;
  padding:28px 0;
  margin-top:48px;
  color:var(--muted);
  font-size:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

/* Forms */
.form-row{display:flex;gap:12px;flex-wrap:wrap}
.input, textarea{
  width:100%;
  padding:12px;border-radius:10px;border:1px solid #e6edf3;background:white;
}
.btn{background:var(--primary);color:white;padding:12px 16px;border-radius:10px;border:none;font-weight:700;cursor:pointer}

/* Responsive */
@media (max-width:900px){
  .hero{flex-direction:column-reverse;padding:28px 0}
  .h-title{font-size:32px}
  .features{flex-direction:column}
}
