/* —— Landing stratégique getSendly —— */

.page-home {
    --container: min(1160px, calc(100% - 48px));
}

.page-home .container { width: var(--container); }

.page-home section[id] { scroll-margin-top: 96px; }

/* Hero */
.page-home .hero {
    position: relative;
    padding: 72px 0 56px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 92% 0%, rgba(49, 87, 213, .13), transparent 58%),
        radial-gradient(ellipse 35% 40% at 0% 90%, rgba(19, 184, 196, .09), transparent 50%),
        var(--gs-bg);
}

.page-home .hero::before { display: none; }

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
    gap: 52px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 4.6vw, 3.85rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.hero-copy .lede {
    margin-top: 20px;
    max-width: 36rem;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-pillars {
    margin-top: 22px;
    color: var(--gs-text-secondary);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Orbit composition */
.orbit {
    position: relative;
    min-height: 420px;
    min-width: 0;
    padding: 28px 20px 20px;
}

.orbit-note {
    position: absolute;
    top: 0;
    right: 8px;
    margin: 0;
    color: var(--gs-text-secondary);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.orbit-core {
    position: relative;
    z-index: 2;
    width: min(260px, 70%);
    margin: 48px auto 0;
    padding: 22px 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--gs-border);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.orbit-label,
.orbit-card span {
    display: block;
    color: var(--gs-accent);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.orbit-core strong,
.orbit-card strong {
    display: block;
    margin-top: 6px;
    font-size: .95rem;
    letter-spacing: -0.02em;
    color: var(--gs-text);
}

.orbit-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    height: 36px;
    margin-top: 14px;
}

.orbit-bars i {
    width: 14px;
    border-radius: 4px 4px 0 0;
    background: var(--gs-primary-soft);
}

.orbit-bars i:nth-child(1) { height: 40%; }
.orbit-bars i:nth-child(2) { height: 72%; background: rgba(19, 184, 196, .35); }
.orbit-bars i:nth-child(3) { height: 55%; background: var(--gs-primary); opacity: .65; }

.orbit-card {
    position: absolute;
    z-index: 1;
    max-width: 180px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--gs-border);
    box-shadow: var(--shadow-md);
}

.orbit-create { top: 36px; left: 0; }
.orbit-flow { top: 36px; right: 0; }
.orbit-send { bottom: 28px; left: 4%; max-width: 200px; }
.orbit-insight { bottom: 40px; right: 2%; }

.sparkline {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
    margin-top: 10px;
}

.sparkline b {
    flex: 1;
    border-radius: 2px;
    background: var(--gs-primary-soft);
}

.sparkline b:nth-child(1) { height: 30%; }
.sparkline b:nth-child(2) { height: 45%; }
.sparkline b:nth-child(3) { height: 38%; }
.sparkline b:nth-child(4) { height: 70%; background: var(--gs-accent); opacity: .55; }
.sparkline b:nth-child(5) { height: 85%; background: var(--gs-primary); opacity: .7; }
.sparkline b:nth-child(6) { height: 55%; }
.sparkline b:nth-child(7) { height: 42%; }

/* Sections shared */
.intro-narrow { max-width: 640px; }

.intro-narrow h2 {
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    margin-bottom: 12px;
}

.intro-narrow p { color: var(--gs-text-secondary); }

.section-pillars-intro { padding-bottom: 24px; }

.section-lede {
    margin-top: 14px;
    max-width: 38rem;
    color: var(--gs-text-secondary);
    font-size: 1.05rem;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 48px;
    align-items: center;
}

.section-intro { max-width: 680px; margin-bottom: 36px; }

.section-intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }

.section-intro p:last-child { margin-top: 12px; color: var(--gs-text-secondary); }

.section-intro.on-dark h2 { color: #fff; }

.section-intro.on-dark p:last-child { color: #b8c2d9; }

.section-dark { background: #172033; color: #fff; }

.section-foot {
    margin-top: 28px;
    max-width: 48rem;
    color: var(--gs-text-secondary);
    font-size: .95rem;
}

.section-foot.on-dark { color: #b8c2d9; }

.fine-print {
    margin-top: 16px;
    color: var(--gs-text-secondary);
    font-size: .88rem;
}

.check-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    font-weight: 500;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gs-accent);
}

.steps-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.steps-list li {
    padding: 12px 0 12px 14px;
    border-left: 3px solid var(--gs-primary);
    color: var(--gs-text-secondary);
    font-size: .98rem;
}

.steps-list strong { color: var(--gs-text); }

/* Create viz */
.viz-create {
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--gs-border);
    box-shadow: var(--shadow-md);
}

.viz-brief {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #172033, #3157D5);
    color: #fff;
}

.viz-brief span {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8fe3e8;
}

.viz-brief p { margin-top: 6px; font-weight: 600; }

.viz-arrow {
    width: 2px;
    height: 18px;
    margin: 10px auto;
    background: linear-gradient(var(--gs-primary), var(--gs-accent));
}

.viz-outputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.viz-outputs article {
    padding: 12px;
    border-radius: 12px;
    background: var(--gs-bg);
}

.viz-outputs b { display: block; font-size: .9rem; }

.viz-outputs span {
    display: block;
    margin-top: 4px;
    color: var(--gs-text-secondary);
    font-size: .78rem;
}

.viz-caption {
    margin-top: 12px;
    color: var(--gs-text-secondary);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Governance */
.govern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.govern-grid article {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
}

.govern-grid h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #fff;
}

.govern-grid p {
    color: #b8c2d9;
    font-size: .92rem;
}

/* Heatmap */
.viz-heatmap {
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--gs-border);
    box-shadow: var(--shadow-md);
}

.heat-legend {
    display: flex;
    justify-content: space-between;
    margin: 8px 0 12px;
    color: var(--gs-text-secondary);
    font-size: .75rem;
}

.heat-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.heat-grid i {
    aspect-ratio: 1;
    border-radius: 8px;
    display: block;
}

.heat-1 { background: #eef2ff; }
.heat-2 { background: #d5defb; }
.heat-3 { background: #9eb0f0; }
.heat-4 { background: #3157D5; }
.heat-5 { background: #13B8C4; }

.heat-axis {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    text-align: center;
    color: var(--gs-text-secondary);
    font-size: .7rem;
}

/* Performance questions */
.questions-panel {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--gs-border);
}

.questions-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.questions-panel li {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--gs-bg);
    font-weight: 600;
    letter-spacing: -0.01em;
    border-left: 3px solid var(--gs-primary);
}

.questions-panel li:nth-child(even) { border-left-color: var(--gs-accent); }

.questions-side p { color: var(--gs-text-secondary); }

.questions-side p + p { margin-top: 14px; }

/* Cycle */
.cycle-ring {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.cycle-ring li {
    position: relative;
    padding: 20px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--gs-border);
    text-align: center;
}

.cycle-ring li::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--gs-border);
    transform: translateY(-50%);
}

.cycle-ring li:last-child::after { display: none; }

.cycle-ring b {
    display: block;
    color: var(--gs-accent);
    font-size: .72rem;
    letter-spacing: .1em;
}

.cycle-ring strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 1.05rem;
}

.cycle-ring span {
    color: var(--gs-text-secondary);
    font-size: .85rem;
}

/* Trust */
.section-trust-block { padding-top: 40px; }

.trust-panel {
    padding: clamp(28px, 4vw, 40px);
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--gs-border);
    box-shadow: var(--shadow-sm);
}

