/* --------------------------------------------------------------------------
   PAGES INTÉRIEURES (À propos, Activités, RSE / Innovation…)
   Même langage que l'accueil : serif éditoriale, contours, trait vert, révélations.
   Dépend de site.css (tokens, boutons, révélation) et de home.css pour .cb-section,
   .cb-section-title, .cb-eyebrow, .cb-prose, .cb-cta (chargé aussi sur ces pages).
-------------------------------------------------------------------------- */
@import "home-w0ZrWdt.css";

.cb-mist {
    background: var(--cb-mist);
}

.cb-title-left {
    margin: 0 0 1.75rem;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.1;
    color: var(--cb-navy);
}

.cb-title-left::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 2px;
    margin-top: 1.25rem;
    background: var(--cb-green);
}

.cb-eyebrow--light {
    color: #fff;
}

/* --------------------------------------------------------------------------
   EN-TÊTE DE PAGE
-------------------------------------------------------------------------- */
.cb-page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(26rem, 62vh, 40rem);
    overflow: hidden;
    background: var(--cb-navy-dark);
    color: #fff;
}

.cb-page-hero-media {
    position: absolute;
    inset: -8% 0;
    will-change: transform;
}

.cb-page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: cb-hero-zoom 2.6s var(--cb-ease) both;
}

.cb-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 46, 0.45) 0%, rgba(10, 22, 46, 0.25) 40%, rgba(10, 22, 46, 0.85) 100%);
}

.cb-page-hero-content {
    position: relative;
    z-index: 1;
    padding-block: 4rem clamp(2.5rem, 6vw, 4.5rem);
}

.cb-crumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    animation: cb-fade-in 1s 0.1s var(--cb-ease) both;
}

.cb-crumbs a {
    color: inherit;
    text-decoration: none;
}

.cb-crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.cb-crumbs i {
    font-size: 0.65rem;
}

.cb-page-eyebrow {
    margin-bottom: 1.25rem;
    letter-spacing: 0.3em;
}

.cb-page-eyebrow::before,
.cb-page-eyebrow::after {
    display: none;
}

.cb-page-title {
    margin: 0 0 1.5rem;
    color: #fff;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.02;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.cb-page-title .cb-line {
    display: block;
}

.cb-page-title .cb-word {
    display: inline-block;
    overflow: hidden;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
    vertical-align: top;
}

.cb-page-title i {
    display: inline-block;
    font-style: normal;
    transform: translateY(115%) rotate(7deg);
    opacity: 0;
    animation: cb-char-up 1.1s calc(0.3s + var(--i) * 30ms) var(--cb-ease) forwards;
}

.cb-page-lead {
    max-width: 40rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.7;
    animation: cb-fade-in 1s 1.1s var(--cb-ease) both;
}

/* --------------------------------------------------------------------------
   CHIFFRES CLÉS
-------------------------------------------------------------------------- */
.cb-figures {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--cb-line);
}

.cb-figure {
    padding: 1.5rem 1rem;
    text-align: center;
}

.cb-figures .col-6:not(:last-child) .cb-figure {
    border-right: 1px solid var(--cb-line);
}

.cb-figure-value {
    display: block;
    font-family: var(--cb-font-title);
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cb-navy);
    font-variant-numeric: tabular-nums;
}

.cb-figure-label {
    display: block;
    margin-top: 0.9rem;
    color: var(--cb-ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .cb-figures .col-6:nth-child(2) .cb-figure {
        border-right: 0;
    }
}

/* --------------------------------------------------------------------------
   PHOTO ENCADRÉE (cadre vert décalé, à gauche ou à droite)
-------------------------------------------------------------------------- */
.cb-photo {
    position: relative;
}

.cb-photo::before {
    content: '';
    position: absolute;
    inset: 1.75rem 1.75rem -1.75rem -1.75rem;
    border: 2px solid var(--cb-green);
    transition: transform 0.7s var(--cb-ease);
}

.cb-photo--left::before {
    inset: 1.75rem -1.75rem -1.75rem 1.75rem;
}

.cb-photo:hover::before {
    transform: translate(-0.6rem, -0.6rem);
}

.cb-photo--left:hover::before {
    transform: translate(0.6rem, -0.6rem);
}

.cb-photo-frame {
    position: relative;
    overflow: hidden;
    background: var(--cb-mist);
}

.cb-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.4s var(--cb-ease);
}

