
.hero-table-section {
    width: 100%;
    padding: 22px 0 30px;
    background: #ffffff;
}

.hero-table-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    column-gap: 40px;

    align-items: start;
}

.hero-table-wrapper {
    width: 100%;
    overflow: hidden;
}

.th-hero {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Tableau */
.hero-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;

    background: #e6e6e6;
    border: 2px solid white;
    color: #596d82;

  
}

/* Largeur des colonnes */
.hero-table th:nth-child(1),
.hero-table td:nth-child(1) {
    width: 39%;
}

.hero-table th:nth-child(2),
.hero-table td:nth-child(2) {
    width: 22%;
}

.hero-table th:nth-child(3),
.hero-table td:nth-child(3) {
    width: 39%;
}

/* Toutes les bordures : noires */
.hero-table th,
.hero-table td {
    border: 1px solid #c7c5c5;
}

/* En-têtes */
.hero-table thead th {
    height: 73px;
    padding: 0px 16px;
    font-family: 'Montserrat' !important;
    background: #e3e3e3;
    color: #294967;

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

    text-align: center;
    vertical-align: middle;
}


/* Cellules */
.hero-table tbody td {
    height: 80px;
    padding: 7px 16px;

    background: #e4e4e4;
    color: #68798b;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;

    vertical-align: middle;
}

/* Cellule d'utilisation */
.hero-table .usage-cell {
    text-align: left;
    vertical-align: middle;
    line-height: 1.35;
}

/* Cellules vides */
.hero-table .empty-cell {
    background: #e4e4e4;
}

/* Contenu à droite du tableau */
.hero-table-content {
    width: 100%;
    padding-top: 7px;
}

/* Titre */
.hero-table-title {
    margin: 0 0 2px;

    color: #173e65;
    font-family: Arial, Helvetica, sans-serif;

    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Sous-titre */
.hero-table-subtitle {
    margin: 0 0 6px;

    color: #8493a2;
    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
}

/* Description */
.hero-table-description {
    max-width: 100%;
    margin: 0;

    color: #718092;
    line-height: 1.55;
    text-align-last: left;
    text-align: justify;
}

/* Accessoires */
.hero-table-accessories {
    margin-top: 7px;
}

.hero-table-accessories h2 {
    margin: 0 0 3px;
    padding-bottom: 10px;

    color: #173e65;
    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.hero-table-accessories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-table-accessories li {
    margin: 0;

    color: #718092;
    line-height: 1.25;
    font-weight: 400;
}

.hero-table-accessories .accessory-item {
    position: relative;
    width: fit-content;
    cursor: pointer;
}

.hero-table-accessories .accessory-item:hover {
    color: #173e65;
}

.hero-table-accessories .accessory-preview {
    position: absolute;
    left: calc(100% + 18px);
    top: 50%;
    z-index: 5;

    width: 220px;
    height: 220px;

    object-fit: contain;

    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(23, 62, 101, 0.16);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.hero-table-accessories .accessory-item:hover .accessory-preview,
.hero-table-accessories .accessory-item:focus-within .accessory-preview {
    opacity: 1;
    visibility: visible;
}

/* Écrans larges */
@media (min-width: 900px) {
    .hero-table-container {
        max-width: calc(100% - 100px);
    }
}

@media (max-width: 1100px) {
        .hero-table-container {
        max-width: calc(100% - 10px);
        padding-bottom: 20px;
    }

    /* Largeur des colonnes */
    .hero-table th:nth-child(1),
    .hero-table td:nth-child(1) {
        width: 35%;
    }

    .hero-table th:nth-child(2),
    .hero-table td:nth-child(2) {
        width: 30%;
    }

    .hero-table th:nth-child(3),
    .hero-table td:nth-child(3) {
        width: 35%;
    }



.hero-table-section {
    width: 100%;
    padding: 0px !important;
    background: #ffffff;
}

.hero-table {
    width: 100% ;
   
  
}

}


/* Écrans larges */
@media (max-width: 760px) {
    .hero-table-container {
       padding-bottom: 50px;
    }
}

/* Tablettes */
@media (max-width: 900px) {
    .hero-table-section {
        padding: 30px 20px;
    }

    .hero-table-container {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .hero-table-content {
        padding-top: 0;
    }

    .hero-table-title {
        font-size: 22px;
    }
}

/* Mobiles */
@media (max-width: 600px) {
    .hero-table-section {
        padding: 25px 15px;
    }

    .hero-table-container {
        row-gap: 25px;
    }

    .hero-table {
        min-width: 100%;
    }

    .hero-table thead th {
        font-size: 13px;
        margin: 0;
    }

    .hero-table tbody td {
        padding: 8px 9px;
        font-size: 12px;
    }

    .hero-table-title {
        font-size: 20px;
    }

    .hero-table-subtitle {
        font-size: 13px;
    }

    .hero-table-description {
        font-size: 12px;
        line-height: 1.6;
    }

    .hero-table-accessories {
        margin-top: 15px;
    }

    .hero-table-accessories h2 {
        font-size: 12px;
    }

    .hero-table-accessories li {
        font-size: 12px;
    }
}
