:root {
    --primary: #252960;
    --primary-light: #3f4692;
    --primary-dark: #171a45;

    --background: #ffffff;
    --background-light: #f5f7fb;

    --text: #252525;
    --muted: #666b7a;

    --border: #e3e6ef;

    --shadow-sm:
        0 10px 30px rgba(37, 41, 96, 0.08);

    --shadow-md:
        0 20px 50px rgba(37, 41, 96, 0.12);

    --shadow-lg:
        0 30px 70px rgba(37, 41, 96, 0.16);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 28px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--background);

    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   CONTENEUR
   ========================================================= */

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.header {
    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;

    text-decoration: none;

    flex-shrink: 0;
}

.brand-logo {
    width: 175px;
    height: 64px;

    object-fit: contain;
    object-position: left center;
}

.navigation {
    display: flex;
    align-items: center;

    gap: 25px;
}

.navigation a {
    position: relative;

    color: var(--text);

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;

    padding: 8px 0;
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background:
        var(--primary);

    transition:
        width 0.2s ease;
}

.navigation a:hover {
    color: var(--primary);
}

.navigation a:hover::after {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 680px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(63, 70, 146, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f5f7ff 0%,
            #ffffff 55%,
            #eef1ff 100%
        );

    overflow: hidden;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    align-items: center;

    gap: 70px;
}

.hero-content {
    padding: 70px 0;
}

