/* ============================================================
   PAGE SWIFTO ET SHOPIFY
   Meme gabarit que les autres pages (infos.css). La synchronisation
   en deux colonnes (lecture, ecriture), le garde-fou centre, la
   connexion en 3 etapes sur le fil de l'A propos, les prerequis.
   ============================================================ */

/* --- Lecture / ecriture : deux colonnes, des filets --- */
.sync {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 80px);
}
.sync__col { min-width: 0; border-top: 1px solid var(--ink); }
.sync__dir {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 18px 0 8px;
    font: var(--weight-bold) clamp(22px, 2.2vw, 28px)/1.2 var(--font-ui);
    letter-spacing: var(--track-tight);
    color: var(--ink);
}
.sync__dir span {
    font: var(--type-label);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
}
.sync ul { margin: 0; padding: 0; list-style: none; }
.sync li {
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--muted);
}
.sync li strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font-weight: var(--weight-semibold);
}
.sync__note {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--primary-quiet);
    font: var(--weight-medium) 15px/1.5 var(--font-ui);
    color: var(--ink);
}

/* --- Le garde-fou : une phrase centree sur fond leger --- */
.guard {
    padding: clamp(56px, 7vw, 96px) 0;
    background: var(--surface-soft);
    box-shadow: 0 0 0 100vmax var(--surface-soft);
    clip-path: inset(0 -100vmax);
    text-align: center;
}
.guard .eyebrow { display: flex; justify-content: center; }
.guard__title {
    max-width: 900px;
    margin: 0 auto;
    font: var(--weight-bold) clamp(26px, 3.4vw, 42px)/1.2 var(--font-ui);
    letter-spacing: var(--track-tight);
    color: var(--ink);
    text-wrap: balance;
}
.guard p:not(.eyebrow) {
    max-width: 62ch;
    margin: 22px auto 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    text-wrap: pretty;
}

/* --- La connexion : le fil de l'A propos, en 3 etapes --- */
@media (min-width: 1081px) {
    .path--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.path__after {
    margin: var(--gap-title) 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--body);
}
.path__after a,
.prereq a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary-quiet);
    text-underline-offset: 3px;
}
.path__after a:hover,
.prereq a:hover { text-decoration-color: currentColor; }

/* --- Prerequis : quatre lignes en deux colonnes --- */
.prereq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 5vw, 80px);
    margin: 0;
    border-top: 1px solid var(--hairline);
}
.prereq div { padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.prereq dt { font: var(--type-title-sm); color: var(--ink); }
.prereq dd {
    margin: 6px 0 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--muted);
}

@media (max-width: 760px) {
    .sync,
    .prereq { grid-template-columns: 1fr; }
}
