/* Styles principaux pour le site PrioriTeam */
:root{
  --bg: #0b1020;
  --text: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --primary: #2563eb; /* bleu SaaS */
  --primary-700: #1d4ed8;
  --accent: linear-gradient(135deg,#5b8cff 0%, #9b4dff 50%, #ff3dbc 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2,6,23,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, Roboto, ui-sans-serif, system-ui, -apple-system, Segoe UI, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid #eef2f7;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; }
.brand-name { font-weight: 700; letter-spacing: 0.1px; }
.nav { display: none; gap: 18px; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .btn-sm { padding: 8px 14px; }
.nav-toggle { display: inline-flex; background: none; border: none; font-size: 22px; }

@media (min-width: 900px) {
  .nav { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 18px; font-weight: 600; transition: transform .05s ease, box-shadow .2s ease, background .2s ease; box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--primary); }
.btn-primary:hover { background: var(--primary-700); }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 72px 0 36px; background: radial-gradient(1200px 600px at 110% -20%, rgba(37,99,235,0.15), transparent 60%), radial-gradient(900px 600px at -10% 10%, rgba(255,61,188,0.12), transparent 60%); }
.hero-inner { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
.hero-content h1 { font-size: clamp(2rem, 3.8vw + 1rem, 3rem); line-height: 1.15; margin: 0 0 10px; }
.hero .tagline { font-size: 1.15rem; color: var(--muted); margin: 0 0 20px; }
.hero-bullets { padding: 0; margin: 20px 0 0; list-style: none; color: var(--muted); display: grid; gap: 6px; }
.hero-visual { display: grid; place-items: center; }
.hero-illustration { width: min(920px, 96vw); height: auto; aspect-ratio: 16/9; border-radius: 16px; box-shadow: 0 30px 80px rgba(37,99,235,.18); }

@media (min-width: 900px) {
  .hero { padding: 96px 0 56px; }
  .hero-inner { grid-template-columns: 1.02fr .98fr; }
}

/* Sections */
.section { padding: 64px 0; }
.section-muted { background: var(--surface-2); }
.section-accent { background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%); }
.section h2 { font-size: clamp(1.5rem, 2.4vw + 0.8rem, 2rem); margin: 0 0 18px; }
.section p { color: var(--muted); margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
.feature { background: var(--surface); border: 1px solid #eef2f7; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.feature .icon { font-size: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #f1f5ff; color: var(--primary); margin-bottom: 8px; }
.feature h3 { margin: 6px 0 8px; font-size: 1.05rem; }

@media (min-width: 800px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature:nth-child(4) { grid-column: span 1; }
  .feature:nth-child(5) { grid-column: span 2; }
}

/* Value grid */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
.value-card { background: var(--surface); border: 1px solid #eef2f7; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.value-card h3 { margin: 0 0 8px; font-size: 1.05rem; }

@media (min-width: 900px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Form */
.form-card { margin-top: 18px; background: var(--surface); border: 1px solid #e6ebf3; border-radius: calc(var(--radius) + 2px); padding: 18px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 500; }
input, textarea { width: 100%; padding: 12px 14px; border: 1px solid #dce3ee; border-radius: 10px; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
label.full { grid-column: 1 / -1; }
.form-feedback { margin-top: 10px; color: #0a7a45; font-weight: 600; }

@media (min-width: 720px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Footer */
.site-footer { border-top: 1px solid #eef2f7; background: #fbfcff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; gap: 18px; flex-wrap: wrap; }
.footer-meta { color: var(--muted); }

/* Utilities */
.visually-hidden { position: absolute !important; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }


/* Correction lisibilité: texte du bouton navbar en blanc (spécifique au bouton compact de la navbar) */
.nav .btn-sm { color: #fff; }
.nav .btn-sm:hover { color: #fff; }