.hero-label,
.section-label {
    display: inline-block;

    color: var(--primary);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.hero h1 {
    max-width: 760px;

    color: #17192b;

    font-size:
        clamp(
            3rem,
            6vw,
            5.2rem
        );

    line-height: 1.03;

    letter-spacing: -2px;

    margin-bottom: 26px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-text {
    max-width: 650px;

    color: var(--muted);

    font-size: 1.12rem;

    line-height: 1.8;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}


/* =========================================================
   HERO FEATURES
   ========================================================= */

.hero-features {
    display: flex;

    gap: 32px;

    margin-top: 45px;

    padding-top: 28px;

    border-top:
        1px solid var(--border);
}

.hero-features div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.hero-features strong {
    color: var(--primary);

    font-size: 1.05rem;
}

.hero-features span {
    color: var(--muted);

    font-size: 0.82rem;
}


/* =========================================================
   HERO VISUEL / LOGO
   ========================================================= */

.hero-visual {
    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-logo-card {
    width: 100%;
    max-width: 450px;

    padding: 55px 40px;

    text-align: center;

    background:
        rgba(
            255,
            255,
            255,
            0.93
        );

    border:
        1px solid
        rgba(
            37,
            41,
            96,
            0.12
        );

    border-radius:
        var(--radius-lg);

    box-shadow:
        var(--shadow-lg);
}

.hero-logo-card img {
    width: 100%;
    max-width: 340px;

    height: auto;

    margin:
        0 auto;

    object-fit: contain;
}

.hero-logo-card p {
    margin:
        25px auto 0;

    color: var(--muted);

    font-size: 1rem;
}

.hero-logo-card strong {
    color: var(--primary);
}


/* =========================================================
   BOUTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        13px 22px;

    border-radius:
        var(--radius-sm);

    text-decoration: none;

    font-weight: 700;

    border:
        2px solid transparent;

    cursor: pointer;
}

.btn:hover {
    transform:
        translateY(-2px);
}

.btn-primary {
    background:
        var(--primary);

    color: #ffffff;

    border-color:
        var(--primary);
}

.btn-primary:hover {
    background:
        var(--primary-light);

    border-color:
        var(--primary-light);
}

.btn-outline {
    border:
        2px solid var(--primary);

    color:
        var(--primary);

    background:
        transparent;
}

.btn-outline:hover {
    color: #ffffff;

    background:
        var(--primary);
}

.btn-secondary {
    border:
        2px solid var(--primary);

    color:
        var(--primary);

    background:
        transparent;
}

.btn-secondary:hover {
    color: #ffffff;

    background:
        var(--primary);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding:
        95px 0;

    scroll-margin-top:
        90px;
}

.section-light {
    background:
        var(--background-light);
}

.section h2 {
    max-width: 800px;

    color:
        #17192b;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.15;

    margin-bottom: 20px;
}

.section p {
    max-width: 760px;

    color:
        var(--muted);

    font-size: 1rem;

    line-height: 1.8;

    margin-bottom: 12px;
}


/* =========================================================
   CARTES
   ========================================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 22px;

    margin-top: 42px;
}

.card {
    position: relative;

    background:
        #ffffff;

    padding:
        32px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-md);

    border-color:
        rgba(
            37,
            41,
            96,
            0.25
        );
}

.card h3 {
    color:
        var(--primary);

    font-size:
        1.2rem;

    margin-bottom:
        12px;
}

.card p {
    margin-bottom:
        0;

    font-size:
        0.95rem;
}


/* =========================================================
   BOUTIQUE
   ========================================================= */

.boutique-preview {
    position: relative;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    overflow: hidden;
}

.boutique-preview::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );

    right: -100px;
    top: -170px;
}

.boutique-preview .container {
    position: relative;

    z-index: 2;
}

.boutique-preview .section-label,
.boutique-preview h2,
.boutique-preview p {
    color:
        #ffffff;
}

.boutique-preview p {
    color:
        rgba(
            255,
            255,
            255,
            0.82
        );
}

.boutique-preview .btn-primary {
    background:
        #ffffff;

    color:
        var(--primary);

    border-color:
        #ffffff;
}

.boutique-preview .btn-primary:hover {
    background:
        #eef0ff;

    color:
        var(--primary-dark);

    border-color:
        #eef0ff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background:
        #16182e;

    color:
        #ffffff;

    padding:
        50px 0;
}

.footer strong {
    font-size:
        1.05rem;
}

.footer p {
    margin-top:
        7px;

    color:
        #cfd2e2;

    font-size:
        0.92rem;
}


/* =========================================================
   PETITES AMELIORATIONS
   ========================================================= */

::selection {
    background:
        var(--primary);

    color:
        #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline:
        3px solid
        rgba(
            63,
            70,
            146,
            0.35
        );

    outline-offset:
        3px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .hero-grid {
        gap:
            35px;
    }

    .cards {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .container {
        width:
            min(
                92%,
                1120px
            );
    }


    /* NAVIGATION */

    .navbar {
        flex-direction:
            column;

        justify-content:
            center;

        padding:
            14px 0 18px;
    }

    .brand-logo {
        width:
            160px;

        height:
            58px;
    }

    .navigation {
        justify-content:
            center;

        flex-wrap:
            wrap;

        gap:
            8px 16px;
    }

    .navigation a {
        font-size:
            0.9rem;
    }


    /* HERO */

    .hero {
        min-height:
            auto;
    }

    .hero-grid {
        grid-template-columns:
            1fr;

        gap:
            20px;
    }

    .hero-content {
        padding:
            70px 0 20px;

        text-align:
            center;
    }

    .hero h1 {
        margin-left:
            auto;

        margin-right:
            auto;

        font-size:
            clamp(
                2.5rem,
                11vw,
                3.5rem
            );

        letter-spacing:
            -1px;
    }

    .hero-text {
        margin:
            0 auto;
    }

    .hero-actions {
        justify-content:
            center;
    }

    .hero-features {
        flex-direction:
            column;

        align-items:
            center;

        gap:
            15px;
    }

    .hero-features div {
        align-items:
            center;
    }

    .hero-visual {
        padding-bottom:
            70px;
    }

    .hero-logo-card {
        max-width:
            380px;

        padding:
            35px 25px;
    }


    /* SECTIONS */

    .section {
        padding:
            70px 0;
    }

    .section h2 {
        font-size:
            2.2rem;
    }


    /* CARTES */

    .cards {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   PETITS TELEPHONES
   ========================================================= */

@media (max-width: 480px) {

    .brand-logo {
        width:
            145px;
    }

    .navigation {
        gap:
            7px 12px;
    }

    .hero h1 {
        font-size:
            2.5rem;
    }

    .hero-actions {
        flex-direction:
            column;
    }

    .hero-actions .btn {
        width:
            100%;
    }

    .card {
        padding:
            26px 22px;
    }

}

/* =========================================================
   CARRIERES
   ========================================================= */

.page-title {
    max-width: 850px;
    color: #17192b;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-intro {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.08rem;
}

.job-type {
    display: inline-block;
    color: var(--primary) !important;
    font-size: 0.8rem !important;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card .btn {
    margin-top: 15px;
}

.job-content {
    max-width: 850px;
}

.job-content h2 {
    margin-top: 35px;
}

.job-text {
    color: var(--muted);
    line-height: 1.8;
}

.job-deadline {
    margin-top: 30px;
    padding: 20px;
    background: var(--background-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
}


/* FORMULAIRE DE CANDIDATURE */

.application-container {
    max-width: 850px;
    margin: 0 auto;
}

.application-header {
    margin-bottom: 40px;
}

.application-form {
    padding: 40px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #17192b;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 14px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px rgba(37, 41, 96, 0.08);
}

.form-group input[type="file"] {
    padding: 11px;
    background: var(--background-light);
}

.form-group small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.errorlist {
    list-style: none;
    margin-top: 7px;
    color: #b42318;
    font-size: 0.9rem;
}

.form-errors {
    margin-bottom: 25px;
    padding: 15px;
    color: #b42318;
    background: #fff3f2;
    border-radius: 8px;
}


/* CONFIRMATION */

.success-box {
    max-width: 700px;
    margin: 30px auto;
    padding: 60px 40px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.success-box p {
    margin-left: auto;
    margin-right: auto;
}

.success-box .hero-actions {
    justify-content: center;
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 800;
}

@media (max-width: 800px) {

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .application-form {
        padding: 28px 20px;
    }

    .success-box {
        padding: 45px 25px;
    }

}

.spontaneous-application {
    margin-top: 70px;
    padding: 45px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.spontaneous-application h2 {
    margin-bottom: 15px;
}

.spontaneous-application .btn {
    margin-top: 20px;
}

@media (max-width: 800px) {
    .spontaneous-application {
        padding: 30px 22px;
    }
}

/* =========================================================
   MENU MOBILE SMS-RCA
   ========================================================= */

/* Caché sur ordinateur */
.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 10px;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-sm);

    cursor: pointer;
}


/* Les 3 barres du bouton */
.menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background:
        var(--primary);

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   VERSION MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .navbar {
        position: relative;

        min-height: 72px;

        flex-direction: row;

        justify-content: space-between;

        padding: 8px 0;
    }


    .brand-logo {
        width: 145px;
        height: 55px;
    }


    .brand-name {
        display: none;
    }


    /* Affichage du bouton hamburger */

    .menu-toggle {
        display: block;

        flex-shrink: 0;
    }


    /* Navigation fermée par défaut */

    .navigation {
        display: none;

        position: absolute;

        top: calc(100% + 1px);
        left: 0;
        right: 0;

        width: 100%;

        padding: 12px;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        background: #ffffff;

        border:
            1px solid var(--border);

        border-radius:
            0 0 var(--radius-md) var(--radius-md);

        box-shadow:
            var(--shadow-md);
    }


    /* Navigation ouverte */

    .navigation.navigation-open {
        display: flex;
    }


    /* Liens */

    .navigation a {
        width: 100%;

        padding: 12px 14px;

        font-size: 0.95rem;

        border-radius: 8px;
    }


    .navigation a::after {
        display: none;
    }


    .navigation a:hover {
        color:
            var(--primary);

        background:
            var(--background-light);
    }


    /* Transformation ☰ en X */

    .menu-toggle.menu-open span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }


    .menu-toggle.menu-open span:nth-child(2) {
        opacity: 0;
    }


    .menu-toggle.menu-open span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

}


/* =========================================================
   PETITS TELEPHONES
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }


    .brand-logo {
        width: 135px;
        height: 50px;
    }


    .menu-toggle {
        width: 44px;
        height: 44px;
    }


    .hero h1 {
        font-size:
            clamp(
                2.15rem,
                11vw,
                2.8rem
            );
    }


    .section h2 {
        font-size:
            clamp(
                1.8rem,
                9vw,
                2.2rem
            );
    }


    .section {
        padding:
            60px 0;
    }


    .card {
        padding:
            24px 20px;
    }

}

/* =========================================================
   CARTES DYNAMIQUES DE L'ACCUEIL
   Boutique + Réalisations
   ========================================================= */

.accueil-cards {
    align-items: stretch;
}


/* ---------------------------------------------------------
   CARTE
   --------------------------------------------------------- */

.accueil-card {
    display: flex;
    flex-direction: column;

    padding: 0;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);
}


.accueil-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-md);
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.accueil-card-image-link {
    display: block;

    width: 100%;

    text-decoration: none;

    overflow: hidden;

    background:
        var(--background-light);
}


.accueil-card-image {
    display: block;

    width: 100%;
    height: 230px;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.accueil-card:hover
.accueil-card-image {
    transform:
        scale(1.04);
}


/* ---------------------------------------------------------
   IMAGE ABSENTE
   --------------------------------------------------------- */

.accueil-card-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 230px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );
}


.accueil-card-placeholder span {
    color: #ffffff;

    font-size: 1.35rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   CONTENU
   --------------------------------------------------------- */

.accueil-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 26px;
}


.accueil-card-content h3 {
    margin-bottom: 12px;

    color:
        var(--primary);

    font-size: 1.25rem;
}


/* ---------------------------------------------------------
   CATÉGORIE
   --------------------------------------------------------- */

.accueil-card-category {
    display: inline-block;

    align-self: flex-start;

    margin-bottom: 10px !important;

    color:
        var(--primary) !important;

    font-size: 0.78rem !important;

    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.accueil-card-description {
    margin-top: 8px;
    margin-bottom: 18px !important;

    color:
        var(--muted) !important;

    line-height: 1.65;
}


/* =========================================================
   BOUTIQUE
   ========================================================= */

/*
   Important :
   la section Boutique possède un fond sombre.
   On remet donc explicitement le texte des cartes
   en couleur foncée.
*/

.boutique-preview
.accueil-card p {
    color:
        var(--muted);
}


.boutique-preview
.accueil-card h3 {
    color:
        var(--primary);
}


/* ---------------------------------------------------------
   PRIX
   --------------------------------------------------------- */

.produit-prix {
    margin: 0 0 18px !important;

    color:
        var(--primary) !important;

    font-size: 1.3rem !important;

    font-weight: 800;
}


/* ---------------------------------------------------------
   CARACTÉRISTIQUES PRODUIT
   --------------------------------------------------------- */

.produit-caracteristiques {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 12px;
}


.produit-caracteristiques span {
    display: inline-flex;

    align-items: center;

    padding:
        5px 9px;

    color:
        var(--primary);

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        999px;

    font-size:
        0.78rem;

    font-weight:
        600;
}


/* =========================================================
   RÉALISATIONS
   ========================================================= */

.realisation-infos {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 12px;
}


.realisation-infos span {
    display: inline-flex;

    align-items: center;

    padding:
        5px 9px;

    color:
        var(--primary);

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        999px;

    font-size:
        0.8rem;

    font-weight:
        600;
}


/* ---------------------------------------------------------
   BAS DES CARTES
   --------------------------------------------------------- */

.accueil-card-footer {
    margin-top: auto;

    padding-top: 10px;
}


.accueil-card-footer .btn {
    width: 100%;

    justify-content: center;

    text-align: center;
}


/* ---------------------------------------------------------
   MESSAGE VIDE
   --------------------------------------------------------- */

.accueil-empty {
    margin-top: 30px;

    padding: 24px;

    border:
        1px solid rgba(
            255,
            255,
            255,
            0.18
        );

    border-radius:
        var(--radius-md);
}


.accueil-empty p {
    margin: 0;
}


/* Réalisations : fond clair */

.section-light
.accueil-empty {
    background: #ffffff;

    border-color:
        var(--border);
}


.section-light
.accueil-empty p {
    color:
        var(--muted);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .accueil-card-image,
    .accueil-card-placeholder {
        height: 215px;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 800px) {

    .accueil-card-image,
    .accueil-card-placeholder {
        height: 240px;
    }


    .accueil-card-content {
        padding:
            24px 22px;
    }


    .produit-prix {
        font-size:
            1.2rem !important;
    }

}


/* =========================================================
   PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 480px) {

    .accueil-card-image,
    .accueil-card-placeholder {
        height: 215px;
    }


    .accueil-card-content {
        padding:
            22px 18px;
    }


    .accueil-card-content h3 {
        font-size:
            1.15rem;
    }

}

/* =========================================================
   CATALOGUE BOUTIQUE SMS-RCA
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.catalogue-header {
    padding:
        75px 0 55px;

    text-align:
        center;

    background:
        var(--background-light);

    border-bottom:
        1px solid var(--border);
}


.catalogue-header h1 {
    margin-bottom:
        16px;

    color:
        var(--primary);

    font-size:
        clamp(
            2.1rem,
            5vw,
            3rem
        );
}


.catalogue-intro {
    max-width:
        700px;

    margin:
        0 auto;

    color:
        var(--muted);

    font-size:
        1.05rem;

    line-height:
        1.7;
}


/* ---------------------------------------------------------
   SECTION
   --------------------------------------------------------- */

.catalogue-section {
    background:
        #ffffff;
}


/* ---------------------------------------------------------
   FILTRES
   --------------------------------------------------------- */

.catalogue-filtres {
    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        center;

    gap:
        10px;

    margin-bottom:
        42px;
}


.catalogue-filtre {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        42px;

    padding:
        9px 17px;

    color:
        var(--primary);

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        999px;

    text-decoration:
        none;

    font-size:
        0.9rem;

    font-weight:
        700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.catalogue-filtre:hover {
    transform:
        translateY(-2px);

    border-color:
        var(--primary);

    background:
        var(--background-light);
}


.catalogue-filtre-actif {
    color:
        #ffffff;

    background:
        var(--primary);

    border-color:
        var(--primary);
}


.catalogue-filtre-actif:hover {
    color:
        #ffffff;

    background:
        var(--primary-dark);

    border-color:
        var(--primary-dark);
}


/* ---------------------------------------------------------
   GRILLE
   --------------------------------------------------------- */

.catalogue-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        26px;
}


/* ---------------------------------------------------------
   CARTE PRODUIT
   --------------------------------------------------------- */

.catalogue-card {
    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.catalogue-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-md);
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.catalogue-image-link {
    position:
        relative;

    display:
        block;

    width:
        100%;

    overflow:
        hidden;

    background:
        var(--background-light);

    text-decoration:
        none;
}


.catalogue-image {
    display:
        block;

    width:
        100%;

    height:
        250px;

    object-fit:
        cover;

    transition:
        transform 0.35s ease;
}


.catalogue-card:hover
.catalogue-image {
    transform:
        scale(1.04);
}


/* ---------------------------------------------------------
   IMAGE ABSENTE
   --------------------------------------------------------- */

.catalogue-image-placeholder {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        100%;

    height:
        250px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );
}


.catalogue-image-placeholder span {
    color:
        #ffffff;

    font-size:
        1.35rem;

    font-weight:
        800;

    letter-spacing:
        0.08em;
}


/* ---------------------------------------------------------
   BADGE DISPONIBLE
   --------------------------------------------------------- */

.catalogue-disponible {
    position:
        absolute;

    top:
        14px;

    right:
        14px;

    padding:
        6px 11px;

    color:
        #ffffff;

    background:
        rgba(
            23,
            26,
            69,
            0.92
        );

    border-radius:
        999px;

    font-size:
        0.75rem;

    font-weight:
        700;

    box-shadow:
        0 4px 12px
        rgba(
            0,
            0,
            0,
            0.15
        );
}


/* ---------------------------------------------------------
   CONTENU
   --------------------------------------------------------- */

.catalogue-card-content {
    display:
        flex;

    flex-direction:
        column;

    flex:
        1;

    padding:
        25px;
}


.catalogue-categorie {
    margin-bottom:
        8px;

    color:
        var(--primary-light);

    font-size:
        0.78rem;

    font-weight:
        800;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;
}


.catalogue-card-content h2 {
    margin:
        0 0 13px;

    font-size:
        1.3rem;

    line-height:
        1.3;
}


.catalogue-card-content h2 a {
    color:
        var(--primary);

    text-decoration:
        none;
}


.catalogue-card-content h2 a:hover {
    text-decoration:
        underline;
}


/* ---------------------------------------------------------
   CARACTÉRISTIQUES
   --------------------------------------------------------- */

.catalogue-caracteristiques {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;

    margin-bottom:
        15px;
}


.catalogue-caracteristiques span {
    display:
        inline-flex;

    padding:
        5px 9px;

    color:
        var(--primary);

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        999px;

    font-size:
        0.78rem;

    font-weight:
        600;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.catalogue-description {
    margin-bottom:
        20px;

    color:
        var(--muted);

    font-size:
        0.94rem;

    line-height:
        1.65;
}


/* ---------------------------------------------------------
   BAS DE CARTE
   --------------------------------------------------------- */

.catalogue-card-footer {
    margin-top:
        auto;

    padding-top:
        8px;
}


.catalogue-prix {
    margin-bottom:
        18px;

    color:
        var(--primary);

    font-size:
        1.35rem;

    font-weight:
        800;
}


.catalogue-prix span {
    font-size:
        0.82rem;

    font-weight:
        700;
}


.catalogue-btn {
    width:
        100%;

    justify-content:
        center;

    text-align:
        center;
}


/* ---------------------------------------------------------
   AUCUN PRODUIT
   --------------------------------------------------------- */

.catalogue-vide {
    grid-column:
        1 / -1;

    padding:
        55px 25px;

    text-align:
        center;

    background:
        var(--background-light);

    border:
        1px dashed var(--border);

    border-radius:
        var(--radius-md);
}


.catalogue-vide h2 {
    margin-bottom:
        10px;

    color:
        var(--primary);
}


.catalogue-vide p {
    margin-bottom:
        22px;

    color:
        var(--muted);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .catalogue-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .catalogue-header {
        padding:
            55px 0 40px;
    }


    .catalogue-grid {
        grid-template-columns:
            1fr;
    }


    .catalogue-image,
    .catalogue-image-placeholder {
        height:
            240px;
    }


    .catalogue-filtres {
        justify-content:
            flex-start;

        margin-bottom:
            30px;
    }


    .catalogue-card-content {
        padding:
            22px;
    }

}


/* =========================================================
   PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 480px) {

    .catalogue-image,
    .catalogue-image-placeholder {
        height:
            215px;
    }


    .catalogue-filtre {
        font-size:
            0.82rem;

        padding:
            8px 13px;
    }


    .catalogue-prix {
        font-size:
            1.2rem;
    }

}

/* =========================================================
   FICHE DÉTAILLÉE PRODUIT
   ========================================================= */

.fiche-produit {
    padding:
        50px 0 80px;

    background:
        #ffffff;
}


/* ---------------------------------------------------------
   RETOUR
   --------------------------------------------------------- */

.fiche-retour {
    display:
        inline-flex;

    align-items:
        center;

    margin-bottom:
        32px;

    color:
        var(--primary);

    text-decoration:
        none;

    font-weight:
        700;
}


.fiche-retour:hover {
    text-decoration:
        underline;
}


/* ---------------------------------------------------------
   GRILLE
   --------------------------------------------------------- */

.fiche-produit-grid {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(340px, 0.85fr);

    gap:
        50px;

    align-items:
        start;
}


/* =========================================================
   GALERIE
   ========================================================= */

.fiche-galerie {
    min-width:
        0;
}


.fiche-image-principale {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        100%;

    min-height:
        500px;

    overflow:
        hidden;

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);
}


.fiche-image-principale img {
    display:
        block;

    width:
        100%;

    height:
        500px;

    object-fit:
        contain;

    transition:
        opacity 0.2s ease;
}


/* ---------------------------------------------------------
   ABSENCE D'IMAGE
   --------------------------------------------------------- */

.fiche-sans-image {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    min-height:
        500px;

    color:
        #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );

    width:
        100%;
}


.fiche-sans-image strong {
    font-size:
        1.6rem;

    letter-spacing:
        0.08em;
}


.fiche-sans-image span {
    opacity:
        0.8;
}


/* ---------------------------------------------------------
   MINIATURES
   --------------------------------------------------------- */

.fiche-miniatures {
    display:
        flex;

    gap:
        10px;

    margin-top:
        14px;

    padding-bottom:
        6px;

    overflow-x:
        auto;
}


.fiche-miniature {
    width:
        92px;

    height:
        72px;

    flex:
        0 0 auto;

    padding:
        0;

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        2px solid var(--border);

    border-radius:
        8px;

    cursor:
        pointer;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


.fiche-miniature:hover {
    transform:
        translateY(-2px);

    border-color:
        var(--primary-light);
}


.fiche-miniature.active {
    border-color:
        var(--primary);
}


.fiche-miniature img {
    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;
}


/* =========================================================
   INFORMATIONS
   ========================================================= */

.fiche-informations {
    min-width:
        0;
}


.fiche-categorie {
    margin-bottom:
        10px;

    color:
        var(--primary-light);

    font-size:
        0.8rem;

    font-weight:
        800;

    letter-spacing:
        0.07em;

    text-transform:
        uppercase;
}


.fiche-informations h1 {
    margin:
        0 0 15px;

    color:
        var(--primary);

    font-size:
        clamp(
            2rem,
            4vw,
            2.8rem
        );

    line-height:
        1.15;
}


/* ---------------------------------------------------------
   DISPONIBILITÉ
   --------------------------------------------------------- */

.fiche-disponibilite {
    display:
        inline-flex;

    margin-bottom:
        20px;

    padding:
        6px 12px;

    color:
        var(--primary);

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        999px;

    font-size:
        0.8rem;

    font-weight:
        700;
}


/* ---------------------------------------------------------
   PRIX
   --------------------------------------------------------- */

.fiche-prix {
    margin-bottom:
        30px;

    color:
        var(--primary);

    font-size:
        1.9rem;

    font-weight:
        800;
}


.fiche-prix span {
    font-size:
        0.9rem;

    font-weight:
        700;
}


/* =========================================================
   CARACTÉRISTIQUES
   ========================================================= */

.fiche-caracteristiques {
    margin:
        28px 0;
}


.fiche-caracteristiques h2,
.fiche-description h2 {
    margin-bottom:
        15px;

    color:
        var(--primary);

    font-size:
        1.2rem;
}


.fiche-caracteristiques-table {
    overflow:
        hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-sm);
}


.fiche-caracteristique {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        12px 15px;

    border-bottom:
        1px solid var(--border);
}


.fiche-caracteristique:last-child {
    border-bottom:
        none;
}


.fiche-caracteristique:nth-child(even) {
    background:
        var(--background-light);
}


.fiche-caracteristique span {
    color:
        var(--muted);
}


.fiche-caracteristique strong {
    color:
        var(--text);

    text-align:
        right;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.fiche-description {
    margin-top:
        30px;
}


.fiche-description p {
    margin:
        0;

    color:
        var(--muted);

    line-height:
        1.8;
}


/* =========================================================
   COMMANDE
   ========================================================= */

.fiche-commande {
    margin-top:
        32px;

    padding:
        24px;

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);
}


.fiche-commande-btn {
    width:
        100%;

    justify-content:
        center;

    text-align:
        center;
}


.fiche-commande p {
    margin:
        13px 0 0;

    color:
        var(--muted);

    font-size:
        0.88rem;

    line-height:
        1.55;

    text-align:
        center;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .fiche-produit-grid {
        grid-template-columns:
            1fr;

        gap:
            35px;
    }


    .fiche-image-principale {
        min-height:
            420px;
    }


    .fiche-image-principale img {
        height:
            420px;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 600px) {

    .fiche-produit {
        padding:
            35px 0 60px;
    }


    .fiche-image-principale {
        min-height:
            300px;
    }


    .fiche-image-principale img {
        height:
            300px;
    }


    .fiche-sans-image {
        min-height:
            300px;
    }


    .fiche-miniature {
        width:
            78px;

        height:
            62px;
    }


    .fiche-informations h1 {
        font-size:
            2rem;
    }


    .fiche-prix {
        font-size:
            1.6rem;
    }


    .fiche-caracteristique {
        align-items:
            flex-start;

        font-size:
            0.9rem;
    }


    .fiche-commande {
        padding:
            20px 16px;
    }

}

/* =========================================================
   PAGE RÉALISATIONS SMS-RCA
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.realisations-header {
    padding:
        75px 0 55px;

    text-align:
        center;

    background:
        var(--background-light);

    border-bottom:
        1px solid var(--border);
}


.realisations-header h1 {
    margin-bottom:
        16px;

    color:
        var(--primary);

    font-size:
        clamp(
            2.1rem,
            5vw,
            3rem
        );
}


.realisations-intro {
    max-width:
        750px;

    margin:
        0 auto;

    color:
        var(--muted);

    font-size:
        1.05rem;

    line-height:
        1.7;
}


/* ---------------------------------------------------------
   SECTION
   --------------------------------------------------------- */

.realisations-section {
    background:
        #ffffff;
}


/* ---------------------------------------------------------
   FILTRES
   --------------------------------------------------------- */

.realisations-filtres {
    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        center;

    gap:
        10px;

    margin-bottom:
        42px;
}


.realisations-filtre {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        42px;

    padding:
        9px 17px;

    color:
        var(--primary);

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        999px;

    text-decoration:
        none;

    font-size:
        0.9rem;

    font-weight:
        700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.realisations-filtre:hover {
    transform:
        translateY(-2px);

    color:
        var(--primary);

    background:
        var(--background-light);

    border-color:
        var(--primary);
}


.realisations-filtre-actif {
    color:
        #ffffff;

    background:
        var(--primary);

    border-color:
        var(--primary);
}


.realisations-filtre-actif:hover {
    color:
        #ffffff;

    background:
        var(--primary-dark);

    border-color:
        var(--primary-dark);
}


/* ---------------------------------------------------------
   GRILLE
   --------------------------------------------------------- */

.realisations-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        26px;

    align-items:
        stretch;
}


/* ---------------------------------------------------------
   CARTE
   --------------------------------------------------------- */

.realisation-card {
    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.realisation-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-md);
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.realisation-image-link {
    position:
        relative;

    display:
        block;

    width:
        100%;

    overflow:
        hidden;

    background:
        var(--background-light);

    text-decoration:
        none;
}


.realisation-image {
    display:
        block;

    width:
        100%;

    height:
        250px;

    object-fit:
        cover;

    transition:
        transform 0.35s ease;
}


.realisation-card:hover
.realisation-image {
    transform:
        scale(1.04);
}


/* ---------------------------------------------------------
   ABSENCE DE PHOTO
   --------------------------------------------------------- */

.realisation-placeholder {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    height:
        250px;

    color:
        #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );
}


.realisation-placeholder strong {
    font-size:
        1.35rem;

    letter-spacing:
        0.08em;
}


.realisation-placeholder span {
    font-size:
        0.85rem;

    opacity:
        0.8;
}


/* ---------------------------------------------------------
   BADGE À LA UNE
   --------------------------------------------------------- */

.realisation-badge {
    position:
        absolute;

    top:
        14px;

    right:
        14px;

    padding:
        6px 11px;

    color:
        #ffffff;

    background:
        rgba(
            23,
            26,
            69,
            0.92
        );

    border-radius:
        999px;

    font-size:
        0.75rem;

    font-weight:
        700;

    box-shadow:
        0 4px 12px
        rgba(
            0,
            0,
            0,
            0.15
        );
}


/* ---------------------------------------------------------
   CONTENU
   --------------------------------------------------------- */

.realisation-card-content {
    display:
        flex;

    flex-direction:
        column;

    flex:
        1;

    padding:
        25px;
}


.realisation-categorie {
    margin-bottom:
        9px;

    color:
        var(--primary-light);

    font-size:
        0.78rem;

    font-weight:
        800;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;
}


.realisation-card-content h2 {
    margin:
        0 0 13px;

    font-size:
        1.3rem;

    line-height:
        1.35;
}


.realisation-card-content h2 a {
    color:
        var(--primary);

    text-decoration:
        none;
}


.realisation-card-content h2 a:hover {
    text-decoration:
        underline;
}


/* ---------------------------------------------------------
   ANNÉE + LIEU
   --------------------------------------------------------- */

.realisation-meta {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;

    margin-bottom:
        15px;
}


.realisation-meta span {
    display:
        inline-flex;

    padding:
        5px 9px;

    color:
        var(--primary);

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        999px;

    font-size:
        0.78rem;

    font-weight:
        600;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.realisation-description {
    margin-bottom:
        20px;

    color:
        var(--muted);

    font-size:
        0.94rem;

    line-height:
        1.65;
}


/* ---------------------------------------------------------
   BOUTON
   --------------------------------------------------------- */

.realisation-card-footer {
    margin-top:
        auto;

    padding-top:
        8px;
}


.realisation-btn {
    width:
        100%;

    justify-content:
        center;

    text-align:
        center;
}


/* ---------------------------------------------------------
   AUCUN PROJET
   --------------------------------------------------------- */

.realisations-vide {
    padding:
        55px 25px;

    text-align:
        center;

    background:
        var(--background-light);

    border:
        1px dashed var(--border);

    border-radius:
        var(--radius-md);
}


.realisations-vide h2 {
    margin-bottom:
        10px;

    color:
        var(--primary);
}


.realisations-vide p {
    margin-bottom:
        22px;

    color:
        var(--muted);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .realisations-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .realisations-header {
        padding:
            55px 0 40px;
    }


    .realisations-grid {
        grid-template-columns:
            1fr;
    }


    .realisations-filtres {
        justify-content:
            flex-start;

        margin-bottom:
            30px;
    }


    .realisation-image,
    .realisation-placeholder {
        height:
            240px;
    }


    .realisation-card-content {
        padding:
            22px;
    }

}


/* =========================================================
   PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 480px) {

    .realisation-image,
    .realisation-placeholder {
        height:
            215px;
    }


    .realisations-filtre {
        padding:
            8px 13px;

        font-size:
            0.82rem;
    }

}

/* =========================================================
   FICHE DÉTAILLÉE RÉALISATION
   ========================================================= */

.detail-realisation {
    padding:
        50px 0 80px;

    background:
        #ffffff;
}


/* ---------------------------------------------------------
   RETOUR
   --------------------------------------------------------- */

.detail-realisation-retour {
    display:
        inline-flex;

    align-items:
        center;

    margin-bottom:
        35px;

    color:
        var(--primary);

    text-decoration:
        none;

    font-weight:
        700;
}


.detail-realisation-retour:hover {
    text-decoration:
        underline;
}


/* =========================================================
   EN-TÊTE
   ========================================================= */

.detail-realisation-header {
    max-width:
        900px;

    margin-bottom:
        40px;
}


.detail-realisation-categorie {
    margin-bottom:
        10px;

    color:
        var(--primary-light);

    font-size:
        0.82rem;

    font-weight:
        800;

    letter-spacing:
        0.07em;

    text-transform:
        uppercase;
}


.detail-realisation-header h1 {
    margin:
        0 0 18px;

    color:
        var(--primary);

    font-size:
        clamp(
            2.1rem,
            5vw,
            3.2rem
        );

    line-height:
        1.18;
}


/* ---------------------------------------------------------
   ANNÉE + LIEU
   --------------------------------------------------------- */

.detail-realisation-meta {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;

    margin-bottom:
        24px;
}


.detail-realisation-meta span {
    display:
        inline-flex;

    align-items:
        center;

    padding:
        6px 11px;

    color:
        var(--primary);

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        999px;

    font-size:
        0.85rem;

    font-weight:
        700;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.detail-realisation-description {
    color:
        var(--muted);

    font-size:
        1.02rem;

    line-height:
        1.85;
}


.detail-realisation-description p {
    margin-bottom:
        15px;
}


.detail-realisation-description p:last-child {
    margin-bottom:
        0;
}


/* =========================================================
   GALERIE
   ========================================================= */

.detail-realisation-galerie {
    margin-top:
        35px;
}


/* ---------------------------------------------------------
   GRANDE PHOTO
   --------------------------------------------------------- */

.detail-realisation-photo-principale {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        100%;

    min-height:
        520px;

    overflow:
        hidden;

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);
}


.detail-realisation-photo-principale img {
    display:
        block;

    width:
        100%;

    max-width:
        100%;

    height:
        620px;

    object-fit:
        contain;
}


/* ---------------------------------------------------------
   TITRE GALERIE + COMPTEUR
   --------------------------------------------------------- */

.detail-realisation-galerie-entete {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    margin-top:
        30px;

    margin-bottom:
        16px;
}


.detail-realisation-galerie-entete h2 {
    margin:
        0;

    color:
        var(--primary);

    font-size:
        1.3rem;
}


.detail-realisation-galerie-entete span {
    color:
        var(--muted);

    font-size:
        0.9rem;

    font-weight:
        600;
}


/* ---------------------------------------------------------
   MINIATURES
   --------------------------------------------------------- */

.detail-realisation-miniatures {
    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap:
        14px;
}


.detail-realisation-miniature {
    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;

    padding:
        0;

    overflow:
        hidden;

    color:
        var(--text);

    background:
        #ffffff;

    border:
        2px solid var(--border);

    border-radius:
        var(--radius-sm);

    cursor:
        pointer;

    text-align:
        left;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.detail-realisation-miniature:hover {
    transform:
        translateY(-3px);

    border-color:
        var(--primary-light);

    box-shadow:
        var(--shadow-sm);
}


.detail-realisation-miniature.active {
    border-color:
        var(--primary);

    box-shadow:
        0 0 0 2px
        rgba(
            37,
            41,
            96,
            0.10
        );
}


.detail-realisation-miniature img {
    display:
        block;

    width:
        100%;

    height:
        135px;

    object-fit:
        cover;
}


.detail-realisation-miniature span {
    display:
        block;

    padding:
        9px 10px;

    font-size:
        0.8rem;

    font-weight:
        600;

    line-height:
        1.4;
}


/* =========================================================
   AUCUNE PHOTO
   ========================================================= */

.detail-realisation-sans-photo {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    min-height:
        320px;

    margin-top:
        35px;

    padding:
        40px;

    color:
        #ffffff;

    text-align:
        center;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );

    border-radius:
        var(--radius-md);
}


.detail-realisation-sans-photo strong {
    font-size:
        1.5rem;

    letter-spacing:
        0.08em;
}


.detail-realisation-sans-photo p {
    margin:
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );
}


/* =========================================================
   ACTIONS
   ========================================================= */

.detail-realisation-actions {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        45px;

    padding-top:
        30px;

    border-top:
        1px solid var(--border);
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .detail-realisation-photo-principale {
        min-height:
            420px;
    }


    .detail-realisation-photo-principale img {
        height:
            500px;
    }


    .detail-realisation-miniatures {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .detail-realisation {
        padding:
            35px 0 60px;
    }


    .detail-realisation-header {
        margin-bottom:
            30px;
    }


    .detail-realisation-photo-principale {
        min-height:
            300px;
    }


    .detail-realisation-photo-principale img {
        height:
            330px;
    }


    .detail-realisation-miniatures {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .detail-realisation-miniature img {
        height:
            110px;
    }


    .detail-realisation-actions {
        flex-direction:
            column;
    }


    .detail-realisation-actions .btn {
        width:
            100%;

        justify-content:
            center;

        text-align:
            center;
    }

}


/* =========================================================
   PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 480px) {

    .detail-realisation-photo-principale img {
        height:
            280px;
    }


    .detail-realisation-photo-principale {
        min-height:
            280px;
    }


    .detail-realisation-galerie-entete {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            5px;
    }


    .detail-realisation-miniature img {
        height:
            95px;
    }

}

/* =========================================================
   PAGE ENTREPRISE / À PROPOS
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.entreprise-header {
    padding:
        75px 0 55px;

    text-align:
        center;

    background:
        var(--background-light);

    border-bottom:
        1px solid var(--border);
}


.entreprise-header h1 {
    margin-bottom:
        16px;

    color:
        var(--primary);

    font-size:
        clamp(
            2.1rem,
            5vw,
            3rem
        );
}


.entreprise-intro {
    max-width:
        750px;

    margin:
        0 auto;

    color:
        var(--muted);

    font-size:
        1.05rem;

    line-height:
        1.7;
}


/* =========================================================
   PRÉSENTATION
   ========================================================= */

.entreprise-presentation {
    background:
        #ffffff;
}


.entreprise-presentation-grid {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    gap:
        55px;

    align-items:
        center;
}


.entreprise-presentation-texte h2 {
    max-width:
        650px;

    margin-bottom:
        22px;

    color:
        var(--primary);

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.5rem
        );

    line-height:
        1.25;
}


.entreprise-presentation-texte p:not(.section-label) {
    margin-bottom:
        16px;

    color:
        var(--muted);

    font-size:
        1rem;

    line-height:
        1.8;
}


.entreprise-presentation-texte p:last-child {
    margin-bottom:
        0;
}


/* ---------------------------------------------------------
   ENCADRÉ
   --------------------------------------------------------- */

.entreprise-presentation-encadre {
    padding:
        35px;

    color:
        #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-md);
}


.entreprise-encadre-sigle {
    display:
        inline-block;

    margin-bottom:
        14px;

    font-size:
        0.82rem;

    font-weight:
        800;

    letter-spacing:
        0.1em;

    opacity:
        0.8;
}


.entreprise-presentation-encadre h3 {
    margin-bottom:
        15px;

    color:
        #ffffff;

    font-size:
        1.55rem;
}


.entreprise-presentation-encadre p {
    margin-bottom:
        24px;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    line-height:
        1.7;
}


/* =========================================================
   CARTES MISSION / VALEURS
   ========================================================= */

.entreprise-fond {
    background:
        var(--background-light);
}


.entreprise-cards {
    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        25px;
}


.entreprise-card {
    position:
        relative;

    padding:
        32px 28px;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);

    box-shadow:
        var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.entreprise-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-md);
}


.entreprise-card-numero {
    margin-bottom:
        18px;

    color:
        var(--primary-light);

    font-size:
        0.8rem;

    font-weight:
        800;

    letter-spacing:
        0.08em;
}


.entreprise-card h2 {
    margin-bottom:
        15px;

    color:
        var(--primary);

    font-size:
        1.3rem;
}


.entreprise-card p {
    margin:
        0;

    color:
        var(--muted);

    line-height:
        1.75;
}


/* =========================================================
   ENGAGEMENT
   ========================================================= */

.entreprise-engagement {
    background:
        #ffffff;
}


.entreprise-engagement-box {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap:
        40px;

    align-items:
        center;

    padding:
        40px;

    background:
        var(--background-light);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-md);
}


.entreprise-engagement-box h2 {
    max-width:
        650px;

    margin-bottom:
        15px;

    color:
        var(--primary);

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.2rem
        );
}


