/* =========================================================
   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;
}
/* =========================================================
   DOMOCODE - LOGO HEADER
   ========================================================= */

.container-header .navbar-brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 280px !important;
    max-height: 72px !important;
}

.container-header .navbar-brand {
    width: auto !important;
    max-width: 300px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .container-header .navbar-brand img {
        max-width: 220px !important;
        max-height: 58px !important;
    }
}
/* =========================================================
   DOMOCODE - LOGO HEADER FINAL
   ========================================================= */

/* Bloc logo */
.container-header .navbar-brand {
    width: auto !important;
    max-width: 320px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Lien du logo */
.container-header .navbar-brand a {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    text-decoration: none !important;
}

/* Logo desktop */
.container-header .navbar-brand img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 300px !important;
    max-height: 78px !important;

    object-fit: contain !important;
}

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

@media (max-width: 1100px) {

    .container-header .navbar-brand {
        max-width: 270px !important;
    }

    .container-header .navbar-brand img {
        max-width: 250px !important;
        max-height: 68px !important;
    }

}

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

@media (max-width: 768px) {

    .container-header .navbar-brand {
        max-width: 220px !important;
    }

    .container-header .navbar-brand img {
        max-width: 205px !important;
        max-height: 58px !important;
    }

}

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

@media (max-width: 480px) {

    .container-header .navbar-brand {
        max-width: 190px !important;
    }

    .container-header .navbar-brand img {
        max-width: 175px !important;
        max-height: 52px !important;
    }

}
/* =========================================================
   DOMOCODE - FINITION HEADER
   ========================================================= */

.container-header {
    padding: 12px 30px !important;
    min-height: 110px !important;
}

/* Écrans intermédiaires */
@media (max-width: 1100px) {

    .container-header {
        padding: 10px 22px !important;
    }

    .container-header .navbar-brand img {
        max-width: 235px !important;
        max-height: 65px !important;
    }

    .container-header .mod-menu {
        gap: 18px !important;
    }

    .container-header .mod-menu > li > a {
        font-size: 0.95rem !important;
    }
}
/* =========================================================
   DOMOCODE - HEADER ÉCRANS INTERMÉDIAIRES
   ========================================================= */

@media (max-width: 1200px) {

    .container-header {
        grid-template-columns: 210px minmax(0, 1fr) !important;
        padding: 10px 18px !important;
    }

    .container-header .navbar-brand {
        max-width: 210px !important;
    }

    .container-header .navbar-brand img {
        max-width: 200px !important;
        max-height: 62px !important;
    }

    .container-header .mod-menu {
        gap: 12px !important;
    }

    .container-header .mod-menu > li > a,
    .container-header .mod-menu > li > span {
        font-size: 0.88rem !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   DOMOCODE - ACCUEIL V2
   Réalisations / Univers / Outils / Méthode / CTA
   ========================================================= */


/* ---------------------------------------------------------
   BASE SECTIONS ACCUEIL
   --------------------------------------------------------- */

.dc-featured,
.dc-univers,
.dc-tools,
.dc-home-method,
.dc-home-cta {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 78px 32px;
}

.dc-section-head {
    max-width: 820px;
    margin-bottom: 42px;
}

.dc-section-kicker,
.dc-home-cta-kicker {
    margin: 0 0 10px;
    color: #098b72;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dc-section-head h2,
.dc-home-cta h2 {
    margin: 0 0 16px;
    color: #082c44;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.12;
    font-weight: 800;
}

.dc-section-head > p:last-child {
    margin: 0;
    color: #55636d;
    font-size: 1.05rem;
    line-height: 1.75;
}

.dc-section-action,
.dc-home-method-action {
    margin-top: 38px;
    text-align: center;
}


/* =========================================================
   RÉALISATIONS À LA UNE
   ========================================================= */

.dc-featured {
    position: relative;
}

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

.dc-featured-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 28px;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(8, 44, 68, 0.98),
            rgba(8, 44, 68, 0.92)
        );

    border: 1px solid rgba(9, 139, 114, 0.22);
    border-radius: 18px;

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

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

.dc-featured-card::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(9, 139, 114, 0.25),
            rgba(9, 139, 114, 0)
        );

    pointer-events: none;
}

.dc-featured-card:hover {
    transform: translateY(-5px);

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

    box-shadow:
        0 18px 40px rgba(8, 44, 68, 0.18);
}

.dc-featured-tag {
    position: relative;
    z-index: 1;

    display: inline-block;
    width: fit-content;
    margin-bottom: 22px;
    padding: 6px 10px;

    color: #77d8c4;
    background: rgba(9, 139, 114, 0.12);

    border: 1px solid rgba(9, 139, 114, 0.28);
    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dc-featured-card h3 {
    position: relative;
    z-index: 1;

    margin: 0 0 14px;

    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 800;
}

.dc-featured-card p {
    position: relative;
    z-index: 1;

    margin: 0 0 24px;

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

.dc-featured-card a {
    position: relative;
    z-index: 1;

    margin-top: auto;

    color: #66c9b5;
    font-weight: 700;
    text-decoration: none;
}

.dc-featured-card a:hover {
    color: #ffffff;
}


/* =========================================================
   UNIVERS
   ========================================================= */

.dc-univers {
    position: relative;
}

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

.dc-univers-card {
    position: relative;

    padding: 28px;

    background: #ffffff;

    border: 1px solid rgba(8, 44, 68, 0.10);
    border-radius: 16px;

    box-shadow:
        0 8px 26px rgba(8, 44, 68, 0.07);

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

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

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

    box-shadow:
        0 16px 34px rgba(8, 44, 68, 0.11);
}

.dc-univers-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin-bottom: 22px;

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

    border-radius: 12px;

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

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

    color: #082c44;
    font-size: 1.35rem;
    font-weight: 800;
}

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

    color: #5d6972;
    line-height: 1.7;
}

.dc-univers-card a {
    color: #098b72;
    font-weight: 700;
    text-decoration: none;
}

.dc-univers-card a:hover {
    color: #082c44;
}


/* =========================================================
   OUTILS DOMOCODE
   ========================================================= */

.dc-tools {
    position: relative;

    max-width: none;

    padding-left: max(32px, calc((100vw - 1216px) / 2));
    padding-right: max(32px, calc((100vw - 1216px) / 2));

    background:
        linear-gradient(
            135deg,
            #082c44 0%,
            #0b3a55 60%,
            #082c44 100%
        );
}

.dc-tools .dc-section-head h2 {
    color: #ffffff;
}

.dc-tools .dc-section-head > p:last-child {
    color: rgba(255, 255, 255, 0.70);
}

.dc-tools .dc-section-kicker {
    color: #66c9b5;
}

.dc-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.dc-tool-card {
    position: relative;

    padding: 30px;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;

    backdrop-filter: blur(8px);

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

.dc-tool-card:hover {
    transform: translateY(-4px);

    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(102, 201, 181, 0.45);
}

.dc-tool-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin-bottom: 24px;

    color: #ffffff;
    background: #098b72;

    border-radius: 11px;

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

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

    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
}

.dc-tool-card p {
    margin: 0 0 22px;

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

.dc-tool-card a {
    color: #6ed1bd;
    font-weight: 700;
    text-decoration: none;
}

.dc-tool-card a:hover {
    color: #ffffff;
}

.dc-tools .dc-btn-secondary {
    color: #ffffff !important;

    border-color: rgba(255, 255, 255, 0.35) !important;
}

.dc-tools .dc-btn-secondary:hover {
    color: #082c44 !important;
    background: #ffffff !important;
}


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

.dc-home-method-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dc-home-method-card {
    position: relative;

    padding: 30px 28px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbfa 100%
        );

    border: 1px solid rgba(8, 44, 68, 0.10);
    border-radius: 16px;
}

.dc-home-method-number {
    display: block;
    margin-bottom: 18px;

    color: #098b72;

    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

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

    color: #082c44;
    font-size: 1.3rem;
    font-weight: 800;
}

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

    color: #5c6971;
    line-height: 1.7;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

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

    margin-top: 30px;
    margin-bottom: 60px;

    padding: 48px;

    background:
        linear-gradient(
            135deg,
            #082c44 0%,
            #0a3c58 70%,
            #098b72 145%
        );

    border-radius: 22px;

    box-shadow:
        0 16px 44px rgba(8, 44, 68, 0.16);
}

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

