/* =======================================================================
   sgl.css — styles spécifiques à la page SyndiLibre Locatif (SGL)
   Tout hérite des tokens de styles.css — aucune couleur nouvelle.
   ======================================================================= */

/* ---------- Hero : variante de marque ---------- */
.sgl-logo-suffix { color: var(--violet-lighter); }
.nav.scrolled .sgl-logo-suffix { color: var(--violet); }

/* ---------- Mockup gérance (hero) ---------- */
.sgl-app {
    display: grid;
    grid-template-columns: 158px 1fr;
    background: var(--bg-soft);
    min-height: 360px;
    font-size: 11.5px;
    text-align: left;
}
.sgl-side {
    background: #1a1530;
    color: rgba(255,255,255,0.7);
    padding: 14px 0;
}
.sgl-side-cab {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    padding: 0 14px;
    margin-bottom: 12px;
}
.sgl-side-item {
    padding: 7px 14px;
    font-size: 11.5px;
    display: flex; align-items: center; gap: 8px;
}
.sgl-side-item.active {
    background: rgba(167,139,250,0.16);
    color: #fff;
    border-left: 2px solid var(--violet-lighter);
    padding-left: 12px;
}
.sgl-main { padding: 14px 16px; }
.sgl-main-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 10px;
    display: flex; justify-content: space-between; align-items: center;
}
.sgl-main-count {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-4);
    font-weight: 400;
}
.sgl-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 6px;
}
.sgl-row-who { min-width: 0; }
.sgl-row-resi {
    font-weight: 500;
    color: var(--ink);
    font-size: 11.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sgl-row-loc {
    font-size: 10.5px;
    color: var(--ink-4);
    white-space: nowrap;
}
.sgl-row-rent {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--ink-3);
    white-space: nowrap;
}
.sgl-tags { display: flex; gap: 4px; flex-shrink: 0; }
.sgl-tag {
    font-size: 9px;
    font-family: var(--font-mono);
    padding: 3px 7px;
    border-radius: 100px;
    white-space: nowrap;
}
.sgl-tag.ok    { background: rgba(16,185,129,0.12); color: #0a7c5c; }
.sgl-tag.ia    { background: var(--violet-soft); color: var(--violet-deep); }
.sgl-tag.alert { background: rgba(245,158,11,0.14); color: #92600a; }

/* ---------- Section "Comptez vos abonnements" ---------- */
.sgl-addition {
    display: grid;
    grid-template-columns: 1fr auto 1.05fr;
    gap: 36px;
    align-items: center;
}
.sgl-pile { display: flex; flex-direction: column; }
.sgl-pile-row {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px;
    padding: 13px 4px;
    border-bottom: 1px dashed var(--line);
}
.sgl-pile-row s {
    font-size: 16.5px;
    color: var(--ink-3);
    text-decoration-color: rgba(239,68,68,0.55);
    text-decoration-thickness: 1.5px;
}
.sgl-pile-cost {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-4);
    white-space: nowrap;
}
.sgl-arrow {
    font-size: 40px;
    color: var(--violet);
    font-weight: 300;
    line-height: 1;
}
.sgl-replace-card {
    background: linear-gradient(180deg, var(--violet-darker) 0%, var(--violet-darkest) 100%);
    color: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}
.sgl-replace-card::before {
    content: ""; position: absolute;
    top: -40%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(167,139,250,0.22) 0%, transparent 60%);
    pointer-events: none;
}
.sgl-replace-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    position: relative;
}
.sgl-replace-price {
    font-size: clamp(34px, 3.4vw, 46px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 18px;
    position: relative;
}
.sgl-replace-price small {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0;
    margin-top: 6px;
}
.sgl-replace-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    position: relative;
}

/* ---------- Écosystème 10 briques ---------- */
.sgl-coeur {
    background: var(--violet-softer);
    border: 1px solid var(--violet-soft);
    border-radius: 14px;
    padding: 26px 30px;
    margin-bottom: 22px;
    display: flex; gap: 18px; align-items: flex-start;
}
.sgl-coeur-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--violet);
    color: #fff;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.sgl-coeur-text {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-2);
}
.sgl-coeur-text strong { color: var(--ink); font-weight: 600; }
.sgl-briques {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.sgl-brique {
    padding: 22px 20px 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: all 0.25s;
}
.sgl-brique:hover {
    transform: translateY(-3px);
    border-color: var(--violet-lighter);
    box-shadow: 0 12px 32px -14px rgba(109, 40, 217, 0.22);
}
.sgl-brique-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: var(--violet-soft);
    color: var(--violet);
    display: grid; place-items: center;
    margin-bottom: 14px;
}
.sgl-brique-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    line-height: 1.3;
}
.sgl-brique-desc {
    font-size: 12.5px;
    color: var(--ink-3);
    line-height: 1.55;
}