.entreprise-engagement-box p:not(.section-label) {
    max-width:
        700px;

    margin:
        0;

    color:
        var(--muted);

    line-height:
        1.75;
}


.entreprise-engagement-actions {
    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;

    min-width:
        210px;
}


.entreprise-engagement-actions .btn {
    width:
        100%;

    justify-content:
        center;

    text-align:
        center;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .entreprise-presentation-grid {
        grid-template-columns:
            1fr;

        gap:
            35px;
    }


    .entreprise-cards {
        grid-template-columns:
            1fr;
    }


    .entreprise-engagement-box {
        grid-template-columns:
            1fr;
    }


    .entreprise-engagement-actions {
        flex-direction:
            row;

        min-width:
            0;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .entreprise-header {
        padding:
            55px 0 40px;
    }


    .entreprise-presentation-encadre {
        padding:
            28px 24px;
    }


    .entreprise-card {
        padding:
            28px 24px;
    }


    .entreprise-engagement-box {
        padding:
            28px 22px;
    }


    .entreprise-engagement-actions {
        flex-direction:
            column;
    }

}

/* =========================================================
   PAGE NOS SERVICES
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.services-header {
    padding: 75px 0 55px;
    text-align: center;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.services-header h1 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: clamp(2.1rem, 5vw, 3rem);
}


.services-intro {
    max-width: 750px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   PRÉSENTATION
   ========================================================= */

.services-presentation {
    background: #ffffff;
}


.services-presentation-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: 55px;
    align-items: start;
}


