/* Page "À propos" - Section 1 */

.propos-section-1 {
    padding: 46px 24px 32px;
    background: var(--fond-blanc);
}

.propos-container {
    max-width: 1320px;
    margin: 32px auto;
    position: relative;
}

.propos-title {
    font-family: var(--titre);
    font-size: 34px;
    font-weight: 900;
    color: var(--bleu-logo);
    margin: 0 0 18px;
    line-height: 1.2;
}

.propos-top-banner {
    background-image: linear-gradient(to right top, var(--bleu-logo), var(--bleu));
    background-attachment: fixed;
    background-size: cover;
    border-radius: 26px;
    height: 95px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.propos-main {
    display: flex;
    justify-content: space-between;
    /* alignement horizontal type "space between" */
    align-items: stretch;
    /* même hauteur : l’image remplit l’espace sous la philosophie */
    gap: 72px;
    margin-top: 32px;
}

.propos-left,
.propos-right {
    flex: 1 1 0;
    min-width: 0;
}

.propos-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
}

.propos-right {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.propos-philo {
    max-width: 620px;
    flex-shrink: 0;
}

.propos-subtitle {
    font-family: var(--titre);
    font-size: 20px;
    font-weight: 700;
    color: var(--bleu-logo);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.propos-quotes {
    color: var(--vert-logo);
    font-size: 56px;
    line-height: 0.75;
    font-weight: 900;
    letter-spacing: -14px;
    transform: translateY(-6px);
    margin-right: 4px;
    flex-shrink: 0;
}

.propos-paragraph {
    font-family: var(--texte);
    font-size: 18px;
    font-weight: 500;
    color: var(--bleu-logo);
    margin: 0;
    line-height: 1.55;
}

.propos-left-media {
    flex: 1 1 0;
    min-height: 120px;
    border-radius: 18px;
    overflow: hidden;
}

.propos-left-placeholder {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
    object-fit: cover;
    object-position: center;
}

.propos-about-card {
    background: var(--bleu-logo);
    border-radius: 26px;
    padding: 26px 30px 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    align-self: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.propos-about-card-title {
    color: var(--fond-blanc);
    margin-bottom: 14px;
}

.propos-about-card-text {
    color: var(--fond-blanc);
    opacity: 0.95;
}

.propos-about-intro {
    margin-bottom: 12px;
}

.propos-about-list {
    margin: 0;
    padding: 0 0 0 1.15em;
    list-style: none;
}

.propos-about-list-item {
    position: relative;
    font-family: var(--texte);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--fond-blanc);
    opacity: 0.95;
    padding-left: 0.35em;
    margin-bottom: 9px;
}

.propos-about-list-item::before {
    content: "";
    position: absolute;
    left: -1.15em;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--vert-logo);
}

.propos-about-list-item:last-child {
    margin-bottom: 0;
}

/* SECTION 2 - Bannière "Chiffres clés" */
.propos-section-2 {
    padding: 0 24px 20px;
    background: var(--fond-blanc);
}

.propos-container-stats {
    margin: 0 auto;
}

.propos-stats-banner {
    background-image: linear-gradient(to top, #333399, #39429f, #414fa5, #4b5da9, #566aad);
    border-radius: 26px;
    padding: 14px 18px;
    box-shadow: 0 18px 40px rgba(7, 45, 7, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.propos-stats-banner::before {
    content: "";
    position: absolute;
    left: -160px;
    top: -170px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.18);
    filter: blur(2px);
}

.propos-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    position: relative;
}

.propos-stat {
    background: rgba(244, 244, 244, 0.08);
    border: 1px solid rgba(244, 244, 244, 0.16);
    border-radius: 18px;
    padding: 12px 10px;
    text-align: center;
}

.propos-stat-title {
    font-family: var(--titre);
    font-size: 30px;
    font-weight: 900;
    color: var(--vert-logo);
    line-height: 1.15;
    display: block;
    margin-bottom: 8px;
}

.propos-stat-label {
    font-family: var(--texte);
    font-size: 15px;
    font-weight: 500;
    color: rgba(244, 244, 244, 0.92);
    line-height: 1.2;
}



/* SECTION 3 - Groupe CAEMCO */

.propos-section-3 {
    padding: 46px 24px 84px;
    margin: 0 250px 0;
}

.caemco-container {
    display: flex;
    align-items: flex-start;
    margin: 0 auto;
    gap: 22px;
}

.caemco-left,
.caemco-right {
    flex: 1 1 0;
    min-width: 0;
}

.caemco-left {
    display: flex;
    flex-direction: column;
    padding: 64px;
    background: var(--gris);
    border-radius: 22px;
}

.caemco-right {
    position: relative;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to top, #333399, #39429f, #414fa5, #4b5da9, #566aad);
    border-radius: 22px;
    overflow: hidden;
}

.caemco-right svg {
    display: block;
    width: 100%;
    height: auto;
}

.caemco-right svg #points circle,
.caemco-right svg #label_points circle {
    pointer-events: none;
}

.caemco-right svg .carte-point {
    pointer-events: all;
    cursor: pointer;
    fill: #00ff00;
    stroke: #e8ffe8;
    stroke-width: 1.75;
    filter: url(#carte-point-glow);
    transition: stroke 0.2s ease, stroke-width 0.2s ease, fill 0.2s ease;
}

.caemco-right svg .carte-point:hover {
    fill: #66ff66;
    stroke: #ffffff;
    stroke-width: 2.5;
}

.caemco-right svg #features path {
    cursor: pointer;
    transition: fill 0.18s ease, stroke 0.18s ease, stroke-width 0.18s ease;
}

.caemco-right svg #features path:hover {
    fill: var(--bleu);
    stroke: var(--fond-blanc);
    stroke-width: 1.25;
}

