/* =========================================================
   Clic Répar – feuille de style
   Pour changer la couleur principale : modifie --accent
   ========================================================= */

:root {
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --ink: #0F172A;
  --ink-2: #1E293B;
  --text: #334155;
  --muted: #475569;
  --line: #E2E8F0;
  --bg: #F6F7F9;
  --white: #FFFFFF;
  --light-blue: #93C5FD;
  --radius: 16px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

h1, h2, h3 { font-family: var(--font-title); margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: var(--accent-dark); }
a:hover { color: #1E3A8A; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { border: 1px solid #475569; color: var(--white); }
.btn-outline:hover { background: var(--ink-2); color: var(--white); }
.btn-small { padding: 12px 18px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.logo-text { font-family: var(--font-title); font-weight: 700; font-size: 20px; }

.main-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; }
.main-nav a:not(.btn):hover { color: var(--accent); }

.menu-toggle {
  display: none; background: none; border: none; color: var(--ink);
  width: 44px; height: 44px; cursor: pointer;
}

/* ---------- Bannière ---------- */
.hero { background: var(--ink); color: var(--white); }
.hero-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-top: 88px; padding-bottom: 88px;
}
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.hero-lead { font-size: 19px; line-height: 1.6; color: #CBD5E1; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-points {
  flex: 1 1 340px; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.point { background: var(--ink-2); border-radius: 12px; padding: 20px; }
.point-title { font-family: var(--font-title); font-size: 26px; font-weight: 700; }
.point-sub { margin-top: 6px; font-size: 14px; color: #94A3B8; }

/* ---------- Sections ---------- */
.section { padding-top: 48px; padding-bottom: 48px; }
.section-last { padding-bottom: 88px; }
.section-title { font-size: 36px; margin-bottom: 8px; }
.section-lead { color: var(--muted); margin-bottom: 32px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow-light { color: var(--light-blue); font-size: 14px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.card h2 { font-size: 30px; }

.two-cols { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 88px; }
.two-cols .card { flex: 1 1 420px; min-width: 0; }

.list { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.9; color: var(--text); }

/* ---------- Sites web ---------- */
.web-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; padding: 40px; }
.web-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.web-text p:last-child { line-height: 1.7; color: var(--text); }
.web-features { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.web-features p { padding: 14px 16px; background: #F1F5F9; border-radius: 8px; color: var(--text); font-size: 15px; }

/* ---------- Tarifs ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.price-name { color: var(--muted); font-size: 15px; }
.price-value { margin-top: 8px; font-family: var(--font-title); font-size: 30px; font-weight: 700; }
.price-note { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.step-num { font-family: var(--font-title); font-size: 40px; font-weight: 700; color: var(--accent); }
.step h3 { margin: 8px 0; font-size: 20px; }
.step p:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-box {
  background: var(--ink); color: var(--white);
  border-radius: var(--radius); padding: 48px;
  display: flex; flex-wrap: wrap; gap: 48px;
}
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-info h2 { font-size: 36px; }
.contact-info a { color: var(--white); }
.contact-phone { font-size: 20px; font-weight: 600; margin-top: 8px; }
.muted { color: #CBD5E1; }

.contact-form { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: #CBD5E1; }
.field input, .field select, .field textarea {
  padding: 14px; border-radius: 8px; border: 1px solid #475569;
  background: var(--ink-2); color: var(--white);
  font-size: 16px; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--light-blue); outline-offset: 1px;
}
.contact-form .btn { align-self: flex-start; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted);
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 14px; text-align: center; }
  .header-inner { position: relative; }

  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .two-cols { padding-top: 48px; }
  .card, .web-card { padding: 24px; }
  .contact-box { padding: 28px; }
}

/* ---------- Page mentions légales ---------- */
.legal { max-width: 820px; padding-top: 56px; padding-bottom: 88px; }
.legal h1 { font-size: 40px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p { color: var(--text); line-height: 1.7; margin-bottom: 8px; }