.cb-photo:hover .cb-photo-frame img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   FRISE HORIZONTALE (À propos — grandes dates)
-------------------------------------------------------------------------- */
.cb-story-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: clamp(1.5rem, 5vw, 5rem);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cb-story-title {
    margin: 0;
    color: var(--cb-navy);
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1.04;
}

.cb-story-title em {
    display: block;
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cb-navy);
}

.cb-story-intro {
    margin: 0 0 1.25rem;
    color: var(--cb-ink-soft);
    font-size: 1.08rem;
    line-height: 1.85;
}

/* Frise verticale : trait central qui se remplit au scroll (--p posée par `timeline`) */
.cb-vtl {
    --p: 1;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-vtl::before,
.cb-vtl::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 50%;
    width: 2px;
    margin-left: -1px;
}

.cb-vtl::before {
    background: var(--cb-line);
}

.cb-vtl::after {
    background: var(--cb-green);
    transform: scaleY(var(--p));
    transform-origin: top;
}

.cb-vtl-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
    padding-block: 0.9rem;
}

/* Point sur le trait */
.cb-vtl-item::before {
    content: '';
    position: absolute;
    top: 1.7rem;
    left: 50%;
    z-index: 1;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: -0.55rem;
    border: 2px solid var(--cb-green);
    border-radius: 50%;
    background: #fff;
    transition: background-color 0.4s ease, transform 0.5s var(--cb-ease);
}

.cb-vtl-item:hover::before {
    background: var(--cb-green);
    transform: scale(1.3);
}

.cb-vtl-year {
    align-self: center;
    font-family: var(--cb-font-title);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.3px var(--cb-navy);
    font-variant-numeric: tabular-nums;
    transition: color 0.4s ease;
}

.cb-vtl-item:hover .cb-vtl-year {
    color: var(--cb-green);
    -webkit-text-stroke-color: var(--cb-green);
}

.cb-vtl-card {
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--cb-line);
    background: #fff;
    transition: transform 0.6s var(--cb-ease), box-shadow 0.6s var(--cb-ease), border-color 0.4s ease;
}

.cb-vtl-card p {
    margin: 0;
    color: var(--cb-ink-soft);
    line-height: 1.75;
}

.cb-vtl-item:hover .cb-vtl-card {
    transform: translateY(-4px);
    box-shadow: var(--cb-shadow-soft);
    border-color: var(--cb-green);
}

/* Alternance : carte à gauche + année à droite, puis l'inverse */
.cb-vtl-item.is-left .cb-vtl-card {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.cb-vtl-item.is-left .cb-vtl-year {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
}

.cb-vtl-item.is-right .cb-vtl-card {
    grid-column: 2;
    grid-row: 1;
}

.cb-vtl-item.is-right .cb-vtl-year {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

/* Cartes plus riches (RSE) : titre, plusieurs paragraphes, labels */
.cb-vtl-title {
    margin: 0 0 0.9rem;
    color: var(--cb-navy);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.25;
}

.cb-vtl-card p + p {
    margin-top: 0.9rem;
}

.cb-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.cb-labels img {
    display: block;
    width: auto;
    max-width: min(15rem, 100%);
    max-height: 8.5rem;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--cb-line);
    transition: transform 0.5s var(--cb-ease), box-shadow 0.5s var(--cb-ease);
}

.cb-labels img:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--cb-shadow-soft);
}

.cb-vtl-card .cb-labels {
    margin-top: 1.25rem;
}

.cb-vtl-item.is-left .cb-labels {
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .cb-vtl-item.is-left .cb-labels {
        justify-content: flex-start;
    }
}

/* Photo sous la frise */
.cb-story-photo {
    position: relative;
    margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: var(--cb-mist);
}