.dc-home-cta .dc-home-cta-kicker {
    color: #69cfba;
}

.dc-home-cta h2 {
    color: #ffffff;
}

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

    color: rgba(255, 255, 255, 0.72);
    font-size: 1.04rem;
    line-height: 1.7;
}

.dc-home-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;

    flex: 0 0 auto;
}

.dc-home-cta .dc-btn-secondary {
    color: #ffffff !important;

    border-color: rgba(255, 255, 255, 0.35) !important;
}

.dc-home-cta .dc-btn-secondary:hover {
    color: #082c44 !important;
    background: #ffffff !important;
}


/* =========================================================
   BOUTONS - PETITE HARMONISATION V2
   ========================================================= */

.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 11px 22px;

    border-radius: 9px;

    font-weight: 700;
    line-height: 1.2;

    text-decoration: none !important;

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

.dc-btn:hover {
    transform: translateY(-2px);
}

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

.dc-btn-primary:hover {
    color: #ffffff !important;
    background: #076f5b !important;
    border-color: #076f5b !important;
}

.dc-btn-secondary {
    color: #082c44 !important;
    background: transparent !important;
    border: 1px solid rgba(8, 44, 68, 0.25) !important;
}

.dc-btn-secondary:hover {
    color: #ffffff !important;
    background: #082c44 !important;
    border-color: #082c44 !important;
}


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

