/* =========================================================
   DOMOCODE - USER.CSS
   ========================================================= */


/* =========================================================
   EN-TÊTE DOMOCODE
   ATTENTION : les deux blocs .container-header sont
   volontairement conservés car cette structure fonctionne
   correctement avec Cassiopeia.
   ========================================================= */

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 18px 32px;
}

.container-header .navbar-brand {
    margin: 0;
    padding: 0;
}

.container-header .navbar-brand a {
    font-size: 2rem;
    text-decoration: none;
}

.container-header .container-nav {
    width: auto;
    margin-left: auto;
    padding: 0;
}

.container-header .mod-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    margin: 0;
}

.container-header .mod-menu > li {
    margin: 0;
}


/* Placement définitif du menu à droite */

.container-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.container-header .navbar-brand {
    grid-column: 1;
}

.container-header .container-nav {
    grid-column: 2;
    justify-self: end;
    width: auto;
}

.container-header .mod-menu {
    display: flex;
    flex-direction: row;
    gap: 28px;
}


/* =========================================================
   ACCUEIL - HERO DOMOCODE
   ========================================================= */

.dc-hero {
    max-width: 1720px;
    margin: 38px auto;
    padding: 64px 70px;

    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 70px;
    align-items: center;

    background: #051d2d;
    border-radius: 36px;

    color: #ffffff;
}


/* Petit titre */

.dc-kicker {
    margin: 0 0 24px;

    color: #23d4b1;

    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}


/* Grand titre */

.dc-hero h1 {
    max-width: 900px;
    margin: 0;

    color: #ffffff;

    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.03;
}


/* Texte */

.dc-hero-text {
    max-width: 800px;
    margin: 28px 0 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1.15rem;
    line-height: 1.7;
}


/* =========================================================
   BOUTONS DOMOCODE
   ========================================================= */

.dc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 36px;
}

.dc-btn {
    min-height: 54px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-weight: 700;
    text-decoration: none !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.dc-btn-primary {
    background: #098b72;
    color: #ffffff !important;
}

.dc-btn-primary:hover {
    background: #076b59;
    transform: translateY(-2px);
}

.dc-btn-secondary {
    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.35);

    color: #ffffff !important;
}

.dc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}


/* =========================================================
   HERO - CARTE DROITE
   ========================================================= */

.dc-hero-card {
    padding: 42px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.04)
        );

    backdrop-filter: blur(6px);
}

.dc-card-label {
    display: block;
    margin-bottom: 25px;

    color: #23d4b1;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.dc-hero-card strong {
    display: block;

    color: #ffffff;

    font-size: 2.1rem;
    line-height: 1.25;
}

.dc-hero-card p {
    margin: 26px 0 0;

    color: rgba(255, 255, 255, 0.70);

    line-height: 1.65;
}


/* =========================================================
   ACCUEIL - NOS UNIVERS
   ========================================================= */

.dc-univers {
    max-width: 1720px;

    margin: 70px auto 90px;
    padding: 0 24px;
}

.dc-section-head {
    max-width: 850px;

    margin-bottom: 38px;
}

.dc-section-kicker {
    margin: 0 0 14px;

    color: #098b72;

    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.dc-section-head h2 {
    margin: 0;

    color: #08253d;

    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.12;
}

.dc-section-head > p:not(.dc-section-kicker) {
    max-width: 760px;

    margin: 18px 0 0;

    color: rgba(8, 37, 61, 0.72);

    font-size: 1.05rem;
    line-height: 1.7;
}


/* =========================================================
   NOS UNIVERS - GRILLE
   ========================================================= */

.dc-univers-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


/* Cartes */

.dc-univers-card {
    position: relative;

    min-height: 330px;
    padding: 34px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid rgba(8, 37, 61, 0.09);
    border-radius: 26px;

    box-shadow:
        0 10px 30px rgba(5, 29, 45, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.dc-univers-card:hover {
    transform: translateY(-7px);

    border-color: rgba(9, 139, 114, 0.28);

    box-shadow:
        0 20px 50px rgba(5, 29, 45, 0.11);
}


/* Numéro */

.dc-univers-number {
    width: 48px;
    height: 48px;

    margin-bottom: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(9, 139, 114, 0.10);

    color: #098b72;

    font-size: 0.9rem;
    font-weight: 800;
}


/* Titres */

.dc-univers-card h3 {
    margin: 0 0 18px;

    color: #08253d;

    font-size: 1.55rem;
}


/* Texte */

.dc-univers-card p {
    margin: 0;

    color: rgba(8, 37, 61, 0.68);

    line-height: 1.65;
}


/* Liens */

.dc-univers-card a {
    margin-top: auto;
    padding-top: 30px;

    color: #098b72;

    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.dc-univers-card a:hover {
    color: #076b59;

    transform: translateX(4px);
}


/* =========================================================
   IMAGES DES FICHES PROJETS
   ========================================================= */

.com-content-article img {
    cursor: zoom-in;
}


/* =========================================================
   LIGHTBOX IMAGES PROJETS
   ========================================================= */

.dc-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;

    padding: 70px 35px 35px;

    background: rgba(2, 15, 24, 0.96);

    /*
     * La lightbox elle-même peut défiler.
     * La page située derrière reste immobile.
     */
    overflow: auto;
}

.dc-lightbox.is-open {
    display: block;
}


/* Image agrandie */

.dc-lightbox-image {
    display: block;

    width: auto;
    height: auto;

    /*
     * Pas de réduction automatique.
     * Le schéma peut dépasser l'écran
     * et être parcouru à la molette.
     */
    max-width: none;
    max-height: none;

    margin: 0 auto;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55);
}


/* Croix fermeture */

.dc-lightbox-close {
    position: fixed;

    top: 22px;
    right: 28px;

    z-index: 100000;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #098b72;

    color: #ffffff;

    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.35);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dc-lightbox-close:hover {
    background: #076b59;

    transform: scale(1.06);
}


/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

    .dc-univers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE HERO
   ========================================================= */

@media (max-width: 900px) {

    .dc-hero {
        margin: 20px;

        padding: 42px 28px;

        grid-template-columns: 1fr;

        gap: 35px;

        border-radius: 26px;
    }

    .dc-hero h1 {
        font-size: 2.7rem;
    }

    .dc-hero-card {
        padding: 30px;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 650px) {

    /* Hero */

    .dc-hero-actions {
        flex-direction: column;
    }

    .dc-btn {
        width: 100%;
    }


    /* Univers */

    .dc-univers {
        margin-top: 45px;

        padding: 0 20px;
    }

    .dc-univers-grid {
        grid-template-columns: 1fr;
    }

    .dc-univers-card {
        min-height: 280px;
    }


    /* Lightbox */

    .dc-lightbox {
        padding: 65px 15px 20px;
    }

    .dc-lightbox-image {
        border-radius: 8px;
    }

    .dc-lightbox-close {
        top: 12px;
        right: 12px;

        width: 46px;
        height: 46px;

        font-size: 30px;
    }

}
/* =========================================================
   FICHE PROJET - CONTENU
   ========================================================= */

.dc-project-text {
    max-width: 980px;
    margin: 45px auto 80px;
    padding: 0 28px;

    color: #08253d;
}

.dc-project-text h2 {
    margin: 42px 0 18px;

    color: #08253d;

    font-size: 2rem;
    line-height: 1.15;
}

.dc-project-text h2:first-child {
    margin-top: 0;
}

.dc-project-text p {
    margin: 0 0 20px;

    font-size: 1.05rem;
    line-height: 1.75;
}

.dc-project-text strong {
    font-weight: 700;
}

.dc-project-note {
    margin: 32px 0;

    padding: 18px 22px;

    border-left: 4px solid #098b72;
    border-radius: 0 14px 14px 0;

    background: rgba(9, 139, 114, 0.08);

    color: #08253d;

    line-height: 1.6;
}
/* =========================================================
   FICHE PROJET - BADGES
   ========================================================= */

.dc-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 8px 0 22px;
}

.dc-project-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 13px;

    border: 1px solid rgba(8, 37, 61, 0.12);
    border-radius: 999px;

    background: #ffffff;

    color: #08253d;

    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
}

.dc-project-badge-status {
    border-color: rgba(9, 139, 114, 0.25);

    background: rgba(9, 139, 114, 0.10);

    color: #076b59;
}

.dc-project-badge-icon {
    font-weight: 800;
}

.dc-project-badge-tech {
    background: rgba(8, 37, 61, 0.06);
}
/* =========================================================
   FICHE PROJET - ALIGNEMENT EN-TÊTE
   ========================================================= */

.com-content-article > .page-header,
.com-content-article > .dc-project-meta {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
}

.com-content-article > .page-header {
    margin-top: 32px;
}

.com-content-article > .dc-project-meta {
    margin-top: 10px;
    margin-bottom: 30px;
}
/* Espace bas du bloc projet personnalisable */
.dc-project-cta {
    margin-bottom: 70px;
}
/* =========================================================
   PAGE CONTACT - DESIGN DOMOCODE
   ========================================================= */

.dc-contact {
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 28px 90px;
}


/* Bloc formulaire */

.dc-contact-form-card {
    padding: 42px 46px;

    background: #ffffff;

    border: 1px solid rgba(8, 37, 61, 0.10);
    border-radius: 26px;

    box-shadow:
        0 15px 45px rgba(5, 29, 45, 0.06);
}


/* En-tête */

.dc-contact-form-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    margin-bottom: 35px;
}

.dc-contact-form-number {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(9, 139, 114, 0.10);

    color: #098b72;

    font-weight: 800;
}

.dc-contact-form-head h2 {
    margin: 0 0 8px;

    color: #08253d;

    font-size: 2rem;
}

.dc-contact-form-head p {
    max-width: 750px;
    margin: 0;

    color: rgba(8, 37, 61, 0.70);

    font-size: 1.05rem;
    line-height: 1.6;
}


/* On supprime le titre Joomla redondant
   "Envoyer un e-mail" */

.dc-contact .contact-form legend {
    display: none;
}


/* Champs */

.dc-contact .form-control {
    min-height: 54px;

    padding: 12px 16px;

    border: 1px solid rgba(8, 37, 61, 0.18);
    border-radius: 12px;

    background: #ffffff;

    color: #08253d;

    font-size: 1rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.dc-contact textarea.form-control {
    min-height: 190px;
    resize: vertical;
}

.dc-contact .form-control:focus {
    border-color: #098b72;

    box-shadow:
        0 0 0 3px rgba(9, 139, 114, 0.10);

    outline: none;
}


/* Libellés */

.dc-contact label {
    margin-bottom: 7px;

    color: #08253d;

    font-weight: 600;
}


/* Espacement entre champs */

.dc-contact .control-group {
    margin-bottom: 22px;
}


/* Bouton envoyer */

.dc-contact .btn-primary {
    min-height: 52px;

    padding: 0 26px;

    border: 0;
    border-radius: 14px;

    background: #098b72;

    color: #ffffff;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dc-contact .btn-primary:hover {
    background: #076b59;

    transform: translateY(-2px);
}


/* Mobile */

@media (max-width: 650px) {

    .dc-contact {
        padding: 30px 18px 60px;
    }

    .dc-contact-form-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .dc-contact-form-head {
        gap: 14px;
    }

    .dc-contact-form-head h2 {
        font-size: 1.65rem;
    }

}
/* =========================================================
   PAGE CONTACT - FOND CIRCUIT
   ========================================================= */

body:has(.dc-contact) .site-grid {
    background-image:
        linear-gradient(
            rgba(247, 243, 234, 0.82),
            rgba(247, 243, 234, 0.82)
        ),
        url('/images/image/fond-circuit.png');

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* =========================================================
   PAGE SERVICES - INTRODUCTION
   ========================================================= */

body:has(.dc-services-intro) .site-grid {
    background-image:
        linear-gradient(
            rgba(247, 243, 234, 0.84),
            rgba(247, 243, 234, 0.84)
        ),
        url('/images/image/fond-circuit.png');

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.dc-services-intro {
    max-width: 1180px;
    margin: 55px auto 40px;
    padding: 52px 58px;

    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(8, 37, 61, 0.10);
    border-radius: 28px;

    box-shadow: 0 18px 55px rgba(5, 29, 45, 0.07);
}

.dc-services-intro .dc-section-kicker {
    margin: 0 0 16px;

    color: #098b72;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.dc-services-intro h1 {
    max-width: 850px;
    margin: 0 0 24px;

    color: #08253d;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.dc-services-intro > p:not(.dc-section-kicker) {
    max-width: 950px;
    margin: 0 0 18px;

    color: rgba(8, 37, 61, 0.78);
    font-size: 1.1rem;
    line-height: 1.75;
}

.dc-services-intro > p:last-child {
    margin-bottom: 0;
}

@media (max-width: 650px) {
    .dc-services-intro {
        margin: 28px 18px 30px;
        padding: 34px 26px;
        border-radius: 22px;
    }

    .dc-services-intro h1 {
        font-size: 2.35rem;
    }

    .dc-services-intro > p:not(.dc-section-kicker) {
        font-size: 1rem;
    }
}
/* =========================================================
   SERVICES - BLOC SERVICE
   ========================================================= */

.dc-services-list {
    max-width: 1180px;
    margin: 0 auto 80px;
    padding: 0 28px;
}

.dc-service-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 260px;
    gap: 34px;
    align-items: start;

    padding: 42px 46px;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 37, 61, 0.10);
    border-radius: 26px;

    box-shadow: 0 15px 45px rgba(5, 29, 45, 0.06);
}

/* NUMÉRO */

.dc-service-number {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(9, 139, 114, 0.10);
    color: #098b72;

    font-size: 1.35rem;
    font-weight: 800;
}

/* CONTENU */

.dc-service-kicker {
    margin: 3px 0 10px;

    color: #098b72;

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.dc-service-content h2 {
    max-width: 700px;

    margin: 0 0 20px;

    color: #08253d;

    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.15;
}

.dc-service-content > p:not(.dc-service-kicker) {
    max-width: 760px;

    margin: 0 0 16px;

    color: rgba(8, 37, 61, 0.76);

    font-size: 1.02rem;
    line-height: 1.7;
}

.dc-service-content > p:last-child {
    margin-bottom: 0;
}

/* COLONNE TECHNIQUE */

.dc-service-aside {
    display: flex;
    flex-direction: column;
    gap: 9px;

    padding: 20px;

    background: rgba(8, 37, 61, 0.035);
    border-radius: 18px;
}

.dc-service-aside span {
    position: relative;

    padding: 10px 10px 10px 27px;

    color: #08253d;

    font-size: 0.92rem;
    font-weight: 600;
}

.dc-service-aside span::before {
    content: "";
    position: absolute;

    left: 7px;
    top: 50%;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #098b72;

    transform: translateY(-50%);
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .dc-service-card {
        grid-template-columns: 70px 1fr;
    }

    .dc-service-aside {
        grid-column: 2;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 650px) {

    .dc-services-list {
        padding: 0 18px;
    }

    .dc-service-card {
        grid-template-columns: 1fr;
        gap: 22px;

        padding: 30px 24px;

        border-radius: 22px;
    }

    .dc-service-number {
        width: 58px;
        height: 58px;
    }

    .dc-service-aside {
        grid-column: auto;
    }
}
/* SERVICES - FINITION PANNEAU TECHNIQUE */

.dc-service-aside {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 18px;

    background: rgba(8, 37, 61, 0.035);
    border: 1px solid rgba(8, 37, 61, 0.06);
    border-radius: 18px;
}

.dc-service-aside span {
    display: block;
    position: relative;

    padding: 9px 10px 9px 28px;

    background: #ffffff;
    border-radius: 10px;

    color: #08253d;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.dc-service-aside span::before {
    content: "";
    position: absolute;

    left: 11px;
    top: 50%;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #098b72;

    transform: translateY(-50%);
}
.dc-service-tag {
    position: relative;
    display: block;

    padding: 9px 10px 9px 28px;

    background: #ffffff;
    border-radius: 10px;

    color: #08253d;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.dc-service-tag::before {
    content: "";
    position: absolute;

    left: 11px;
    top: 50%;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #098b72;

    transform: translateY(-50%);
}
/* =========================================================
   SERVICES - FINITIONS 01 À 05
   ========================================================= */

.dc-services-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dc-service-aside {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 18px;

    background: rgba(8, 37, 61, 0.035);
    border: 1px solid rgba(8, 37, 61, 0.06);
    border-radius: 18px;
}

.dc-service-tag {
    position: relative;
    display: block;

    padding: 10px 12px 10px 29px;

    background: #ffffff;
    border-radius: 10px;

    color: #08253d;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.dc-service-tag::before {
    content: "";
    position: absolute;

    left: 11px;
    top: 50%;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #098b72;

    transform: translateY(-50%);
}


/* =========================================================
   SERVICES - CTA
   ========================================================= */

.dc-services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;

    margin-top: 18px;
    padding: 42px 46px;

    background: #08253d;
    border-radius: 26px;

    color: #ffffff;
}

.dc-services-cta-content {
    max-width: 760px;
}

.dc-services-cta-kicker {
    margin: 0 0 10px;

    color: #43c7aa;

    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.dc-services-cta h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.15;
}

.dc-services-cta-content > p:last-child {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1.02rem;
    line-height: 1.65;
}

.dc-services-cta .dc-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}


/* =========================================================
   SERVICES - MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .dc-services-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 650px) {

    .dc-services-list {
        gap: 20px;
    }

    .dc-services-cta {
        padding: 30px 24px;
        border-radius: 22px;
    }
}
/* =========================================================
   HEADER FIXE AU SCROLL
   ========================================================= */

.container-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* =========================================================
   ACCUEIL - NOTRE APPROCHE
   ========================================================= */

.dc-home-method {
    max-width: 1720px;
    margin: 80px auto;
    padding: 0 32px;
}

.dc-home-method .dc-section-head {
    max-width: 900px;
    margin-bottom: 36px;
}

.dc-home-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dc-home-method-card {
    min-height: 250px;
    padding: 34px;

    background: #ffffff;
    border: 1px solid rgba(8, 37, 61, 0.08);
    border-radius: 24px;

    box-shadow: 0 12px 35px rgba(5, 29, 45, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dc-home-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(5, 29, 45, 0.08);
}

.dc-home-method-number {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 15px;

    background: rgba(9, 139, 114, 0.10);
    color: #098b72;

    font-weight: 800;
}

.dc-home-method-card h3 {
    margin: 0 0 14px;

    color: #08253d;

    font-size: 1.55rem;
    line-height: 1.2;
}

.dc-home-method-card p {
    margin: 0;

    color: rgba(8, 37, 61, 0.72);

    font-size: 1rem;
    line-height: 1.65;
}

.dc-home-method-action {
    margin-top: 30px;
}


/* =========================================================
   ACCUEIL - CTA FINAL
   ========================================================= */

.dc-home-cta {
    max-width: 1656px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    margin: 30px auto 80px;
    padding: 48px 54px;

    background: #08253d;
    border-radius: 28px;

    color: #ffffff;
}

.dc-home-cta-content {
    max-width: 850px;
}

.dc-home-cta-kicker {
    margin: 0 0 12px;

    color: #43c7aa;

    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.dc-home-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.12;
}

.dc-home-cta-content > p:last-child {
    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 1.05rem;
    line-height: 1.65;
}

.dc-home-cta > .dc-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}


/* =========================================================
   ACCUEIL - RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .dc-home-method-grid {
        grid-template-columns: 1fr;
    }

    .dc-home-method-card {
        min-height: auto;
    }

    .dc-home-cta {
        flex-direction: column;
        align-items: flex-start;

        margin-left: 28px;
        margin-right: 28px;
    }
}

@media (max-width: 650px) {

    .dc-home-method {
        margin: 55px auto;
        padding: 0 18px;
    }

    .dc-home-method-card {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .dc-home-cta {
        margin: 20px 18px 60px;
        padding: 32px 26px;
        border-radius: 22px;
    }
}
/* =========================================================
   ACCUEIL - HERO AVEC FOND CIRCUIT
   ========================================================= */

.dc-hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 29, 45, 0.98) 0%,
            rgba(5, 29, 45, 0.94) 42%,
            rgba(5, 29, 45, 0.78) 68%,
            rgba(5, 29, 45, 0.58) 100%
        ),
        url('/images/image/hero-circuit-domocode.png');

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
/* =========================================================
   DOMOCODE - FOND CIRCUIT GLOBAL
   Signature visuelle de toutes les pages
   ========================================================= */