.cb-story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transition: transform 1.6s var(--cb-ease);
}

.cb-story-photo:hover img {
    transform: scale(1.04);
}

/* Mobile : une seule colonne, trait à gauche, année au-dessus de la carte */
@media (max-width: 767.98px) {
    .cb-story-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .cb-vtl::before,
    .cb-vtl::after {
        left: 0.55rem;
    }

    .cb-vtl-item {
        grid-template-columns: 1fr;
        padding: 0.4rem 0 1.4rem 2.2rem;
    }

    .cb-vtl-item::before {
        left: 0.55rem;
        top: 0.9rem;
    }

    .cb-vtl-item.is-left .cb-vtl-card,
    .cb-vtl-item.is-right .cb-vtl-card,
    .cb-vtl-item.is-left .cb-vtl-year,
    .cb-vtl-item.is-right .cb-vtl-year {
        grid-column: 1;
        text-align: left;
    }

    .cb-vtl-item .cb-vtl-year {
        grid-row: 1;
        margin-bottom: 0.5rem;
        font-size: 2.2rem;
    }

    .cb-vtl-item .cb-vtl-card {
        grid-row: 2;
    }

    .cb-story-photo {
        aspect-ratio: 4 / 3;
    }
}

/* --------------------------------------------------------------------------
   PILIERS (À propos)
-------------------------------------------------------------------------- */
.cb-pillar {
    position: relative;
    height: 100%;
    padding: 2.75rem 2rem 2.25rem;
    background: #fff;
    border-top: 2px solid var(--cb-line);
    transition: transform 0.6s var(--cb-ease), box-shadow 0.6s var(--cb-ease);
}

.cb-pillar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 3.5rem;
    height: 2px;
    background: var(--cb-green);
    transition: width 0.7s var(--cb-ease);
}

.cb-pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--cb-shadow-soft);
}

.cb-pillar:hover::before {
    width: 100%;
}

.cb-pillar-num {
    display: block;
    margin-bottom: 1.25rem;
    font-family: var(--cb-font-title);
    font-size: 3.4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cb-navy);
}

.cb-pillar-title {
    margin: 0 0 1rem;
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--cb-navy);
}

.cb-pillar p {
    margin: 0;
    color: var(--cb-ink-soft);
    line-height: 1.85;
}

/* --------------------------------------------------------------------------
   ESPRIT FAMILLE (À propos)
-------------------------------------------------------------------------- */
.cb-family-title em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cb-navy);
}

.cb-family-quote {
    position: relative;
    margin: 0 0 1.75rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--cb-green);
    color: var(--cb-navy);
    font-family: var(--cb-font-title);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.45;
    text-align: left;
}

.cb-family .cb-prose p {
    margin-inline: auto;
}

.cb-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.cb-values li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.2rem;
    border: 1px solid var(--cb-line);
    background: #fff;
    color: var(--cb-navy);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color 0.3s ease, transform 0.5s var(--cb-ease), background-color 0.3s ease;
}

.cb-values li i {
    color: var(--cb-green);
    font-size: 1.1rem;
}

.cb-values li:hover {
    border-color: var(--cb-green);
    background: var(--cb-mist);
    transform: translateY(-3px);
}

@media (min-width: 992px) {
    .col-lg-8.text-lg-center .cb-title-left::after {
        margin-inline: auto;
    }

    .col-lg-8.text-lg-center .cb-family-quote {
        max-width: 40rem;
        margin-inline: auto;
        padding-left: 0;
        border-left: 0;
        text-align: center;
    }

    .col-lg-8.text-lg-center .cb-values {
        justify-content: center;
    }
}

/* Mosaïque asymétrique : 2 à 5 photos */
.cb-mosaic {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 11rem;
}

.cb-mosaic-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--cb-mist);
}

.cb-mosaic-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--cb-ease);
}

.cb-mosaic-item:hover img {
    transform: scale(1.07);
}