@media (max-width: 1100px) {

    .dc-featured,
    .dc-univers,
    .dc-home-method,
    .dc-home-cta {
        padding-left: 24px;
        padding-right: 24px;
    }

    .dc-tools {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .dc-tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dc-home-cta {
        padding: 40px;
    }
}


/* =========================================================
   RESPONSIVE - TABLETTE / MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .dc-featured,
    .dc-univers,
    .dc-tools,
    .dc-home-method {
        padding-top: 58px;
        padding-bottom: 58px;
    }

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

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

        gap: 30px;
    }

    .dc-home-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


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

@media (max-width: 600px) {

    .dc-featured,
    .dc-univers,
    .dc-tools,
    .dc-home-method {
        padding-left: 18px;
        padding-right: 18px;
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .dc-section-head {
        margin-bottom: 30px;
    }

    .dc-section-head h2,
    .dc-home-cta h2 {
        font-size: 1.8rem;
    }

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

    .dc-featured-card {
        min-height: 0;
        padding: 24px;
    }

    .dc-univers-card,
    .dc-tool-card,
    .dc-home-method-card {
        padding: 24px;
    }

    .dc-home-cta {
        margin: 20px 18px 45px;

        width: auto;

        padding: 30px 24px;

        border-radius: 17px;
    }

    .dc-home-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .dc-home-cta-actions .dc-btn {
        width: 100%;
    }

    .dc-section-action .dc-btn,
    .dc-home-method-action .dc-btn {
        width: 100%;
    }
}
/* =========================================================
   DOMOCODE - ACCUEIL V2 - FINITIONS
   ========================================================= */


/* HERO - bouton secondaire sur fond sombre */

.dc-hero .dc-btn-secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.dc-hero .dc-btn-secondary:hover {
    color: #082c44 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
}


/* RÉALISATIONS - meilleure lisibilité */

.dc-featured-card p {
    font-size: 0.94rem;
    line-height: 1.72;
}


/* UNIVERS */

.dc-univers-card p {
    font-size: 0.94rem;
    line-height: 1.72;
}


/* MÉTHODE */

.dc-home-method-card p {
    font-size: 0.94rem;
    line-height: 1.72;
}
.dc-legal-card-dark .dc-legal-kicker,
.dc-legal-card-dark .dc-legal-label {
    color: #098b72;
}

.dc-legal-card-dark h2,
.dc-legal-card-dark strong {
    color: #ffffff;
}

.dc-legal-label {
    display: block;
    margin-bottom: 10px;

    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* =========================================================
   POLITIQUE DE CONFIDENTIALITÉ - BLOC 03
   Couleurs vert DomoCode
   ========================================================= */

.dc-privacy-card-dark .dc-privacy-kicker,
.dc-privacy-card-dark .dc-privacy-purpose > div,
.dc-privacy-card-dark .dc-privacy-purpose > div strong,
.dc-privacy-card-dark .dc-privacy-dark-note {
    color: #098b72;
}

/* Numéros 01 / 02 / 03 / 04 dans les cartes internes */
.dc-privacy-card-dark .dc-privacy-purpose > div {
    border-color: rgba(9, 139, 114, 0.22);
}

.dc-privacy-card-dark .dc-privacy-purpose > div p {
    color: #eaf4f1;
}

/* si tu veux que le petit titre garde un peu de contraste */
.dc-privacy-card-dark h2 {
    color: #ffffff;
}
/* =========================================================
   CONDITIONS D'UTILISATION - BLOC TECHNIQUE SOMBRE
   Vert DomoCode
   ========================================================= */

.dc-terms-card-dark .dc-terms-kicker {
    color: #098b72;
}

.dc-terms-card-dark h2 {
    color: #ffffff;
}

.dc-terms-card-dark .dc-terms-tech-grid article {
    color: #098b72;
    border-color: rgba(9, 139, 114, 0.22);
}

.dc-terms-card-dark .dc-terms-tech-grid article strong {
    color: #098b72;
}

.dc-terms-card-dark .dc-terms-tech-grid article p {
    color: #ffffff;
}

/* =========================================================
   DOMOCODE - FICHE PRODUIT
   HIÉRARCHIE DES TITRES / SUR-TITRES
   ========================================================= */


/* ---------------------------------------------------------
   HERO - DC_ECS V1.6 + TITRE
   --------------------------------------------------------- */

.dc-product-hero .dc-kicker {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.16em;
    color: #098b72;
}

.dc-product-hero h1 {
    margin: 0 0 16px 0;
    line-height: 1.12;
}

.dc-product-hero-lead {
    margin: 0 0 18px 0;
}

.dc-product-hero-signature {
    margin: 0 0 22px 0;
}


/* ---------------------------------------------------------
   BÉNÉFICES - 01 / ÉNERGIE / TITRE
   --------------------------------------------------------- */

.dc-product-benefit .dc-product-number {
    display: block;
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(8, 37, 61, 0.62);
}

.dc-product-benefit .dc-kicker {
    margin: 0 0 9px 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.16em;
    color: #098b72;
}

.dc-product-benefit h3 {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.dc-product-benefit p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   FONCTIONS
   PROGRAMMATION / MODE ABSENCE / RETOUR / AUTONOMIE
   --------------------------------------------------------- */

.dc-product-feature-grid article .dc-kicker {
    margin: 0 0 8px 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    color: #098b72;
}

.dc-product-feature-grid article h3 {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.dc-product-feature-grid article p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   TITRES DE GRANDES SECTIONS
   --------------------------------------------------------- */

.dc-product-section > .dc-kicker {
    margin: 0 0 9px 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.15em;
    color: #098b72;
}

.dc-product-section > h2 {
    margin: 0 0 16px 0;
    line-height: 1.15;
}


/* ---------------------------------------------------------
   OFFRE COMMERCIALE
   --------------------------------------------------------- */

.dc-product-base-head .dc-kicker,
.dc-product-options-block > .dc-kicker,
.dc-product-quote .dc-kicker {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.15em;
    color: #098b72;
}

.dc-product-base-head h3,
.dc-product-options-block h3,
.dc-product-quote h3 {
    margin: 0 0 12px 0;
}

/* =========================================================
   DC_ECS - ESPACES / REGROUPEMENTS VISUELS
   ========================================================= */


/* ---------------------------------------------------------
   HERO PRINCIPAL
   --------------------------------------------------------- */

.dc-product-hero > h1,
.dc-product-hero > h2,
.dc-product-hero > h3,
.dc-product-hero h1,
.dc-product-hero h2,
.dc-product-hero h3 {
    margin-top: 0;
}

.dc-product-hero .dc-kicker {
    margin-top: 0;
    margin-bottom: 8px;
}

.dc-product-hero h1 {
    margin-bottom: 14px;
}

.dc-product-hero .dc-product-hero-lead,
.dc-product-hero p {
    margin-top: 0;
    margin-bottom: 14px;
}

/* espace avant le bloc "DC_ECS V1.6" */
.dc-product-hero .dc-kicker + h2,
.dc-product-hero .dc-kicker + h1 {
    margin-top: 0;
}

.dc-product-hero .dc-product-version,
.dc-product-hero .dc-product-subhead,
.dc-product-hero .dc-product-signature {
    margin-top: 24px;
}

/* ligne type : 24 V DC / LOCAL / WIFI... */
.dc-product-hero-signature,
.dc-product-hero-specs,
.dc-product-inline-specs {
    margin-top: 20px;
    margin-bottom: 28px;
}


/* ---------------------------------------------------------
   VERSION + TITRE ASSOCIÉ
   --------------------------------------------------------- */

.dc-product-version .dc-kicker,
.dc-product-subhead .dc-kicker {
    margin: 0 0 6px 0;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    color: #098b72;
}

.dc-product-version h2,
.dc-product-version h3,
.dc-product-subhead h2,
.dc-product-subhead h3 {
    margin: 0 0 12px 0;
    line-height: 1.12;
}

.dc-product-version p:last-child,
.dc-product-subhead p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   BLOCS BÉNÉFICES / 01 ENERGIE
   --------------------------------------------------------- */

.dc-product-benefit {
    margin-top: 30px;
}

.dc-product-benefit .dc-product-number {
    display: block;
    margin: 0 0 2px 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(8, 37, 61, 0.65);
}

.dc-product-benefit .dc-kicker {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    color: #098b72;
}

.dc-product-benefit h3 {
    margin: 0 0 10px 0;
    line-height: 1.15;
}

.dc-product-benefit p {
    margin-top: 0;
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   FONCTIONS / RUBRIQUES INTERNES
   --------------------------------------------------------- */

.dc-product-feature-grid article,
.dc-product-function-grid article,
.dc-product-section article {
    margin-top: 26px;
}

.dc-product-feature-grid article .dc-kicker,
.dc-product-function-grid article .dc-kicker,
.dc-product-section article .dc-kicker {
    margin: 0 0 7px 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    color: #098b72;
}

.dc-product-feature-grid article h3,
.dc-product-function-grid article h3,
.dc-product-section article h3 {
    margin: 0 0 10px 0;
    line-height: 1.16;
}

.dc-product-feature-grid article p,
.dc-product-function-grid article p,
.dc-product-section article p {
    margin-top: 0;
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   TITRES DE GRANDES SECTIONS
   --------------------------------------------------------- */

.dc-product-section {
    margin-top: 42px;
}

.dc-product-section > .dc-kicker {
    margin: 0 0 8px 0;
}

.dc-product-section > h2 {
    margin: 0 0 14px 0;
}

.dc-product-section > p {
    margin: 0 0 14px 0;
}

/* =========================================================
   PRODUITS - MASQUER LE STATUT PROJET
   ========================================================= */

.dc-project-meta {
    display: none !important;
}

/* =========================================================
   DOMOCODE - BADGES PRODUIT DC_ECS
   ========================================================= */

.dc-product-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin: 24px 0 8px;
}

.dc-product-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px;

    border: 1px solid rgba(9, 139, 114, 0.28);
    border-radius: 999px;

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

    color: #076b59;

    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;

    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* =========================================================
   DC_ECS - BADGES TECHNIQUES
   ========================================================= */

.dc-product-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 24px 0 8px !important;
}

.dc-product-badges > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 8px 14px !important;

    border: 1px solid rgba(9, 139, 114, 0.30) !important;
    border-radius: 999px !important;

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

    color: #076b59 !important;

    font-size: 0.84rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.05em !important;

    white-space: nowrap !important;
}

/* =========================================================
   DOMOCODE - DC_ECS
   OFFRE COMMERCIALE
   ========================================================= */


/* ---------------------------------------------------------
   ZONE GLOBALE
   --------------------------------------------------------- */

.dc-product-offer {
    margin-top: 60px;
    padding-top: 42px;

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


/* ---------------------------------------------------------
   BASE COMPRISE
   --------------------------------------------------------- */

.dc-product-base {
    margin-top: 28px;
    padding: 28px 30px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(9, 139, 114, 0.16);
    border-radius: 20px;

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

.dc-product-base-head {
    margin-bottom: 22px;
}

.dc-product-base-head h3 {
    margin: 0;

    color: #08253d;

    font-size: 1.6rem;
}

.dc-product-base-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px 18px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.dc-product-base-list li {
    position: relative;

    padding: 16px 18px 16px 42px;

    background: rgba(8, 37, 61, 0.035);

    border-radius: 12px;
}

.dc-product-base-list li::before {
    content: "✓";

    position: absolute;
    left: 16px;
    top: 16px;

    color: #098b72;

    font-weight: 900;
}

.dc-product-base-list strong {
    display: block;

    margin-bottom: 4px;

    color: #08253d;
}

.dc-product-base-list span {
    display: block;

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

    font-size: 0.9rem;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   OPTIONS
   --------------------------------------------------------- */

.dc-product-options-block {
    margin-top: 38px;
}

.dc-product-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-top: 20px;
}

.dc-product-option {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    min-height: 120px;

    padding: 22px;

    background: #ffffff;

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

    cursor: pointer;

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

.dc-product-option:hover {
    transform: translateY(-2px);

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

.dc-product-option input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    accent-color: #098b72;
}

.dc-product-option-content {
    display: flex;
    flex-direction: column;
}

.dc-product-option-content strong {
    margin-bottom: 7px;

    color: #08253d;

    font-size: 1.05rem;
}

.dc-product-option-content small {
    color: rgba(8, 37, 61, 0.66);

    font-size: 0.88rem;
    line-height: 1.5;
}

.dc-product-option:has(input:checked) {
    border-color: #098b72;

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

    box-shadow: inset 0 0 0 1px #098b72;
}


/* ---------------------------------------------------------
   DEMANDE DE CHIFFRAGE
   --------------------------------------------------------- */

.dc-product-quote {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    margin-top: 38px;
    padding: 30px 32px;

    background: #08253d;

    border-radius: 20px;

    color: #ffffff;
}

.dc-product-quote .dc-kicker {
    color: #43c7aa;
}

.dc-product-quote h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 1.6rem;
}

.dc-product-quote p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);
}

.dc-product-quote .dc-btn {
    flex: 0 0 auto;

    white-space: nowrap;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .dc-product-base-list {
        grid-template-columns: 1fr;
    }

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

    .dc-product-quote {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* =========================================================
   DC_ECS - OPTION SÉLECTIONNÉE
   ========================================================= */

.dc-product-option:has(input:checked) {
    border-color: #098b72;
    background: rgba(9, 139, 114, 0.07);

    box-shadow:
        inset 0 0 0 1px #098b72,
        0 8px 22px rgba(9, 139, 114, 0.08);
}

.dc-product-option:has(input:checked)::after {
    content: "✓";

    position: absolute;
    top: 12px;
    right: 14px;

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

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: #098b72;
    color: #ffffff;

    font-size: 0.82rem;
    font-weight: 900;
}

.dc-product-option:has(input:checked) .dc-product-option-content strong {
    color: #098b72;
}

/* =========================================================
   DOMOCODE - DC_CALCIPULSE PREMIUM
   ========================================================= */


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

.dc-calci-hero {
    position: relative;
    overflow: hidden;
    margin: 18px 0 42px;
    padding: 72px 56px;
    border: 1px solid rgba(8, 44, 68, 0.08);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 78% 32%,
            rgba(9, 139, 114, 0.16),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f7faf9 0%,
            #ffffff 48%,
            #eef7f5 100%
        );
    box-shadow:
        0 30px 80px rgba(8, 44, 68, 0.08);
}


.dc-calci-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, 0.95fr);
    gap: 64px;
    align-items: center;
}


/* =========================================================
   HERO - TEXTE
   ========================================================= */

.dc-calci-hero-content h1 {
    max-width: 720px;
    margin: 12px 0 24px;
    color: #082c44;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    font-weight: 850;
    line-height: 0.96;
    letter-spacing: -0.055em;
}


.dc-calci-hero-content h1 span {
    color: #098b72;
}


.dc-calci-hero-lead {
    max-width: 680px;
    margin: 0;
    color: #425466;
    font-size: 1.22rem;
    line-height: 1.75;
}


.dc-calci-hero-signature {
    margin: 28px 0 0;
    color: #082c44;
    font-size: 1.12rem;
    font-weight: 800;
}


/* =========================================================
   HERO - 3 POINTS
   ========================================================= */

.dc-calci-hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 34px 0 24px;
}


.dc-calci-hero-points > div {
    padding: 16px 14px;
    border-top: 2px solid rgba(9, 139, 114, 0.28);
}


.dc-calci-hero-points strong {
    display: block;
    color: #082c44;
    font-size: 0.98rem;
}


.dc-calci-hero-points span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 0.82rem;
}