.site-grid {
    background-image:
        linear-gradient(
            rgba(247, 243, 234, 0.86),
            rgba(247, 243, 234, 0.86)
        ),
        url('/images/image/fond-circuit.png');

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* =========================================================
   PAGE MÉTHODE - BASE
   ========================================================= */

.dc-method-hero,
.dc-method-section,
.dc-method-system,
.dc-method-measure,
.dc-method-iteration,
.dc-method-case,
.dc-method-principles,
.dc-method-cta {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   MÉTHODE - HERO
   ========================================================= */

.dc-method-hero {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 55px;
    align-items: stretch;

    margin-top: 48px;
    margin-bottom: 30px;
    padding: 58px 62px;

    background: rgba(255,255,255,.96);
    border: 1px solid rgba(8,37,61,.08);
    border-radius: 30px;

    box-shadow: 0 18px 55px rgba(5,29,45,.07);
}

.dc-method-kicker {
    margin: 0 0 14px;

    color: #098b72;
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.dc-method-hero h1 {
    margin: 0 0 26px;

    color: #08253d;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: .98;
    letter-spacing: -.035em;
}

.dc-method-lead {
    max-width: 760px;
    margin: 0;

    color: rgba(8,37,61,.72);
    font-size: 1.18rem;
    line-height: 1.75;
}

.dc-method-hero-side {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 36px 38px;

    background: #08253d;
    border-radius: 24px;

    color: #fff;
}

.dc-method-hero-label {
    margin-bottom: 20px;

    color: #43c7aa;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.dc-method-hero-side strong {
    display: block;

    margin-bottom: 22px;

    font-size: 2rem;
    line-height: 1.18;
}

.dc-method-hero-side p {
    margin: 0;

    color: rgba(255,255,255,.72);
    line-height: 1.7;
}


/* =========================================================
   01 - PARTIR DU TERRAIN
   ========================================================= */

.dc-method-section {
    display: grid;
    grid-template-columns: 80px minmax(0,1fr) 280px;
    gap: 38px;
    align-items: start;

    margin-top: 28px;
    margin-bottom: 28px;
    padding: 46px 50px;

    background: rgba(255,255,255,.96);
    border: 1px solid rgba(8,37,61,.08);
    border-radius: 26px;

    box-shadow: 0 14px 40px rgba(5,29,45,.05);
}

.dc-method-index {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: rgba(9,139,114,.10);
    color: #098b72;

    font-size: 1.2rem;
    font-weight: 800;
}

.dc-method-section-content h2,
.dc-method-system h2,
.dc-method-measure h2,
.dc-method-iteration h2,
.dc-method-case h2,
.dc-method-principles h2,
.dc-method-cta h2 {
    color: #08253d;
}

.dc-method-section-content h2 {
    margin: 0 0 20px;

    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.12;
}

.dc-method-bigtext {
    margin: 0 0 20px;

    color: #08253d;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.55;
}

.dc-method-section-content > p:not(.dc-method-kicker):not(.dc-method-bigtext) {
    margin: 0 0 17px;

    color: rgba(8,37,61,.72);
    line-height: 1.75;
}

.dc-method-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 18px;

    background: rgba(8,37,61,.035);
    border: 1px solid rgba(8,37,61,.06);
    border-radius: 18px;
}

.dc-method-facts span {
    position: relative;

    padding: 10px 12px 10px 29px;

    background: #fff;
    border-radius: 10px;

    color: #08253d;
    font-size: .9rem;
    font-weight: 600;
}

.dc-method-facts span::before {
    content: "";
    position: absolute;

    left: 11px;
    top: 50%;

    width: 6px;
    height: 6px;

    background: #098b72;
    border-radius: 50%;

    transform: translateY(-50%);
}


/* =========================================================
   02 - CONCEVOIR L'ENSEMBLE
   ========================================================= */

.dc-method-system {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 50px;
    align-items: center;

    margin-top: 28px;
    margin-bottom: 28px;
    padding: 54px;

    background: #08253d;
    border-radius: 28px;

    color: #fff;
}

.dc-method-system .dc-method-kicker {
    color: #43c7aa;
}

.dc-method-system h2 {
    margin: 0 0 24px;

    color: #fff;
    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.12;
}

.dc-method-system-text > p:not(.dc-method-kicker) {
    margin: 0 0 18px;

    color: rgba(255,255,255,.74);
    line-height: 1.72;
}

.dc-method-equation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-top: 28px;
}

.dc-method-equation span,
.dc-method-equation strong {
    padding: 9px 13px;

    border-radius: 10px;
}

.dc-method-equation span {
    background: rgba(255,255,255,.09);
    color: #fff;
}

.dc-method-equation b {
    color: #43c7aa;
}

.dc-method-equation strong {
    background: #098b72;
    color: #fff;
}

.dc-method-system-image {
    overflow: hidden;

    background: #fff;
    border-radius: 22px;
}

.dc-method-system-image img {
    display: block;

    width: 100%;
    height: auto;

    background: #fff;
}

.dc-method-image-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 16px 20px;

    border-top: 1px solid rgba(8,37,61,.08);
}

.dc-method-image-caption strong {
    color: #08253d;
}

.dc-method-image-caption span {
    color: rgba(8,37,61,.65);
    font-size: .9rem;
}


/* =========================================================
   03 - MESURER
   ========================================================= */

.dc-method-measure {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 50px;

    background: rgba(255,255,255,.96);
    border: 1px solid rgba(8,37,61,.08);
    border-radius: 28px;

    box-shadow: 0 14px 40px rgba(5,29,45,.05);
}

.dc-method-measure-head {
    max-width: 850px;
    margin-bottom: 34px;
}

.dc-method-measure h2 {
    margin: 0 0 14px;

    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.1;
}

.dc-method-measure-head > p:last-child {
    color: rgba(8,37,61,.7);
    font-size: 1.1rem;
}

.dc-method-measure-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.dc-method-measure-grid article {
    padding: 28px 24px;

    background: rgba(8,37,61,.035);
    border-radius: 18px;
}

.dc-method-measure-grid article > span {
    display: inline-flex;

    margin-bottom: 24px;
    padding: 7px 10px;

    border-radius: 9px;

    background: rgba(9,139,114,.10);
    color: #098b72;

    font-weight: 800;
}

.dc-method-measure-grid h3 {
    margin: 0 0 12px;

    color: #08253d;
    font-size: 1.35rem;
}

.dc-method-measure-grid p {
    margin: 0;

    color: rgba(8,37,61,.68);
    line-height: 1.6;
}


/* =========================================================
   04 - PROTOTYPER / ITERER
   ========================================================= */

.dc-method-iteration {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 50px;

    background: rgba(255,255,255,.96);
    border: 1px solid rgba(8,37,61,.08);
    border-radius: 28px;
}

.dc-method-iteration-title {
    max-width: 850px;
    margin-bottom: 38px;
}

.dc-method-iteration h2 {
    margin: 0;

    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.12;
}

.dc-method-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 14px;
    align-items: center;
}

.dc-method-flow-item {
    min-height: 170px;

    padding: 24px;

    background: rgba(8,37,61,.035);
    border-radius: 18px;
}

.dc-method-flow-item span {
    display: block;

    margin-bottom: 18px;

    color: #098b72;
    font-weight: 800;
}

.dc-method-flow-item strong {
    display: block;

    margin-bottom: 10px;

    color: #08253d;
    font-size: 1.25rem;
}

.dc-method-flow-item p {
    margin: 0;

    color: rgba(8,37,61,.67);
    line-height: 1.55;
}

.dc-method-flow-arrow {
    color: #098b72;
    font-size: 1.8rem;
    font-weight: 800;
}

.dc-method-iteration-foot {
    max-width: 900px;

    margin: 34px 0 0;
    padding: 18px 22px;

    border-left: 4px solid #098b72;
    border-radius: 0 14px 14px 0;

    background: rgba(9,139,114,.07);
    color: rgba(8,37,61,.75);

    line-height: 1.65;
}


/* =========================================================
   CAS CONCRET ECS
   ========================================================= */

.dc-method-case {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 50px;

    background: rgba(255,255,255,.96);
    border: 1px solid rgba(9,139,114,.16);
    border-radius: 28px;

    box-shadow: 0 14px 40px rgba(5,29,45,.05);
}

.dc-method-case-head {
    max-width: 900px;
    margin-bottom: 30px;
}

.dc-method-case h2 {
    margin: 0;

    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.12;
}

.dc-method-case-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:;
}

.dc-method-case-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.dc-method-case-grid > div {
    padding: 23px;

    border-radius: 16px;

    background: rgba(8,37,61,.035);
}

.dc-method-case-grid span {
    display: block;

    margin-bottom: 10px;

    color: #098b72;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dc-method-case-grid strong {
    color: #08253d;
    line-height: 1.45;
}

.dc-method-case-link {
    display: inline-flex;

    margin-top: 28px;

    color: #098b72;
    font-weight: 700;
    text-decoration: none;
}

.dc-method-case-link:hover {
    color: #076b59;
}


/* =========================================================
   PRINCIPES
   ========================================================= */

.dc-method-principles {
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 50px;

    background: #08253d;
    border-radius: 28px;

    color: #fff;
}

.dc-method-principles-kicker {
    margin: 0 0 12px;

    color: #43c7aa;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.dc-method-principles h2 {
    margin: 0 0 32px;

    color: #fff;
    font-size: clamp(2rem,3vw,3rem);
}

.dc-method-principles-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

.dc-method-principles-grid article {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 22px;

    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
}

.dc-method-principles-grid span {
    color: #43c7aa;
    font-weight: 800;
}

.dc-method-principles-grid strong {
    font-size: 1.15rem;
}


/* =========================================================
   CTA MÉTHODE
   ========================================================= */

.dc-method-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;

    margin-top: 28px;
    margin-bottom: 80px;
    padding: 46px 50px;

    background: rgba(255,255,255,.96);
    border: 1px solid rgba(8,37,61,.08);
    border-radius: 28px;

    box-shadow: 0 14px 40px rgba(5,29,45,.05);
}

.dc-method-cta > div {
    max-width: 850px;
}

.dc-method-cta-kicker {
    margin: 0 0 10px;

    color: #098b72;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.dc-method-cta h2 {
    margin: 0 0 12px;

    font-size: clamp(2.2rem,3vw,3.3rem);
}