.cb-mosaic--3 .cb-mosaic-item:first-child,
.cb-mosaic--5 .cb-mosaic-item:first-child {
    grid-row: span 2;
}

.cb-mosaic--5 .cb-mosaic-item:nth-child(4) {
    grid-column: span 2;
}

.cb-mosaic--1 {
    grid-template-columns: 1fr;
    grid-auto-rows: 24rem;
}

/* --------------------------------------------------------------------------
   BANDEAU IMAGE PLEINE LARGEUR
-------------------------------------------------------------------------- */
.cb-band {
    position: relative;
    overflow: hidden;
    padding-block: clamp(5rem, 11vw, 9rem);
    background: var(--cb-navy-dark);
    color: #fff;
}

.cb-band-media {
    position: absolute;
    inset: -12% 0;
    will-change: transform;
}

.cb-band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 22, 46, 0.9) 0%, rgba(10, 22, 46, 0.6) 55%, rgba(10, 22, 46, 0.25) 100%);
}

.cb-band-content {
    position: relative;
    z-index: 1;
}

.cb-band-title {
    margin: 0 0 1.5rem;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.cb-band-title em {
    font-style: normal;
    background: linear-gradient(var(--cb-green), var(--cb-green)) 0 92% / 100% 0.08em no-repeat;
}

.cb-band-text {
    max-width: 38rem;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.85;
}

/* --------------------------------------------------------------------------
   ACTIVITÉS
-------------------------------------------------------------------------- */
.cb-feature {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.cb-feature + .cb-feature {
    border-top: 1px solid var(--cb-line);
}

.cb-feature-num {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--cb-font-title);
    font-size: clamp(4rem, 8vw, 6.5rem);
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cb-navy);
}

.cb-checks {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.cb-checks li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--cb-ink-soft);
    line-height: 1.5;
}

.cb-checks li::before {
    content: '\F26A'; /* bi-check-circle-fill */
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'bootstrap-icons';
    color: var(--cb-green);
}

.cb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cb-pills li {
    padding: 0.7rem 1.3rem;
    border: 1px solid var(--cb-navy);
    color: var(--cb-navy);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.5s var(--cb-ease);
}

.cb-pills li:hover {
    background: var(--cb-navy);
    color: #fff;
    transform: translateY(-3px);
}

.cb-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3.5rem;
    margin-top: 1.75rem;
}

.cb-stat-value {
    display: block;
    font-family: var(--cb-font-title);
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1;
    color: var(--cb-green);
}

.cb-stat-label {
    display: block;
    max-width: 14rem;
    margin-top: 0.5rem;
    color: var(--cb-ink-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   RSE / INNOVATION
-------------------------------------------------------------------------- */
.cb-timeline-head {
    display: flex;
    align-items: flex-start;
    gap: clamp(1.5rem, 5vw, 4rem);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cb-year {
    flex-shrink: 0;
    font-family: var(--cb-font-title);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cb-navy);
    font-variant-numeric: tabular-nums;
}

.cb-timeline-intro {
    max-width: 38rem;
    margin: 0;
    color: var(--cb-ink-soft);
    font-size: 1.1rem;
    line-height: 1.8;
}

.cb-tile {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--cb-line);
    background: #fff;
    transition: transform 0.6s var(--cb-ease), box-shadow 0.6s var(--cb-ease), border-color 0.4s ease;
}

.cb-tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--cb-shadow-soft);
    border-color: var(--cb-green);
}

.cb-tile-icon {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--cb-green);
    font-size: 2.2rem;
    line-height: 1;
}

.cb-tile-title {
    margin: 0 0 0.9rem;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--cb-navy);
}