.carte-bulle {
    position: fixed;
    z-index: 50;
    max-width: min(320px, calc(100vw - 24px));
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(20, 24, 40, 0.94);
    color: var(--fond-blanc);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    font-family: var(--texte);
    font-size: 13px;
    line-height: 1.45;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s ease, visibility 0.12s ease;
}

.carte-bulle.is-visible {
    opacity: 1;
    visibility: visible;
}

.carte-bulle-titre {
    display: block;
    font-family: var(--titre);
    font-weight: 800;
    font-size: 15px;
    color: var(--vert-logo);
    margin-bottom: 6px;
}

.carte-bulle-ligne {
    margin: 0;
    color: rgba(244, 244, 244, 0.92);
}

.contenu-left {

    .caemco-subtitle {
        font-family: var(--titre);
        text-transform: uppercase;
        font-size: 24px;
        font-weight: 900;
        color: var(--vert-logo);
        margin: 0 0 16px;
    }

    h2 {
        font-family: var(--titre);
        font-size: 22px;
        font-weight: 900;
        color: var(--bleu-logo);
        margin: 0 0 16px;
    }

    .contenu-paragraph {
        font-family: var(--texte);
        font-size: 18px;
        font-weight: 500;
        color: var(--bleu-logo);
        line-height: 1.55;
    }
}

.btn-caemco {

    .btn-gallez {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        isolation: isolate;
        border: 1px solid var(--bleu-logo);
        border-radius: 32px;
        padding: 12px 32px;
        text-decoration: none;
        font-family: var(--titre);
        font-size: 16px;
        font-weight: 800;
        color: var(--bleu);
        background: transparent;
        cursor: pointer;
        transition:
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.28s ease,
            box-shadow 0.28s ease;
    }

    .btn-gallez::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background-color: var(--bleu-logo);
        border-radius: inherit;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .btn-gallez-inner {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        gap: 0.35em;
        color: var(--bleu);
        transition: color 0.32s ease 0.08s;
    }

    .btn-gallez svg {
        flex-shrink: 0;
    }

    .btn-gallez:hover {
        transform: translateY(-5px);
        border-color: var(--bleu-logo);
        box-shadow: 0 12px 28px rgba(7, 45, 7, 0.22);
    }

    .btn-gallez:hover::before {
        transform: scaleX(1);
    }

    .btn-gallez:hover .btn-gallez-inner {
        color: var(--fond-blanc);
    }

    .btn-gallez:focus-visible {
        outline: 2px solid var(--vert-logo);
        outline-offset: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-caemco .btn-gallez {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-caemco .btn-gallez::before {
        transition: none;
    }

    .btn-caemco .btn-gallez:hover {
        transform: none;
    }

    .btn-caemco .btn-gallez:hover::before {
        transform: scaleX(1);
    }

    .btn-caemco .btn-gallez .btn-gallez-inner {
        transition: none;
    }
}



/* Style de la partie historique de l'entreprise */

.propos-section-4 {
    padding: 0 24px 32px;
    background: var(--fond-blanc);
}

.propos-frise-title {
    font-family: var(--titre);
    font-size: 24px;
    font-weight: 900;
    color: var(--bleu-logo);
    text-align: center;
    margin: 0 0 64px;
}

.propos-frise {
    margin: 0;
    max-width: 100%;
}

.propos-frise-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1277px;
    margin: 0 auto;
}

.propos-frise-outro {
    margin: 48px auto 0;
    max-width: 72ch;
    text-align: center;
}










/* Blocs sous le contenu */
.cta-section {
    margin: 64px 244px 80px;
    box-sizing: border-box;
}

/* Style du rectangle de CTA pour devenir partenaire */
.article-partner-cta {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--gris);
    border: 2px solid var(--bleu-logo);
    border-radius: 22px;
    padding: 36px 40px 40px;
    box-shadow: 0 10px 24px rgba(51, 51, 153, 0.12);
    color: var(--bleu-logo);

    p {
        font-family: var(--texte);
        font-size: 17px;
        font-weight: 500;
        line-height: 1.55;
        margin: 0 128px 12px;
        color: var(--bleu-logo);
    }
}

.article-partner-cta-title {
    font-family: var(--titre);
    font-size: 28px;
    font-weight: 900;
    color: var(--bleu-logo);
    margin: 0 0 16px;
    line-height: 1.2;
}