.dc-method-cta p {
    margin: 0;

    color: rgba(8,37,61,.7);
    line-height: 1.65;
}

.dc-method-cta .dc-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}


/* =========================================================
   MÉTHODE - RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .dc-method-hero {
        grid-template-columns: 1fr;
    }

    .dc-method-section {
        grid-template-columns: 70px 1fr;
    }

    .dc-method-facts {
        grid-column: 2;
    }

    .dc-method-system {
        grid-template-columns: 1fr;
    }

    .dc-method-measure-grid,
    .dc-method-case-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .dc-method-flow {
        grid-template-columns: 1fr;
    }

    .dc-method-flow-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }
}


@media (max-width: 700px) {

    .dc-method-hero,
    .dc-method-section,
    .dc-method-system,
    .dc-method-measure,
    .dc-method-iteration,
    .dc-method-case,
    .dc-method-principles,
    .dc-method-cta {
        margin-left: 18px;
        margin-right: 18px;
        padding: 30px 24px;
        border-radius: 22px;
    }

    .dc-method-hero h1 {
        font-size: 3rem;
    }

    .dc-method-section {
        grid-template-columns: 1fr;
    }

    .dc-method-index {
        width: 56px;
        height: 56px;
    }

    .dc-method-facts {
        grid-column: auto;
    }

    .dc-method-measure-grid,
    .dc-method-case-grid,
    .dc-method-principles-grid {
        grid-template-columns: 1fr;
    }

    .dc-method-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================================================
   MÉTHODE - SCHÉMA + PCB
   ========================================================= */

.dc-method-design {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
}

.dc-method-design-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
}

.dc-method-design-card {
    appearance: none;
    border: 0;
    background: #f7f7f5;
    border-radius: 12px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    flex: 1 1 0;
    min-width: 0;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.dc-method-design-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .14);
}

.dc-method-design-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #f7f7f5;
}

/* PCB volontairement légèrement plus petit */
.dc-method-design-card-pcb {
    flex: 0 0 38%;
}

.dc-method-design-card-pcb img {
    height: 165px;
}

.dc-method-design-label {
    display: block;
    padding: 10px 12px 12px;
    text-align: left;
    font-size: 12px;
    color: #0c2d44;
    background: #fff;
}

.dc-method-design-label strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    border-radius: 6px;
    background: #00a98f;
    color: #fff;
    font-size: 10px;
}

.dc-method-design-arrow {
    flex: 0 0 auto;
    color: #00a98f;
    font-size: 24px;
    font-weight: 700;
}

.dc-method-image-caption {
    padding: 12px 16px 15px;
    color: #607180;
    font-size: 12px;
    line-height: 1.5;
    border-top: 1px solid #ecefed;
}

.dc-method-image-caption strong {
    color: #0c2d44;
    margin-right: 5px;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.dc-method-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(5, 20, 30, .92);
    cursor: zoom-out;
}

.dc-method-lightbox.is-open {
    display: flex;
}

.dc-method-lightbox img {
    display: block;
    max-width: 94vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .45);
}

.dc-method-lightbox-close {
    position: absolute;
    top: 18px;
    right: 25px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #0c2d44;
    font-size: 30px;
    line-height: 42px;
    cursor: pointer;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .dc-method-design-images {
        gap: 7px;
        padding: 10px;
    }

    .dc-method-design-card img {
        height: 125px;
    }

    .dc-method-design-card-pcb {
        flex: 0 0 40%;
    }

    .dc-method-design-card-pcb img {
        height: 110px;
    }

    .dc-method-design-arrow {
        font-size: 18px;
    }

    .dc-method-design-label {
        font-size: 10px;
        padding: 8px;
    }

    .dc-method-design-label strong {
        display: none;
    }

    .dc-method-lightbox {
        padding: 15px;
    }
}
/* =========================================================
   MÉTHODE - HOME ASSISTANT / DU SYSTÈME À L'USAGE
   ========================================================= */

.dc-method-usage {
    display: grid;
    grid-template-columns: 1.15fr 0.65fr;
    align-items: center;
    gap: 45px;

    margin: 24px 0;
    padding: 38px 42px;

    background: #ffffff;
    border-radius: 18px;
}


/* TEXTE */

.dc-method-usage-content {
    min-width: 0;
}

.dc-method-usage-content h2 {
    margin: 6px 0 16px;

    color: #082c44;
    font-size: 30px;
    line-height: 1.12;
}

.dc-method-usage-content p {
    margin: 0 0 14px;

    color: #657886;
    font-size: 14px;
    line-height: 1.7;
}

.dc-method-usage-lead {
    color: #17394d !important;
    font-weight: 600;
}


/* MESURER → DÉCIDER → VISUALISER */

.dc-method-usage-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 22px;
}

.dc-method-usage-tags span {
    padding: 8px 13px;

    background: #e7f5f1;
    border-radius: 7px;

    color: #078976;
    font-size: 12px;
    font-weight: 700;
}

.dc-method-usage-tags strong {
    color: #00a98f;
    font-size: 18px;
}


/* CARTE HOME ASSISTANT */

.dc-method-usage-visual {
    width: 100%;
    max-width: 290px;

    justify-self: center;

    overflow: hidden;

    background: #f7f8f7;
    border: 1px solid #e3e8e5;
    border-radius: 17px;

    box-shadow: 0 12px 30px rgba(8, 44, 68, 0.10);
}


/* IMAGE CLIQUABLE */

.dc-method-usage-image {
    display: block;

    width: 100%;
    padding: 10px;

    border: 0;
    background: #ffffff;

    cursor: zoom-in;
}

.dc-method-usage-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    transition: transform .22s ease;
}

.dc-method-usage-image:hover img {
    transform: scale(1.025);
}


/* LÉGENDE */

.dc-method-usage-caption {
    padding: 12px 15px 15px;

    color: #657886;
    font-size: 11px;
    line-height: 1.45;
}

.dc-method-usage-caption strong {
    display: block;

    margin-bottom: 4px;

    color: #082c44;
    font-size: 13px;
}


/* =========================================================
   TABLETTE / MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .dc-method-usage {
        grid-template-columns: 1fr;
        gap: 28px;

        padding: 28px 22px;
    }

    .dc-method-usage-content h2 {
        font-size: 26px;
    }

    .dc-method-usage-visual {
        max-width: 280px;
    }

}
/* =========================================================
   DOMOCODE - CONSTRUISONS VOTRE PROJET
   ========================================================= */

.dc-project-builder {
    --dc-navy: #082c44;
    --dc-green: #00a98f;
    --dc-green-dark: #078a76;
    --dc-green-light: #e8f6f2;
    --dc-text: #5f7382;
    --dc-border: #e1e7e5;
    --dc-card: #ffffff;
    --dc-soft: #f6f8f7;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 18px 45px;

    color: var(--dc-navy);
}


/* =========================================================
   EN-TÊTE
   ========================================================= */

.dc-project-builder-head {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(500px, 1fr);
    align-items: center;
    gap: 50px;

    margin-bottom: 25px;
    padding: 28px 30px;

    background: rgba(255,255,255,.96);
    border-radius: 18px;
}

.dc-project-kicker {
    margin: 0 0 8px;

    color: var(--dc-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.dc-project-builder-head h1 {
    margin: 0 0 8px;

    color: var(--dc-navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.dc-project-lead {
    max-width: 680px;
    margin: 0;

    color: var(--dc-text);
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   PROGRESSION
   ========================================================= */

.dc-project-progress {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.dc-project-progress-item {
    flex: 0 0 90px;

    text-align: center;
    color: #687987;
}

.dc-project-progress-item span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin: 0 auto 8px;

    border: 1px solid #d8dfdd;
    border-radius: 50%;

    background: #fff;

    color: var(--dc-navy);
    font-size: 16px;
    font-weight: 700;
}

.dc-project-progress-item strong {
    display: block;

    font-size: 11px;
    line-height: 1.25;
}

.dc-project-progress-item.is-active span {
    border-color: var(--dc-green);
    background: var(--dc-green);
    color: #fff;
}

.dc-project-progress-item.is-active strong {
    color: var(--dc-navy);
}

.dc-project-progress-line {
    flex: 1 1 auto;
    height: 1px;
    margin-top: 21px;

    background: #dce3e1;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.dc-project-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
    align-items: start;
}

.dc-project-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   BLOCS
   ========================================================= */

.dc-project-block {
    padding: 26px;

    background: rgba(255,255,255,.97);
    border: 1px solid var(--dc-border);
    border-radius: 18px;

    box-shadow: 0 5px 20px rgba(8,44,68,.04);
}

/* Besoin + technologie */
#project-besoin,
#project-tech {
    grid-column: span 1;
}

/* Capteurs et installation */
#project-capteurs,
#project-installation {
    grid-column: span 1;
}

/* Avancement pleine largeur */
#project-avancement {
    grid-column: 1 / -1;
}


.dc-project-block-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 22px;
}

.dc-project-number {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: var(--dc-green);
    color: #fff;

    font-size: 14px;
    font-weight: 800;
}

.dc-project-block-title h2 {
    margin: 1px 0 4px;

    color: var(--dc-navy);
    font-size: 21px;
    line-height: 1.15;
}

.dc-project-block-title p {
    margin: 0;

    color: var(--dc-text);
    font-size: 12px;
}


/* =========================================================
   GRANDES CARTES DE CHOIX
   ========================================================= */

.dc-project-choice-grid {
    display: grid;
    gap: 10px;
}

.dc-project-choice-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dc-project-choice {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 115px;
    padding: 14px 9px;

    border: 1px solid #dfe5e3;
    border-radius: 12px;

    background: #fff;

    text-align: center;
    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.dc-project-choice:hover {
    border-color: #96d9ce;
    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(8,44,68,.07);
}

.dc-project-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dc-project-choice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 32px;
    margin-bottom: 8px;

    color: var(--dc-navy);
    font-size: 27px;
}

.dc-project-choice strong {
    display: block;

    color: var(--dc-navy);
    font-size: 12px;
    line-height: 1.25;
}

.dc-project-choice small {
    display: block;

    margin-top: 2px;

    color: var(--dc-text);
    font-size: 10px;
}

.dc-project-choice:has(input:checked) {
    border-color: var(--dc-green);
    background: #f5fcfa;

    box-shadow: inset 0 0 0 1px var(--dc-green);
}

.dc-project-choice:has(input:checked)::after {
    content: "✓";

    position: absolute;
    top: 7px;
    right: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: var(--dc-green);
    color: #fff;

    font-size: 12px;
    font-weight: 800;
}

.dc-project-choice:has(input:checked) .dc-project-choice-icon {
    color: var(--dc-green);
}


/* =========================================================
   CHAMPS
   ========================================================= */

.dc-project-field {
    margin-top: 18px;
}

.dc-project-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--dc-navy);
    font-size: 12px;
    font-weight: 700;
}

.dc-project-field textarea,
.dc-project-field input[type="text"] {
    display: block;

    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #dce3e1;
    border-radius: 9px;

    background: #fff;

    color: var(--dc-navy);
    font: inherit;
    font-size: 13px;

    outline: none;
}

.dc-project-field textarea {
    min-height: 95px;
    resize: vertical;
}

.dc-project-field textarea:focus,
.dc-project-field input[type="text"]:focus {
    border-color: var(--dc-green);

    box-shadow: 0 0 0 3px rgba(0,169,143,.08);
}


/* =========================================================
   INFO
   ========================================================= */

.dc-project-info {
    margin-top: 17px;
    padding: 13px 15px;

    border-radius: 9px;

    background: var(--dc-green-light);

    color: #587080;
    font-size: 12px;
    line-height: 1.5;
}

.dc-project-info strong {
    color: var(--dc-navy);
}


/* =========================================================
   PETITES CASES
   ========================================================= */

.dc-project-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.dc-project-mini-grid label,
.dc-project-inline-options label {
    position: relative;

    cursor: pointer;
}

.dc-project-mini-grid input,
.dc-project-inline-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dc-project-mini-grid span,
.dc-project-inline-options span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 39px;
    padding: 7px 9px;

    box-sizing: border-box;

    border: 1px solid #dce3e1;
    border-radius: 8px;

    background: #fff;

    color: var(--dc-navy);
    text-align: center;

    font-size: 11px;
    line-height: 1.2;

    transition: .18s ease;
}

.dc-project-mini-grid label:hover span,
.dc-project-inline-options label:hover span {
    border-color: #9cd9cf;
}

.dc-project-mini-grid input:checked + span,
.dc-project-inline-options input:checked + span {
    border-color: var(--dc-green);
    background: #effaf7;

    color: var(--dc-green-dark);
    font-weight: 700;

    box-shadow: inset 0 0 0 1px var(--dc-green);
}


/* =========================================================
   INSTALLATION
   ========================================================= */

.dc-project-subtitle {
    margin: 20px 0 9px;

    color: var(--dc-navy);
    font-size: 13px;
}

.dc-project-options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    margin-top: 14px;
}

.dc-project-inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}


/* =========================================================
   ÉTAT DU PROJET
   ========================================================= */

.dc-project-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
}

.dc-project-status label {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 38px;
    padding: 7px 10px;

    border-radius: 8px;

    cursor: pointer;
}

.dc-project-status label:hover {
    background: #f6f9f8;
}

.dc-project-status input {
    width: 17px;
    height: 17px;

    accent-color: var(--dc-green);
}

.dc-project-status span {
    color: var(--dc-navy);
    font-size: 12px;
}


/* =========================================================
   RÉSUMÉ À DROITE
   ========================================================= */

.dc-project-summary {
    position: sticky;
    top: 90px;

    overflow: hidden;

    background: #fff;
    border: 1px solid var(--dc-border);
    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(8,44,68,.08);
}

.dc-project-summary-head {
    padding: 20px 22px;

    background: var(--dc-navy);
    color: #fff;

    font-size: 17px;
    font-weight: 700;
}

.dc-project-summary-content {
    padding: 10px 22px 22px;
}

.dc-project-summary-item {
    padding: 17px 0;

    border-bottom: 1px solid #e8eceb;
}

.dc-project-summary-item span {
    display: block;

    margin-bottom: 5px;

    color: var(--dc-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
}

.dc-project-summary-item strong {
    display: block;

    color: var(--dc-navy);
    font-size: 13px;
    line-height: 1.45;
}

.dc-project-summary-actions {
    display: grid;
    gap: 10px;

    margin-top: 22px;
}

.dc-project-btn-primary,
.dc-project-btn-secondary {
    min-height: 47px;
    padding: 10px 16px;

    border-radius: 9px;

    font-weight: 700;
    font-size: 13px;

    cursor: pointer;
}

.dc-project-btn-primary {
    border: 1px solid var(--dc-green);
    background: var(--dc-green);
    color: #fff;
}

.dc-project-btn-primary:hover {
    background: var(--dc-green-dark);
}

.dc-project-btn-secondary {
    border: 1px solid var(--dc-green);
    background: #fff;
    color: var(--dc-green-dark);
}

.dc-project-confidential {
    margin: 18px 0 0;

    color: #7c8b96;
    text-align: center;

    font-size: 10px;
    line-height: 1.45;
}


/* =========================================================
   PIED DE PAGE
   ========================================================= */

.dc-project-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 24px;
    padding: 22px 30px;

    background: rgba(237,247,252,.92);
    border-radius: 14px;
}

.dc-project-footer div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dc-project-footer strong {
    color: var(--dc-navy);
    font-size: 12px;
}