.cb-tile p {
    margin: 0;
    color: var(--cb-ink-soft);
    line-height: 1.8;
    font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   AVIS CLIENTS
-------------------------------------------------------------------------- */
.cb-reviews {
    position: relative;
    overflow: hidden;
}

.cb-review-featured {
    position: relative;
    margin: 0 0 clamp(2.5rem, 5vw, 4rem);
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    background: var(--cb-mist);
    border-left: 3px solid var(--cb-green);
}

.cb-review-glyph {
    position: absolute;
    top: -0.1em;
    right: clamp(1rem, 4vw, 3.5rem);
    font-family: var(--cb-font-title);
    font-size: clamp(9rem, 20vw, 17rem);
    line-height: 1;
    color: #fff;
    pointer-events: none;
    user-select: none;
}

.cb-review-featured blockquote {
    position: relative;
    max-width: 52rem;
    margin: 0 0 2rem;
    color: var(--cb-navy);
    font-family: var(--cb-font-title);
    font-size: clamp(1.25rem, 2.4vw, 1.9rem);
    line-height: 1.6;
}

.cb-review {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 2.5rem 2rem 2rem;
    border-top: 2px solid var(--cb-line);
    background: #fff;
    transition: transform 0.6s var(--cb-ease), box-shadow 0.6s var(--cb-ease);
}

.cb-review::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 3.5rem;
    height: 2px;
    background: var(--cb-green);
    transition: width 0.7s var(--cb-ease);
}

.cb-review:hover {
    transform: translateY(-8px);
    box-shadow: var(--cb-shadow-soft);
}

.cb-review:hover::before {
    width: 100%;
}

.cb-review-icon {
    display: block;
    margin-bottom: 1rem;
    color: var(--cb-green);
    font-size: 2.6rem;
    line-height: 1;
}

.cb-review blockquote {
    flex: 1;
    margin: 0 0 1.75rem;
    color: var(--cb-ink-soft);
    line-height: 1.9;
}

.cb-review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    color: var(--cb-navy);
}

.cb-review-meta strong {
    display: block;
    font-family: var(--cb-font-title);
    font-size: 1.2rem;
    font-weight: 400;
}

.cb-review-city {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
    color: var(--cb-ink-soft);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cb-review-city i {
    color: var(--cb-green);
    font-size: 0.75rem;
}

.cb-avatar {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid var(--cb-green);
    border-radius: 50%;
    color: var(--cb-green);
    font-family: var(--cb-font-title);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.cb-review:hover .cb-avatar,
.cb-review-featured:hover .cb-avatar {
    background: var(--cb-green);
    color: #fff;
}

/* --------------------------------------------------------------------------
   NOS ENGAGEMENTS — Garanties / Nos plus
-------------------------------------------------------------------------- */
.cb-intro {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}

.cb-intro .cb-title-left::after {
    margin-inline: auto;
}

.cb-intro-text {
    margin: 0;
    color: var(--cb-ink-soft);
    font-size: 1.12rem;
    line-height: 1.85;
}

.cb-guarantee {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.25rem 2rem 2rem;
    border: 1px solid var(--cb-line);
    background: #fff;
    transition: transform 0.6s var(--cb-ease), box-shadow 0.6s var(--cb-ease), border-color 0.4s ease;
}

.cb-guarantee:hover {
    transform: translateY(-8px);
    box-shadow: var(--cb-shadow-soft);
    border-color: var(--cb-green);
}

.cb-guarantee-num {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-family: var(--cb-font-title);
    font-size: 2.2rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--cb-navy);
    opacity: 0.55;
}

/* Les pictos d'origine sont jaunes : on les ramène vers le vert de la charte */
.cb-guarantee-icon {
    display: block;
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 0 1.25rem -0.5rem;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: hue-rotate(100deg) saturate(1.2);
    transition: transform 0.6s var(--cb-ease);
}

.cb-guarantee:hover .cb-guarantee-icon {
    transform: scale(1.08) rotate(-3deg);
}

.cb-guarantee-title {
    margin: 0 0 0.9rem;
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--cb-navy);
}

.cb-guarantee p {
    flex: 1;
    margin: 0 0 1.25rem;
    color: var(--cb-ink-soft);
    line-height: 1.85;
    font-size: 0.97rem;
}

.cb-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    color: var(--cb-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.4s var(--cb-ease);
}

.cb-more:hover {
    color: var(--cb-green-dark);
    background-size: 100% 1px;
}

.cb-solo {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--cb-mist);
}