/* =========================================================
   VISUEL PRODUIT
   ========================================================= */

.dc-calci-visual {
    position: relative;
    min-height: 500px;
    padding: 55px 38px 36px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(
            155deg,
            #092b3e 0%,
            #0b3448 58%,
            #092b3e 100%
        );
    box-shadow:
        0 32px 70px rgba(8, 44, 68, 0.22);
}


.dc-calci-visual-glow {
    position: absolute;
    top: -120px;
    right: -90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(9, 139, 114, 0.32);
    filter: blur(70px);
}


/* =========================================================
   FAUX BOITIER PRODUIT
   ========================================================= */

.dc-calci-product {
    position: relative;
    z-index: 2;
    width: 82%;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.035)
        );
    box-shadow:
        0 24px 44px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}


.dc-calci-product-logo span {
    display: block;
    color: #61bcc3;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}


.dc-calci-product-logo strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}


/* =========================================================
   ETAT PRODUIT
   ========================================================= */

.dc-calci-product-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 15px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.16);
}


.dc-calci-led {
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    background: #61bcc3;
    box-shadow:
        0 0 0 5px rgba(97, 188, 195, 0.12),
        0 0 18px rgba(97, 188, 195, 0.75);
}


.dc-calci-product-status strong {
    display: block;
    color: #ffffff;
    font-size: 0.82rem;
}


.dc-calci-product-status small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   DONNEES PRODUIT
   ========================================================= */

.dc-calci-product-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}


.dc-calci-product-data > div {
    padding: 13px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
}


.dc-calci-product-data small {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}


.dc-calci-product-data strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 0.9rem;
}


/* =========================================================
   TUYAU + BOBINE
   ========================================================= */

.dc-calci-pipe-wrap {
    position: relative;
    z-index: 3;
    width: 90%;
    margin: 50px auto 0;
}


.dc-calci-pipe {
    position: relative;
    height: 56px;
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            #cdd5d8 0%,
            #f5f7f7 38%,
            #9aa7ab 100%
        );
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.7),
        inset 0 -5px 8px rgba(0, 0, 0, 0.18),
        0 16px 28px rgba(0, 0, 0, 0.25);
}


.dc-calci-pipe span {
    position: absolute;
    top: -9px;
    width: 13px;
    height: 74px;
    border: 4px solid #098b72;
    border-radius: 8px;
    background: transparent;
    box-shadow:
        0 0 10px rgba(9, 139, 114, 0.24);
}


.dc-calci-pipe span:nth-child(1) {
    left: 28%;
}

.dc-calci-pipe span:nth-child(2) {
    left: 34%;
}

.dc-calci-pipe span:nth-child(3) {
    left: 40%;
}

.dc-calci-pipe span:nth-child(4) {
    left: 46%;
}

.dc-calci-pipe span:nth-child(5) {
    left: 52%;
}

.dc-calci-pipe span:nth-child(6) {
    left: 58%;
}

.dc-calci-pipe span:nth-child(7) {
    left: 64%;
}


/* =========================================================
   LEGENDE VISUEL
   ========================================================= */

.dc-calci-visual-caption {
    position: relative;
    z-index: 3;
    margin-top: 28px;
    text-align: center;
}


.dc-calci-visual-caption strong {
    display: block;
    color: #ffffff;
    font-size: 0.92rem;
}


.dc-calci-visual-caption span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
}


/* =========================================================
   3 PROMESSES
   ========================================================= */

.dc-calci-promises {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 0 54px;
}