.article-partner-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 22px;
    margin: 22px auto 0;
    font-family: var(--texte);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 900px) {
    .propos-container {
        margin: 16px auto;
        position: relative;
    }

    .propos-section-1 {
        padding: 28px 16px 32px;
    }

    .propos-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .propos-top-banner {
        display: none;
    }

    .propos-main {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-top: 0;
    }

    .propos-left,
    .propos-right {
        flex: none;
        width: 100%;
        min-height: 0;
    }

    .propos-left {
        gap: 20px;
    }

    .propos-philo {
        max-width: none;
        flex-shrink: 0;
    }

    .propos-subtitle {
        font-size: 18px;
        margin-bottom: 12px;
        gap: 12px;
    }

    .propos-quotes {
        font-size: 40px;
        letter-spacing: -10px;
        margin-right: 2px;
    }

    .propos-paragraph {
        font-size: 16px;
    }

    .propos-left-media {
        flex: none;
        width: 100%;
        min-height: 0;
        height: auto;
        max-height: none;
    }

    .propos-left-placeholder {
        height: auto;
        aspect-ratio: 4 / 3;
        max-height: 260px;
    }

    .propos-about-card {
        margin-top: 0;
        padding: 20px 18px;
        flex: none;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
    }

    .propos-about-list-item {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .propos-section-2 {
        padding: 0 16px 16px;
    }

    .propos-stats-banner {
        padding: 12px 14px;
    }

    .propos-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .propos-stat {
        padding: 10px 8px;
    }

    .propos-stat-title {
        font-size: 24px;
    }

    .propos-stat-label {
        font-size: 13px;
    }

    .propos-section-3 {
        margin: 0 16px;
        padding: 32px 16px 40px;
    }

    .caemco-container {
        flex-direction: column;
        gap: 20px;
    }

    .caemco-left {
        padding: 32px 20px;
    }

    .contenu-left .caemco-subtitle {
        font-size: 18px;
    }

    .contenu-left h2,
    .contenu-left .contenu-paragraph {
        font-size: 16px;
    }

    .caemco-right svg .carte-point:hover {
        fill: #00ff00;
        stroke: #e8ffe8;
        stroke-width: 1.75;
    }

    .caemco-right svg #features path:hover {
        fill: inherit;
        stroke: #566aad;
        stroke-width: 0.5;
    }

    .btn-caemco .btn-gallez:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-caemco .btn-gallez:hover::before {
        transform: scaleX(0);
    }

    .btn-caemco .btn-gallez:hover .btn-gallez-inner {
        color: var(--bleu);
    }

    .caemco-right svg {
        min-height: 280px;
    }

    .btn-caemco .btn-gallez {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .propos-section-4 {
        margin: 0;
        padding: 32px 16px 40px;
    }

    .propos-frise-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .propos-frise {
        display: none;
    }

    .propos-frise-outro {
        margin-top: 0;
        font-size: 15px;
        max-width: none;
        padding: 0 16px;
    }

    .cta-section {
        margin: 40px 16px 48px;
    }

    .article-partner-cta {
        padding: 28px 20px 32px;
        border-radius: 16px;
    }

    .article-partner-cta-title {
        font-size: 22px;
    }

    .article-partner-cta p {
        margin: 0 0 10px;
        font-size: 15px;
    }

    .article-partner-cta-btn {
        width: 100%;
        max-width: 320px;
        margin: 16px auto 0;
        justify-content: center;
        font-size: 16px;
    }

    .article-partner-cta-btn.btn-contact-slide:hover {
        transform: none;
        box-shadow: none;
        color: var(--noir);
    }

    .article-partner-cta-btn.btn-contact-slide:hover::before {
        transform: scaleX(0);
    }
}

@media (max-width: 480px) {
    .propos-section-1 {
        padding: 20px 12px 28px;
    }

    .propos-title {
        font-size: 22px;
    }

    .propos-main {
        gap: 20px;
    }

    .propos-left-media {
        border-radius: 14px;
    }

    .propos-left-placeholder {
        max-height: 220px;
    }

    .propos-about-card {
        border-radius: 18px;
        padding: 18px 14px;
    }

    .propos-stats-grid {
        grid-template-columns: 1fr;
    }

    .propos-stat-title {
        font-size: 22px;
    }

    .propos-section-3 {
        margin: 0 12px;
        padding: 24px 12px 32px;
    }

    .caemco-left {
        padding: 24px 16px;
        border-radius: 18px;
    }

    .caemco-right {
        border-radius: 18px;
    }

    .propos-section-4 {
        padding: 24px 12px 32px;
    }

    .propos-frise-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .cta-section {
        margin: 32px 12px 40px;
    }

    .article-partner-cta {
        padding: 24px 16px 28px;
    }

    .article-partner-cta-title {
        font-size: 20px;
    }
}

.article-partner-cta-btn-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.article-partner-cta-btn-label {
    display: inline-block;
}