.cb-solo-title {
    margin: 0;
    color: var(--cb-navy);
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.04;
}

.cb-solo-title em {
    display: block;
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cb-navy);
}

.cb-logo-card {
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--cb-line);
    background: #fff;
    transition: box-shadow 0.6s var(--cb-ease), transform 0.6s var(--cb-ease);
}

.cb-logo-card:hover {
    box-shadow: var(--cb-shadow-soft);
    transform: translateY(-6px);
}

.cb-logo-card img {
    display: block;
    width: 100%;
    max-width: 30rem;
    height: auto;
}

.cb-logo-card--sm img {
    max-width: 16rem;
}

/* Formule « Une maison réussie, c'est… » : 4 étapes reliées par des « + » */
.cb-formula {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 62rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.cb-formula-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 0 1.25rem;
    text-align: center;
}

.cb-formula-step:not(:last-child)::after {
    content: '+';
    position: absolute;
    top: 2.2rem;
    right: -0.9rem;
    z-index: 1;
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cb-green);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
}

.cb-formula-icon {
    display: grid;
    place-items: center;
    width: 6rem;
    height: 6rem;
    border: 1px solid var(--cb-navy);
    border-radius: 50%;
    background: #fff;
    color: var(--cb-navy);
    font-size: 2.3rem;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.6s var(--cb-ease);
}

.cb-formula-step:hover .cb-formula-icon {
    background: var(--cb-navy);
    color: #fff;
    transform: translateY(-6px) scale(1.05);
}

.cb-formula-icon--logo img {
    display: block;
    width: 62%;
    height: auto;
}

.cb-formula-step:hover .cb-formula-icon--logo {
    border-color: var(--cb-green);
    background: #fff;
}

.cb-formula-label {
    color: var(--cb-navy);
    font-family: var(--cb-font-title);
    font-size: 1.2rem;
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .cb-formula {
        grid-template-columns: 1fr 1fr;
        row-gap: 2.5rem;
    }

    .cb-formula-step:nth-child(2n)::after,
    .cb-formula-step:last-child::after {
        display: none;
    }
}

/* Tableau comparatif */
.cb-sticky-side {
    position: sticky;
    top: calc(var(--cb-header-h) + 2rem);
}

.cb-quote-line {
    padding-left: 1.25rem;
    border-left: 2px solid var(--cb-green);
    color: var(--cb-navy) !important;
    font-family: var(--cb-font-title);
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

.cb-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--cb-line);
    background: #fff;
}

.cb-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 32rem;
}

.cb-compare th,
.cb-compare td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--cb-line);
    vertical-align: middle;
}

.cb-compare thead th {
    background: var(--cb-navy);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}

.cb-compare thead th:first-child {
    text-align: left;
}

.cb-compare thead th span {
    display: block;
    font-weight: 400;
    opacity: 0.8;
}

.cb-compare thead th.cb-compare-main {
    background: var(--cb-green);
}

.cb-compare tbody th {
    color: var(--cb-navy);
    font-weight: 400;
    text-align: left;
    line-height: 1.45;
}

.cb-compare small {
    display: block;
    margin-top: 0.2rem;
    color: var(--cb-ink-soft);
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.85;
}

.cb-compare td {
    text-align: center;
    color: #9aa3b2;
}

.cb-compare td i {
    font-size: 1.35rem;
}

.cb-compare td.cb-compare-main {
    background: rgba(0, 151, 65, 0.06);
}

.cb-compare td.cb-compare-main i {
    color: var(--cb-green);
    font-size: 1.5rem;
}

.cb-compare-text {
    color: var(--cb-ink-soft);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cb-compare tbody tr {
    transition: background-color 0.3s ease;
}

.cb-compare tbody tr:hover {
    background: var(--cb-mist);
}

.cb-compare tbody tr:hover td.cb-compare-main {
    background: rgba(0, 151, 65, 0.12);
}

@media (max-width: 575.98px) {
    .cb-compare {
        min-width: 0;
    }

    .cb-compare th,
    .cb-compare td {
        padding: 0.8rem 0.5rem;
    }

    .cb-compare thead th {
        font-size: 0.62rem;
        letter-spacing: 0.04em;
    }

    .cb-compare tbody th {
        font-size: 0.88rem;
    }
}

.cb-compare tbody tr:last-child th,
.cb-compare tbody tr:last-child td {
    border-bottom: 0;
}

.cb-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
    margin-top: 1.75rem;
}

