/* ============================================
   Services — le ciel : trois façons de travailler avec nous
   Dans une carte de section gris chaud (.os-card, os-base.css), trois
   panneaux blancs au même
   gabarit, aucun n'affiche de prix : « Sur devis » tient la place du
   montant, le périmètre se définit après un premier échange. La
   section est jaune (data-tint), chaque formule a sa teinte comme les offres
   de l'accueil : jaune, bleu pour celle du milieu (son liseré, sa
   touche, la feuille décalée), rouge ; les coches la reprennent.
   ============================================ */

.svc-sky {
    margin-top: var(--section);
}

.svc-sky__title {
    max-width: 20ch;
    font-size: clamp(1.9rem, 4.6vw, 3.2rem);
    font-weight: var(--w-medium);
    line-height: 1.1;
    letter-spacing: var(--track-optical);
    text-wrap: balance;
}

.svc-sky__lede {
    max-width: 46ch;
    text-wrap: balance;
}

.svc-plans {
    display: grid;
    gap: 18px;
    margin-top: clamp(36px, 5vw, 56px);
    list-style: none;
}

.svc-plan {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--r-panel);
    background: var(--paper);
    box-shadow: 0 0 0 var(--hair) var(--edge), var(--relief), var(--shadow-soft);
    color: var(--ink);
    overflow: hidden;
}

/* La barre : celle des fenêtres, blanche, les trois pastilles à gauche. */
.svc-plan__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--win-bar-h);
    padding: 0 12px;
    background: var(--win-bar);
    box-shadow: inset 0 -1px 0 var(--line);
    font-family: var(--font-mono);
    color: var(--win-bar-ink);
}

/* La formule mise en avant : liseré de sa teinte, feuille décalée dessous. */
.svc-plan--main {
    box-shadow: 0 0 0 var(--hair) var(--klein-deep), var(--relief), var(--sheet), var(--shadow-object);
}

.svc-plan__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 24px 22px 26px;
    text-align: center;
}

.svc-plan__name {
    font-size: 1.4rem;
    font-weight: var(--w-medium);
    letter-spacing: var(--track-optical);
}

.svc-plan__line {
    margin-top: 8px;
    text-wrap: balance;
}

/* « Sur devis » à la place du montant, entre deux lignes de points. */
.svc-plan__quote {
    width: 100%;
    margin-top: 20px;
    padding: 18px 0 6px;
    border-top: 2px dotted var(--line-strong);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: var(--w-medium);
    line-height: 1.1;
    letter-spacing: var(--track-optical);
}

.svc-plan__for {
    width: 100%;
    padding-bottom: 18px;
    border-bottom: 2px dotted var(--line-strong);
    font-size: var(--t-small);
    color: var(--ink-muted);
}

.svc-plan__list {
    display: grid;
    gap: 10px;
    width: 100%;
    margin: 20px 0 24px;
    list-style: none;
    text-align: left;
}

.svc-plan__list li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    font-size: var(--t-small);
    line-height: 1.45;
}

.svc-plan__list li::before {
    content: '';
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background: var(--klein-text);
    -webkit-mask: url('../assets/icons/sym-check.svg') center / contain no-repeat;
    mask: url('../assets/icons/sym-check.svg') center / contain no-repeat;
}

/* Le bouton se cale en bas : les trois cartes alignent leurs boutons. */
.svc-plan .key-btn {
    margin-top: auto;
    align-self: stretch;
}

@media (min-width: 900px) {
    .svc-plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