/* ---------- Spotlight téléphonie ---------- */
.sgl-tel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}
.sgl-tel-points { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.sgl-tel-point {
    padding: 16px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.8);
}
.sgl-tel-point strong { color: #fff; font-weight: 600; }

.sgl-call {
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 40px 90px -30px rgba(0,0,0,0.55);
    color: var(--ink);
}
.sgl-call-head {
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.sgl-live-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
    animation: sglPulse 1.6s infinite;
    flex-shrink: 0;
}
@keyframes sglPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
    50% { box-shadow: 0 0 0 8px rgba(16,185,129,0.07); }
}
.sgl-call-title { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.sgl-call-sub { font-size: 12.5px; color: var(--ink-4); margin-top: 2px; }
.sgl-call-timer {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ink-3);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 5px 10px;
    border-radius: 7px;
}
.sgl-ia-panel {
    background: var(--violet-softer);
    border: 1px solid var(--violet-soft);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 18px;
}
.sgl-ia-panel-label {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet-deep);
    margin-bottom: 12px;
}
.sgl-ia-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--violet);
    animation: sglPulseV 1.6s infinite;
}
@keyframes sglPulseV {
    0%, 100% { box-shadow: 0 0 0 3px rgba(109,40,217,0.2); }
    50% { box-shadow: 0 0 0 7px rgba(109,40,217,0.06); }
}
.sgl-ia-line {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(109,40,217,0.08);
    font-size: 13px;
}
.sgl-ia-line:last-child { border-bottom: none; }
.sgl-ia-line dt {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--ink-4);
    text-transform: uppercase;
    padding-top: 2px;
}
.sgl-ia-line dd { margin: 0; color: var(--ink-2); line-height: 1.45; }
.sgl-ia-line.suggestion {
    background: rgba(109,40,217,0.06);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 4px -10px -4px;
    border-bottom: none;
}
.sgl-ia-line.suggestion dd { color: var(--violet-darker); font-weight: 500; }
.sgl-call-actions { display: flex; gap: 10px; }
.sgl-call-btn {
    flex: 1;
    padding: 11px 0;
    border-radius: 9px;
    font-weight: 500;
    font-size: 13.5px;
    text-align: center;
    transition: all 0.15s;
}
.sgl-call-btn.answer { background: var(--green); color: #fff; }
.sgl-call-btn.answer:hover { filter: brightness(1.08); }
.sgl-call-btn.transfer { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.sgl-call-btn.transfer:hover { border-color: var(--ink-4); }
.sgl-call-btn.hangup { background: rgba(239,68,68,0.1); color: var(--red); }
.sgl-call-btn.hangup:hover { background: rgba(239,68,68,0.18); }
.sgl-call-legend {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.sgl-call-legend strong { color: #fff; font-weight: 600; }

/* ---------- Flow synchro ---------- */
.sgl-flow {
    display: grid;
    grid-template-columns: 1fr auto 1.1fr auto 1fr;
    gap: 18px;
    align-items: stretch;
}
.sgl-flow-step {
    padding: 26px 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.sgl-flow-step.featured {
    background: var(--violet-softer);
    border-color: var(--violet-soft);
    box-shadow: 0 12px 36px -18px rgba(109,40,217,0.3);
}
.sgl-flow-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 12px;
}
.sgl-flow-text { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.sgl-flow-text strong { color: var(--ink); font-weight: 600; }
.sgl-flow-arrow {
    align-self: center;
    font-size: 26px;
    color: var(--violet-lighter);
    font-weight: 300;
}
.sgl-flow-foot {
    max-width: 760px;
    margin: 36px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-3);
}
.sgl-flow-foot strong { color: var(--ink); font-weight: 600; }

/* ---------- Site web — 3 temps ---------- */
.sgl-temps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.sgl-temp {
    padding: 28px 26px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    position: relative;
}
.sgl-temp-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--violet);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.sgl-temp-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 8px;
}
.sgl-temp-desc { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

/* ---------- Tarifs 2 colonnes ---------- */
.sgl-tarifs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}
.sgl-tarifs-note {
    max-width: 720px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-4);
}

/* ---------- Preuve ---------- */
.sgl-preuves {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.sgl-preuve {
    padding: 32px 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
}
.sgl-preuve-num {
    font-size: clamp(34px, 3.2vw, 44px);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--violet);
    line-height: 1.1;
    margin-bottom: 12px;
}
.sgl-preuve-text { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .sgl-addition { grid-template-columns: 1fr; gap: 20px; }
    .sgl-arrow { transform: rotate(90deg); text-align: center; margin: 0 auto; }
    .sgl-briques { grid-template-columns: repeat(2, 1fr); }
    .sgl-tel { grid-template-columns: 1fr; gap: 36px; }
    .sgl-flow { grid-template-columns: 1fr; }
    .sgl-flow-arrow { transform: rotate(90deg); text-align: center; margin: 0 auto; }
    .sgl-temps { grid-template-columns: 1fr; }
    .sgl-tarifs { grid-template-columns: 1fr; }
    .sgl-preuves { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sgl-briques { grid-template-columns: 1fr; }
    .sgl-app { grid-template-columns: 1fr; }
    .sgl-side { display: none; }
    .sgl-tags { flex-wrap: wrap; }
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .sgl-live-dot, .sgl-ia-dot { animation: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero-eyebrow, .hero-title, .hero-sub, .hero-ctas, .hero-trust, .hero-product { animation: none !important; }
    .eyebrow::before { animation: none !important; }
    * { scroll-behavior: auto !important; }
}