.cb-link-video {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--cb-navy);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cb-link-video i {
    color: var(--cb-green);
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.5s var(--cb-ease);
}

.cb-link-video:hover {
    color: var(--cb-green);
}

.cb-link-video:hover i {
    transform: scale(1.15);
}

@media (max-width: 767.98px) {
    .cb-timeline-head {
        flex-direction: column;
        gap: 1rem;
    }

    .cb-photo::before,
    .cb-photo--left::before {
        inset: 1rem -0.6rem -1rem 0.6rem;
    }

    .cb-figures .col-6 .cb-figure {
        padding-inline: 0.5rem;
    }
}

/* --------------------------------------------------------------------------
   SLIDER AVIS — cartes compactes
   Surcharge le style éditorial centré (CatchyMager, large) des .cb-quote pour
   l'affichage en deux colonnes sur la page avis clients.
   La double spécificité (parent .cb-quotes-slider) l'emporte sur les règles
   de site.css (has-per-page-2 = 4 classes).
-------------------------------------------------------------------------- */
.cb-quotes-slider {
    overflow: hidden; /* empêche le 3e avis d'être visible à droite */
}

/* Gouttière entre les deux cartes (column-gap : 1.5rem).
   La formule flex-basis = calc(50% - 0.75rem) garantit que 2 cartes + 1 gap = 100%
   du stage — translateX(-100%) reste donc exact pour toute page suivante. */
.cb-quotes-slider .cb-quote-stage.is-enhanced.has-per-page-2 {
    column-gap: 1.5rem;
}

.cb-quotes-slider .cb-quote-stage.is-enhanced .cb-quote,
.cb-quotes-slider .cb-quote-stage.is-enhanced.has-per-page-2 .cb-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    max-width: none;
    margin: 0;
    padding: 2rem 1.75rem 1.75rem;
    background: #fff;
    border-top: 2px solid var(--cb-line);
    box-shadow: 0 2px 24px rgba(16, 36, 74, 0.07);
    box-sizing: border-box;
    transition: box-shadow 0.4s ease;
}

/* En mode 2-par-page : chaque carte occupe calc(50% - 0.75rem) pour laisser place
   au column-gap de 1.5rem (2 × 0.75rem) — la somme reste exactement 100% du stage. */
.cb-quotes-slider .cb-quote-stage.is-enhanced.has-per-page-2 .cb-quote {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
}

.cb-quotes-slider .cb-quote-stage.is-enhanced .cb-quote::before,
.cb-quotes-slider .cb-quote-stage.is-enhanced.has-per-page-2 .cb-quote::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 3.5rem;
    height: 2px;
    background: var(--cb-green);
}

.cb-quotes-slider .cb-quote-stage.is-enhanced .cb-quote blockquote,
.cb-quotes-slider .cb-quote-stage.is-enhanced.has-per-page-2 .cb-quote blockquote {
    flex: 1;
    font-family: var(--cb-font-body);
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--cb-ink-soft);
    margin: 0 0 1.5rem;
    text-align: left;
}

.cb-quotes-slider .cb-quote-stage.is-enhanced .cb-quote figcaption,
.cb-quotes-slider .cb-quote-stage.is-enhanced.has-per-page-2 .cb-quote figcaption {
    letter-spacing: normal;
    text-transform: none;
    font-weight: normal;
    color: var(--cb-navy);
    font-size: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .cb-page-hero-media img,
    .cb-page-title i,
    .cb-page-lead,
    .cb-crumbs {
        animation: none;
    }

    .cb-page-title i {
        transform: none;
        opacity: 1;
    }
}
