/* Universal Connect — pages de services (services/…, fr/services/…) et page « Services ».
   Mise en page compacte : l'essentiel (titre, prix, boutons) visible dès l'arrivée, puis des blocs courts. */

.subpage { background: radial-gradient(1100px 520px at 85% -8%, rgb(31 111 235 / 0.22), transparent 70%), var(--bg); }
.subpage .site-header { position: relative; }

/* ---------- Haut de page : texte à gauche, image à droite ---------- */
.sp-hero {
  max-width: 1320px; margin: 0 auto; padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.sp-hero--hub { display: block; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: 0.7; }
.crumbs a { color: var(--accent-soft); text-underline-offset: 4px; }
.sp-title {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.025em;
}
.sp-lead { margin: 18px 0 0; max-width: 56ch; font-size: clamp(17px, 1.6vw, 20px); color: #DCE6F8; }
.sp-price { margin: 16px 0 0; font-size: 15px; color: var(--ink-muted); }
.sp-price strong { color: var(--accent-soft); font-weight: 600; }
.sp-ctas { justify-content: flex-start; margin-top: 26px; }
.sp-media {
  width: 100%; height: auto; border-radius: var(--radius-l);
  box-shadow: 0 0 0 1px rgb(156 203 255 / 0.25), 0 30px 60px -28px rgb(31 111 235 / 0.8);
}

/* ---------- Blocs ---------- */
.sp-grid {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px);
}
.sp-wide { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.sp-block { padding-block: clamp(28px, 4vw, 48px); }
.sp-h2 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); }
.sp-sub { margin: -10px 0 20px; color: var(--ink-muted); }

/* Problèmes : petites cartes empilées */
.info-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.info-card { padding: 16px 18px; border-radius: var(--radius-m); background: var(--bg-raised); border: 1px solid var(--line); }
.info-card h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.info-card p { margin: 0; font-size: 15px; color: var(--ink-muted); }

/* Livrables : liste avec coches */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: #DCE6F8; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: rgb(31 111 235 / 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%239CCBFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Processus : 5 étapes sur une ligne (ordinateur) */
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.step-card { padding: 18px; border-radius: var(--radius-m); background: var(--bg-raised); border: 1px solid var(--line); }
.step-card-n { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--accent); }
.step-card h3 { margin: 10px 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.step-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-muted); }

/* Exemples : vignette + texte */
.examples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.example { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border-radius: var(--radius-m); background: var(--bg-raised); border: 1px solid var(--line); }
.example img { width: 120px; height: 75px; object-fit: cover; border-radius: 10px; }
.example-tag { margin: 0; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-soft); }
.example h3 { margin: 2px 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.example p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

/* FAQ : mêmes accordéons que l'accueil (style.css), sur une largeur lisible */
.sp-faq .faq-list { max-width: 900px; }

/* Appel final : liens vers les autres services */
.sp-others ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.sp-others a { color: var(--accent-soft); text-underline-offset: 4px; }
.sp-others a:hover { color: #FFFFFF; }

/* ---------- Page « Services » : les cartes de l'accueil, avec texte et prix ---------- */
.hub-services { margin-top: 32px; }
.hub-services .service-btn { text-decoration: none; gap: 10px; }
.hub-services .service-title { padding-right: 30px; }   /* la flèche ne chevauche pas un titre long */
.hub-card-text { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--ink-muted); }
.hub-card-price { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--ink-muted); }
.hub-card-price strong { color: rgb(var(--tone-light)); font-weight: 600; }

/* ---------- Page Contact : formulaire à gauche, coordonnées et étapes à droite ---------- */
.contact-layout {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start;
}
.contact-aside .sp-block:first-child { padding-top: 0; }
.contact-info { margin: 0; display: grid; gap: 12px; }
.contact-info div { padding: 14px 18px; border-radius: var(--radius-m); background: var(--bg-raised); border: 1px solid var(--line); }
.contact-info dt { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-soft); }
.contact-info dd { margin: 4px 0 0; color: #DCE6F8; overflow-wrap: anywhere; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.next-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.next-steps h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.next-steps p { margin: 0; font-size: 15px; color: var(--ink-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .sp-hero { grid-template-columns: minmax(0, 1fr); }
  .sp-media { order: -1; max-width: 520px; }
  .sp-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 760px) {
  .subpage .nav { order: 3; }
  .sp-ctas { justify-content: stretch; }
}
@media (max-width: 520px) {
  .step-cards, .hub-services { grid-template-columns: minmax(0, 1fr); }
  .example { grid-template-columns: 96px minmax(0, 1fr); }
  .example img { width: 96px; height: 60px; }
}