.dc-project-footer span {
    color: var(--dc-text);
    font-size: 11px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1150px) {

    .dc-project-builder-head {
        grid-template-columns: 1fr;
    }

    .dc-project-layout {
        grid-template-columns: 1fr 300px;
    }

    .dc-project-main {
        grid-template-columns: 1fr;
    }

    #project-besoin,
    #project-tech,
    #project-capteurs,
    #project-installation,
    #project-avancement {
        grid-column: 1;
    }

    .dc-project-choice-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .dc-project-builder {
        padding: 15px 8px 30px;
    }

    .dc-project-builder-head {
        padding: 24px 18px;
    }

    .dc-project-progress {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
    }

    .dc-project-progress-item {
        flex: 0 0 72px;
    }

    .dc-project-progress-line {
        min-width: 20px;
    }

    .dc-project-layout {
        grid-template-columns: 1fr;
    }

    .dc-project-summary {
        position: static;
    }

    .dc-project-block {
        padding: 20px 15px;
    }

    .dc-project-choice-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .dc-project-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dc-project-options-row {
        grid-template-columns: 1fr;
    }

    .dc-project-status {
        grid-template-columns: 1fr;
    }

    .dc-project-footer {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .dc-project-choice-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .dc-project-choice {
        min-height: 105px;
    }

    .dc-project-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
/* =========================================================
   PROJET - SECTIONS 3 & 4
   CASES DE SÉLECTION VISIBLES
   ========================================================= */

/* On remet les vrais checkbox / radio visibles */
.dc-project-mini-grid input,
.dc-project-inline-options input {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    width: 16px;
    height: 16px;
    margin: 0;

    flex: 0 0 auto;

    accent-color: #00a98f;

    cursor: pointer;
}


/* =========================================================
   CAPTEURS / COMMUNICATION
   ========================================================= */

.dc-project-mini-grid label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    min-height: 42px;
    padding: 8px 10px;

    box-sizing: border-box;

    border: 1px solid #dce3e1;
    border-radius: 8px;

    background: #fff;

    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.dc-project-mini-grid label:hover {
    border-color: #76cfc0;
    background: #f8fcfb;
}

.dc-project-mini-grid span {
    display: block !important;

    min-height: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #082c44 !important;

    text-align: left;
    font-size: 11px;
    line-height: 1.25;
}


/* CASE SÉLECTIONNÉE */

.dc-project-mini-grid label:has(input:checked) {
    border-color: #00a98f;

    background: #effaf7;

    box-shadow: inset 0 0 0 1px #00a98f;
}

.dc-project-mini-grid label:has(input:checked) span {
    color: #078a76 !important;
    font-weight: 700;
}


/* =========================================================
   ENVIRONNEMENT / ALIMENTATION / DISTANCE
   ========================================================= */

.dc-project-inline-options label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;

    min-height: 38px;
    padding: 7px 10px;

    box-sizing: border-box;

    border: 1px solid #dce3e1;
    border-radius: 8px;

    background: #fff;

    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease;
}

.dc-project-inline-options label:hover {
    border-color: #76cfc0;
}

.dc-project-inline-options span {
    display: block !important;

    min-height: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #082c44 !important;

    font-size: 11px;
    white-space: nowrap;
}


/* SÉLECTION */

.dc-project-inline-options label:has(input:checked) {
    border-color: #00a98f;

    background: #effaf7;

    box-shadow: inset 0 0 0 1px #00a98f;
}

.dc-project-inline-options label:has(input:checked) span {
    color: #078a76 !important;
    font-weight: 700;
}
/* =========================================================
   CORRECTION LISIBILITÉ - BLOCS 3 & 4
   ========================================================= */

/* 3 colonnes au lieu de 4 */
#project-capteurs .dc-project-mini-grid,
#project-installation .dc-project-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}


/* Petites cartes plus lisibles */
#project-capteurs .dc-project-mini-grid label,
#project-installation .dc-project-mini-grid label {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 9px;

    min-width: 0;
    min-height: 46px;

    padding: 9px 11px;

    border: 1px solid #dce3e1;
    border-radius: 9px;

    background: #fff;
}


/* Checkbox */
#project-capteurs .dc-project-mini-grid input,
#project-installation .dc-project-mini-grid input {
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: #00a98f;
}


/* Texte */
#project-capteurs .dc-project-mini-grid span,
#project-installation .dc-project-mini-grid span {
    flex: 1 1 auto;

    min-width: 0;

    color: #082c44 !important;

    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.25;

    text-align: left;

    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}


/* État sélectionné */
#project-capteurs .dc-project-mini-grid label:has(input:checked),
#project-installation .dc-project-mini-grid label:has(input:checked) {
    border-color: #00a98f;

    background: #effaf7;

    box-shadow: inset 0 0 0 1px #00a98f;
}

#project-capteurs .dc-project-mini-grid label:has(input:checked) span,
#project-installation .dc-project-mini-grid label:has(input:checked) span {
    color: #078a76 !important;
    font-weight: 700;
}


/* =========================================================
   ENVIRONNEMENT / ALIMENTATION
   ========================================================= */

#project-installation .dc-project-options-row {
    grid-template-columns: 1fr;
    gap: 8px;

    margin-top: 18px;
}

#project-installation .dc-project-inline-options {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

#project-installation .dc-project-inline-options label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    gap: 7px;

    min-height: 38px;

    padding: 7px 11px;

    border: 1px solid #dce3e1;
    border-radius: 8px;

    background: #fff;
}

#project-installation .dc-project-inline-options span {
    padding: 0 !important;

    border: 0 !important;

    color: #082c44 !important;

    font-size: 12px !important;
    line-height: 1.2;

    white-space: nowrap;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1150px) {

    #project-capteurs .dc-project-mini-grid,
    #project-installation .dc-project-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    #project-capteurs .dc-project-mini-grid,
    #project-installation .dc-project-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}
/* =========================================================
   DOMOCODE - BLOCS 3 & 4
   MÊME LOGIQUE VISUELLE QUE BLOCS 1 & 2
   ========================================================= */


/* =========================================================
   3 - CAPTEURS / ACTIONS
   4 - COMMUNICATION
   ========================================================= */

#project-capteurs .dc-project-mini-grid,
#project-installation .dc-project-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}


/* CARTE */

#project-capteurs .dc-project-mini-grid label,
#project-installation .dc-project-mini-grid label {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 78px;

    padding: 12px 9px;

    box-sizing: border-box;

    border: 1px solid #dfe5e3;
    border-radius: 12px;

    background: #ffffff;

    cursor: pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}


/* ON CACHE LA CHECKBOX
   toute la carte devient le bouton */

#project-capteurs .dc-project-mini-grid input,
#project-installation .dc-project-mini-grid input {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;
    pointer-events: none !important;
}


/* TEXTE */

#project-capteurs .dc-project-mini-grid span,
#project-installation .dc-project-mini-grid span {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #082c44 !important;

    font-size: 12px !important;
    font-weight: 700;
    line-height: 1.25;

    text-align: center;

    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}


/* SURVOL */

#project-capteurs .dc-project-mini-grid label:hover,
#project-installation .dc-project-mini-grid label:hover {
    transform: translateY(-2px);

    border-color: #83d5c7;

    box-shadow: 0 7px 18px rgba(8,44,68,.07);
}


/* =========================================================
   ÉTAT SÉLECTIONNÉ
   exactement comme 1 et 2
   ========================================================= */

#project-capteurs .dc-project-mini-grid label:has(input:checked),
#project-installation .dc-project-mini-grid label:has(input:checked) {
    border-color: #00a98f;

    background: #f2fbf8;

    box-shadow:
        inset 0 0 0 1px #00a98f,
        0 6px 16px rgba(0,169,143,.08);
}


#project-capteurs .dc-project-mini-grid label:has(input:checked)::after,
#project-installation .dc-project-mini-grid label:has(input:checked)::after {
    content: "✓";

    position: absolute;
    top: 7px;
    right: 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #00a98f;
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}


#project-capteurs .dc-project-mini-grid label:has(input:checked) span,
#project-installation .dc-project-mini-grid label:has(input:checked) span {
    color: #078a76 !important;
}


/* =========================================================
   4 - ENVIRONNEMENT / ALIMENTATION / DISTANCE
   PETITES CARTES SÉLECTIONNABLES
   ========================================================= */

#project-installation .dc-project-options-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

    margin-top: 22px;
}


#project-installation .dc-project-inline-options {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


/* PETITE CARTE */

#project-installation .dc-project-inline-options label {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 86px;
    min-height: 44px;

    padding: 8px 13px;

    box-sizing: border-box;

    border: 1px solid #dfe5e3;
    border-radius: 9px;

    background: #ffffff;

    cursor: pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}


/* CACHE CHECKBOX / RADIO */

#project-installation .dc-project-inline-options input {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;
    pointer-events: none !important;
}


/* TEXTE */

#project-installation .dc-project-inline-options span {
    display: block !important;

    min-height: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: #082c44 !important;

    font-size: 12px !important;
    font-weight: 600;

    text-align: center;

    white-space: nowrap;
}


/* SURVOL */

#project-installation .dc-project-inline-options label:hover {
    transform: translateY(-1px);

    border-color: #83d5c7;
}


/* SÉLECTION */

#project-installation .dc-project-inline-options label:has(input:checked) {
    border-color: #00a98f;

    background: #effaf7;

    box-shadow: inset 0 0 0 1px #00a98f;
}


#project-installation .dc-project-inline-options label:has(input:checked)::after {
    content: "✓";

    position: absolute;
    top: -7px;
    right: -5px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #00a98f;
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}


#project-installation .dc-project-inline-options label:has(input:checked) span {
    color: #078a76 !important;
    font-weight: 700;
}


/* =========================================================
   SOUS-TITRES DU BLOC 4
   ========================================================= */

#project-installation .dc-project-subtitle {
    margin: 23px 0 10px;

    color: #082c44;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 650px) {

    #project-capteurs .dc-project-mini-grid,
    #project-installation .dc-project-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #project-capteurs .dc-project-mini-grid label,
    #project-installation .dc-project-mini-grid label {
        min-height: 68px;
    }

}
/* =========================================================
   PICTOGRAMMES - CAPTEURS / COMMUNICATION
   ========================================================= */

/* Cartes un peu plus hautes pour accueillir le picto */
#project-capteurs .dc-project-mini-grid label,
#project-installation .dc-project-mini-grid label {
    min-height: 88px;
}


/* Texte + picto vertical */
#project-capteurs .dc-project-mini-grid span,
#project-installation .dc-project-mini-grid span {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    text-align: center;
}


/* Picto commun */
#project-capteurs .dc-project-mini-grid span::before,
#project-installation .dc-project-mini-grid span::before {
    display: block;

    color: #082c44;

    font-size: 23px;
    font-weight: 500;
    line-height: 1;
}


/* =========================================================
   3 - CAPTEURS / ACTIONS
   ========================================================= */

#project-capteurs label:has(input[value="Température"]) span::before {
    content: "♨";
}

#project-capteurs label:has(input[value="Humidité"]) span::before {
    content: "◔";
}

#project-capteurs label:has(input[value="Pression"]) span::before {
    content: "◴";
}

#project-capteurs label:has(input[value="Niveau"]) span::before {
    content: "↕";
}

#project-capteurs label:has(input[value="Débit"]) span::before {
    content: "≈";
}

#project-capteurs label:has(input[value="Courant / tension"]) span::before {
    content: "ϟ";
}

#project-capteurs label:has(input[value="Présence / mouvement"]) span::before {
    content: "◉";
}

#project-capteurs label:has(input[value="Position"]) span::before {
    content: "⌖";
}

#project-capteurs label:has(input[value="Vibration"]) span::before {
    content: "≋";
}

#project-capteurs label:has(input[value="Luminosité"]) span::before {
    content: "☼";
}

#project-capteurs label:has(input[value="Contact sec"]) span::before {
    content: "⊣";
}

#project-capteurs label:has(input[value="Entrée analogique"]) span::before {
    content: "∿";
}

#project-capteurs label:has(input[value="Moteur / relais / vanne"]) span::before {
    content: "⚙";
}

#project-capteurs label:has(input[value="LED / signalisation"]) span::before {
    content: "✦";
}

#project-capteurs label:has(input[value="Autre"]) span::before {
    content: "?";
}


/* =========================================================
   4 - COMMUNICATION
   ========================================================= */

#project-installation label:has(input[value="Wi-Fi"]) span::before {
    content: "⌁";
}

#project-installation label:has(input[value="Ethernet"]) span::before {
    content: "▦";
}

#project-installation label:has(input[value="Bluetooth"]) span::before {
    content: "ᛒ";
}

#project-installation label:has(input[value="Zigbee"]) span::before {
    content: "◇";
}

#project-installation label:has(input[value="MQTT"]) span::before {
    content: "⇄";
}

#project-installation label:has(input[value="CAN"]) span::before {
    content: "↔";
}

#project-installation label:has(input[value="RS485 / Modbus"]) span::before {
    content: "⇆";
}

#project-installation label:has(input[value="1-Wire"]) span::before {
    content: "─";
}

#project-installation label:has(input[value="I2C"]) span::before {
    content: "⌁";
}

#project-installation label:has(input[value="RF 433 MHz"]) span::before {
    content: ")))";
    font-size: 16px;
}

#project-installation label:has(input[value="Autre"]) span::before {
    content: "+";
}

#project-installation label:has(input[value="À définir"]) span::before {
    content: "?";
}


/* =========================================================
   COULEUR LORSQUE LA CARTE EST SÉLECTIONNÉE
   ========================================================= */

#project-capteurs label:has(input:checked) span::before,
#project-installation .dc-project-mini-grid label:has(input:checked) span::before {
    color: #00a98f;
}
.dc-project-progress-item.is-complete span {
    background: #e8f6f2;
    border-color: #00a98f;
    color: #00a98f;
}

.dc-project-progress-item.is-complete span::after {
    content: "✓";
}

.dc-project-progress-item.is-complete span {
    font-size: 0;
}

.dc-project-progress-item.is-complete span::after {
    font-size: 14px;
    font-weight: 800;
}
/* =========================================================
   FOOTER DOMOCODE
   ========================================================= */

.dc-footer {
    width: 100% !important;
    margin-top: 35px !important;
    background: #082c44 !important;
    color: #fff !important;
}

.dc-footer-main {
    display: grid !important;
    grid-template-columns: 1.5fr .8fr 1fr !important;
    gap: 60px !important;

    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 45px 50px 38px !important;
}


/* MARQUE */

.dc-footer-brand {
    max-width: 460px !important;
}

.dc-footer-logo {
    margin-bottom: 12px !important;

    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.dc-footer-brand p {
    margin: 0 0 20px !important;

    color: rgba(255,255,255,.72) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}


/* BOUTON PROJET */

.dc-footer-project-btn {
    display: inline-flex !important;

    padding: 10px 15px !important;

    border-radius: 8px !important;
    background: #00a98f !important;

    color: #fff !important;
    text-decoration: none !important;

    font-size: 12px !important;
    font-weight: 700 !important;
}

.dc-footer-project-btn:hover {
    background: #078a76 !important;
    color: #fff !important;
}


/* COLONNES */

.dc-footer-column h3 {
    margin: 0 0 15px !important;

    color: #5ad2bf !important;

    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}


/* TRÈS IMPORTANT :
   transforme les liens actuellement en ligne
   en vraie colonne */

.dc-footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 9px !important;
}

