/* ═══════════════════════════════════════════════════════════════
   EXTRAS.CSS — Sud Web Project
   Maintenance et options à la carte.

   Deux corrections de fond :
   · la maintenance reprenait le patron de cartes qu'on vient
     d'abandonner pour les formules — deux colonnes réglées le
     remplacent, avec le même principe d'incrément
   · les options affichaient « Sur devis » cinq fois sur six : une
     colonne entière qui ne dit rien. La mention passe en pied de
     liste, une seule fois.

   À CHARGER après pricing.css, avant type.css.
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   1 · LA MAINTENANCE
   ═══════════════════════════════════════════════════════════════ */
.care {
    position: relative;
    margin-top: 7rem;
    padding-top: 4.5rem;
    border-top: 1px solid var(--border);
    background: none !important;
    border-radius: 0;
    box-shadow: none;
    padding-inline: 0;
}

.care-head {
    max-width: 46ch;
    margin-bottom: 4rem;
}

.care-head h3 {
    font-family: var(--ff-display) !important;
    font-weight: 400 !important;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem) !important;
    line-height: 1.14;
    letter-spacing: -.012em;
    color: #E9EEF6;
    margin: 0 0 .9rem !important;
}

.care-head p {
    font-size: .95rem;
    line-height: 1.8;
    color: #8B98AB;
    margin: 0;
}

/* ── Les deux colonnes ── */
.care-cols {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 4.5rem;
    align-items: start;
}

/* Le filet vertical, tracé de haut en bas */
.care-rule {
    align-self: stretch;
    width: 1px;
    background: linear-gradient(180deg,
            rgba(147, 196, 253, .28),
            rgba(147, 196, 253, .06));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.1s var(--ease);
}

.care-cols.is-drawn .care-rule {
    transform: scaleY(1);
}

.care-col {
    background: none;
    border: none;
    padding: 0;
}

.care-name {
    display: block;
    font-family: var(--ff-body);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #6E7C90;
    margin-bottom: 1.1rem;
}

.care-col--2 .care-name {
    color: var(--blue-l);
}

.care-price {
    display: block;
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
    line-height: .95;
    letter-spacing: -.03em;
    color: #E9EEF6;
    font-variant-numeric: tabular-nums;
    margin-bottom: 1.9rem;
}

.care-col--2 .care-price {
    color: #fff;
}

.care-cur {
    font-size: .46em;
    margin-left: .06em;
}

.care-per {
    font-family: var(--ff-body);
    font-size: .21em;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #5C697D;
    margin-left: .5em;
    vertical-align: middle;
}

.care-carry {
    display: block;
    font-family: var(--ff-body);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #B7C6DA;
    margin-bottom: 1.05rem;
}

.care-carry em {
    font-style: normal;
    color: #4E5A6C;
    font-weight: 500;
}

.care-feats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.care-feats li {
    position: relative;
    padding-left: 1.15rem;
    font-family: var(--ff-body);
    font-size: .88rem;
    line-height: 1.6;
    color: #94A3B8;
}

.care-feats li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 7px;
    background: rgba(147, 196, 253, .45);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.care-col--2 .care-feats li::before {
    background: var(--blue-l);
}

.care-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 3.5rem;
    font-family: var(--ff-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #B7C6DA;
    text-decoration: none;
    border-bottom: 1px solid rgba(147, 196, 253, .28);
    padding-bottom: 2px;
    transition: color .35s var(--ease), border-color .35s var(--ease);
}

.care-link:hover {
    color: #fff;
    border-bottom-color: var(--blue-l);
}

/* ═══════════════════════════════════════════════════════════════
   2 · LES OPTIONS
   Un index numéroté, même grammaire que le hub métiers.
   ═══════════════════════════════════════════════════════════════ */
.opts {
    margin-top: 7rem;
    padding-top: 4.5rem;
    border-top: 1px solid var(--border);
    background: none !important;
    border-radius: 0;
    box-shadow: none;
    padding-inline: 0;
}

