/* Styles propres a la page /services/ (catalogue a prix fixe).
   Charge EN PLUS de offre.css, dont il reprend les tokens.
   Fichier separe pour ne rien changer aux 6 pages d'offre deja en ligne. */

/* Couleur par categorie */
.c-bug      { --c: #f6ad55; }
.c-connect  { --c: #63b3ed; }
.c-auto     { --c: #a78bfa; }
.c-ia       { --c: #7ee8a2; }
.c-outil    { --c: #f687b3; }

/* SYMPTOMES : le point d'entree du visiteur */
.sympt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sympt {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 22px 24px; text-decoration: none; display: block;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.sympt:hover { background: var(--bg3); border-color: var(--accent); transform: translateY(-2px); }
.sympt .q { font-size: 15px; color: var(--text); font-weight: 400; line-height: 1.5; display: block; margin-bottom: 10px; }
.sympt .a { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.05em; }

/* ETAPES : comment ca marche */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 30px 28px; position: relative; }
.how-step .n {
  font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent);
  border: 1px solid var(--border-accent); border-radius: 100px;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.how-step h3 { margin-bottom: 10px; }
.how-step p { font-size: 14px; line-height: 1.7; margin: 0; }

/* CATEGORIE */
.cat { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 22px; background: var(--bg2); }
.cat-head { padding: 30px 34px; border-bottom: 1px solid var(--border); display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.cat-icon {
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
}
.cat-title { flex: 1 1 260px; }
.cat-title h3 { font-family: 'Instrument Serif', serif; font-size: 25px; font-weight: 400; color: var(--text); margin-bottom: 6px; line-height: 1.2; }
.cat-title p { font-size: 14px; margin: 0; line-height: 1.65; }
.cat-from { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--c); white-space: nowrap; padding-top: 4px; }
.cat-from b { font-size: 19px; font-weight: 500; }

/* PALIERS */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); }
.tier { padding: 28px 30px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.tier:last-child { border-right: none; }
.tier-name { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.tier-price { font-family: 'Instrument Serif', serif; font-size: 34px; line-height: 1; color: var(--text); margin-bottom: 4px; }
.tier-price span { font-size: 15px; color: var(--c); }
.tier-delai { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text-dim); margin-bottom: 18px; }
.tier-for { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin-bottom: 18px; }
.tier ul { list-style: none; margin-top: auto; }
.tier li { font-size: 13px; color: var(--text-muted); padding: 6px 0 6px 20px; position: relative; line-height: 1.55; }
.tier li::before { content: '\2713'; position: absolute; left: 0; color: var(--c); font-size: 11px; }

/* RASSURANCE */
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.inc { display: flex; gap: 16px; align-items: flex-start; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; }
.inc-ico { font-size: 20px; flex-shrink: 0; }
.inc h4 { font-weight: 500; font-size: 15px; margin-bottom: 5px; color: var(--text); }
.inc p { font-size: 13px; margin: 0; line-height: 1.65; }

/* ENCART PREMIUM */
.premium {
  border: 1px solid var(--border); border-radius: 14px; padding: 40px;
  background: linear-gradient(135deg, rgba(99,179,237,0.05), transparent 60%), var(--bg2);
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.premium-body { flex: 1 1 340px; }
.premium h3 { font-family: 'Instrument Serif', serif; font-size: 26px; font-weight: 400; margin-bottom: 12px; line-height: 1.25; }
.premium p { font-size: 14px; margin: 0; }

/* NOTE DE BAS DE CATALOGUE */
.price-note { font-size: 13px; color: var(--text-dim); border-left: 2px solid var(--border); padding-left: 16px; margin-top: 26px; line-height: 1.7; }

@media (max-width: 900px) {
  .sympt-grid, .how, .tiers, .included { grid-template-columns: 1fr; }
  .tier { border-right: none; border-bottom: 1px solid var(--border); }
  .tier:last-child { border-bottom: none; }
  .cat-head { padding: 24px; }
  .premium { padding: 28px; }
}
