/* =========================
   CGV PAGE
   Quick refresh only
========================= */

html {
    overflow-y: scroll;
}

.cgv-page {
    width: 100%;
    min-width: 0;
    padding: 48px 0 72px;
    background: #fbfcfb;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-body);
}

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

.cgv {
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid rgba(1, 141, 113, 0.14);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(1, 141, 113, 0.045);
}

/* =========================
   TYPOGRAPHY
========================= */

.cgv .title,
.cgv h1.title {
    position: relative;
    margin: 0 0 30px;
    padding-bottom: 18px;
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-title);
    line-height: 1.02;
    font-weight: 760;
    letter-spacing: -0.055em;
}

.cgv .title::after,
.cgv h1.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 3px;
    background: #018d71;
}

.cgv h3 {
    margin: 42px 0 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.075);
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.cgv h4 {
    margin: 30px 0 16px;
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--fs-subtitle);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cgv p {
    margin: 0 0 16px;
    color: rgba(17, 17, 17, 0.66);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.78;
    font-weight: 420;
}

.cgv p strong,
.cgv strong {
    color: #111111;
    font-weight: 760;
}

.cgv em {
    color: rgba(17, 17, 17, 0.70);
    font-style: italic;
}

.cgv br + br {
    display: none;
}

/* =========================
   LINKS
========================= */

.cgv a {
    color: #018d71;
    font-family: var(--font-main);
    font-size: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease;
}

.cgv a:hover {
    color: #b8325f;
}

/* =========================
   LISTS
========================= */

.cgv ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 22px;
    padding: 0;
    list-style: none;
}

.cgv li {
    position: relative;
    padding-left: 20px;
    color: rgba(17, 17, 17, 0.66);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.65;
    font-weight: 420;
}

.cgv li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #018d71;
}

/* =========================
   TABLES
========================= */

.cgv .table-responsive {
    display: table;
}

.cgv .table-honoraires,
.cgv table {
    width: 100%;
    margin: 22px 0 24px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(1, 141, 113, 0.16);
    border-radius: 10px;
    background: #ffffff;
}

.cgv table thead th,
.cgv .table-honoraires thead th {
    padding: 15px 16px;
    background: rgba(1, 141, 113, 0.08);
    border-bottom: 1px solid rgba(1, 141, 113, 0.16);
    color: #111111;
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.35;
    font-weight: 780;
    text-align: left;
    vertical-align: middle;
}

.cgv table tbody td,
.cgv .table-honoraires tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.07);
    color: rgba(17, 17, 17, 0.68);
    font-family: var(--font-main);
    font-size: var(--fs-small);
    line-height: 1.5;
    font-weight: 420;
    vertical-align: top;
}

.cgv table tbody tr:last-child td,
.cgv .table-honoraires tbody tr:last-child td {
    border-bottom: 0;
}

.cgv table tbody tr:hover td,
.cgv .table-honoraires tbody tr:hover td {
    background: rgba(1, 141, 113, 0.035);
}

/* Existing old row classes kept, only softened */
.cgv .table-green td {
    background: rgba(1, 141, 113, 0.045);
}

.cgv .table-yellow td {
    background: rgba(238, 218, 6, 0.12);
}

.cgv .table-green:hover td,
.cgv .table-yellow:hover td {
    background: rgba(61, 199, 171, 0.09);
}

/* =========================
   SMALL EMPHASIS BLOCKS
========================= */

.cgv .honoraires-payeur {
    padding: 16px 18px;
    border: 1px solid rgba(1, 141, 113, 0.16);
    border-radius: 10px;
    background: #fbfcfb;
}

.cgv h4 + table,
.cgv p + table {
    margin-top: 14px;
}

/* =========================
   BOOTSTRAP NEUTRALIZATION
========================= */

.cgv.row {
    margin-left: auto;
    margin-right: auto;
}

.cgv .col-md-12 {
    float: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

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

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

@media (min-width: 641px) and (max-width: 1200px) {
.cgv-page {
        padding: 34px 0 56px;
    }

    .cgv {
        max-width: none;
        padding: 26px;
    }

    .cgv .title,
    .cgv h1.title {
        font-size: var(--fs-title);
    }
}

@media (max-width: 640px) {
.cgv-page {
        padding: 34px 0 56px;
    }

    .cgv {
        max-width: none;
        padding: 26px;
    }

    .cgv .title,
    .cgv h1.title {
        font-size: var(--fs-title);
    }

.cgv-page {
        padding: 24px 0 42px;
    }

    .cgv {
        padding: 20px;
        border-radius: 10px;
    }

    .cgv .title,
    .cgv h1.title {
        font-size: var(--fs-title);
        margin-bottom: 24px;
    }

    .cgv h3 {
        margin-top: 34px;
        padding-top: 20px;
        font-size: var(--fs-subtitle);
    }

    .cgv h4 {
        font-size: var(--fs-subtitle);
    }

    .cgv p,
    .cgv li {
        font-size: var(--fs-body);
    }

    .cgv .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cgv table {
        min-width: 640px;
    }

    .cgv table thead th,
    .cgv .table-honoraires thead th,
    .cgv table tbody td,
    .cgv .table-honoraires tbody td {
        padding: 12px 14px;
        font-size: var(--fs-small);
    }
}