.services-presentation-grid h2 {
    max-width: 550px;
    margin: 0;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.25;
}


.services-presentation-texte p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.8;
}


.services-presentation-texte p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CARTES SERVICES
   ========================================================= */

.services-fond {
    background: var(--background-light);
}


.services-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 25px;
}


.service-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}


.service-card-numero {
    margin-bottom: 22px;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


.service-card h2 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.35rem;
    line-height: 1.35;
}


.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}


.service-card-bas {
    margin-top: auto;
    padding-top: 25px;
}


.service-card-lien {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
}


.service-card-lien:hover {
    text-decoration: underline;
}


/* =========================================================
   NOTRE APPROCHE
   ========================================================= */

.services-methode {
    background: #ffffff;
}


.services-methode-header {
    max-width: 700px;
    margin-bottom: 40px;
}


.services-methode-header h2 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}


.services-methode-header > p:not(.section-label) {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


.services-etapes {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}


.services-etape {
    padding: 30px;
    border-right: 1px solid var(--border);
}


.services-etape:last-child {
    border-right: 0;
}


.services-etape > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 800;
}


.services-etape h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.2rem;
}


.services-etape p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   RÉALISATIONS
   ========================================================= */

.services-realisations {
    background: var(--background-light);
}


.services-realisations-box {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 40px;
    align-items: center;
    padding: 38px 40px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.services-realisations-box h2 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}


