/*
 * Install Communication 33
 * Conditions Générales de Vente
 */

:root {
    --ic33-cgv-navy: #081a2f;
    --ic33-cgv-blue: #225777;
    --ic33-cgv-blue-light: #e8eef4;
    --ic33-cgv-pale: #f4f7fa;
    --ic33-cgv-orange: #f58220;
    --ic33-cgv-text: #263746;
    --ic33-cgv-white: #ffffff;
    --ic33-cgv-border: #d8e1e9;
}

body.page-template-conditions-generales-de-vente .site-content,
body.page-template-conditions-generales-de-vente-php .site-content,
body.page-template-conditions-generales-de-vente .site-content > .col-full,
body.page-template-conditions-generales-de-vente-php .site-content > .col-full,
body.page-template-conditions-generales-de-vente .content-area,
body.page-template-conditions-generales-de-vente-php .content-area,
body.page-template-conditions-generales-de-vente .site-main,
body.page-template-conditions-generales-de-vente-php .site-main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-template-conditions-generales-de-vente .site-content,
body.page-template-conditions-generales-de-vente-php .site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-template-conditions-generales-de-vente .content-area,
body.page-template-conditions-generales-de-vente-php .content-area {
    float: none !important;
}

body.page-template-conditions-generales-de-vente .site-main,
body.page-template-conditions-generales-de-vente-php .site-main {
    padding: 0 !important;
}

.ic33-cgv-page {
    width: calc(100vw - 40px) !important;
    max-width: none !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    color: var(--ic33-cgv-text);
    background: var(--ic33-cgv-white);
    overflow: hidden;
}

.ic33-cgv-hero {
    position: relative;
    width: 100%;
    padding: 82px 7%;
    background:
        linear-gradient(135deg, rgba(8,26,47,.98), rgba(34,87,119,.96));
    color: var(--ic33-cgv-white);
    overflow: hidden;
}

.ic33-cgv-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: 6%;
    top: -110px;
    border: 28px solid rgba(245,130,32,.22);
    border-radius: 50%;
}

.ic33-cgv-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
}

.ic33-cgv-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ic33-cgv-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.02em;
}

.ic33-cgv-hero p {
    max-width: 820px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 18px;
    line-height: 1.65;
}

.ic33-cgv-content {
    width: 100%;
    background: var(--ic33-cgv-white);
}

.ic33-cgv-intro {
    width: 100%;
    padding: 45px 7%;
    background: var(--ic33-cgv-pale);
    border-bottom: 1px solid var(--ic33-cgv-border);
}

.ic33-cgv-intro p {
    max-width: 1100px;
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.75;
}

.ic33-cgv-intro p:last-child {
    margin-bottom: 0;
}

.ic33-cgv-update {
    color: var(--ic33-cgv-blue);
    font-size: 14px !important;
}

.ic33-cgv-sections {
    width: 100%;
}

.ic33-cgv-section {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 30px;
    width: 100%;
    padding: 54px 7%;
    border-bottom: 1px solid var(--ic33-cgv-border);
    background: #ffffff;
}

.ic33-cgv-section:nth-child(even) {
    background: var(--ic33-cgv-pale);
}

.ic33-cgv-section-content {
    min-width: 0;
    max-width: 1180px;
}

.ic33-cgv-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--ic33-cgv-blue);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(8,26,47,.12);
}

.ic33-cgv-section:nth-child(even) .ic33-cgv-number {
    background: var(--ic33-cgv-orange);
}

.ic33-cgv-section h2 {
    position: relative;
    margin: 0 0 23px;
    padding-bottom: 13px;
    color: var(--ic33-cgv-navy);
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.15;
    font-weight: 800;
}

.ic33-cgv-section h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    margin-top: 12px;
    background: var(--ic33-cgv-orange);
}

.ic33-cgv-section p {
    max-width: 1050px;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.78;
}

.ic33-cgv-section p:last-child {
    margin-bottom: 0;
}

.ic33-cgv-section a,
.ic33-cgv-final a {
    color: var(--ic33-cgv-blue);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(245,130,32,.65);
    text-underline-offset: 3px;
}

.ic33-cgv-section a:hover,
.ic33-cgv-final a:hover {
    color: var(--ic33-cgv-orange);
}

.ic33-cgv-card,
.ic33-cgv-contact,
.ic33-cgv-warning {
    margin-top: 25px;
    padding: 25px 28px;
    border-left: 5px solid var(--ic33-cgv-orange);
    background: var(--ic33-cgv-white);
    box-shadow: 0 8px 25px rgba(8,26,47,.07);
}

.ic33-cgv-card h3 {
    margin: 0 0 15px;
    color: var(--ic33-cgv-navy);
    font-size: 22px;
    font-weight: 800;
}

.ic33-cgv-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ic33-cgv-card li {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid #edf1f4;
    line-height: 1.6;
}

.ic33-cgv-card li:last-child {
    border-bottom: 0;
}

.ic33-cgv-warning {
    background: #fff8f1;
    border-left-color: var(--ic33-cgv-orange);
}

.ic33-cgv-warning strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ic33-cgv-navy);
    font-size: 18px;
}

.ic33-cgv-warning p {
    margin-bottom: 0;
}

.ic33-cgv-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 650px;
    background: var(--ic33-cgv-blue-light);
}

.ic33-cgv-contact strong {
    color: var(--ic33-cgv-navy);
    font-size: 19px;
}

.ic33-cgv-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 55px 20px;
    text-align: center;
    background: var(--ic33-cgv-navy);
    color: #ffffff;
}

.ic33-cgv-final strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 24px;
}

.ic33-cgv-final span {
    color: rgba(255,255,255,.8);
}

.ic33-cgv-final a {
    color: #ffffff;
}

body.page-template-conditions-generales-de-vente .site-footer,
body.page-template-conditions-generales-de-vente-php .site-footer {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-template-conditions-generales-de-vente .site-footer .col-full,
body.page-template-conditions-generales-de-vente-php .site-footer .col-full {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 900px) {
    .ic33-cgv-page {
        width: calc(100vw - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .ic33-cgv-hero,
    .ic33-cgv-intro,
    .ic33-cgv-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .ic33-cgv-section {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 20px;
    }

    .ic33-cgv-number {
        width: 52px;
        height: 52px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .ic33-cgv-hero {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .ic33-cgv-hero h1 {
        font-size: 36px;
    }

    .ic33-cgv-hero p {
        font-size: 16px;
    }

    .ic33-cgv-section {
        display: block;
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .ic33-cgv-number {
        margin-bottom: 20px;
    }

    .ic33-cgv-section h2 {
        font-size: 27px;
    }

    .ic33-cgv-card,
    .ic33-cgv-contact,
    .ic33-cgv-warning {
        padding: 20px;
    }

    .ic33-cgv-final {
        padding: 42px 15px;
    }

    .ic33-cgv-final strong {
        font-size: 20px;
    }
}
