/* =========================================================
   STOKOLM — Pages services
   Hero clair, key-facts hairline, solutions, tableaux,
   process, FAQ, cross-sell. Pas de gradients.
   ========================================================= */

/* ============== HERO SECONDAIRE (clair) ============== */
.service-hero {
    position: relative;
    background: var(--stk-cream-50);
    color: var(--stk-ink-900);
    padding: 32px 0 var(--stk-section-y);
    overflow: visible;
    isolation: auto;
}
.service-hero::before { display: none; }
.service-hero--accent { background: var(--stk-cream-50); }
.service-hero__container {
    display: grid;
    gap: 48px;
    align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .service-hero__container { grid-template-columns: 1.4fr 1fr; }
}

.service-hero .breadcrumb { margin-bottom: 24px; }
.service-hero .breadcrumb__list { color: var(--stk-stone-600); }
.service-hero .breadcrumb__list a { color: var(--stk-stone-600); }
.service-hero .breadcrumb__list a:hover { color: var(--stk-forest-500); }
.service-hero .breadcrumb__item:not(:last-child)::after { color: var(--stk-stone-400); }

.service-hero__eyebrow {
    margin-bottom: 24px;
    background: var(--stk-forest-100);
    color: var(--stk-forest-700);
    border: 0;
    font-family: var(--stk-mono);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}
/* .service-hero__title{...} et .service-hero__title-highlight{...}
   définis dans components.css (source unique de vérité). */
.service-hero__lead {
    font-size: 18px;
    color: var(--stk-stone-600);
    line-height: 1.55;
    margin: 0 0 40px;
    max-width: 56ch;
}
.service-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Visual hero — photo topique en background + chiffres en surimpression
   (pattern "mix photo + chiffres" du brief Stokolm §2.1)
   Si aucune image : on garde le fond forest-900 sobre. */
.service-hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--stk-radius-xl);
    background-color: var(--stk-forest-900);
    background-image: var(--page-hero-image, none);
    background-size: cover;
    background-position: center;
    color: var(--stk-cream-50);
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
}
.service-hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(14, 42, 31, 0.45) 0%, rgba(14, 42, 31, 0.92) 100%);
    display: block;
}

/* .service-hero__big-stat*, .service-hero__mini-stat* définis
   dans components.css (source unique de vérité). */

/* ============== KEY FACTS (bandeau hairline) ============== */
.key-facts {
    background: transparent;
    border-top: 1px solid var(--stk-cream-200);
    border-bottom: 1px solid var(--stk-cream-200);
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    border-radius: 0;
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
}
@media (min-width: 768px)  { .key-facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .key-facts { grid-template-columns: repeat(4, 1fr); } }
.key-fact {
    text-align: left;
    padding: 32px 24px;
    border-bottom: 1px solid var(--stk-cream-200);
}
@media (min-width: 768px) {
    .key-fact { border-bottom: 0; border-right: 1px solid var(--stk-cream-200); }
    .key-fact:nth-child(2) { border-right: 0; }
}
@media (min-width: 1024px) {
    .key-fact:nth-child(2) { border-right: 1px solid var(--stk-cream-200); }
    .key-fact:last-child   { border-right: 0; }
}
.key-fact__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--stk-radius-md);
    background: var(--stk-forest-100);
    color: var(--stk-forest-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.key-fact__value {
    font-family: var(--stk-font);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--stk-ink-900);
    margin-bottom: 8px;
}
.key-fact__label {
    font-family: var(--stk-mono);
    font-size: 11px;
    color: var(--stk-stone-600);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============== SOLUTIONS GRID ============== */
.solutions-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .solutions-grid { grid-template-columns: repeat(4, 1fr); } }