.services-realisations-box p:not(.section-label) {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.services-cta {
    padding: 65px 0;
    background: var(--primary-dark);
}


.services-cta-content {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 40px;
    align-items: center;
}


.services-cta .section-label {
    color: rgba(255, 255, 255, 0.7);
}


.services-cta h2 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}


.services-cta p:not(.section-label) {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .services-presentation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .services-etapes {
        grid-template-columns: 1fr;
    }


    .services-etape {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }


    .services-etape:last-child {
        border-bottom: 0;
    }


    .services-realisations-box,
    .services-cta-content {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .services-header {
        padding: 55px 0 40px;
    }


    .service-card {
        min-height: 0;
        padding: 28px 24px;
    }


    .services-etape {
        padding: 26px 22px;
    }


    .services-realisations-box {
        padding: 28px 22px;
    }


    .services-realisations-box .btn,
    .services-cta-content .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }


    .services-cta {
        padding: 50px 0;
    }

}

/* =========================================================
   PAGE CONTACT
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.contact-header {
    padding: 75px 0 55px;
    text-align: center;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.contact-header h1 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: clamp(2.1rem, 5vw, 3rem);
}


.contact-intro {
    max-width: 750px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   SECTION
   ========================================================= */

.contact-section {
    background: #ffffff;
}


.contact-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}


/* =========================================================
   INFORMATIONS
   ========================================================= */

.contact-informations {
    padding: 35px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}


.contact-informations > h2 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.3;
}


.contact-informations-intro {
    margin-bottom: 30px;
    color: var(--muted);
    line-height: 1.7;
}


/* ---------------------------------------------------------
   BLOCS D'INFORMATIONS
   --------------------------------------------------------- */

.contact-info-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}


.contact-info-numero {
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}


.contact-info-card h3 {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 1.05rem;
}


.contact-info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.65;
}


.contact-carrieres-lien {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
}


.contact-carrieres-lien:hover {
    text-decoration: underline;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.contact-formulaire {
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.contact-formulaire-header {
    margin-bottom: 30px;
}


.contact-formulaire-header h2 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2rem);
}


.contact-formulaire-header > p:not(.section-label) {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}


/* ---------------------------------------------------------
   CHAMPS
   --------------------------------------------------------- */

.contact-champ {
    margin-bottom: 21px;
}


.contact-champ label {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 0.93rem;
    font-weight: 700;
}


.contact-obligatoire {
    color: #b42318;
}


/*
   Le formulaire Django utilise déjà la classe
   form-control. Ces règles couvrent aussi les champs
   qui n'auraient pas cette classe.
*/

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px
        rgba(37, 41, 96, 0.10);
}


/* ---------------------------------------------------------
   AIDE
   --------------------------------------------------------- */

.contact-aide {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   ERREURS
   --------------------------------------------------------- */

.contact-erreurs-formulaire {
    margin-bottom: 22px;
    padding: 14px 16px;
    color: #8a1c13;
    background: #fff3f2;
    border: 1px solid #f1c4bf;
    border-radius: 8px;
    font-size: 0.9rem;
}


.contact-erreur-champ {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.85rem;
    font-weight: 600;
}


/* =========================================================
   BOUTON
   ========================================================= */

.contact-submit {
    width: 100%;
    justify-content: center;
    border: 0;
    text-align: center;
    cursor: pointer;
}


.contact-mention {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: center;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 850px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }


    .contact-informations {
        order: 2;
    }


    .contact-formulaire {
        order: 1;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .contact-header {
        padding: 55px 0 40px;
    }


    .contact-formulaire {
        padding: 28px 22px;
    }


    .contact-informations {
        padding: 28px 22px;
    }

}

/* =========================================================
   PAGE CARRIÈRES
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.carrieres-header {
    padding: 75px 0 55px;
    text-align: center;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.carrieres-header h1 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: clamp(2.1rem, 5vw, 3rem);
}


.carrieres-intro {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   EN-TÊTES DE SECTION
   ========================================================= */

.carrieres-section-header {
    max-width: 760px;
    margin-bottom: 38px;
}


.carrieres-section-header h2 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}


.carrieres-section-header p:not(.section-label) {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}


/* =========================================================
   OFFRES
   ========================================================= */

.carrieres-offres {
    background: #ffffff;
}


.carrieres-offres-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}


.carriere-offre-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.carriere-offre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}


/* ---------------------------------------------------------
   HAUT DE CARTE
   --------------------------------------------------------- */

.carriere-offre-haut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}


.carriere-contrat {
    display: inline-flex;
    padding: 6px 10px;
    color: var(--primary);
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}