.opts .opts-head {
    text-align: left;
    max-width: 46ch;
    margin-bottom: 3.5rem;
}

.opts .opts-head h3 {
    font-family: var(--ff-display) !important;
    font-weight: 400 !important;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem) !important;
    line-height: 1.14;
    letter-spacing: -.012em;
    color: #E9EEF6;
    margin: 0 !important;
}

.opt-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
}

.opt-row {
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0 2.5rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--border);
}

/* Le filet qui se remplit au survol */
.opt-row::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, var(--blue-l), rgba(147, 196, 253, .1));
    transition: width .7s var(--ease);
}

.opt-row:hover::after {
    width: 100%;
}

.opt-idx {
    font-family: var(--ff-body);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .18em;
    color: #4E5A6C;
    font-variant-numeric: tabular-nums;
    transition: color .4s ease;
}

.opt-row:hover .opt-idx {
    color: var(--blue-l);
}

.opt-main strong {
    display: block;
    font-family: var(--ff-body);
    font-size: .96rem;
    font-weight: 600;
    color: #D7DFEA;
    margin-bottom: .3rem;
    transition: color .4s ease, transform .5s var(--ease);
}

.opt-row:hover .opt-main strong {
    color: #fff;
    transform: translateX(6px);
}

.opt-main span {
    display: block;
    font-family: var(--ff-body);
    font-size: .83rem;
    line-height: 1.65;
    color: #6E7C90;
    max-width: 52ch;
    transition: transform .5s var(--ease);
}

.opt-row:hover .opt-main span {
    transform: translateX(6px);
}

/* Le tarif : discret, et seulement quand il y en a un */
.opt-tag {
    font-family: var(--ff-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #5C697D;
    white-space: nowrap;
}

.opt-tag--rate {
    color: #B7C6DA;
}

.opts-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
    font-family: var(--ff-body);
    font-size: .8rem;
    color: #6E7C90;
}

.opts-foot a {
    color: var(--blue-l);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease);
}

.opts-foot a:hover {
    border-bottom-color: var(--blue-l);
}

/* ═══════════════════════════════════════════════════════════════
   3 · LA NOTE DE PIED
   ═══════════════════════════════════════════════════════════════ */
.pricing-note {
    margin-top: 4rem !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    max-width: 60ch;
    margin-inline: auto;
}

.pricing-note p {
    font-family: var(--ff-body);
    font-size: .78rem;
    line-height: 1.75;
    color: #5C697D;
    text-align: center;
}

.pricing-note strong {
    color: #94A3B8;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   4 · REPLI — l'ancienne mise en forme
   ═══════════════════════════════════════════════════════════════ */
.maint-plans,
.maint-price-hero,
.opts-grid,
.opts-cta {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   5 · RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

    .care,
    .opts {
        margin-top: 4.5rem;
        padding-top: 3.25rem;
    }

    .care-head,
    .opts .opts-head {
        margin-bottom: 2.5rem;
    }

    .care-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .care-rule {
        display: none;
    }

    .care-col--2 {
        padding-top: 2.5rem;
        border-top: 1px solid var(--border);
    }

    .care-link {
        margin-top: 2.5rem;
    }

    .opt-row {
        grid-template-columns: 2.25rem 1fr;
        gap: .5rem 1rem;
        padding: 1.35rem 0;
    }

    .opt-tag {
        grid-column: 2;
    }

    .opt-row:hover .opt-main strong,
    .opt-row:hover .opt-main span {
        transform: none;
    }

    .opts-foot {
        flex-direction: column;
        gap: .75rem;
    }
}

@media (max-width: 768px) {
    .care-price {
        font-size: 2.2rem;
    }

    .care-feats li {
        font-size: .84rem;
    }

    .opt-main strong {
        font-size: .9rem;
    }

    .opt-main span {
        font-size: .8rem;
    }
}