.dc-footer-links a {
    display: block !important;

    color: rgba(255,255,255,.76) !important;

    font-size: 12px !important;
    line-height: 1.4 !important;

    text-decoration: none !important;
}

.dc-footer-links a:hover {
    color: #fff !important;
}


/* BAS DU FOOTER */

.dc-footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;

    max-width: 1400px !important;
    margin: 0 auto !important;

    padding: 16px 50px !important;

    border-top: 1px solid rgba(255,255,255,.12) !important;

    color: rgba(255,255,255,.55) !important;

    font-size: 10px !important;
}

.dc-footer-bottom-signature {
    color: rgba(255,255,255,.62) !important;
}


/* TABLETTE */

@media (max-width: 900px) {

    .dc-footer-main {
        grid-template-columns: 1fr 1fr !important;
        gap: 35px !important;

        padding: 35px 28px !important;
    }

    .dc-footer-brand {
        grid-column: 1 / -1 !important;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .dc-footer-main {
        grid-template-columns: 1fr !important;
        gap: 28px !important;

        padding: 32px 22px !important;
    }

    .dc-footer-brand {
        grid-column: auto !important;
    }

    .dc-footer-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;

        padding: 15px 22px !important;
    }

}
/* =========================================================
   DÉROULEMENT D'UN PROJET
   ========================================================= */

.dc-process-hero,
.dc-process-intro,
.dc-process-step,
.dc-process-change,
.dc-process-legal-note,
.dc-process-cta {
    margin-bottom: 22px;
    border-radius: 18px;
}


/* =========================================================
   HERO
   ========================================================= */

.dc-process-hero {
    display: grid;
    grid-template-columns: 1.4fr .7fr;
    gap: 55px;
    align-items: center;

    padding: 45px;

    background: #ffffff;
}

.dc-process-kicker {
    margin: 0 0 8px;

    color: #00a98f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.dc-process-hero h1 {
    margin: 0 0 15px;

    color: #082c44;

    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.02;
}

.dc-process-lead {
    max-width: 700px;

    color: #617685;

    line-height: 1.7;
}


/* BLOC BLEU À DROITE */

.dc-process-hero-side {
    padding: 30px;

    background: #082c44;
    border-radius: 16px;

    color: #ffffff;
}

.dc-process-hero-side span {
    display: block;

    margin-bottom: 13px;

    color: #59d3bf;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.dc-process-hero-side strong {
    display: block;

    margin-bottom: 15px;

    font-size: 25px;
    line-height: 1.15;
}

.dc-process-hero-side p {
    margin: 0;

    color: rgba(255,255,255,.70);

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.dc-process-intro {
    padding: 35px 42px;

    background: #ffffff;
}

.dc-process-intro h2 {
    margin: 0 0 10px;

    color: #082c44;

    font-size: 30px;
    line-height: 1.15;
}

.dc-process-intro p:last-child {
    max-width: 850px;

    color: #627684;

    line-height: 1.7;
}


/* =========================================================
   ÉTAPES 01 → 06
   ========================================================= */

.dc-process-step {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 25px;

    padding: 38px 42px;

    background: #ffffff;
}

.dc-process-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 12px;

    background: #e7f5f2;

    color: #078a76;

    font-size: 14px;
    font-weight: 800;
}

.dc-process-step-content h2 {
    margin: 3px 0 13px;

    color: #082c44;

    font-size: 30px;
    line-height: 1.1;
}

.dc-process-step-content > p {
    max-width: 900px;

    color: #617685;

    line-height: 1.7;
}

.dc-process-strong {
    color: #17394d !important;

    font-weight: 600;
}


/* =========================================================
   NOTE "AUCUN ENGAGEMENT"
   ========================================================= */

.dc-process-note {
    display: flex;
    flex-direction: column;
    gap: 4px;

    max-width: 800px;

    margin-top: 20px;
    padding: 15px 18px;

    border-left: 3px solid #00a98f;
    border-radius: 7px;

    background: #eef8f5;

    color: #617685;

    font-size: 12px;
}

.dc-process-note strong {
    color: #082c44;
}


/* =========================================================
   ÉTAPE SOMBRE
   ========================================================= */

.dc-process-step-dark {
    background: #082c44;
}

.dc-process-step-dark h2,
.dc-process-step-dark .dc-process-strong {
    color: #ffffff !important;
}

.dc-process-step-dark .dc-process-number {
    background: #00a98f;

    color: #ffffff;
}

.dc-process-step-dark p {
    color: rgba(255,255,255,.70);
}


/* =========================================================
   TAGS
   ========================================================= */

.dc-process-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.dc-process-tags span {
    padding: 8px 12px;

    border-radius: 7px;

    background: rgba(255,255,255,.09);

    color: #ffffff;

    font-size: 11px;
}


/* =========================================================
   GRILLE PROPOSITION
   ========================================================= */

.dc-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-top: 23px;
}

.dc-process-grid article {
    padding: 18px;

    background: #f6f8f7;

    border-radius: 11px;
}

.dc-process-grid article span {
    color: #00a98f;

    font-size: 10px;
}

.dc-process-grid article strong {
    display: block;

    margin: 5px 0;

    color: #082c44;
}

.dc-process-grid article p {
    margin: 0;

    color: #677987;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   ÉTAPE VALIDATION
   ========================================================= */

.dc-process-step-accent {
    border-left: 5px solid #00a98f;
}


/* =========================================================
   CONCEVOIR → PROTOTYPER → MESURER...
   ========================================================= */

.dc-process-flow {
    display: flex;
    align-items: stretch;

    gap: 10px;

    margin-top: 25px;
}

.dc-process-flow div {
    flex: 1;

    padding: 14px;

    background: #f5f7f6;

    border-radius: 9px;

    text-align: center;
}

.dc-process-flow strong {
    display: block;

    color: #082c44;

    font-size: 12px;
}

.dc-process-flow span {
    display: block;

    margin-top: 3px;

    color: #75848e;

    font-size: 10px;
}

.dc-process-flow b {
    align-self: center;

    color: #00a98f;
}


/* =========================================================
   ET SI LE PROJET ÉVOLUE ?
   ========================================================= */

.dc-process-change {
    display: grid;
    grid-template-columns: 1.3fr .7fr;

    gap: 40px;
    align-items: center;

    padding: 38px 42px;

    background: #edf7f4;
}

.dc-process-change h2 {
    margin: 0 0 9px;

    color: #082c44;

    font-size: 32px;
}

.dc-process-change p {
    color: #617685;

    line-height: 1.7;
}

.dc-process-change-rule {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 22px;

    background: #ffffff;

    border-radius: 12px;
}

.dc-process-change-rule strong {
    color: #082c44;
}

.dc-process-change-rule span {
    color: #667987;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   RAPPEL JURIDIQUE
   ========================================================= */

.dc-process-legal-note {
    padding: 20px 25px;

    background: #ffffff;

    border: 1px solid #dfe6e3;
}

.dc-process-legal-note strong {
    color: #082c44;
}

.dc-process-legal-note p {
    margin: 5px 0 0;

    color: #687b88;

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.dc-process-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 35px 42px;

    background: #ffffff;
}

.dc-process-cta h2 {
    margin: 0 0 7px;

    color: #082c44;
}

.dc-process-cta p {
    margin: 0;

    color: #687b88;
}


/* =========================================================
   TABLETTE / MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .dc-process-hero,
    .dc-process-change {
        grid-template-columns: 1fr;
    }

    .dc-process-hero {
        padding: 30px 24px;
    }

    .dc-process-intro {
        padding: 30px 24px;
    }

    .dc-process-step {
        grid-template-columns: 1fr;

        padding: 30px 24px;
    }

    .dc-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dc-process-flow {
        flex-direction: column;
    }

    .dc-process-flow b {
        transform: rotate(90deg);
    }

    .dc-process-change {
        padding: 30px 24px;
    }

    .dc-process-cta {
        flex-direction: column;
        align-items: flex-start;

        padding: 30px 24px;
    }

}


@media (max-width: 480px) {

    .dc-process-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   CORRECTION ÉTAPE 02 - TAGS
   ========================================================= */

.dc-process-step-dark .dc-process-tags span {
    background: rgba(255, 255, 255, .12) !important;
    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, .08);

    font-weight: 600;
}

.dc-process-step-dark .dc-process-tags {
    margin-top: 22px;
}
/* =========================================================
   DOMOCODE - MENTIONS LÉGALES
   ========================================================= */

.dc-legal-page {
    width: 100%;
}


/* HERO */

.dc-legal-hero {
    display: grid;
    grid-template-columns: 1.4fr .65fr;
    align-items: center;
    gap: 50px;

    margin-bottom: 22px;
    padding: 42px;

    background: #ffffff;
    border-radius: 18px;
}

.dc-legal-kicker {
    margin: 0 0 8px;

    color: #00a98f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.dc-legal-hero h1 {
    margin: 0 0 12px;

    color: #082c44;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
}

.dc-legal-lead {
    max-width: 700px;

    margin: 0;

    color: #647987;

    line-height: 1.7;
}


.dc-legal-hero-side {
    padding: 28px;

    background: #082c44;
    border-radius: 15px;

    color: #ffffff;
}

.dc-legal-hero-side span {
    display: block;

    margin-bottom: 10px;

    color: #59d3bf;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.dc-legal-hero-side strong {
    display: block;

    font-size: 21px;
    line-height: 1.25;
}


/* BLOCS */

.dc-legal-card {
    display: grid;
    grid-template-columns: 50px minmax(0,1fr);
    gap: 24px;

    margin-bottom: 18px;
    padding: 34px 40px;

    background: #ffffff;

    border-radius: 16px;
}

.dc-legal-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: #e8f6f2;
    border-radius: 11px;

    color: #078a76;

    font-size: 12px;
    font-weight: 800;
}

.dc-legal-card h2 {
    margin: 2px 0 12px;

    color: #082c44;

    font-size: 25px;
}

.dc-legal-card p {
    max-width: 900px;

    color: #647987;

    font-size: 13px;
    line-height: 1.7;
}

.dc-legal-card a {
    color: #078a76;

    font-weight: 700;
}


/* INFO CONTACT */

.dc-legal-info {
    display: flex;
    flex-direction: column;

    max-width: 400px;

    margin-top: 18px;
    padding: 14px 17px;

    background: #edf7f4;

    border-radius: 9px;
}

.dc-legal-info strong {
    color: #082c44;

    font-size: 11px;
}

.dc-legal-info span {
    margin-top: 3px;

    color: #078a76;

    font-size: 13px;
}


/* HÉBERGEUR */

.dc-legal-card-dark {
    background: #082c44;
}

.dc-legal-card-dark h2 {
    color: #ffffff;
}

.dc-legal-card-dark .dc-legal-number {
    background: #00a98f;

    color: #ffffff;
}

.dc-legal-host {
    display: grid;
    grid-template-columns: .8fr 1.4fr 1.3fr;
    gap: 12px;

    margin-top: 22px;
}

.dc-legal-host div {
    padding: 17px;

    background: rgba(255,255,255,.08);

    border-radius: 9px;
}

.dc-legal-host span {
    display: block;

    margin-bottom: 7px;

    color: #59d3bf;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.dc-legal-host strong {
    color: #ffffff;

    font-size: 12px;
    line-height: 1.6;
}


/* CONTACT */

.dc-legal-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 32px 40px;

    background: #ffffff;

    border-radius: 16px;
}

.dc-legal-contact h2 {
    margin: 0 0 6px;

    color: #082c44;
}

.dc-legal-contact p {
    margin: 0;

    color: #687c89;

    font-size: 12px;
}


/* MOBILE */

@media (max-width: 800px) {

    .dc-legal-hero {
        grid-template-columns: 1fr;

        padding: 28px 22px;
    }

    .dc-legal-card {
        grid-template-columns: 1fr;

        padding: 28px 22px;
    }

    .dc-legal-host {
        grid-template-columns: 1fr;
    }

    .dc-legal-contact {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px 22px;
    }

}
/* =========================================================
   DOMOCODE - BANNIÈRE DU HEADER
   image : images/image/banner_domocode.png
   ========================================================= */

.container-header {
    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(3, 34, 52, .58) 0%,
            rgba(3, 34, 52, .72) 45%,
            rgba(3, 34, 52, .55) 100%
        ),
        url("/images/image/banner_domocode.png")
        center 72% / cover no-repeat !important;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, .12);
}


/* Nom du site */
.container-header .navbar-brand,
.container-header .navbar-brand a,
.container-header .site-title {
    color: #ffffff !important;

    text-shadow:
        0 1px 4px rgba(0,0,0,.35);
}


/* Liens du menu */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
    color: rgba(255, 255, 255, .96) !important;

    text-shadow:
        0 1px 4px rgba(0,0,0,.40);
}


/* Survol */
.container-header .mod-menu > li > a:hover {
    color: #5ad2bf !important;
}


/* Lien actif */
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
    color: #ffffff !important;

    border-bottom:
        2px solid #00a98f;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .container-header {
        background-position:
            24% 72% !important;
    }

}
/* =========================================================
   DOMOCODE - POLITIQUE DE CONFIDENTIALITÉ
   ========================================================= */

.dc-privacy-page {
    width: 100%;
}

.dc-privacy-hero,
.dc-privacy-card,
.dc-privacy-contact {
    margin-bottom: 18px;
    border-radius: 16px;
}


/* HERO */

.dc-privacy-hero {
    display: grid;
    grid-template-columns: 1.4fr .65fr;
    align-items: center;
    gap: 50px;

    padding: 42px;

    background: #fff;
}

.dc-privacy-kicker {
    margin: 0 0 8px;

    color: #00a98f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.dc-privacy-hero h1 {
    margin: 0 0 12px;

    color: #082c44;

    font-size: clamp(36px,5vw,56px);
    line-height: 1.05;
}

.dc-privacy-lead {
    max-width: 720px;

    margin: 0;

    color: #647987;
    line-height: 1.7;
}

.dc-privacy-hero-side {
    padding: 28px;

    border-radius: 15px;

    background: #082c44;
    color: #fff;
}

.dc-privacy-hero-side span {
    display: block;

    margin-bottom: 10px;

    color: #59d3bf;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.dc-privacy-hero-side strong {
    display: block;

    margin-bottom: 12px;

    font-size: 21px;
    line-height: 1.25;
}

.dc-privacy-hero-side p {
    margin: 0;

    color: rgba(255,255,255,.68);

    font-size: 12px;
    line-height: 1.6;
}


/* CARTES */

.dc-privacy-card {
    display: grid;
    grid-template-columns: 50px minmax(0,1fr);
    gap: 24px;

    padding: 34px 40px;

    background: #fff;
}

.dc-privacy-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 11px;

    background: #e8f6f2;

    color: #078a76;

    font-size: 12px;
    font-weight: 800;
}

.dc-privacy-card h2 {
    margin: 2px 0 12px;

    color: #082c44;

    font-size: 25px;
}

.dc-privacy-card p {
    max-width: 920px;

    color: #647987;

    font-size: 13px;
    line-height: 1.7;
}


/* INFORMATIONS */

.dc-privacy-info {
    display: flex;
    flex-direction: column;

    max-width: 400px;

    margin-top: 17px;
    padding: 14px 17px;

    border-radius: 9px;

    background: #edf7f4;
}

.dc-privacy-info strong {
    color: #082c44;

    font-size: 11px;
}