.carriere-offre-numero {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   TITRE
   --------------------------------------------------------- */

.carriere-offre-card h3 {
    margin: 0 0 22px;
    color: var(--primary);
    font-size: 1.3rem;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   INFORMATIONS
   --------------------------------------------------------- */

.carriere-offre-infos {
    margin-bottom: 25px;
    border-top: 1px solid var(--border);
}


.carriere-offre-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}


.carriere-offre-info span {
    color: var(--muted);
}


.carriere-offre-info strong {
    color: var(--text);
    text-align: right;
}


.carriere-offre-footer {
    margin-top: auto;
}


.carriere-offre-footer .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}


/* =========================================================
   AUCUNE OFFRE
   ========================================================= */

.carrieres-aucune-offre {
    grid-column: 1 / -1;
    padding: 45px 35px;
    text-align: center;
    background: var(--background-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}


.carrieres-aucune-offre h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.4rem;
}


.carrieres-aucune-offre > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 22px;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   CANDIDATURE SPONTANÉE
   ========================================================= */

.carrieres-spontanee-section {
    background: var(--background-light);
}


.carrieres-spontanee {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 45px;
    align-items: center;
    padding: 42px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.carrieres-spontanee-contenu {
    max-width: 720px;
}


.carrieres-spontanee h2 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: clamp(1.7rem, 4vw, 2.3rem);
}


.carrieres-spontanee-contenu p:not(.section-label) {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.75;
}


.carrieres-spontanee-contenu p:last-child {
    margin-bottom: 0;
}


.carrieres-spontanee-action {
    min-width: 250px;
}


.carrieres-spontanee-action .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}


/* =========================================================
   PROFILS
   ========================================================= */

.carrieres-profils {
    background: #ffffff;
}


.carrieres-profils-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 25px;
}


.carriere-profil-card {
    padding: 30px 28px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}


.carriere-profil-numero {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


.carriere-profil-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.25rem;
}


.carriere-profil-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.carrieres-cta {
    padding: 65px 0;
    background: var(--primary-dark);
}


.carrieres-cta-content {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 40px;
    align-items: center;
}


.carrieres-cta .section-label {
    color: rgba(255, 255, 255, 0.68);
}


.carrieres-cta h2 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}


.carrieres-cta p:not(.section-label) {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}


.carrieres-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 210px;
}


.carrieres-cta-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .carrieres-offres-grid,
    .carrieres-profils-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 850px) {

    .carrieres-spontanee,
    .carrieres-cta-content {
        grid-template-columns: 1fr;
    }


    .carrieres-spontanee-action {
        min-width: 0;
    }


    .carrieres-cta-actions {
        flex-direction: row;
        min-width: 0;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .carrieres-header {
        padding: 55px 0 40px;
    }


    .carrieres-offres-grid,
    .carrieres-profils-grid {
        grid-template-columns: 1fr;
    }


    .carriere-offre-card {
        padding: 25px 22px;
    }


    .carrieres-spontanee {
        padding: 28px 22px;
    }


    .carrieres-cta {
        padding: 50px 0;
    }


    .carrieres-cta-actions {
        flex-direction: column;
    }

}

/* =========================================================
   DÉTAIL D'UNE OFFRE D'EMPLOI
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.offre-detail-header {
    padding: 55px 0 50px;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.offre-detail-retour {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}


.offre-detail-retour:hover {
    color: var(--primary);
}


.offre-detail-header h1 {
    max-width: 850px;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
}


/* ---------------------------------------------------------
   RÉSUMÉ
   --------------------------------------------------------- */

.offre-detail-resume {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}


.offre-detail-contrat,
.offre-detail-info {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
}


.offre-detail-contrat {
    color: #ffffff;
    background: var(--primary);
    font-weight: 800;
}


.offre-detail-info {
    color: var(--muted);
    background: #ffffff;
    border: 1px solid var(--border);
    font-weight: 600;
}


/* =========================================================
   CONTENU
   ========================================================= */

.offre-detail-section {
    background: #ffffff;
}


.offre-detail-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 360px);
    gap: 45px;
    align-items: start;
}


/* ---------------------------------------------------------
   BLOCS PRINCIPAUX
   --------------------------------------------------------- */

.offre-detail-contenu {
    min-width: 0;
}


.offre-detail-bloc {
    padding-bottom: 38px;
    margin-bottom: 38px;
    border-bottom: 1px solid var(--border);
}


.offre-detail-bloc:last-child {
    margin-bottom: 0;
}


.offre-detail-bloc-titre {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}


.offre-detail-bloc-titre span {
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


.offre-detail-bloc-titre h2 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}


.offre-detail-texte {
    color: var(--muted);
    line-height: 1.8;
}


.offre-detail-texte p {
    margin: 0 0 16px;
}


.offre-detail-texte p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   COLONNE CANDIDATURE
   ========================================================= */

.offre-detail-candidature {
    position: sticky;
    top: 110px;
    padding: 30px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}


.offre-detail-candidature h2 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1.3;
}


.offre-detail-candidature > p:not(.section-label) {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   RÉCAPITULATIF
   --------------------------------------------------------- */

.offre-detail-recap {
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
}


.offre-detail-recap-ligne {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.86rem;
}


.offre-detail-recap-ligne span {
    color: var(--muted);
}


.offre-detail-recap-ligne strong {
    color: var(--text);
    text-align: right;
}


.offre-detail-date-limite strong {
    color: var(--primary);
}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.offre-detail-postuler {
    width: 100%;
    justify-content: center;
    text-align: center;
}


.offre-detail-lien-secondaire {
    display: block;
    margin-top: 14px;
    color: var(--primary);
    text-align: center;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}


.offre-detail-lien-secondaire:hover {
    text-decoration: underline;
}


/* =========================================================
   CANDIDATURE SPONTANÉE
   ========================================================= */

.offre-detail-spontanee {
    background: var(--background-light);
}


.offre-detail-spontanee-box {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 40px;
    align-items: center;
    padding: 38px 40px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.offre-detail-spontanee-box h2 {
    max-width: 650px;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}


.offre-detail-spontanee-box p:not(.section-label) {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .offre-detail-grid {
        grid-template-columns: 1fr;
    }


    .offre-detail-candidature {
        position: static;
    }


    .offre-detail-spontanee-box {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .offre-detail-header {
        padding: 40px 0;
    }


    .offre-detail-retour {
        margin-bottom: 24px;
    }


    .offre-detail-resume {
        align-items: stretch;
        flex-direction: column;
    }


    .offre-detail-contrat,
    .offre-detail-info {
        width: fit-content;
    }


    .offre-detail-candidature {
        padding: 26px 22px;
    }


    .offre-detail-spontanee-box {
        padding: 28px 22px;
    }


    .offre-detail-spontanee-box .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

}

/* =========================================================
   FORMULAIRE DE CANDIDATURE
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.candidature-header {
    padding: 55px 0 50px;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.candidature-retour {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}


.candidature-retour:hover {
    color: var(--primary);
}


.candidature-header h1 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3rem);
}


.candidature-offre-titre {
    max-width: 750px;
    margin: 0 0 18px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}


.candidature-offre-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.candidature-offre-meta span {
    display: inline-flex;
    padding: 7px 12px;
    color: var(--muted);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}


/* =========================================================
   STRUCTURE
   ========================================================= */

.candidature-section {
    background: #ffffff;
}


.candidature-grid {
    display: grid;
    grid-template-columns:
        minmax(270px, 0.75fr)
        minmax(0, 1.25fr);
    gap: 40px;
    align-items: start;
}


/* =========================================================
   COLONNE INFORMATIONS
   ========================================================= */

.candidature-informations {
    padding: 32px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}


.candidature-informations > h2 {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 1.65rem;
    line-height: 1.3;
}


.candidature-informations-intro {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.7;
}


/* ---------------------------------------------------------
   ÉTAPES
   --------------------------------------------------------- */

.candidature-etape {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}


.candidature-etape > span {
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}


.candidature-etape h3 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 1rem;
}


.candidature-etape p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.candidature-formulaire {
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.candidature-formulaire-header {
    margin-bottom: 32px;
}


.candidature-formulaire-header h2 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2rem);
}


.candidature-formulaire-header p:not(.section-label) {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}


/* =========================================================
   SECTIONS DU FORMULAIRE
   ========================================================= */

.candidature-form-section {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}


.candidature-form-section h3 {
    margin: 0 0 20px;
    color: var(--primary);
    font-size: 1.1rem;
}


.candidature-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   CHAMPS
   ========================================================= */

.candidature-champ {
    min-width: 0;
}


.candidature-champ label {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}


.candidature-champ label span {
    color: #b42318;
}


.candidature-form input:not([type="file"]),
.candidature-form select,
.candidature-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.candidature-form textarea {
    min-height: 145px;
    resize: vertical;
}


.candidature-form input:not([type="file"]):focus,
.candidature-form select:focus,
.candidature-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px
        rgba(37, 41, 96, 0.10);
}


/* =========================================================
   FICHIERS
   ========================================================= */

.candidature-fichier {
    padding: 14px;
    background: var(--background-light);
    border: 1px dashed var(--border);
    border-radius: 8px;
}


.candidature-fichier input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
}


.candidature-aide {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* =========================================================
   ERREURS
   ========================================================= */

.candidature-erreurs-generales {
    margin-bottom: 24px;
    padding: 14px 16px;
    color: #8a1c13;
    background: #fff3f2;
    border: 1px solid #f1c4bf;
    border-radius: 8px;
    font-size: 0.9rem;
}


.candidature-erreur {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.84rem;
    font-weight: 600;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.candidature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.candidature-submit {
    border: 0;
    cursor: pointer;
}


.candidature-mention {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .candidature-grid {
        grid-template-columns: 1fr;
    }


    .candidature-informations {
        order: 2;
    }


    .candidature-formulaire {
        order: 1;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .candidature-header {
        padding: 40px 0;
    }


    .candidature-formulaire {
        padding: 28px 22px;
    }


    .candidature-informations {
        padding: 28px 22px;
    }


    .candidature-form-grid {
        grid-template-columns: 1fr;
    }


    .candidature-actions {
        flex-direction: column;
    }


    .candidature-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

}

/* =========================================================
   CANDIDATURE SPONTANÉE
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.spontanee-header {
    padding: 55px 0 50px;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.spontanee-retour {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}


.spontanee-retour:hover {
    color: var(--primary);
}


.spontanee-header h1 {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3rem);
}


.spontanee-intro {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   STRUCTURE
   ========================================================= */

.spontanee-section {
    background: #ffffff;
}


.spontanee-grid {
    display: grid;
    grid-template-columns:
        minmax(270px, 0.75fr)
        minmax(0, 1.25fr);
    gap: 40px;
    align-items: start;
}


/* =========================================================
   INFORMATIONS
   ========================================================= */

.spontanee-informations {
    padding: 32px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}


.spontanee-informations > h2 {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 1.65rem;
    line-height: 1.3;
}


.spontanee-informations-intro {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.7;
}


/* ---------------------------------------------------------
   ÉTAPES
   --------------------------------------------------------- */

.spontanee-etape {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}


.spontanee-etape > span {
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}


.spontanee-etape h3 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 1rem;
}


.spontanee-etape p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   INFORMATION COMPLÉMENTAIRE
   --------------------------------------------------------- */

.spontanee-info-box {
    margin-top: 20px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
}


.spontanee-info-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 0.9rem;
}


.spontanee-info-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.spontanee-formulaire {
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.spontanee-formulaire-header {
    margin-bottom: 32px;
}


.spontanee-formulaire-header h2 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2rem);
}


