/* ==========================================================================
   PAGE SERVICES — VERSION ULTIME
   ========================================================================== */

.hero-services {
    display: grid;
    gap: var(--sp-8);
    padding-top: var(--sp-8);
    align-items: center;
}

.hero-services-left {
    max-width: 680px;
}

.hero-services h1 {
    font-size: var(--fs-xxl);
    font-weight: var(--fw-extrabold);
    line-height: 1.25;
    margin-bottom: var(--sp-3);
}

.hero-services-sub {
    font-size: var(--fs-sm);
    opacity: .9;
    line-height: 1.7;
    margin-bottom: var(--sp-4);
}

.hero-services-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
}

.tag-pill {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(47,128,255,0.16);
    border: 1px solid rgba(47,128,255,0.45);
    font-size: var(--fs-xs);
    margin-bottom: var(--sp-3);
}

/* CARD HERO */

.services-card {
    max-width: 420px;
    padding: 18px 20px;
    border-radius: var(--r-xl);
    background: radial-gradient(circle at top left, #1e486c, #08131e 55%, #02070d 90%);
    border: 1px solid rgba(150,190,255,0.35);
    box-shadow: var(--shadow-medium);
}

.sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-xs);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    opacity: .9;
}

.sc-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sc-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--c-primary-1);
    box-shadow: 0 0 10px rgba(6,193,103,0.9);
}

.sc-label {
    padding: 3px 8px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.35);
}

.sc-body {
    font-size: var(--fs-sm);
    opacity: .9;
    line-height: 1.65;
    margin-top: var(--sp-3);
}

.sc-footer {
    margin-top: var(--sp-3);
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: var(--fs-xxs);
    opacity: .85;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* GRID SERVICES */

.services-grid {
    display: grid;
    gap: var(--sp-5);
    margin-top: var(--sp-4);
}

.service-card {
    padding: var(--sp-5);
    border: 1px solid var(--c-border-light);
    border-radius: var(--r-card);
    background: rgba(255,255,255,0.05);
    box-shadow: var(--shadow-soft);
}

.service-card h3 {
    margin-bottom: var(--sp-2);
}

.service-card p {
    font-size: var(--fs-sm);
    opacity: .9;
    line-height: 1.65;
}

/* ACCOMP */

.accomp-grid {
    display: grid;
    gap: var(--sp-5);
    margin-top: var(--sp-4);
}

.accomp-card {
    padding: var(--sp-5);
    border: 1px solid var(--c-border-light);
    background: rgba(255,255,255,0.05);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-soft);
}

.accomp-card h3 {
    margin-bottom: var(--sp-2);
}

.accomp-card p {
    font-size: var(--fs-sm);
    opacity: .9;
    line-height: 1.65;
}

/* CTA FINAL */

.cta-final {
    text-align: center;
    margin-top: var(--sp-8);
}

.cta-final h2 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-3);
}

/* RESPONSIVE */

@media (min-width: 900px) {
    .hero-services {
        grid-template-columns: 1.6fr 1fr;
    }

    .services-grid,
    .accomp-grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    .hero-services {
        padding-top: var(--sp-6);
    }

    .services-card {
        max-width: 100%;
    }
}
/* ===========================================================
   FIX — "Nos services principaux" : texte cassé (layout 2 colonnes)
   Cause: un style global sur .service-card (display:flex / columns)
   Scope: uniquement .services-page
=========================================================== */

.services-page .services-grid .service-card{
  display: block !important;
  text-align: left !important;
}

.services-page .services-grid .service-card > h3,
.services-page .services-grid .service-card > p{
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* évite des comportements de césure/break agressifs dans cette zone */
.services-page .services-grid .service-card{
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}
/* POLISH — cohérence des 2 grilles */
.services-page .services-grid,
.services-page .accomp-grid{
  align-items: stretch;
}

.services-page .services-grid .service-card,
.services-page .accomp-grid .accomp-card{
  height: 100%;
}

/* Titres des cartes: spacing + lisibilité */
.services-page .service-card h3,
.services-page .accomp-card h3{
  margin-bottom: 10px;
  line-height: 1.2;
}

/* Texte: confort lecture */
.services-page .service-card p,
.services-page .accomp-card p{
  line-height: 1.65;
}
.service-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