.dc-privacy-info span {
    margin-top: 3px;

    color: #078a76;

    font-size: 13px;
    font-weight: 700;
}


/* GRID */

.dc-privacy-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;

    margin-top: 20px;
}

.dc-privacy-grid article {
    padding: 18px;

    border-radius: 10px;

    background: #f5f7f6;
}

.dc-privacy-grid article > span {
    color: #00a98f;

    font-size: 9px;
    font-weight: 800;
}

.dc-privacy-grid article strong {
    display: block;

    margin: 6px 0;

    color: #082c44;
}

.dc-privacy-grid article p {
    margin: 0;

    font-size: 11px;
    line-height: 1.55;
}


/* SECTION SOMBRE */

.dc-privacy-card-dark {
    background: #082c44;
}

.dc-privacy-card-dark .dc-privacy-number {
    background: #00a98f;
    color: #fff;
}

.dc-privacy-card-dark h2 {
    color: #fff;
}

.dc-privacy-purpose {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;

    margin-top: 20px;
}

.dc-privacy-purpose div {
    padding: 17px;

    border-radius: 9px;

    background: rgba(255,255,255,.08);
}

.dc-privacy-purpose span {
    color: #59d3bf;

    font-size: 9px;
}

.dc-privacy-purpose strong {
    display: block;

    margin: 5px 0;

    color: #fff;
}

.dc-privacy-purpose p {
    margin: 0;

    color: rgba(255,255,255,.68);

    font-size: 11px;
}

.dc-privacy-dark-note {
    color: rgba(255,255,255,.70) !important;
}


/* SESSION STORAGE */

.dc-privacy-storage {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;

    max-width: 720px;

    margin: 20px 0;
}

.dc-privacy-storage div {
    display: flex;
    flex-direction: column;

    padding: 16px;

    border-radius: 9px;

    background: #f5f7f6;
}

.dc-privacy-storage strong {
    color: #082c44;
}

.dc-privacy-storage span {
    margin-top: 4px;

    color: #6b7d88;

    font-size: 11px;
}


/* RÈGLE */

.dc-privacy-rule {
    display: flex;
    flex-direction: column;
    gap: 5px;

    max-width: 700px;

    margin-top: 18px;
    padding: 15px 18px;

    border-left: 3px solid #00a98f;
    border-radius: 7px;

    background: #eef8f5;
}

.dc-privacy-rule strong {
    color: #082c44;
}

.dc-privacy-rule span {
    color: #647987;

    font-size: 12px;
}


/* DROITS */

.dc-privacy-right-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: 18px 0;
}

.dc-privacy-right-grid span {
    padding: 8px 13px;

    border-radius: 8px;

    background: #edf7f4;

    color: #078a76;

    font-size: 11px;
    font-weight: 700;
}


/* CONTACT */

.dc-privacy-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 32px 40px;

    background: #fff;
}

.dc-privacy-contact h2 {
    margin: 0 0 6px;

    color: #082c44;
}

.dc-privacy-contact p {
    margin: 0;

    color: #687c89;

    font-size: 12px;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .dc-privacy-hero {
        grid-template-columns: 1fr;
    }

    .dc-privacy-grid,
    .dc-privacy-purpose {
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 600px) {

    .dc-privacy-hero {
        padding: 28px 22px;
    }

    .dc-privacy-card {
        grid-template-columns: 1fr;

        padding: 28px 22px;
    }

    .dc-privacy-grid,
    .dc-privacy-purpose,
    .dc-privacy-storage {
        grid-template-columns: 1fr;
    }

    .dc-privacy-contact {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px 22px;
    }

}
/* =========================================================
   DOMOCODE - CONDITIONS D'UTILISATION
   ========================================================= */

.dc-terms-page {
    width: 100%;
}

.dc-terms-hero,
.dc-terms-card,
.dc-terms-links,
.dc-terms-contact {
    margin-bottom: 18px;
    border-radius: 16px;
}


/* =========================================================
   HERO
   ========================================================= */

.dc-terms-hero {
    display: grid;
    grid-template-columns: 1.4fr .65fr;
    align-items: center;
    gap: 50px;

    padding: 42px;

    background: #ffffff;
}


.dc-terms-kicker {
    margin: 0 0 8px;

    color: #00a98f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}


.dc-terms-hero h1 {
    margin: 0 0 12px;

    color: #082c44;

    font-size: clamp(38px,5vw,58px);
    line-height: 1.05;
}


.dc-terms-lead {
    max-width: 720px;

    margin: 0;

    color: #647987;

    line-height: 1.7;
}


/* HERO DROITE */

.dc-terms-hero-side {
    padding: 28px;

    border-radius: 15px;

    background: #082c44;

    color: #ffffff;
}


.dc-terms-hero-side span {
    display: block;

    margin-bottom: 10px;

    color: #59d3bf;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}


.dc-terms-hero-side strong {
    display: block;

    margin-bottom: 12px;

    font-size: 22px;
    line-height: 1.2;
}


.dc-terms-hero-side p {
    margin: 0;

    color: rgba(255,255,255,.68);

    font-size: 12px;
    line-height: 1.6;
}



/* =========================================================
   CARTES
   ========================================================= */

.dc-terms-card {
    display: grid;
    grid-template-columns: 50px minmax(0,1fr);
    gap: 24px;

    padding: 34px 40px;

    background: #ffffff;
}


.dc-terms-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 11px;

    background: #e8f6f2;

    color: #078a76;

    font-size: 12px;
    font-weight: 800;
}


.dc-terms-card h2 {
    margin: 2px 0 12px;

    color: #082c44;

    font-size: 25px;
}


.dc-terms-card p {
    max-width: 920px;

    color: #647987;

    font-size: 13px;
    line-height: 1.7;
}


.dc-terms-card a {
    color: #078a76;

    font-weight: 700;
}



/* =========================================================
   IMPORTANT
   ========================================================= */

.dc-terms-card-accent {
    border-left: 4px solid #00a98f;
}


.dc-terms-important {
    display: flex;
    flex-direction: column;
    gap: 5px;

    max-width: 820px;

    margin: 18px 0;
    padding: 16px 18px;

    background: #edf7f4;

    border-radius: 8px;
}


.dc-terms-important strong {
    color: #082c44;
}


.dc-terms-important span {
    color: #647987;

    font-size: 12px;
}



/* =========================================================
   BLOC SOMBRE
   ========================================================= */

.dc-terms-card-dark {
    background: #082c44;
}


.dc-terms-card-dark .dc-terms-number {
    background: #00a98f;

    color: #ffffff;
}


.dc-terms-card-dark h2 {
    color: #ffffff;
}


.dc-terms-dark-lead {
    color: rgba(255,255,255,.72) !important;
}



/* =========================================================
   GRILLE TECHNIQUE
   ========================================================= */

.dc-terms-tech-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;

    margin-top: 21px;
}


.dc-terms-tech-grid article {
    padding: 17px;

    border-radius: 9px;

    background: rgba(255,255,255,.08);
}


.dc-terms-tech-grid span {
    color: #59d3bf;

    font-size: 9px;
}


.dc-terms-tech-grid strong {
    display: block;

    margin: 5px 0;

    color: #ffffff;
}


.dc-terms-tech-grid p {
    margin: 0;

    color: rgba(255,255,255,.68);

    font-size: 11px;
    line-height: 1.5;
}



/* =========================================================
   RÈGLE
   ========================================================= */

.dc-terms-rule {
    display: flex;
    flex-direction: column;
    gap: 5px;

    max-width: 700px;

    margin-top: 18px;
    padding: 15px 18px;

    border-left: 3px solid #00a98f;
    border-radius: 7px;

    background: #eef8f5;
}


.dc-terms-rule strong {
    color: #082c44;
}


.dc-terms-rule span {
    color: #647987;

    font-size: 12px;
}



/* =========================================================
   LIENS UTILES
   ========================================================= */

.dc-terms-links {
    padding: 32px 40px;

    background: #edf7f4;
}


.dc-terms-links h2 {
    margin: 0;

    color: #082c44;
}


.dc-terms-links-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;

    margin-top: 20px;
}


.dc-terms-links-grid a {
    display: flex;
    flex-direction: column;

    padding: 18px;

    background: #ffffff;

    border: 1px solid #dfe8e5;
    border-radius: 10px;

    text-decoration: none;

    transition:
        transform .18s ease,
        border-color .18s ease;
}


.dc-terms-links-grid a:hover {
    transform: translateY(-2px);

    border-color: #00a98f;
}


.dc-terms-links-grid span {
    color: #00a98f;

    font-size: 9px;
    font-weight: 800;
}


.dc-terms-links-grid strong {
    margin: 5px 0;

    color: #082c44;
}


.dc-terms-links-grid small {
    color: #687c89;
}



/* =========================================================
   CONTACT
   ========================================================= */

.dc-terms-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 32px 40px;

    background: #ffffff;
}


.dc-terms-contact h2 {
    margin: 0 0 6px;

    color: #082c44;
}


.dc-terms-contact p {
    margin: 0;

    color: #687c89;

    font-size: 12px;
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .dc-terms-hero {
        grid-template-columns: 1fr;
    }

    .dc-terms-tech-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .dc-terms-links-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .dc-terms-hero {
        padding: 28px 22px;
    }

    .dc-terms-card {
        grid-template-columns: 1fr;

        padding: 28px 22px;
    }

    .dc-terms-tech-grid {
        grid-template-columns: 1fr;
    }

    .dc-terms-links {
        padding: 28px 22px;
    }

    .dc-terms-contact {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px 22px;
    }

}

body {
    padding-top: var(--dc-header-height, 90px);
}
/* =========================================================
   SERVICES - DOMAINES D'INTERVENTION
   ========================================================= */

.dc-services-domains {
    margin: 2rem 0 2.5rem;
}

.dc-services-domains-head {
    margin-bottom: 1.5rem;
}

.dc-services-domains-head h2 {
    margin-top: 0.35rem;
    margin-bottom: 0.8rem;
}

.dc-domain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.dc-domain-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(10, 49, 73, 0.10);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(10, 49, 73, 0.06);
}

.dc-domain-card-wide {
    grid-column: 1 / -1;
}

.dc-domain-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0aa58f;
}

.dc-domain-card h3 {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    line-height: 1.2;
    color: #082d48;
}

.dc-domain-card p {
    margin-bottom: 1rem;
}

.dc-domain-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.dc-domain-card li {
    position: relative;
    padding: 0.55rem 0.75rem 0.55rem 1.7rem;
    background: rgba(8, 45, 72, 0.035);
    border-radius: 10px;
    font-size: 0.95rem;
}

.dc-domain-card li::before {
    content: "•";
    position: absolute;
    left: 0.75rem;
    top: 0.48rem;
    font-weight: 900;
    color: #0aa58f;
}


/* =========================================================
   SERVICES - INTRO PROCESSUS
   ========================================================= */

.dc-services-process-intro {
    margin: 2.8rem 0 1.4rem;
}

.dc-services-process-intro h2 {
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .dc-domain-grid {
        grid-template-columns: 1fr;
    }

    .dc-domain-card-wide {
        grid-column: auto;
    }
}

@media (max-width: 600px) {

    .dc-domain-card {
        padding: 1.15rem;
        border-radius: 18px;
    }

    .dc-domain-card h3 {
        font-size: 1.2rem;
    }

    .dc-domain-card li {
        font-size: 0.9rem;
    }
}
/* ============================================================
   DOMOCODE - DIAGNOSTIC ZIGBEE
   ============================================================ */

.dc-zigbee {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}


/* ============================================================
   HERO
   ============================================================ */

.dc-zigbee-hero {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(8, 45, 72, 0.10);
    border-radius: 24px;
    padding: 2.3rem;
    box-shadow: 0 12px 35px rgba(8, 45, 72, 0.07);
    margin-bottom: 1.4rem;
}

.dc-zigbee-hero h1 {
    margin: 0.35rem 0 0.6rem;
    color: #082d48;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
}

.dc-zigbee-hero h2 {
    margin: 0 0 1.2rem;
    color: #082d48;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.dc-zigbee-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 950px;
}


/* ============================================================
   BADGES
   ============================================================ */

.dc-zigbee-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.dc-zigbee-badges span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    background: rgba(10, 165, 143, 0.08);
    border: 1px solid rgba(10, 165, 143, 0.18);
    border-radius: 999px;
    color: #075f55;
    font-size: 0.9rem;
    font-weight: 700;
}


/* ============================================================
   CONFIDENTIALITÉ
   ============================================================ */

.dc-zigbee-privacy {
    margin-bottom: 1.4rem;
    padding: 1rem 1.2rem;
    background: rgba(10, 165, 143, 0.06);
    border-left: 4px solid #0aa58f;
    border-radius: 12px;
}

.dc-zigbee-privacy strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #082d48;
}

.dc-zigbee-privacy p {
    margin: 0;
    font-size: 0.92rem;
}


/* ============================================================
   PROGRESSION
   ============================================================ */

.dc-zigbee-progress {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 45, 72, 0.10);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
}

.dc-zigbee-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.dc-zigbee-progress-info span {
    color: #5b6d7a;
}

.dc-zigbee-progress-info strong {
    color: #082d48;
}