.dc-calci-promises article {
    position: relative;
    display: flex;
    gap: 20px;
    min-height: 210px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(8, 44, 68, 0.09);
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 15px 36px rgba(8, 44, 68, 0.055);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.dc-calci-promises article:hover {
    transform: translateY(-4px);
    border-color: rgba(9, 139, 114, 0.24);
    box-shadow:
        0 22px 45px rgba(8, 44, 68, 0.085);
}


.dc-calci-promise-number {
    color: rgba(9, 139, 114, 0.22);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}


.dc-calci-promises h3 {
    margin: 7px 0 10px;
    color: #082c44;
    font-size: 1.18rem;
    line-height: 1.28;
}


.dc-calci-promises article p:last-child {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.65;
}


/* =========================================================
   PETITE FINITION DES BADGES DU HERO
   ========================================================= */

.dc-calci-badges {
    margin-top: 22px !important;
}


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

@media (max-width: 980px) {

    .dc-calci-hero {
        padding: 48px 30px;
    }

    .dc-calci-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .dc-calci-visual {
        min-height: auto;
    }

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

}


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

@media (max-width: 640px) {

    .dc-calci-hero {
        margin-left: -8px;
        margin-right: -8px;
        padding: 38px 20px;
        border-radius: 22px;
    }

    .dc-calci-hero-content h1 {
        font-size: 3.25rem;
    }

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

    .dc-calci-hero-points > div {
        padding: 11px 0;
    }

    .dc-calci-visual {
        padding: 35px 20px 30px;
        border-radius: 22px;
    }

    .dc-calci-product {
        width: 100%;
        padding: 22px;
    }

    .dc-calci-pipe-wrap {
        width: 100%;
    }

    .dc-calci-promises article {
        min-height: auto;
        padding: 24px;
    }

}


/* =========================================================
   DOMOCODE - DC_ECS PREMIUM
   CSS UNIQUEMENT
   ========================================================= */


/* =========================================================
   APERCU AVANT READMORE
   ========================================================= */

body:has(#dc-ecs-offre) .dc-product-preview {
    position: relative;
    padding: 26px 0 30px;
}

body:has(#dc-ecs-offre) .dc-product-preview h1 {
    margin-bottom: 8px;
    color: #082c44;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.045em;
}

body:has(#dc-ecs-offre) .dc-product-preview h2 {
    max-width: 850px;
    margin-top: 10px;
    color: #082c44;
    font-size: clamp(1.5rem, 2.8vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

body:has(#dc-ecs-offre) .dc-product-preview .dc-product-lead {
    max-width: 850px;
    color: #64748b;
    font-size: 1.08rem;
    line-height: 1.75;
}


/* =========================================================
   HERO PREMIUM
   ========================================================= */

body:has(#dc-ecs-offre) .dc-product-hero {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    margin: 20px 0 44px;
    padding: 70px 52% 66px 58px;
    border: 1px solid rgba(8, 44, 68, 0.08);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 82% 24%,
            rgba(97, 188, 195, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 70% 85%,
            rgba(9, 139, 114, 0.12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #f7faf9 0%,
            #ffffff 48%,
            #eef7f5 100%
        );
    box-shadow:
        0 30px 80px rgba(8, 44, 68, 0.08);
}


/* PANNEAU VISUEL DROIT */

body:has(#dc-ecs-offre) .dc-product-hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 48px;
    right: 48px;
    bottom: 48px;
    width: 39%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 70% 22%,
            rgba(9, 139, 114, 0.30),
            transparent 32%
        ),
        linear-gradient(
            155deg,
            #092b3e 0%,
            #0b3448 60%,
            #082c44 100%
        );
    box-shadow:
        0 28px 65px rgba(8, 44, 68, 0.24);
}


/* AFFICHAGE ECS SIMULE */

body:has(#dc-ecs-offre) .dc-product-hero::after {
    content:
        "DC_ECS\A"
        "\A"
        "AUTO\A"
        "55 °C\A"
        "\A"
        "Ballon prêt\A"
        "Sondes OK · Protection active";
    position: absolute;
    z-index: 2;
    top: 92px;
    right: 7%;
    width: 27%;
    padding: 30px 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.12),
            rgba(255,255,255,0.035)
        );
    box-shadow:
        0 24px 45px rgba(0,0,0,0.24);
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.65;
    letter-spacing: 0.02em;
    white-space: pre-line;
    backdrop-filter: blur(12px);
}


/* CONTENU HERO */

body:has(#dc-ecs-offre) .dc-product-hero-content {
    position: relative;
    z-index: 3;
}

body:has(#dc-ecs-offre) .dc-product-hero-content h1 {
    max-width: 680px;
    margin: 12px 0 24px;
    color: #082c44;
    font-size: clamp(3rem, 5.6vw, 5.2rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

body:has(#dc-ecs-offre) .dc-product-hero-lead {
    max-width: 650px;
    margin: 0;
    color: #425466;
    font-size: 1.18rem;
    line-height: 1.75;
}

body:has(#dc-ecs-offre) .dc-product-hero-signature {
    margin: 28px 0 0;
    color: #082c44;
    font-size: 1.1rem;
    font-weight: 800;
}


/* =========================================================
   BADGES HERO
   ========================================================= */

body:has(#dc-ecs-offre) .dc-product-hero .dc-product-badges {
    gap: 9px !important;
    margin-top: 28px !important;
}

body:has(#dc-ecs-offre) .dc-product-hero .dc-product-badge {
    padding: 9px 14px !important;
    border: 1px solid rgba(9, 139, 114, 0.24) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow:
        0 7px 18px rgba(8, 44, 68, 0.045);
}


/* =========================================================
   3 BENEFICES
   ========================================================= */

body:has(#dc-ecs-offre) .dc-product-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 0 58px;
}

body:has(#dc-ecs-offre) .dc-product-benefit {
    position: relative;
    min-height: 220px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(8, 44, 68, 0.09);
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 15px 36px rgba(8, 44, 68, 0.055);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

body:has(#dc-ecs-offre) .dc-product-benefit:hover {
    transform: translateY(-4px);
    border-color: rgba(9, 139, 114, 0.24);
    box-shadow:
        0 22px 45px rgba(8, 44, 68, 0.085);
}

body:has(#dc-ecs-offre) .dc-product-benefit-number {
    display: block;
    margin-bottom: 18px;
    color: rgba(9, 139, 114, 0.22);
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
}

body:has(#dc-ecs-offre) .dc-product-benefit h3 {
    margin: 8px 0 12px;
    color: #082c44;
    font-size: 1.25rem;
    line-height: 1.25;
}

body:has(#dc-ecs-offre) .dc-product-benefit p:last-child {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.65;
}


/* =========================================================
   SECTIONS GENERALES
   ========================================================= */

body:has(#dc-ecs-offre)
.dc-product-section:not(.dc-product-offer) {
    position: relative;
    margin: 24px 0;
    padding: 50px 46px;
    border: 1px solid rgba(8, 44, 68, 0.07);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(247,250,249,0.94)
        );
    box-shadow:
        0 12px 32px rgba(8, 44, 68, 0.035);
}

body:has(#dc-ecs-offre)
.dc-product-section:not(.dc-product-offer):nth-of-type(even) {
    background:
        linear-gradient(
            145deg,
            #f6faf9,
            #ffffff
        );
}


/* TITRES */

body:has(#dc-ecs-offre) .dc-product-section h2 {
    max-width: 900px;
    margin-top: 7px;
    color: #082c44;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

body:has(#dc-ecs-offre) .dc-product-intro {
    max-width: 900px;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.75;
}


/* =========================================================
   CARTES FONCTIONNELLES
   ========================================================= */

body:has(#dc-ecs-offre) .dc-product-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

body:has(#dc-ecs-offre) .dc-product-feature-grid article {
    position: relative;
    padding: 24px 26px;
    border: 1px solid rgba(8, 44, 68, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        0 8px 20px rgba(8, 44, 68, 0.035);
}

body:has(#dc-ecs-offre) .dc-product-feature-grid article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: #098b72;
}

body:has(#dc-ecs-offre) .dc-product-feature-grid h3 {
    margin: 5px 0 9px;
    color: #082c44;
}

body:has(#dc-ecs-offre)
.dc-product-feature-grid article p:last-child {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.65;
}


/* =========================================================
   NOTES / BLOCS IMPORTANTS
   ========================================================= */

body:has(#dc-ecs-offre) .dc-product-note {
    position: relative;
    margin-top: 28px;
    padding: 24px 28px 24px 32px;
    overflow: hidden;
    border: 1px solid rgba(9, 139, 114, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(9, 139, 114, 0.055),
            rgba(97, 188, 195, 0.035)
        );
}

body:has(#dc-ecs-offre) .dc-product-note::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: #098b72;
}

body:has(#dc-ecs-offre) .dc-product-note strong {
    color: #082c44;
}

body:has(#dc-ecs-offre) .dc-product-note p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CONNECTIVITE
   ========================================================= */

body:has(#dc-ecs-offre) .dc-product-connect {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(9,139,114,0.10),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #f4faf8,
            #ffffff
        ) !important;
}


/* =========================================================
   TABLEAU TECHNIQUE
   ========================================================= */

body:has(#dc-ecs-offre) .dc-project-table-wrap {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid rgba(8, 44, 68, 0.09);
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 10px 28px rgba(8, 44, 68, 0.045);
}

body:has(#dc-ecs-offre) .dc-project-table {
    margin: 0;
}

body:has(#dc-ecs-offre) .dc-project-table th {
    width: 38%;
    padding: 15px 18px;
    color: #082c44;
    background: rgba(9, 139, 114, 0.035);
}

body:has(#dc-ecs-offre) .dc-project-table td {
    padding: 15px 18px;
}


/* =========================================================
   OFFRE COMMERCIALE
   ========================================================= */

body:has(#dc-ecs-offre) #dc-ecs-offre {
    position: relative;
    overflow: hidden;
    margin-top: 42px;
    padding: 58px 48px;
    border: 1px solid rgba(9, 139, 114, 0.12);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(97, 188, 195, 0.15),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #f5faf9,
            #ffffff
        );
    box-shadow:
        0 24px 60px rgba(8, 44, 68, 0.075);
}


/* BASE */

body:has(#dc-ecs-offre) .dc-product-base {
    margin-top: 30px;
    border-radius: 22px;
    box-shadow:
        0 15px 36px rgba(8, 44, 68, 0.05);
}


/* OPTIONS */

body:has(#dc-ecs-offre) .dc-product-options-block {
    margin-top: 28px;
}

body:has(#dc-ecs-offre) .dc-product-option {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

body:has(#dc-ecs-offre) .dc-product-option:hover {
    transform: translateY(-2px);
}


/* CHIFFRAGE */

body:has(#dc-ecs-offre) .dc-product-quote {
    margin-top: 32px;
    border-radius: 22px;
    box-shadow:
        0 24px 50px rgba(8, 44, 68, 0.16);
}


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

@media (max-width: 980px) {

    body:has(#dc-ecs-offre) .dc-product-hero {
        min-height: auto;
        padding: 50px 34px;
    }

    body:has(#dc-ecs-offre) .dc-product-hero::before,
    body:has(#dc-ecs-offre) .dc-product-hero::after {
        display: none;
    }

    body:has(#dc-ecs-offre) .dc-product-benefits {
        grid-template-columns: 1fr;
    }

    body:has(#dc-ecs-offre) .dc-product-benefit {
        min-height: auto;
    }

}


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

@media (max-width: 640px) {

    body:has(#dc-ecs-offre) .dc-product-hero {
        margin-left: -8px;
        margin-right: -8px;
        padding: 38px 20px;
        border-radius: 22px;
    }

    body:has(#dc-ecs-offre) .dc-product-hero-content h1 {
        font-size: 3rem;
    }

    body:has(#dc-ecs-offre)
    .dc-product-section:not(.dc-product-offer) {
        padding: 34px 22px;
        border-radius: 20px;
    }

    body:has(#dc-ecs-offre) .dc-product-feature-grid {
        grid-template-columns: 1fr;
    }

    body:has(#dc-ecs-offre) #dc-ecs-offre {
        padding: 38px 22px;
        border-radius: 22px;
    }

}

/* =========================================================
   DOMOCODE - DC_AUTOMAT
   STYLE PRODUIT PREMIUM
   ========================================================= */


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: stretch;
    gap: 0;
    margin: 32px 0 42px;
    min-height: 590px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(9, 139, 114, 0.12),
            transparent 32%
        ),
        linear-gradient(
            115deg,
            #ffffff 0%,
            #ffffff 48%,
            #eef7f6 100%
        );

    border-radius: 0;
}


/* ---------------------------------------------------------
   COLONNE TEXTE
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-hero .dc-product-hero-content {
    padding: 62px 58px 58px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}


body:has(#dc-automat-offre) .dc-automat-hero .dc-kicker {
    margin: 0 0 22px;

    color: #098b72;

    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


body:has(#dc-automat-offre) .dc-automat-hero h1 {
    margin: 0;
    max-width: 780px;

    color: #062f49;

    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 0.97;
    letter-spacing: -0.045em;
    font-weight: 800;
}


body:has(#dc-automat-offre) .dc-automat-hero .dc-product-hero-lead {
    max-width: 720px;

    margin: 38px 0 0;

    color: #334b5c;

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


/* ---------------------------------------------------------
   SIGNATURE
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-signature {
    margin-top: 30px;
    padding-left: 18px;

    border-left: 4px solid #098b72;

    display: flex;
    flex-direction: column;
    gap: 4px;
}


body:has(#dc-automat-offre) .dc-automat-signature span {
    color: #526675;

    font-size: 1rem;
    font-weight: 500;
}


body:has(#dc-automat-offre) .dc-automat-signature strong {
    color: #062f49;

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


/* ---------------------------------------------------------
   BADGES
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-hero .dc-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 34px;
}


body:has(#dc-automat-offre) .dc-automat-hero .dc-product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 7px 14px;

    background: #e8f7f3;
    border: 1px solid rgba(9, 139, 114, 0.08);
    border-radius: 8px;

    color: #087d68;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}


/* =========================================================
   VISUEL DROIT
   ========================================================= */

body:has(#dc-automat-offre) .dc-automat-visual {
    min-width: 0;

    padding: 38px 38px 38px 26px;

    display: flex;
    align-items: stretch;
}


body:has(#dc-automat-offre) .dc-automat-panel {
    width: 100%;

    padding: 64px 58px;

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(21, 125, 119, 0.28),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0b3b51 0%,
            #062f45 100%
        );

    border-radius: 40px;

    box-shadow:
        0 26px 60px rgba(3, 41, 57, 0.18);

    color: #ffffff;
}


/* ---------------------------------------------------------
   EN-TETE DU PANNEAU
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 30px;
}


body:has(#dc-automat-offre) .dc-automat-panel-head > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


body:has(#dc-automat-offre) .dc-automat-brand {
    color: rgba(255,255,255,0.55);

    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}


body:has(#dc-automat-offre) .dc-automat-panel-head strong {
    color: #ffffff;

    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}


body:has(#dc-automat-offre) .dc-automat-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;

    background: #098b72;
    border-radius: 999px;

    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   ECRAN / REGLE
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-rule {
    padding: 28px 30px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.04)
        );

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 26px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06);
}


body:has(#dc-automat-offre) .dc-automat-rule-label {
    display: block;

    margin-bottom: 24px;

    color: #70dfc8;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}


body:has(#dc-automat-offre) .dc-automat-rule-line {
    display: grid;
    grid-template-columns: 68px 1fr;
    align-items: baseline;
    gap: 14px;

    padding: 8px 0;
}


body:has(#dc-automat-offre) .dc-automat-rule-line span {
    color: rgba(255,255,255,0.55);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


body:has(#dc-automat-offre) .dc-automat-rule-line strong {
    color: #ffffff;

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


/* ---------------------------------------------------------
   ENTREES / SORTIES
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-io {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;

    margin-top: 18px;
}


body:has(#dc-automat-offre) .dc-automat-io-item {
    min-height: 76px;

    padding: 14px 10px;

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

    background: rgba(255,255,255,0.055);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
}


body:has(#dc-automat-offre) .dc-automat-io-item span {
    margin-bottom: 5px;

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

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}


body:has(#dc-automat-offre) .dc-automat-io-item strong {
    color: rgba(255,255,255,0.55);

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


body:has(#dc-automat-offre) .dc-automat-io-item.is-active {
    background: rgba(9, 139, 114, 0.16);
    border-color: rgba(68, 214, 180, 0.24);
}


body:has(#dc-automat-offre) .dc-automat-io-item.is-active strong {
    color: #65dfc5;
}


/* ---------------------------------------------------------
   ETAT LOCAL
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-status {
    margin-top: 24px;

    display: flex;
    align-items: center;
    gap: 10px;

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

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}


body:has(#dc-automat-offre) .dc-automat-status-dot {
    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;

    background: #42d6ad;

    box-shadow:
        0 0 0 5px rgba(66,214,173,0.10),
        0 0 16px rgba(66,214,173,0.45);
}


/* ---------------------------------------------------------
   USAGES
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-automat-uses {
    margin-top: auto;
    padding-top: 34px;

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

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.10em;
}


/* =========================================================
   BENEFICES
   ========================================================= */

body:has(#dc-automat-offre) .dc-product-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;

    margin: 0 0 54px;
}


body:has(#dc-automat-offre) .dc-product-benefit {
    position: relative;

    min-height: 275px;

    padding: 30px 28px;

    background: #ffffff;

    border: 1px solid rgba(6,47,73,0.07);
    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(5, 41, 58, 0.055);

    overflow: hidden;
}


body:has(#dc-automat-offre) .dc-product-benefit::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background: #098b72;
}


body:has(#dc-automat-offre) .dc-product-number {
    display: block;

    margin-bottom: 24px;

    color: rgba(6,47,73,0.13);

    font-size: 2.9rem;
    line-height: 1;
    font-weight: 900;
}


body:has(#dc-automat-offre) .dc-product-benefit .dc-kicker {
    margin-bottom: 10px;

    color: #098b72;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}


body:has(#dc-automat-offre) .dc-product-benefit h3 {
    margin: 0 0 15px;

    color: #062f49;

    font-size: 1.12rem;
    line-height: 1.3;
}


body:has(#dc-automat-offre) .dc-product-benefit p:last-child {
    margin: 0;

    color: #526675;

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


/* =========================================================
   SECTIONS
   ========================================================= */

body:has(#dc-automat-offre) .dc-product-section {
    margin-top: 30px;
    margin-bottom: 30px;

    padding-top: 45px;
    padding-bottom: 45px;
}


body:has(#dc-automat-offre) .dc-product-section > h2 {
    color: #062f49;

    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
}


/* ---------------------------------------------------------
   CARTES D'USAGE
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-product-feature-grid {
    gap: 16px;
}


body:has(#dc-automat-offre) .dc-product-feature-grid article {
    padding: 26px 26px 24px;

    background: #ffffff;

    border: 1px solid rgba(6,47,73,0.07);
    border-radius: 17px;

    box-shadow:
        0 7px 22px rgba(5,41,58,0.035);
}


/* =========================================================
   SECTIONS SOMBRES
   ========================================================= */

body:has(#dc-automat-offre) .dc-product-section-dark {
    padding: 48px 44px;

    background:
        linear-gradient(
            135deg,
            #07344a,
            #062c40
        );

    border-radius: 24px;

    color: #ffffff;
}


body:has(#dc-automat-offre) .dc-product-section-dark h2 {
    color: #ffffff;
}


body:has(#dc-automat-offre) .dc-product-section-dark p {
    color: rgba(255,255,255,0.76);
}


body:has(#dc-automat-offre) .dc-product-section-dark .dc-kicker {
    color: #69d9c0;
}


/* ---------------------------------------------------------
   SI / ALORS
   --------------------------------------------------------- */

body:has(#dc-automat-offre) .dc-product-simulation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    margin: 12px 0;
}


body:has(#dc-automat-offre) .dc-product-simulation > div {
    padding: 18px 20px;

    background: rgba(255,255,255,0.07);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;

    color: rgba(255,255,255,0.82);
}


body:has(#dc-automat-offre) .dc-product-simulation strong {
    display: inline-block;

    margin-right: 8px;

    color: #67dfc4;
}


/* =========================================================
   CONNECTIVITE
   ========================================================= */

body:has(#dc-automat-offre) .dc-product-connect {
    background:
        linear-gradient(
            135deg,
            #eef8f5,
            #ffffff
        );

    border-radius: 24px;

    padding-left: 42px;
    padding-right: 42px;
}


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

@media (max-width: 1100px) {

    body:has(#dc-automat-offre) .dc-automat-hero {
        grid-template-columns: 1fr;
    }

    body:has(#dc-automat-offre) .dc-automat-hero .dc-product-hero-content {
        padding: 54px 42px;
    }

    body:has(#dc-automat-offre) .dc-automat-visual {
        padding: 0 34px 38px;
    }

    body:has(#dc-automat-offre) .dc-automat-panel {
        min-height: 430px;
    }

    body:has(#dc-automat-offre) .dc-product-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    body:has(#dc-automat-offre) .dc-automat-hero {
        margin-top: 18px;
        border-radius: 0;
    }

    body:has(#dc-automat-offre) .dc-automat-hero .dc-product-hero-content {
        padding: 38px 22px;
    }

    body:has(#dc-automat-offre) .dc-automat-hero h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    body:has(#dc-automat-offre) .dc-automat-hero .dc-product-hero-lead {
        margin-top: 26px;
        font-size: 1.04rem;
    }

    body:has(#dc-automat-offre) .dc-automat-visual {
        padding: 0 14px 22px;
    }

    body:has(#dc-automat-offre) .dc-automat-panel {
        padding: 28px 22px;

        border-radius: 26px;
    }

    body:has(#dc-automat-offre) .dc-automat-io {
        grid-template-columns: repeat(2, 1fr);
    }

    body:has(#dc-automat-offre) .dc-product-benefits {
        grid-template-columns: 1fr;
    }

    body:has(#dc-automat-offre) .dc-product-benefit {
        min-height: auto;
    }

    body:has(#dc-automat-offre) .dc-product-simulation {
        grid-template-columns: 1fr;
    }

    body:has(#dc-automat-offre) .dc-product-section-dark,
    body:has(#dc-automat-offre) .dc-product-connect {
        padding: 34px 22px;
    }

}

/* =========================================================
   DOMOCODE - CATALOGUE
   ========================================================= */

.dc-catalogue-page{
    --dc-green:#098b72;
    --dc-green-light:#10bfa1;
    --dc-blue:#062637;
    --dc-blue-2:#0a3449;
    --dc-text:#08273a;
    --dc-muted:#5f6f78;
    --dc-border:#dce5e7;
    --dc-bg:#f7f4ec;
    --dc-white:#ffffff;
    color:var(--dc-text);
}

.dc-catalogue-page *,
.dc-catalogue-page *::before,
.dc-catalogue-page *::after{
    box-sizing:border-box;
}


/* HERO */

.dc-cat-hero{
    position:relative;
    overflow:hidden;
    min-height:300px;
    display:flex;
    align-items:center;
    padding:44px 56px;
    border-radius:30px;
    background:
        linear-gradient(90deg, rgba(3,35,52,.98) 0%, rgba(3,35,52,.94) 48%, rgba(3,35,52,.72) 100%);
    color:#fff;
}

.dc-cat-hero::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.22;
    background:
        radial-gradient(circle at 84% 38%, rgba(0,205,180,.55), transparent 2px),
        linear-gradient(135deg, transparent 72%, rgba(0,194,179,.22));
}

.dc-cat-hero-inner{
    position:relative;
    z-index:2;
    max-width:760px;
}

.dc-cat-kicker{
    margin-bottom:14px;
    font-size:14px;
    font-weight:800;
    letter-spacing:.14em;
    color:#22dbc0;
}

.dc-cat-hero h1{
    margin:0 0 12px;
    color:#fff;
    font-size:clamp(42px,5vw,64px);
    line-height:1;
    letter-spacing:-.035em;
    font-weight:800;
}

.dc-cat-hero p{
    max-width:700px;
    margin:0;
    color:rgba(255,255,255,.92);
    font-size:17px;
    line-height:1.65;
}


/* SECTION */

.dc-cat-section{
    padding:32px 0 20px;
}

.dc-cat-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    margin-bottom:32px;
}

.dc-cat-eyebrow{
    margin-bottom:6px;
    color:var(--dc-green);
    text-transform:uppercase;
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:.16em;
}

.dc-cat-head h2{
    margin:0;
    font-size:38px;
    line-height:1.1;
    color:var(--dc-text);
    font-weight:800;
}


/* FILTRES */

.dc-cat-filters{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-end;
}

.dc-cat-filter{
    appearance:none;
    border:1px solid #d7e1e3;
    background:#fff;
    color:#45606a;
    border-radius:50px;
    padding:9px 15px;
    font-size:13px;
    line-height:1;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}

.dc-cat-filter:hover{
    border-color:var(--dc-green);
    color:var(--dc-green);
}

.dc-cat-filter.is-active{
    border-color:var(--dc-green);
    background:var(--dc-green);
    color:#fff;
}


/* PRODUIT VEDETTE */

.dc-cat-featured{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    min-height:350px;
    margin-bottom:26px;
    overflow:hidden;
    border-radius:26px;
    background:
        linear-gradient(135deg, #072a3d 0%, #0b3b50 100%);
    box-shadow:0 18px 45px rgba(4,37,52,.12);
}

.dc-cat-featured-content{
    padding:46px 48px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:#fff;
}

.dc-cat-category{
    display:inline-block;
    margin-bottom:15px;
    color:#27d5bd;
    font-size:12px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.dc-cat-featured h3{
    margin:0 0 10px;
    color:#fff;
    font-size:44px;
    font-weight:800;
    line-height:1;
    letter-spacing:-.035em;
}

.dc-cat-featured-title{
    max-width:600px;
    margin:0 0 13px;
    font-size:22px;
    line-height:1.3;
    color:#fff;
    font-weight:700;
}

.dc-cat-desc{
    max-width:600px;
    margin:0 0 28px;
    color:rgba(255,255,255,.72);
    font-size:15px;
    line-height:1.65;
}

.dc-cat-actions{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.dc-cat-status{
    position:relative;
    padding-left:17px;
    color:#d6f4ed;
    font-size:13px;
    font-weight:700;
}

.dc-cat-status::before{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#21d2a9;
    transform:translateY(-50%);
}

.dc-cat-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:11px 18px;
    border-radius:10px;
    background:var(--dc-green);
    color:#fff !important;
    text-decoration:none !important;
    font-size:14px;
    font-weight:800;
    transition:.2s ease;
}

.dc-cat-btn:hover{
    transform:translateY(-2px);
    background:#0aa888;
}

.dc-cat-featured-visual{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    min-height:280px;
    background:
        radial-gradient(circle at 50% 50%, rgba(30,220,190,.19), transparent 45%),
        linear-gradient(145deg,#0c384c,#041f30);
    color:#fff;
}

.dc-cat-featured-visual::before,
.dc-cat-featured-visual::after{
    content:"";
    position:absolute;
    border:1px solid rgba(30,219,192,.15);
    border-radius:50%;
}

.dc-cat-featured-visual::before{
    width:300px;
    height:300px;
}

.dc-cat-featured-visual::after{
    width:220px;
    height:220px;
}

.dc-cat-featured-visual span,
.dc-cat-featured-visual strong{
    position:relative;
    z-index:2;
}

.dc-cat-featured-visual span{
    font-size:18px;
    letter-spacing:.25em;
    color:#31d6c2;
}

.dc-cat-featured-visual strong{
    margin-top:2px;
    font-size:48px;
    letter-spacing:-.04em;
}


/* GRILLE */

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

.dc-cat-card{
    overflow:hidden;
    border:1px solid var(--dc-border);
    border-radius:22px;
    background:#fff;
    box-shadow:0 7px 25px rgba(24,55,65,.05);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.dc-cat-card:hover{
    transform:translateY(-5px);
    border-color:rgba(9,139,114,.4);
    box-shadow:0 16px 35px rgba(24,55,65,.10);
}

.dc-cat-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:17px 20px 0;
}

.dc-cat-mini-category{
    color:var(--dc-green);
    font-size:11px;
    text-transform:uppercase;
    font-weight:800;
    letter-spacing:.10em;
}

.dc-cat-mini-status{
    padding:5px 8px;
    border-radius:20px;
    background:#e8f7f2;
    color:#08725f;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.dc-cat-mini-status.development{
    background:#f5efe3;
    color:#986b1e;
}

.dc-cat-product-visual{
    position:relative;
    overflow:hidden;

    height:155px;
    margin:18px 18px 0;

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

    border-radius:16px;

    background:
        radial-gradient(circle at 78% 22%, rgba(35,212,177,.22), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(9,139,114,.14), transparent 34%),
        linear-gradient(145deg,#051f30 0%, #083247 52%, #0b435a 100%);

    color:#fff;

    font-size:27px;
    font-weight:800;
    letter-spacing:-.03em;

    text-shadow:0 2px 12px rgba(0,0,0,.22);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.05),
        inset 0 -30px 60px rgba(0,0,0,.08);
}

.dc-cat-product-visual::before{
    content:"";
    position:absolute;
    inset:0;

    pointer-events:none;

    background:
        linear-gradient(
            135deg,
            transparent 0 68%,
            rgba(255,255,255,.035) 68% 100%
        );
}

.dc-cat-product-visual::after{
    content:"";
    position:absolute;

    width:190px;
    height:190px;

    top:-48px;
    right:-38px;

    border:1px solid rgba(35,212,177,.13);
    border-radius:50%;

    box-shadow:
        0 0 0 28px rgba(35,212,177,.025),
        0 0 0 58px rgba(35,212,177,.015);

    pointer-events:none;
}

/* Nuance légère selon la famille, sans sortir de la charte DomoCode */

.dc-cat-card[data-category="energy"] .dc-cat-product-visual{
    background:
        radial-gradient(circle at 78% 22%, rgba(35,212,177,.27), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(9,139,114,.15), transparent 34%),
        linear-gradient(145deg,#051f30 0%, #083247 52%, #0b435a 100%);
}

.dc-cat-card[data-category="automation"] .dc-cat-product-visual{
    background:
        radial-gradient(circle at 78% 22%, rgba(28,197,176,.21), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(8,66,91,.25), transparent 35%),
        linear-gradient(145deg,#041d2d 0%, #072d42 52%, #0a3c53 100%);
}

.dc-cat-card[data-category="climate"] .dc-cat-product-visual{
    background:
        radial-gradient(circle at 78% 22%, rgba(79,216,238,.22), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(35,212,177,.10), transparent 34%),
        linear-gradient(145deg,#052131 0%, #09354a 52%, #0c465d 100%);
}

.dc-cat-card[data-category="tools"] .dc-cat-product-visual{
    background:
        radial-gradient(circle at 78% 22%, rgba(35,212,177,.18), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(255,255,255,.035), transparent 34%),
        linear-gradient(145deg,#041c2a 0%, #062c40 52%, #09374d 100%);
}

.dc-cat-card[data-category="modules"] .dc-cat-product-visual{
    background:
        radial-gradient(circle at 78% 22%, rgba(35,212,177,.16), transparent 28%),
        radial-gradient(circle at 18% 82%, rgba(9,139,114,.09), transparent 34%),
        linear-gradient(145deg,#061f2e 0%, #0a3144 52%, #0c3d52 100%);
}

.dc-cat-card-body{
    padding:21px 20px 22px;
}

.dc-cat-card-body h3{
    margin:0 0 8px;
    color:var(--dc-text);
    font-size:24px;
    line-height:1.1;
    font-weight:800;
    letter-spacing:-.025em;
}

.dc-cat-card-body p{
    min-height:50px;
    margin:0 0 20px;
    color:var(--dc-muted);
    font-size:14px;
    line-height:1.55;
}

.dc-cat-card-body a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--dc-green) !important;
    text-decoration:none !important;
    font-size:13px;
    font-weight:800;
}

.dc-cat-card-body a span{
    transition:transform .2s ease;
}

.dc-cat-card:hover .dc-cat-card-body a span{
    transform:translateX(4px);
}


/* FILTRAGE */

.dc-cat-hidden{
    display:none !important;
}


/* RESPONSIVE */

@media(max-width:1050px){

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

}

@media(max-width:800px){

    .dc-cat-hero{
        padding:36px 30px;
        min-height:240px;
        border-radius:22px;
    }

    .dc-cat-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .dc-cat-filters{
        justify-content:flex-start;
    }

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

    .dc-cat-featured-visual{
        min-height:200px;
    }

}

@media(max-width:600px){

    .dc-cat-hero{
        min-height:auto;
        padding:32px 24px;
        border-radius:18px;
    }

    .dc-cat-kicker{
        margin-bottom:12px;
        font-size:12px;
    }

    .dc-cat-hero h1{
        font-size:clamp(36px,11vw,46px);
    }

    .dc-cat-hero p{
        font-size:15px;
        line-height:1.55;
    }

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

    .dc-cat-featured-content{
        padding:32px 25px;
    }

    .dc-cat-featured h3{
        font-size:35px;
    }

    .dc-cat-featured-title{
        font-size:19px;
    }

    .dc-cat-head h2{
        font-size:32px;
    }

}

/* =========================================================
   DOMOCODE - CATALOGUE
   COULEUR DES VIGNETTES SELON LE STATUT
   ========================================================= */

/* DISPONIBLE = VERT */
.dc-cat-card.status-available .dc-cat-product-visual {
    background:
        radial-gradient(circle at 78% 22%, rgba(35, 212, 177, .28), transparent 30%),
        linear-gradient(145deg, #062F2A, #0B5A4C);
}

/* EN DÉVELOPPEMENT = AMBRE */
.dc-cat-card.status-development .dc-cat-product-visual {
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 196, 87, .24), transparent 30%),
        linear-gradient(145deg, #3B2B12, #6D4A16);
}

/* EN VALIDATION = BLEU */
.dc-cat-card.status-validation .dc-cat-product-visual {
    background:
        radial-gradient(circle at 78% 22%, rgba(120, 184, 235, .25), transparent 30%),
        linear-gradient(145deg, #152B3F, #24587A);
}

/* INTERNE = GRIS */
.dc-cat-card.status-internal .dc-cat-product-visual {
    background:
        radial-gradient(circle at 78% 22%, rgba(180, 190, 197, .20), transparent 30%),
        linear-gradient(145deg, #29343B, #4A5962);
}


/* =========================================================
   BANDE DE STATUT SUR LA CARTE
   ========================================================= */

.dc-cat-card.status-available {
    border-top: 4px solid #098B72;
}

.dc-cat-card.status-development {
    border-top: 4px solid #D99A2B;
}

.dc-cat-card.status-validation {
    border-top: 4px solid #4E7FA8;
}

.dc-cat-card.status-internal {
    border-top: 4px solid #7C8790;
}


/* =========================================================
   BADGES
   ========================================================= */

.dc-cat-card.status-available .dc-cat-mini-status {
    background: #DFF3ED;
    color: #076B59;
}

.dc-cat-card.status-development .dc-cat-mini-status {
    background: #FFF1D5;
    color: #9A6512;
}

.dc-cat-card.status-validation .dc-cat-mini-status {
    background: #E5EEF6;
    color: #315E83;
}

.dc-cat-card.status-internal .dc-cat-mini-status {
    background: #ECEFF1;
    color: #59656E;
}