.spontanee-formulaire-header p:not(.section-label) {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}


/* =========================================================
   SECTIONS DU FORMULAIRE
   ========================================================= */

.spontanee-form-section {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}


.spontanee-form-section h3 {
    margin: 0 0 20px;
    color: var(--primary);
    font-size: 1.1rem;
}


.spontanee-form-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   CHAMPS
   ========================================================= */

.spontanee-champ {
    min-width: 0;
}


.spontanee-champ label {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}


.spontanee-champ label span {
    color: #b42318;
}


.spontanee-form input:not([type="file"]),
.spontanee-form select,
.spontanee-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.spontanee-form textarea {
    min-height: 150px;
    resize: vertical;
}


.spontanee-form input:not([type="file"]):focus,
.spontanee-form select:focus,
.spontanee-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px
        rgba(37, 41, 96, 0.10);
}


/* =========================================================
   FICHIERS
   ========================================================= */

.spontanee-fichier {
    padding: 14px;
    background: var(--background-light);
    border: 1px dashed var(--border);
    border-radius: 8px;
}


.spontanee-fichier input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
}


.spontanee-aide {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* =========================================================
   ERREURS
   ========================================================= */

.spontanee-erreurs-generales {
    margin-bottom: 24px;
    padding: 14px 16px;
    color: #8a1c13;
    background: #fff3f2;
    border: 1px solid #f1c4bf;
    border-radius: 8px;
    font-size: 0.9rem;
}


.spontanee-erreur {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.84rem;
    font-weight: 600;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.spontanee-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.spontanee-submit {
    border: 0;
    cursor: pointer;
}


.spontanee-mention {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .spontanee-grid {
        grid-template-columns: 1fr;
    }


    .spontanee-informations {
        order: 2;
    }


    .spontanee-formulaire {
        order: 1;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .spontanee-header {
        padding: 40px 0;
    }


    .spontanee-formulaire {
        padding: 28px 22px;
    }


    .spontanee-informations {
        padding: 28px 22px;
    }


    .spontanee-form-grid {
        grid-template-columns: 1fr;
    }


    .spontanee-actions {
        flex-direction: column;
    }


    .spontanee-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

}

/* =========================================================
   CONFIRMATION DE CANDIDATURE
   ========================================================= */

.confirmation-candidature-section {
    padding: 80px 0;
    background: var(--background-light);
}


.confirmation-candidature-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 42px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


/* ---------------------------------------------------------
   ICÔNE
   --------------------------------------------------------- */

.confirmation-candidature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 24px;

    color: #ffffff;
    background: var(--primary);

    border-radius: 50%;

    font-size: 2rem;
    font-weight: 800;
}


/* ---------------------------------------------------------
   TITRE
   --------------------------------------------------------- */

.confirmation-candidature-box h1 {
    max-width: 620px;
    margin: 0 auto 18px;

    color: var(--primary);

    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.2;
}


.confirmation-candidature-intro {
    max-width: 560px;
    margin: 0 auto 28px;

    color: var(--text);

    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   MESSAGE
   --------------------------------------------------------- */

.confirmation-candidature-message {
    max-width: 620px;
    margin: 0 auto 28px;
}


.confirmation-candidature-message p {
    margin: 0 0 10px;

    color: var(--muted);

    line-height: 1.7;
}


.confirmation-candidature-message p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   INFORMATION
   --------------------------------------------------------- */

.confirmation-candidature-info {
    display: flex;
    align-items: flex-start;

    max-width: 600px;

    margin: 32px auto;
    padding: 18px 20px;

    text-align: left;

    background: var(--background-light);

    border: 1px solid var(--border);
    border-radius: 10px;
}


.confirmation-candidature-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    margin-right: 12px;

    color: #ffffff;
    background: var(--primary);

    border-radius: 50%;

    font-size: 0.8rem;
    font-weight: 800;
}


.confirmation-candidature-info p {
    margin: 2px 0 0;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   BOUTONS
   --------------------------------------------------------- */

.confirmation-candidature-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px;

    margin-top: 32px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 650px) {

    .confirmation-candidature-section {
        padding: 50px 0;
    }


    .confirmation-candidature-box {
        padding: 36px 22px;
    }


    .confirmation-candidature-icon {
        width: 62px;
        height: 62px;

        font-size: 1.7rem;
    }


    .confirmation-candidature-info {
        padding: 16px;
    }


    .confirmation-candidature-actions {
        flex-direction: column;
    }


    .confirmation-candidature-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

}

/* =========================================================
   PAGE DE COMMANDE PRODUIT
   ========================================================= */


/* ---------------------------------------------------------
   EN-TÊTE
   --------------------------------------------------------- */

.commande-page-header {
    padding: 55px 0 50px;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.commande-retour {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}


.commande-retour:hover {
    color: var(--primary);
}


.commande-page-header h1 {
    max-width: 850px;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}


.commande-page-intro {
    max-width: 750px;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}


/* =========================================================
   STRUCTURE
   ========================================================= */

.commande-page-section {
    background: #ffffff;
}


.commande-page-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}


/* =========================================================
   CARTE PRODUIT
   ========================================================= */

.commande-produit-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.commande-produit-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 20px;
    background: var(--background-light);
    border-bottom: 1px solid var(--border);
}


.commande-produit-image img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: contain;
}


/* ---------------------------------------------------------
   PRODUIT SANS IMAGE
   --------------------------------------------------------- */

.commande-produit-sans-image {
    text-align: center;
    color: var(--muted);
}


.commande-produit-sans-image span {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
}


.commande-produit-sans-image p {
    margin: 0;
    font-size: 0.9rem;
}


/* ---------------------------------------------------------
   CONTENU PRODUIT
   --------------------------------------------------------- */

.commande-produit-contenu {
    padding: 28px;
}


.commande-produit-categorie {
    margin: 0 0 8px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.commande-produit-contenu h2 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 1.55rem;
    line-height: 1.3;
}


.commande-produit-prix {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 1.45rem;
    font-weight: 800;
}


/* ---------------------------------------------------------
   DISPONIBILITÉ
   --------------------------------------------------------- */

.commande-produit-disponibilite {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #27734a;
    font-size: 0.88rem;
    font-weight: 700;
}


.commande-produit-disponibilite > span {
    display: block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: #2e8b57;
    border-radius: 50%;
}


/* ---------------------------------------------------------
   INFORMATIONS PRODUIT
   --------------------------------------------------------- */

.commande-produit-infos {
    margin: 0 0 24px;
    border-top: 1px solid var(--border);
}


.commande-produit-infos > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}


.commande-produit-infos span {
    color: var(--muted);
    font-size: 0.88rem;
}


.commande-produit-infos strong {
    color: var(--text);
    font-size: 0.88rem;
    text-align: right;
}


.commande-produit-lien {
    display: inline-block;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}


.commande-produit-lien:hover {
    text-decoration: underline;
}


/* =========================================================
   CARTE FORMULAIRE
   ========================================================= */

.commande-form-card {
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.commande-form-header {
    margin-bottom: 30px;
}


.commande-form-header h2 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2rem);
}


.commande-form-header p:not(.section-label) {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   CHAMPS
   ========================================================= */

.commande-form-fields {
    display: grid;
    gap: 20px;
}


.commande-champ {
    min-width: 0;
}


.commande-champ label {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}


.commande-champ label span {
    color: #b42318;
}


.commande-champ input,
.commande-champ select,
.commande-champ textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.commande-champ textarea {
    min-height: 130px;
    resize: vertical;
}


.commande-champ input:focus,
.commande-champ select:focus,
.commande-champ textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px
        rgba(37, 41, 96, 0.10);
}


.commande-aide {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* =========================================================
   ERREURS
   ========================================================= */

.commande-erreurs-generales {
    margin-bottom: 22px;
    padding: 14px 16px;
    color: #8a1c13;
    background: #fff3f2;
    border: 1px solid #f1c4bf;
    border-radius: 8px;
    font-size: 0.9rem;
}


.commande-erreur {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.84rem;
    font-weight: 600;
}


/* =========================================================
   ENVOI
   ========================================================= */

.commande-separateur {
    height: 1px;
    margin: 30px 0;
    background: var(--border);
}


.commande-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}


/* ---------------------------------------------------------
   CONFIDENTIALITÉ
   --------------------------------------------------------- */

.commande-confidentialite {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 18px;
    padding: 15px 16px;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 8px;
}


.commande-confidentialite-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
}


.commande-confidentialite p {
    margin: 1px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .commande-page-grid {
        grid-template-columns: 1fr;
    }


    .commande-produit-card {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .commande-page-header {
        padding: 40px 0;
    }


    .commande-form-card {
        padding: 28px 22px;
    }


    .commande-produit-contenu {
        padding: 24px 22px;
    }


    .commande-produit-image {
        min-height: 220px;
    }


    .commande-produit-image img {
        height: 220px;
    }

}

/* =========================================================
   CONFIRMATION DE COMMANDE
   ========================================================= */

.confirmation-commande-section {
    padding: 80px 0;
    background: var(--background-light);
}


.confirmation-commande-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 42px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


/* ---------------------------------------------------------
   ICÔNE
   --------------------------------------------------------- */

.confirmation-commande-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 24px;

    color: #ffffff;
    background: var(--primary);

    border-radius: 50%;

    font-size: 2rem;
    font-weight: 800;
}