.dc-zigbee-progress-track {
    height: 8px;
    background: rgba(8, 45, 72, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.dc-zigbee-progress-bar {
    width: 20%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #0aa58f,
        #17bba5
    );
    border-radius: inherit;
    transition: width 0.35s ease;
}


/* ============================================================
   ÉTAPES
   ============================================================ */

.dc-zigbee-step {
    display: none;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(8, 45, 72, 0.10);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 35px rgba(8, 45, 72, 0.06);
}

.dc-zigbee-step.is-active {
    display: block;
    animation: dcZigbeeStepIn 0.3s ease;
}

@keyframes dcZigbeeStepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================================
   ENTÊTE ÉTAPE
   ============================================================ */

.dc-zigbee-step-head {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid rgba(8, 45, 72, 0.08);
}

.dc-zigbee-step-number {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #082d48;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.dc-zigbee-step-head h2 {
    margin: 0.25rem 0 0.5rem;
    color: #082d48;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.dc-zigbee-step-head p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   CHAMPS
   ============================================================ */

.dc-zigbee-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.dc-zigbee-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.dc-zigbee-field-wide {
    margin-top: 1.2rem;
}

.dc-zigbee-field label {
    color: #082d48;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.45;
}

.dc-zigbee-field select {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 2.4rem 0.7rem 0.9rem;
    border: 1px solid rgba(8, 45, 72, 0.18);
    border-radius: 12px;
    background-color: #ffffff;
    color: #082d48;
    font-size: 0.95rem;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.dc-zigbee-field select:hover {
    border-color: rgba(10, 165, 143, 0.55);
}

.dc-zigbee-field select:focus {
    border-color: #0aa58f;
    box-shadow: 0 0 0 3px rgba(10, 165, 143, 0.12);
}


/* ============================================================
   NOTES TECHNIQUES
   ============================================================ */

.dc-zigbee-expert-note,
.dc-zigbee-final-check {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: rgba(8, 45, 72, 0.045);
    border: 1px solid rgba(8, 45, 72, 0.08);
}

.dc-zigbee-expert-note strong,
.dc-zigbee-final-check strong {
    display: block;
    color: #082d48;
    margin-bottom: 0.35rem;
}

.dc-zigbee-expert-note p,
.dc-zigbee-final-check p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}


/* ============================================================
   CHECKBOX SYMPTÔMES
   ============================================================ */

.dc-zigbee-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.dc-zigbee-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(8, 45, 72, 0.10);
    border-radius: 14px;
    background: rgba(8, 45, 72, 0.025);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.dc-zigbee-check:hover {
    border-color: rgba(10, 165, 143, 0.40);
    background: rgba(10, 165, 143, 0.035);
    transform: translateY(-1px);
}

.dc-zigbee-check input {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    accent-color: #0aa58f;
}

.dc-zigbee-check span {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dc-zigbee-check strong {
    color: #082d48;
    font-size: 0.94rem;
}

.dc-zigbee-check small {
    color: #667985;
    font-size: 0.82rem;
    line-height: 1.45;
}


/* ============================================================
   NAVIGATION ÉTAPES
   ============================================================ */

.dc-zigbee-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dc-zigbee-nav-right {
    justify-content: flex-end;
}

.dc-zigbee .dc-btn {
    border: 0;
    cursor: pointer;
    text-decoration: none;
}

.dc-zigbee .dc-btn-secondary {
    background: rgba(8, 45, 72, 0.07);
    color: #082d48 !important;
    border: 1px solid rgba(8, 45, 72, 0.12);
}

.dc-zigbee .dc-btn-secondary:hover {
    background: rgba(8, 45, 72, 0.12);
}


/* ============================================================
   RÉSULTAT
   ============================================================ */

.dc-zigbee-result {
    margin-top: 1.5rem;
}

.dc-zigbee-result[hidden] {
    display: none !important;
}

.dc-zigbee-result-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.7rem;
    padding: 2rem;
    background: #082d48;
    border-radius: 24px;
    color: #ffffff;
}

.dc-zigbee-score {
    width: 145px;
    height: 145px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    padding-top: 42px;
}

.dc-zigbee-score span {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
}

.dc-zigbee-score small {
    margin-left: 0.15rem;
    font-size: 1rem;
    opacity: 0.72;
}

.dc-zigbee-result-title .dc-domain-kicker {
    color: #36d7c0;
}

.dc-zigbee-result-title h2 {
    margin: 0.25rem 0 0.55rem;
    color: #ffffff;
}

.dc-zigbee-result-title p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}


/* ============================================================
   SOUS-SCORES
   ============================================================ */

.dc-zigbee-scores {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    border: 1px solid rgba(8, 45, 72, 0.10);
}

.dc-zigbee-subscore > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.4rem;
    color: #082d48;
    font-size: 0.9rem;
}

.dc-zigbee-score-track {
    height: 7px;
    overflow: hidden;
    background: rgba(8, 45, 72, 0.08);
    border-radius: 999px;
}

.dc-zigbee-score-track span {
    display: block;
    width: 0;
    height: 100%;
    background: #0aa58f;
    border-radius: inherit;
    transition: width 0.7s ease;
}


/* ============================================================
   ANALYSE
   ============================================================ */

.dc-zigbee-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.dc-zigbee-analysis-card,
.dc-zigbee-priorities,
.dc-zigbee-advice {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(8, 45, 72, 0.10);
    border-radius: 20px;
    padding: 1.5rem;
}

.dc-zigbee-analysis-card h3,
.dc-zigbee-priorities h2,
.dc-zigbee-advice h2 {
    margin-top: 0.25rem;
    color: #082d48;
}

.dc-zigbee-priorities,
.dc-zigbee-advice {
    margin-top: 1rem;
}


/* ============================================================
   LISTES DE RÉSULTAT
   ============================================================ */

.dc-zigbee-result-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.dc-zigbee-result-list li {
    position: relative;
    padding: 0.75rem 0.85rem 0.75rem 2rem;
    background: rgba(8, 45, 72, 0.035);
    border-radius: 10px;
    line-height: 1.5;
}

.dc-zigbee-result-list li::before {
    content: "•";
    position: absolute;
    left: 0.85rem;
    color: #0aa58f;
    font-weight: 900;
}


/* ============================================================
   PRIORITÉS
   ============================================================ */

.dc-zigbee-priority {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    margin-top: 0.7rem;
    border-radius: 14px;
    background: rgba(8, 45, 72, 0.035);
}

.dc-zigbee-priority-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #082d48;
    color: #ffffff;
    font-weight: 800;
}

.dc-zigbee-priority strong {
    display: block;
    color: #082d48;
    margin-bottom: 0.2rem;
}

.dc-zigbee-priority p {
    margin: 0;
    font-size: 0.9rem;
}


/* ============================================================
   ACTIONS RÉSULTAT
   ============================================================ */

.dc-zigbee-result-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 850px) {

    .dc-zigbee {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dc-zigbee-fields,
    .dc-zigbee-check-grid,
    .dc-zigbee-analysis-grid {
        grid-template-columns: 1fr;
    }

    .dc-zigbee-result-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dc-zigbee-score {
        margin: 0 auto;
    }

}


@media (max-width: 600px) {

    .dc-zigbee {
        padding-top: 1rem;
    }

    .dc-zigbee-hero,
    .dc-zigbee-step {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .dc-zigbee-step-head {
        gap: 0.8rem;
    }

    .dc-zigbee-step-number {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 0.85rem;
    }

    .dc-zigbee-nav,
    .dc-zigbee-result-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .dc-zigbee-nav-right {
        flex-direction: column;
    }

    .dc-zigbee .dc-btn {
        width: 100%;
        text-align: center;
    }

}
/* =========================================================
   DOMOCODE - CALCULATEUR PCB DOUBLE FACE
   ========================================================= */

.dc-pcb-tool {
    --dc-pcb-navy: #062b3d;
    --dc-pcb-teal: #069b83;
    --dc-pcb-teal-dark: #057864;
    --dc-pcb-bg: rgba(255, 255, 255, 0.88);
    --dc-pcb-soft: rgba(6, 155, 131, 0.07);
    --dc-pcb-border: rgba(6, 43, 61, 0.13);
    --dc-pcb-text: #18394a;
    --dc-pcb-muted: #607783;

    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 14px 50px;
    color: var(--dc-pcb-text);
}


/* =========================================================
   HERO
   ========================================================= */

.dc-pcb-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 38px;
    margin-bottom: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.96),
            rgba(244,250,248,0.92)
        );

    border: 1px solid var(--dc-pcb-border);
    border-radius: 20px;

    box-shadow:
        0 14px 35px rgba(4, 39, 55, 0.08);
}


.dc-pcb-hero::before {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -70px;

    border-radius: 50%;

    background:
        rgba(6, 155, 131, 0.08);
}


.dc-pcb-hero h1 {
    position: relative;
    z-index: 1;

    margin:
        5px 0 8px;

    color:
        var(--dc-pcb-navy);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height:
        1.08;
}


.dc-pcb-hero h2 {
    position: relative;
    z-index: 1;

    margin:
        0 0 18px;

    max-width:
        850px;

    color:
        var(--dc-pcb-navy);

    font-size:
        clamp(1.25rem, 2.2vw, 1.65rem);

    line-height:
        1.35;
}


.dc-pcb-lead {
    max-width:
        900px;

    font-size:
        1.08rem;

    line-height:
        1.7;
}


.dc-pcb-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top:
        22px;

    font-size:
        0.88rem;

    font-weight:
        700;

    color:
        var(--dc-pcb-teal-dark);
}


.dc-pcb-badges {
    word-spacing: 3px;
}


/* =========================================================
   KICKERS
   ========================================================= */

.dc-pcb-tool .dc-section-kicker,
.dc-pcb-tool .dc-domain-kicker {
    margin:
        0 0 7px;

    color:
        var(--dc-pcb-teal);

    font-size:
        0.76rem;

    font-weight:
        800;

    letter-spacing:
        0.14em;

    text-transform:
        uppercase;
}


/* =========================================================
   BLOCS GÉNÉRAUX
   ========================================================= */

.dc-pcb-section {
    margin-bottom:
        22px;

    padding:
        28px 30px;

    background:
        var(--dc-pcb-bg);

    border:
        1px solid var(--dc-pcb-border);

    border-radius:
        18px;

    box-shadow:
        0 10px 25px rgba(5, 39, 54, 0.055);
}


.dc-pcb-section > h2 {
    margin:
        0 0 12px;

    color:
        var(--dc-pcb-navy);

    font-size:
        clamp(1.45rem, 2vw, 1.9rem);
}


.dc-pcb-section p {
    line-height:
        1.65;
}


/* =========================================================
   PRINCIPE
   ========================================================= */

.dc-pcb-info {
    margin-bottom:
        22px;

    padding:
        18px 21px;

    background:
        var(--dc-pcb-soft);

    border:
        1px solid rgba(6, 155, 131, 0.23);

    border-left:
        5px solid var(--dc-pcb-teal);

    border-radius:
        12px;
}


.dc-pcb-info strong {
    display:
        block;

    margin-bottom:
        6px;

    color:
        var(--dc-pcb-navy);

    font-size:
        1.05rem;
}


.dc-pcb-info p {
    margin:
        0;
}


/* =========================================================
   RÈGLE 4 / 6 / 8 / 10 PIGES
   ========================================================= */

.dc-pcb-rule-grid {
    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        14px;

    margin-top:
        20px;
}


.dc-pcb-rule-card {
    padding:
        22px 14px;

    text-align:
        center;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5faf9
        );

    border:
        1px solid var(--dc-pcb-border);

    border-radius:
        14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.dc-pcb-rule-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(6, 155, 131, 0.4);

    box-shadow:
        0 9px 20px rgba(6, 43, 61, 0.08);
}


.dc-pcb-rule-card strong {
    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--dc-pcb-teal);

    font-size:
        1.55rem;
}


.dc-pcb-rule-card span {
    color:
        var(--dc-pcb-muted);

    font-size:
        0.9rem;
}


/* =========================================================
   MODE D'EMPLOI
   ========================================================= */

.dc-pcb-steps {
    display:
        grid;

    gap:
        12px;

    margin-top:
        20px;
}


.dc-pcb-step {
    display:
        grid;

    grid-template-columns:
        52px 1fr;

    gap:
        15px;

    align-items:
        start;

    padding:
        16px 18px;

    background:
        rgba(255,255,255,0.72);

    border:
        1px solid var(--dc-pcb-border);

    border-radius:
        13px;
}


.dc-pcb-step > span {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        46px;

    height:
        46px;

    border-radius:
        50%;

    background:
        var(--dc-pcb-navy);

    color:
        #ffffff;

    font-size:
        0.88rem;

    font-weight:
        800;
}


.dc-pcb-step strong {
    color:
        var(--dc-pcb-navy);

    font-size:
        1.02rem;
}


.dc-pcb-step p {
    margin:
        4px 0 0;
}


.dc-pcb-step code {
    color:
        #d74372;

    font-weight:
        700;
}


/* =========================================================
   AVERTISSEMENT
   ========================================================= */

.dc-pcb-warning {
    margin-top:
        18px;

    padding:
        16px 20px;

    background:
        #fff7e7;

    border:
        1px solid #ebd59b;

    border-left:
        5px solid #d99b15;

    border-radius:
        11px;
}


.dc-pcb-warning > strong {
    display: block;
    color: #7c5808;
}


.dc-pcb-warning p {
    margin:
        3px 0 0;
}


/* =========================================================
   CALCULATEUR
   ========================================================= */

.dc-pcb-calculator {
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.96),
            rgba(240,250,247,0.93)
        );

    border-color:
        rgba(6,155,131,0.27);
}


.dc-pcb-fields {
    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        16px;

    margin-top:
        20px;
}


.dc-pcb-field label {
    display:
        block;

    margin-bottom:
        6px;

    color:
        var(--dc-pcb-navy);

    font-size:
        0.9rem;

    font-weight:
        700;
}


.dc-pcb-field input,
.dc-pcb-field select {
    width:
        100%;

    min-height:
        46px;

    padding:
        10px 12px;

    color:
        var(--dc-pcb-text);

    background:
        #ffffff;

    border:
        1px solid #bdcbd0;

    border-radius:
        9px;

    font-size:
        1rem;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.dc-pcb-field input:focus,
.dc-pcb-field select:focus {
    outline:
        none;

    border-color:
        var(--dc-pcb-teal);

    box-shadow:
        0 0 0 3px rgba(6,155,131,0.13);
}


.dc-pcb-actions {
    display:
        flex;

    justify-content:
        flex-end;

    margin-top:
        20px;
}


/* =========================================================
   RÉSULTATS
   ========================================================= */

.dc-pcb-result-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        14px;

    margin-top:
        18px;
}


.dc-pcb-result-card {
    padding:
        20px;

    background:
        #f7fafb;

    border:
        1px solid var(--dc-pcb-border);

    border-radius:
        13px;
}


.dc-pcb-result-card span {
    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--dc-pcb-muted);

    font-size:
        0.79rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.05em;
}


.dc-pcb-result-card strong {
    display:
        block;

    color:
        var(--dc-pcb-navy);

    font-size:
        1rem;

    line-height:
        1.45;
}


/* =========================================================
   DIAGRAMME
   ========================================================= */

.dc-pcb-diagram-wrap {
    overflow-x:
        auto;

    margin-top:
        17px;

    padding:
        15px;

    background:
        linear-gradient(
            180deg,
            #fbfdfd,
            #f3f7f8
        );

    border:
        1px solid var(--dc-pcb-border);

    border-radius:
        14px;
}


#dcPcbDiagram {
    display:
        block;

    width:
        100%;

    min-width:
        600px;

    height:
        auto;

    min-height:
        330px;
}


.dc-pcb-note {
    margin:
        10px 0 0;

    color:
        var(--dc-pcb-muted);

    font-size:
        0.9rem;
}


/* =========================================================
   COORDONNÉES FLATCAM
   ========================================================= */

#dcPcbFlatcamInputs {
    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        10px;

    margin-top:
        14px;
}


#dcPcbFlatcamInputs .dc-pcb-coordinate {
    padding:
        13px 15px;

    background:
        #f5f8f9;

    border:
        1px solid var(--dc-pcb-border);

    border-radius:
        9px;

    color:
        var(--dc-pcb-navy);

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-weight:
        700;

    text-align:
        center;
}


/* =========================================================
   TABLEAU
   ========================================================= */

.dc-pcb-table-wrap {
    overflow-x:
        auto;

    margin-top:
        15px;

    border:
        1px solid var(--dc-pcb-border);

    border-radius:
        12px;
}


.dc-pcb-table {
    width:
        100%;

    border-collapse:
        collapse;

    background:
        rgba(255,255,255,0.8);
}


.dc-pcb-table th,
.dc-pcb-table td {
    padding:
        13px 15px;

    text-align:
        left;

    border-bottom:
        1px solid var(--dc-pcb-border);
}


.dc-pcb-table th {
    color:
        #ffffff;

    background:
        var(--dc-pcb-navy);

    font-size:
        0.82rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.04em;
}


.dc-pcb-table tbody tr:last-child td {
    border-bottom:
        0;
}


.dc-pcb-table tbody tr:hover {
    background:
        rgba(6,155,131,0.045);
}


.dc-pcb-table code {
    color:
        var(--dc-pcb-teal-dark);

    font-weight:
        700;
}


/* =========================================================
   NOTE FINALE
   ========================================================= */

.dc-pcb-final-note {
    margin:
        22px 0;

    padding:
        22px 25px;

    background:
        var(--dc-pcb-navy);

    color:
        #ffffff;

    border-radius:
        15px;

    box-shadow:
        0 10px 28px rgba(5,39,54,0.13);
}