.solutions-grid--3 {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .solutions-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.solution-card {
    background: var(--stk-cream-50);
    border: 1px solid var(--stk-cream-200);
    border-radius: var(--stk-radius-lg);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color var(--stk-t-medium) var(--stk-ease), transform var(--stk-t-medium) var(--stk-ease);
}
.solution-card:hover {
    border-color: var(--stk-forest-500);
    transform: translateY(-2px);
}
.solution-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--stk-radius-md);
    background: var(--stk-forest-100);
    color: var(--stk-forest-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.solution-card__title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
}
.solution-card__text {
    color: var(--stk-stone-600);
    font-size: 15px;
    line-height: 1.55;
    flex-grow: 1;
    margin: 0;
}
.solution-card__tag {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--stk-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--stk-forest-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============== TIMELINE / PROCESS ============== */
.timeline {
    position: relative;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
@media (min-width: 768px)  { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .timeline { grid-template-columns: repeat(5, 1fr); gap: 32px; } }

.timeline__item {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    counter-increment: step;
    transition: none;
}
.timeline__item:hover { transform: none; box-shadow: none; }
.timeline__step {
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--stk-solar-400);
    box-shadow: none;
    font-family: var(--stk-font);
    font-weight: 400;
    font-size: 56px;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
    border-radius: 0;
    display: block;
}
.timeline__step::before { content: "0" counter(step); }
.timeline__title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.timeline__text {
    color: var(--stk-stone-600);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

/* ============== COMPARISON TABLE ============== */
.compare-table-wrapper {
    overflow-x: auto;
    border-radius: var(--stk-radius-lg);
    border: 1px solid var(--stk-cream-200);
    background: var(--stk-cream-50);
    box-shadow: none;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
.compare-table th,
.compare-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--stk-cream-200);
    font-size: 15px;
    color: var(--stk-ink-900);
    line-height: 1.4;
}
.compare-table thead th {
    background: var(--stk-cream-100);
    font-family: var(--stk-mono);
    font-weight: 500;
    color: var(--stk-stone-600);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.compare-table tbody tr:hover { background: var(--stk-cream-100); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child {
    font-weight: 500;
    color: var(--stk-ink-900);
}
.compare-table .col-highlight {
    background: var(--stk-forest-100);
    color: var(--stk-forest-700);
    font-weight: 500;
}
.compare-table .col-recommended {
    position: relative;
    background: var(--stk-cream-100);
}
.compare-table .col-recommended::before {
    content: 'Populaire';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--stk-solar-600);
    color: var(--stk-cream-50);
    font-family: var(--stk-mono);
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: var(--stk-radius-pill);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============== AIDES INFOGRAPHIE ============== */
.aides-infographic {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .aides-infographic { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .aides-infographic { grid-template-columns: repeat(4, 1fr); } }

.aide-tile {
    background: var(--stk-cream-50);
    border: 1px solid var(--stk-cream-200);
    border-left: 3px solid var(--stk-forest-700);
    border-radius: var(--stk-radius-md);
    padding: 32px 24px;
    box-shadow: none;
    transition: border-color var(--stk-t-medium) var(--stk-ease), transform var(--stk-t-medium) var(--stk-ease);
}
.aide-tile:hover {
    transform: translateY(-2px);
    border-color: var(--stk-cream-200);
    border-left-color: var(--stk-forest-700);
}
.aide-tile--accent { border-left-color: var(--stk-solar-600); }
.aide-tile__amount {
    font-family: var(--stk-font);
    font-size: 36px;
    font-weight: 500;
    color: var(--stk-ink-900);
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.aide-tile--accent .aide-tile__amount { color: var(--stk-solar-600); }
.aide-tile__name {
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--stk-ink-900);
    font-size: 16px;
    letter-spacing: -0.015em;
}
.aide-tile__text {
    color: var(--stk-stone-600);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* ============== CROSS-SELL ============== */
.cross-sell {
    background: var(--stk-forest-900);
    border-radius: var(--stk-radius-lg);
    padding: 64px;
    color: var(--stk-cream-50);
    position: relative;
    overflow: hidden;
}
.cross-sell::before { display: none; }
.cross-sell__inner {
    position: relative;
    display: grid;
    gap: 32px;
    align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .cross-sell__inner { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.cross-sell__title {
    color: var(--stk-cream-50);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}
.cross-sell__text {
    color: var(--stk-cream-100);
    opacity: 0.85;
    line-height: 1.55;
    margin: 0 0 24px;
    font-size: 16px;
    max-width: 56ch;
}
.cross-sell__metrics {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
}
.cross-sell__metric {
    background: rgba(251, 248, 242, 0.04);
    border: 1px solid rgba(251, 248, 242, 0.1);
    border-radius: var(--stk-radius-md);
    padding: 20px 16px;
    text-align: left;
}
.cross-sell__metric-value {
    font-family: var(--stk-font);
    font-size: 28px;
    font-weight: 500;
    color: var(--stk-solar-400);
    background: none;
    -webkit-text-fill-color: var(--stk-solar-400);
    line-height: 1;
    letter-spacing: -0.025em;
}
.cross-sell__metric-label {
    font-family: var(--stk-mono);
    font-size: 11px;
    color: var(--stk-cream-100);
    opacity: 0.7;
    margin-top: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============== PARTNERS LOGOS ============== */
.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
}
.partner-pill {
    padding: 8px 18px;
    background: var(--stk-cream-50);
    border: 1px solid var(--stk-cream-200);
    border-radius: var(--stk-radius-sm);
    font-family: var(--stk-mono);
    font-weight: 500;
    color: var(--stk-stone-600);
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: border-color var(--stk-t-fast) var(--stk-ease), color var(--stk-t-fast) var(--stk-ease);
    opacity: 0.6;
}
.partner-pill:hover {
    border-color: var(--stk-stone-400);
    color: var(--stk-ink-900);
    opacity: 1;
}

/* ============== FAQ ============== */
.faq-list {
    max-width: 880px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    overflow: visible;
}
.faq-list .accordion-item {
    border-bottom: 1px solid var(--stk-cream-200);
}
.faq-list .accordion-trigger {
    padding: 24px 0;
}
.faq-list .accordion-panel__inner {
    padding: 0 0 24px;
}
.faq-list .accordion-item:last-child { border-bottom: 0; }

/* ============== INLINE CTA ============== */
.inline-cta {
    background: var(--stk-forest-900);
    color: var(--stk-cream-50);
    border-radius: var(--stk-radius-lg);
    padding: 64px 48px;
    text-align: center;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.inline-cta__title {
    color: var(--stk-cream-50);
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.035em;
    margin: 0;
}
.inline-cta__text {
    color: var(--stk-cream-100);
    opacity: 0.85;
    font-size: 17px;
    line-height: 1.5;
    max-width: 60ch;
    margin: 0;
}
.inline-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