/* ---------------------------------------------------------
   TITRE ET TEXTE
   --------------------------------------------------------- */

.confirmation-commande-card h1 {
    max-width: 620px;
    margin: 0 auto 18px;

    color: var(--primary);

    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.2;
}


.confirmation-commande-intro {
    max-width: 560px;
    margin: 0 auto 24px;

    color: var(--text);

    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.7;
}


.confirmation-commande-message {
    max-width: 620px;
    margin: 0 auto 28px;
}


.confirmation-commande-message p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* ---------------------------------------------------------
   RÉFÉRENCE
   --------------------------------------------------------- */

.confirmation-commande-reference {
    max-width: 520px;

    margin: 30px auto;
    padding: 20px;

    background: var(--background-light);

    border: 1px solid var(--border);
    border-radius: 10px;
}


.confirmation-commande-reference span {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 0.85rem;
    font-weight: 600;
}


.confirmation-commande-reference strong {
    display: block;

    color: var(--primary);

    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}


/* ---------------------------------------------------------
   INFORMATION
   --------------------------------------------------------- */

.confirmation-commande-info {
    display: flex;
    align-items: flex-start;

    max-width: 580px;

    margin: 28px auto;
    padding: 18px 20px;

    text-align: left;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 10px;
}


.confirmation-commande-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    margin-right: 12px;

    color: #ffffff;
    background: var(--primary);

    border-radius: 50%;

    font-size: 0.8rem;
    font-weight: 800;
}


.confirmation-commande-info p {
    margin: 2px 0 0;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   BOUTONS
   --------------------------------------------------------- */

.confirmation-commande-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px;

    margin-top: 32px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 650px) {

    .confirmation-commande-section {
        padding: 50px 0;
    }


    .confirmation-commande-card {
        padding: 36px 22px;
    }


    .confirmation-commande-icon {
        width: 62px;
        height: 62px;

        font-size: 1.7rem;
    }


    .confirmation-commande-info {
        padding: 16px;
    }


    .confirmation-commande-actions {
        flex-direction: column;
    }


    .confirmation-commande-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

}

/* =========================================================
   ENTREPRISE - HISTOIRE / DIRECTION / IDENTITÉ
   ========================================================= */


/* ---------------------------------------------------------
   INFORMATIONS EN-TÊTE
   --------------------------------------------------------- */

.entreprise-header-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}


.entreprise-header-infos span {
    display: inline-flex;
    padding: 8px 13px;
    color: var(--primary);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}


/* ---------------------------------------------------------
   IDENTITÉ RAPIDE
   --------------------------------------------------------- */

.entreprise-identite-rapide {
    margin: 24px 0;
    border-top: 1px solid var(--border);
}


.entreprise-identite-rapide > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}


.entreprise-identite-rapide span {
    color: var(--muted);
    font-size: 0.86rem;
}


.entreprise-identite-rapide strong {
    color: var(--primary);
    font-size: 0.88rem;
    text-align: right;
}


/* =========================================================
   TITRES DE SECTIONS
   ========================================================= */

.entreprise-section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}


.entreprise-section-heading h2 {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}


.entreprise-section-heading > p:not(.section-label) {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   HISTOIRE
   ========================================================= */

.entreprise-histoire {
    background: var(--background-light);
}


.entreprise-timeline {
    position: relative;
    max-width: 900px;
}


.entreprise-timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 77px;
    width: 1px;
    background: var(--border);
}


.entreprise-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 28px;
    padding-bottom: 42px;
}


.entreprise-timeline-item:last-child {
    padding-bottom: 0;
}


.entreprise-timeline-annee {
    position: relative;
    z-index: 1;
    align-self: start;
    padding: 9px 10px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
}


.entreprise-timeline-contenu {
    padding: 2px 0 0;
}


.entreprise-timeline-contenu h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 1.25rem;
}


.entreprise-timeline-contenu p {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


.entreprise-timeline-lien {
    display: inline-block;
    margin-top: 14px;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}


.entreprise-timeline-lien:hover {
    text-decoration: underline;
}


/* =========================================================
   DIRECTION / PDG
   ========================================================= */

.entreprise-direction {
    background: #ffffff;
}


.entreprise-direction-grid {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.7fr)
        minmax(0, 1.3fr);
    gap: 55px;
    align-items: center;
}


/* ---------------------------------------------------------
   PORTRAIT TEMPORAIRE
   --------------------------------------------------------- */

.entreprise-direction-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    padding: 35px;
    background: var(--primary);
    border-radius: var(--radius-md);
    text-align: center;
}


.entreprise-direction-monogramme {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 145px;
    margin-bottom: 25px;
    color: var(--primary);
    background: #ffffff;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}


.entreprise-direction-portrait > p {
    max-width: 230px;
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   TEXTE DIRECTION
   --------------------------------------------------------- */

.entreprise-direction-contenu h2 {
    max-width: 680px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
}


.entreprise-direction-fonction {
    margin: 0 0 24px;
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 700;
}


.entreprise-direction-contenu > p:not(
    .section-label,
    .entreprise-direction-fonction
) {
    margin: 0 0 15px;
    color: var(--muted);
    line-height: 1.75;
}


/* ---------------------------------------------------------
   VISION PDG
   --------------------------------------------------------- */

.entreprise-direction-vision {
    margin: 28px 0 0;
    padding: 22px 24px;
    background: var(--background-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
}


.entreprise-direction-vision p {
    margin: 0;
    color: var(--text);
    font-weight: 600;
    font-style: italic;
    line-height: 1.7;
}


/* =========================================================
   IDENTITÉ INSTITUTIONNELLE
   ========================================================= */

.entreprise-identite {
    background: #ffffff;
}


.entreprise-identite-card {
    max-width: 900px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}


.entreprise-identite-ligne {
    display: grid;
    grid-template-columns: minmax(180px, 0.45fr) 1fr;
    gap: 30px;
    padding: 17px 22px;
    border-bottom: 1px solid var(--border);
}


.entreprise-identite-ligne:last-child {
    border-bottom: 0;
}


.entreprise-identite-ligne span {
    color: var(--muted);
    font-size: 0.9rem;
}


.entreprise-identite-ligne strong {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.55;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .entreprise-direction-grid {
        grid-template-columns: 1fr;
    }


    .entreprise-direction-portrait {
        min-height: 330px;
    }

}


@media (max-width: 650px) {

    .entreprise-header-infos {
        flex-direction: column;
        align-items: flex-start;
    }


    .entreprise-timeline::before {
        display: none;
    }


    .entreprise-timeline-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 34px;
    }


    .entreprise-timeline-annee {
        width: fit-content;
        min-width: 85px;
    }


    .entreprise-direction-portrait {
        min-height: 280px;
        padding: 30px 20px;
    }


    .entreprise-direction-monogramme {
        width: 120px;
        height: 120px;
        font-size: 1.6rem;
    }


    .entreprise-identite-ligne {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 18px;
    }


    .entreprise-identite-rapide > div {
        flex-direction: column;
        gap: 4px;
    }


    .entreprise-identite-rapide strong {
        text-align: left;
    }

}

/* =========================================================
   ENTREPRISE - PHOTO DE LA PDG
   ========================================================= */

.entreprise-direction-portrait-photo {
    position: relative;
    min-height: 430px;
    padding: 0;
    overflow: hidden;
    background: var(--primary);
}


.entreprise-direction-photo {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
}


.entreprise-direction-photo-legende {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 22px 24px;

    color: #ffffff;
    background: rgba(23, 26, 69, 0.90);

    text-align: left;
}


.entreprise-direction-photo-legende strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
}


.entreprise-direction-photo-legende span {
    display: block;
    color: #ffffff;
    font-size: 0.86rem;
    opacity: 0.9;
}


@media (max-width: 900px) {

    .entreprise-direction-photo {
        height: 500px;
    }

}


@media (max-width: 650px) {

    .entreprise-direction-portrait-photo {
        min-height: 0;
    }


    .entreprise-direction-photo {
        height: 420px;
    }


    .entreprise-direction-photo-legende {
        position: static;
        background: var(--primary);
    }

}

/* =========================================================
   PIED DE PAGE GLOBAL
   ========================================================= */

.footer {
    margin-top: 0;
    padding: 70px 0 0;
    background: var(--primary-dark);
    color: #ffffff;
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}


/* MARQUE */

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: #ffffff;
    text-decoration: none;

    font-size: 1.35rem;
    font-weight: 800;
}


.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}


.footer-description {
    max-width: 390px;
    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}


.footer-slogan {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}


/* TITRES */

.footer-titre {
    margin: 0 0 22px;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 800;
}


/* NAVIGATION */

.footer-liens {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}


.footer-liens a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-liens a:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* COORDONNÉES */

.footer-coordonnees {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.footer-coordonnee strong {
    display: block;
    margin-bottom: 7px;
    color: #ffffff;
}


.footer-coordonnee p {
    margin: 0;

    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}


.footer-coordonnee a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}


.footer-coordonnee a:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* INFORMATIONS INSTITUTIONNELLES */

.footer-informations {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-bottom: 25px;
}


.footer-informations p {
    margin: 0;
}


.footer-informations span {
    display: block;

    margin-bottom: 3px;

    color: rgba(255, 255, 255, 0.60);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


.footer-informations strong {
    display: block;

    color: #ffffff;
    font-size: 0.92rem;

    overflow-wrap: anywhere;
}


/* BOUTON CONTACT */

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 18px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    color: #ffffff;
    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.footer-contact-btn:hover {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: #ffffff;
}


/* BAS DU FOOTER */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.84rem;
    line-height: 1.5;
}


/* =========================================================
   FOOTER - TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 35px;
    }

}


/* =========================================================
   FOOTER - TÉLÉPHONE
   ========================================================= */

@media (max-width: 650px) {

    .footer {
        padding-top: 50px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 40px;
    }


    .footer-description {
        max-width: none;
    }


    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }


    .footer-logo {
        width: 46px;
        height: 46px;
    }

}