.trust-panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 8px;
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 18px;
    padding: 0;
    list-style: none;
}

.trust-points li {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--gs-bg);
    font-size: .92rem;
    font-weight: 500;
}

/* Finale */
.finale {
    padding: clamp(40px, 6vw, 72px);
    color: #fff;
    background:
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(49, 87, 213, .35), transparent 55%),
        #172033;
    border-radius: 32px;
}

.finale h2 {
    max-width: 16ch;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.eyebrow-on-dark { color: #8fe3e8; }

.finale-lede {
    margin-top: 14px;
    max-width: 34rem;
    color: #b8c2d9;
}

.finale-actions { margin-top: 28px; }

.btn-light { background: #fff; color: var(--gs-text); }

.btn-light:hover { background: #f3f6fb; color: var(--gs-text); }

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Responsive */
@media (max-width: 1100px) {
    .hero-layout,
    .split,
    .questions-panel { grid-template-columns: 1fr; }

    .govern-grid,
    .trust-points { grid-template-columns: 1fr 1fr; }

    .cycle-ring { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .cycle-ring li:nth-child(3)::after { display: none; }

    .orbit {
        min-height: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-top: 28px;
    }

    .orbit-note { left: 0; right: auto; }

    .orbit-core,
    .orbit-card {
        position: static;
        width: auto;
        max-width: none;
        margin: 0;
    }

    .orbit-core { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
    .page-home .container { width: min(1160px, calc(100% - 28px)); }

    .hero-copy h1 { max-width: none; }

    .hero-actions .btn { width: 100%; justify-content: center; }

    .orbit,
    .govern-grid,
    .trust-points,
    .cycle-ring,
    .viz-outputs { grid-template-columns: 1fr; }

    .cycle-ring li::after { display: none; }

    .finale { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .btn:hover { transform: none; }
}