.dc-pcb-final-note strong {
    display:
        block;

    margin-bottom:
        5px;

    color:
        #65e0c8;

    font-size:
        1.05rem;
}


.dc-pcb-final-note p {
    margin:
        0;

    line-height:
        1.6;
}


/* =========================================================
   CTA DOMOCODE
   ========================================================= */

.dc-pcb-project {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    margin-top:
        24px;

    padding:
        28px 30px;

    background:
        linear-gradient(
            135deg,
            rgba(6,155,131,0.08),
            rgba(255,255,255,0.94)
        );

    border:
        1px solid rgba(6,155,131,0.25);

    border-radius:
        16px;
}


.dc-pcb-project h2 {
    margin:
        0 0 6px;

    color:
        var(--dc-pcb-navy);
}


.dc-pcb-project p {
    margin:
        0;
}


/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .dc-pcb-rule-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .dc-pcb-fields {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .dc-pcb-result-grid {
        grid-template-columns:
            1fr;
    }


    #dcPcbFlatcamInputs {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .dc-pcb-tool {
        padding-left:
            7px;

        padding-right:
            7px;
    }


    .dc-pcb-hero,
    .dc-pcb-section {
        padding:
            22px 18px;

        border-radius:
            14px;
    }


    .dc-pcb-rule-grid,
    .dc-pcb-fields,
    #dcPcbFlatcamInputs {
        grid-template-columns:
            1fr;
    }


    .dc-pcb-step {
        grid-template-columns:
            42px 1fr;

        padding:
            14px 12px;
    }


    .dc-pcb-step > span {
        width:
            38px;

        height:
            38px;

        font-size:
            0.75rem;
    }


    .dc-pcb-actions {
        justify-content:
            stretch;
    }


    .dc-pcb-actions .dc-btn {
        width:
            100%;

        text-align:
            center;
    }


    .dc-pcb-project {
        flex-direction:
            column;

        align-items:
            flex-start;

        padding:
            22px 18px;
    }


    .dc-pcb-project .dc-btn {
        width:
            100%;

        text-align:
            center;
    }

}

/* =========================================================
   DOMOCODE - DIAGNOSTIC HOME ASSISTANT
   ========================================================= */

.dc-ha-tool {
    --dc-ha-navy: #062b3d;
    --dc-ha-green: #069b83;
    --dc-ha-green-dark: #057763;
    --dc-ha-bg: #f7faf9;
    --dc-ha-soft: #eef8f6;
    --dc-ha-border: #d9e6e3;
    --dc-ha-text: #183946;
    --dc-ha-muted: #607783;
    --dc-ha-warning-bg: #fff7e5;
    --dc-ha-warning-border: #e2a72e;

    width: 100%;
    color: var(--dc-ha-text);
}


/* =========================================================
   HERO
   ========================================================= */

.dc-ha-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 28px 30px;
    border: 1px solid var(--dc-ha-border);
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(238, 248, 246, 0.95)
        );
}

.dc-ha-hero::after {
    content: "";
    position: absolute;
    top: -45px;
    right: -45px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: rgba(6, 155, 131, 0.08);
    pointer-events: none;
}

.dc-ha-kicker {
    margin: 0 0 8px;
    color: var(--dc-ha-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.dc-ha-hero h1 {
    margin: 0 0 6px;
    color: var(--dc-ha-navy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.dc-ha-hero h2 {
    margin: 0 0 14px;
    color: var(--dc-ha-navy);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.3;
}

.dc-ha-lead {
    max-width: 900px;
    margin: 0;
    line-height: 1.7;
}

.dc-ha-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 18px;
    color: var(--dc-ha-green-dark);
    font-size: 0.92rem;
    font-weight: 700;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.dc-ha-section,
.dc-ha-progress,
.dc-ha-step,
.dc-ha-result {
    margin-bottom: 18px;
    padding: 22px 24px;
    border: 1px solid var(--dc-ha-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
}

.dc-ha-section h2,
.dc-ha-step h2,
.dc-ha-result h2 {
    margin: 0 0 10px;
    color: var(--dc-ha-navy);
}

.dc-ha-section p,
.dc-ha-step-intro {
    line-height: 1.65;
}

.dc-ha-info {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 4px solid var(--dc-ha-green);
    border-radius: 8px;
    background: var(--dc-ha-soft);
}

.dc-ha-info strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dc-ha-navy);
}

.dc-ha-info p {
    margin: 0;
}


/* =========================================================
   PROGRESSION
   ========================================================= */

.dc-ha-progress {
    padding: 16px 20px 18px;
}

.dc-ha-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--dc-ha-navy);
}

.dc-ha-progress-head span {
    color: var(--dc-ha-muted);
    font-size: 0.9rem;
}

.dc-ha-progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6efed;
}

.dc-ha-progress-bar {
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: var(--dc-ha-green);
    transition: width 0.35s ease;
}


/* =========================================================
   ÉTAPES
   ========================================================= */

.dc-ha-step {
    display: none;
}

.dc-ha-step.is-active {
    display: block;
}

.dc-ha-step-intro {
    margin-bottom: 22px;
    color: var(--dc-ha-muted);
}


/* =========================================================
   CHAMPS
   ========================================================= */

.dc-ha-field {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.dc-ha-field label,
.dc-ha-fieldset legend {
    color: var(--dc-ha-navy);
    font-weight: 700;
}

.dc-ha-field select {
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid #cfdedb;
    border-radius: 8px;
    background: #fff;
    color: var(--dc-ha-text);
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.dc-ha-field select:focus {
    outline: none;
    border-color: var(--dc-ha-green);
    box-shadow: 0 0 0 3px rgba(6, 155, 131, 0.12);
}


/* =========================================================
   CHECKBOXES
   ========================================================= */

.dc-ha-fieldset {
    margin: 0 0 20px;
    padding: 16px;
    border: 1px solid var(--dc-ha-border);
    border-radius: 10px;
    background: #fbfdfc;
}

.dc-ha-fieldset legend {
    padding: 0 6px;
}

.dc-ha-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    cursor: pointer;
}

.dc-ha-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--dc-ha-green);
}

.dc-ha-check span {
    line-height: 1.45;
}


/* =========================================================
   BOUTONS ÉTAPES
   ========================================================= */

.dc-ha-step-actions,
.dc-ha-result-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.dc-ha-step-actions .dc-btn,
.dc-ha-result-actions .dc-btn {
    min-width: 150px;
}


/* =========================================================
   RÉSULTAT
   ========================================================= */

.dc-ha-result[hidden] {
    display: none !important;
}

.dc-ha-result {
    margin-top: 20px;
}

.dc-ha-score-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    margin: 20px 0;
    padding: 22px;
    border-radius: 12px;
    background: var(--dc-ha-navy);
    color: #fff;
}

.dc-ha-score-value {
    min-width: 130px;
    text-align: center;
}

.dc-ha-score-value strong {
    display: inline-block;
    font-size: 3.4rem;
    line-height: 1;
}

.dc-ha-score-value span {
    font-size: 1.2rem;
    opacity: 0.75;
}

.dc-ha-score-text h3 {
    margin: 0 0 8px;
    color: #fff;
}

.dc-ha-score-text p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}


/* =========================================================
   SOUS-SCORES
   ========================================================= */

.dc-ha-subscore-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.dc-ha-subscore {
    padding: 14px;
    border: 1px solid var(--dc-ha-border);
    border-radius: 10px;
    background: var(--dc-ha-bg);
}

.dc-ha-subscore-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
    font-size: 0.88rem;
}

.dc-ha-subscore-head strong {
    color: var(--dc-ha-navy);
}

.dc-ha-subscore-head span {
    color: var(--dc-ha-muted);
    font-weight: 700;
}

.dc-ha-subscore-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfeae7;
}

.dc-ha-subscore-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--dc-ha-green);
    transition: width 0.6s ease;
}


/* =========================================================
   POINTS FORTS / À SURVEILLER
   ========================================================= */

.dc-ha-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.dc-ha-result-box {
    padding: 20px;
    border: 1px solid var(--dc-ha-border);
    border-radius: 12px;
    background: #fff;
}

.dc-ha-result-box h3 {
    margin: 0 0 12px;
    color: var(--dc-ha-navy);
}

.dc-ha-result-list {
    margin: 0;
    padding-left: 20px;
}

.dc-ha-result-list li {
    margin-bottom: 9px;
    line-height: 1.5;
}


/* =========================================================
   PRIORITÉS
   ========================================================= */

.dc-ha-priorities {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    background: var(--dc-ha-soft);
}

.dc-ha-priorities h3,
.dc-ha-advice h3 {
    margin: 0 0 14px;
    color: var(--dc-ha-navy);
}

.dc-ha-priority {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(6, 43, 61, 0.1);
}

.dc-ha-priority:last-child {
    border-bottom: 0;
}

.dc-ha-priority-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dc-ha-green);
    color: #fff;
    font-weight: 800;
}

.dc-ha-priority strong {
    color: var(--dc-ha-navy);
}

.dc-ha-priority p {
    margin: 5px 0 0;
    line-height: 1.5;
}


/* =========================================================
   RECOMMANDATIONS
   ========================================================= */

.dc-ha-advice {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid var(--dc-ha-border);
    border-radius: 12px;
    background: #fff;
}


/* =========================================================
   NOTE
   ========================================================= */

.dc-ha-note {
    margin-top: 18px;
    padding: 18px 20px;
    border-left: 4px solid var(--dc-ha-green);
    border-radius: 8px;
    background: var(--dc-ha-navy);
    color: #fff;
}

.dc-ha-note strong {
    display: block;
    margin-bottom: 5px;
}

.dc-ha-note p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.92;
}


/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 980px) {

    .dc-ha-subscore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dc-ha-subscore:last-child {
        grid-column: 1 / -1;
    }

    .dc-ha-result-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .dc-ha-hero,
    .dc-ha-section,
    .dc-ha-progress,
    .dc-ha-step,
    .dc-ha-result {
        padding: 18px 16px;
        border-radius: 11px;
    }

    .dc-ha-hero h1 {
        font-size: 1.85rem;
    }

    .dc-ha-hero h2 {
        font-size: 1.12rem;
    }

    .dc-ha-progress-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .dc-ha-score-card {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .dc-ha-score-value {
        min-width: 0;
    }

    .dc-ha-subscore-grid {
        grid-template-columns: 1fr;
    }

    .dc-ha-subscore:last-child {
        grid-column: auto;
    }

    .dc-ha-step-actions,
    .dc-ha-result-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dc-ha-step-actions .dc-btn,
    .dc-ha-result-actions .dc-btn {
        width: 100%;
    }

    .dc-ha-priority {
        grid-template-columns: 32px 1fr;
    }

    .dc-ha-priority-number {
        width: 30px;
        height: 30px;
    }
}
/* =========================================================
   DIAGNOSTIC HOME ASSISTANT
   BOUTON RÉINITIALISER
   ========================================================= */

.dc-ha-progress-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dc-ha-progress-actions span {
    color: var(--dc-ha-muted);
    font-size: 0.9rem;
}

.dc-ha-progress-actions .dc-btn {
    min-width: auto;
    padding: 7px 12px;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .dc-ha-progress-actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .dc-ha-progress-actions span {
        font-size: 0.84rem;
    }

    .dc-ha-progress-actions .dc-btn {
        flex: 0 0 auto;
    }
}

/* =========================================================
   HOME ASSISTANT - RESET RÉSULTAT
   ========================================================= */

#dcHaRestartDiagnostic {
    background: #ffffff;
    color: #062b3d;
    border: 2px solid #069b83;
    font-weight: 700;
}

#dcHaRestartDiagnostic:hover {
    background: #eef8f6;
    color: #062b3d;
}

.dc-ha-result-actions {
    justify-content: space-between;
}

#dcHaRestartDiagnostic {
    background: #069b83;
    color: #ffffff;
    border: 2px solid #069b83;
    font-weight: 700;
}

#dcHaRestartDiagnostic:hover {
    background: #057763;
    color: #ffffff;
    border-color: #057763;
}

/* =========================================================
   FIL D'ARIANE DOMOCODE - FIXE
   ========================================================= */

.container-breadcrumbs {
    position: fixed !important;

    top: var(--dc-header-height, 0px);

    left: 0;
    right: 0;
    width: 100%;

    z-index: 99998;

    background: rgba(248, 246, 239, 0.97);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-bottom: 1px solid rgba(6, 155, 131, 0.18);

    box-shadow:
        0 4px 10px rgba(6, 43, 61, 0.06);
}


/* =========================================================
   CONTENU DU FIL D'ARIANE
   ========================================================= */

.container-breadcrumbs .breadcrumb {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}


/* LIENS */

.container-breadcrumbs .breadcrumb a {
    color: #069b83;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* PAGE ACTUELLE */

.container-breadcrumbs .breadcrumb-item.active {
    color: #183946;
    font-weight: 600;
}
/* =========================================================
   FIL D'ARIANE - SIGNATURE CIRCUIT DOMOCODE
   ========================================================= */

.mod-breadcrumbs__wrapper {
    overflow: hidden;
}


/* Petit circuit décoratif à droite */

.mod-breadcrumbs__wrapper::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 24px;

    width: 260px;
    height: 42px;

    transform: translateY(-50%);

    pointer-events: none;

    opacity: 0.11;

    background:

        /* pastilles */
        radial-gradient(
            circle at 15% 50%,
            #069b83 0 4px,
            transparent 5px
        ),

        radial-gradient(
            circle at 48% 25%,
            #069b83 0 3px,
            transparent 4px
        ),

        radial-gradient(
            circle at 76% 70%,
            #069b83 0 4px,
            transparent 5px
        ),

        radial-gradient(
            circle at 96% 35%,
            #069b83 0 3px,
            transparent 4px
        ),

        /* piste horizontale */
        linear-gradient(
            90deg,
            transparent 0 15%,
            #069b83 15% 48%,
            transparent 48%
        )
        0 50% / 100% 2px no-repeat,

        /* piste haute */
        linear-gradient(
            90deg,
            transparent 0 48%,
            #069b83 48% 96%,
            transparent 96%
        )
        0 25% / 100% 2px no-repeat,

        /* piste verticale 1 */
        linear-gradient(
            0deg,
            transparent 0 25%,
            #069b83 25% 50%,
            transparent 50%
        )
        48% 0 / 2px 100% no-repeat,

        /* piste verticale 2 */
        linear-gradient(
            0deg,
            transparent 0 35%,
            #069b83 35% 70%,
            transparent 70%
        )
        76% 0 / 2px 100% no-repeat;
}


/* =========================================================
   MOBILE : ON GARDE LE FIL D'ARIANE TRÈS LISIBLE
   ========================================================= */

@media (max-width: 700px) {

    .mod-breadcrumbs__wrapper::after {
        display: none;
    }
}
/* =========================================================
   DOMOCODE - BOUTONS LIENS TECHNIQUES
   ========================================================= */

.dc-project-section .dc-btn.dc-btn-secondary {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid #94a3b8 !important;
    text-decoration: none !important;
}

.dc-project-section .dc-btn.dc-btn-secondary:hover {
    color: #ffffff !important;
    background: #0f3b4c !important;
    border-color: #0f3b4c !important;
}

.dc-project-section .dc-btn.dc-btn-secondary:visited {
    color: #0f172a !important;
}