:root {
    --vert-filet: #2c463a;
    --ivoire: #f9f6ef;
    --sable: #f1ebdf;
    --filet: #e6dfd1;
    --orange: #d4622b;
    --rouge: #c23d1b;
    --rouge-clair: #e4b448;
    --texte: #26332e;
    --gris: #6f7772;
    --gris-clair: #98a19c;
}

.sx-formules p,
.sx-formules h2,
.sx-formules h3,
.sx-formules ul {
    margin: 0;
    padding: 0
}

.sx-formules {
    font-family: Inter, system-ui, sans-serif;
    color: var(--texte);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased
}

.sx-formules {
    padding: 104px 0
}

.sx-tete {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px
}

.sx-tete h2 {
    font-weight: 700;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--primary)
}

.sx-tete p {
    margin-top: 16px;
    font-size: 18px;
    color: var(--gris)
}

.sx-pile {
    display: grid;
    gap: 40px
}

.sx-carte {
    position: relative;
    background: var(--ivoire);
    border: 1px solid var(--filet);
    border-radius: 20px;
}

.sx-carte--phare {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.sx-onglet {
    position: absolute;
    left: 0px;
    background: #5a807257;
    color: #ffffff;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .01em;
    padding: 8px 16px;
    border-radius: 18px 0px 0 0;
}

/* Zone gauche */
.sx-offre {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 52px 48px 48px
}

.sx-nom {
    font-weight: 700;
    font-size: clamp(34px, 3.6vw, 44px);
    line-height: 1.02;
    letter-spacing: -.025em;
    color: var(--primary)
}

.sx-carte--phare .sx-nom {
    color: #fff
}

.sx-nom::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin-top: 18px;
    background: var(--secondary)
}

.sx-cible {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gris);
    max-width: 300px
}

.sx-carte--phare .sx-cible {
    color: #bccac2
}

.sx-prix {
    margin-top: 32px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 8px
}

.sx-prix small {
    width: 100%;
    font-size: 12px;
    color: var(--gris-clair);
    margin-bottom: 2px
}

.sx-prix strong {
    font-weight: 600;
    font-size: 25px;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap
}

.sx-prix .sx-devise {
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary-dark)
}

.sx-base {
    margin-top: 4px;
    font-size: 13px;
    color: var(--gris-clair)
}

.sx-carte--phare .sx-prix small,
.sx-carte--phare .sx-base {
    color: #8ea196
}

.sx-carte--phare .sx-prix strong {
    color: #fff
}

.sx-carte--phare .sx-prix .sx-devise {
    color: var(--secondary)
}

.sx-rassurance {
    margin-top: 12px !important;
    font-size: 13px;
    line-height: 1.4;
    color: var(--gris)
}

.sx-carte--phare .sx-rassurance {
    color: #a3b3aa
}

/* Zone droite */
.sx-atouts {
    padding: 52px 48px 48px 0;
    display: flex;
    width: 100%
}

.sx-atouts ul {
    list-style: none;
    display: grid;
    align-content: center;
    gap: 18px;
    width: 100%;
    padding-left: 48px;
    border-left: 1px solid var(--filet)
}

.sx-carte--phare .sx-atouts ul {
    border-color: var(--vert-filet)
}

.sx-atouts li {
    display: flex;
    gap: 14px;
    font-size: 16px;
    line-height: 1.45
}

.sx-atouts li::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--secondary-dark);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.7 2.6L14 7.4' fill='none' stroke='%23b08a3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat
}

.sx-carte--phare .sx-atouts li::before {
    border-color: var(--secondary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.7 2.6L14 7.4' fill='none' stroke='%23e4b448' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}

.sx-atouts li.sx-hotel {
    font-size: 17px;
    font-weight: 600;
    color: var(--rouge);
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--filet)
}

.sx-atouts li.sx-hotel::before {
    border-color: var(--rouge);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.7 2.6L14 7.4' fill='none' stroke='%23c23d1b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}

.sx-carte--phare .sx-atouts li.sx-hotel {
    color: var(--rouge-clair);
    border-color: var(--vert-filet)
}

.sx-carte--phare .sx-atouts li.sx-hotel::before {
    border-color: var(--rouge-clair);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.2l2.7 2.6L14 7.4' fill='none' stroke='%23e4b448' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}

.sx-atouts li.sx-hotel span {
    display: block;
    margin-top: 2px;
    font-weight: 400;
    font-size: 14px;
    color: var(--gris)
}

.sx-carte--phare .sx-atouts li.sx-hotel span {
    color: #a3b3aa
}

/* Détail dépliable (collapse Bootstrap) */
.sx-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 18px 48px;
    border: 0;
    border-top: 1px solid var(--filet);
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--primary);
    border-radius: 0 0 20px 20px;
    transition: background .2s
}

.sx-toggle:not(.collapsed) {
    border-radius: 0
}

.sx-toggle:hover {
    background: var(--sable)
}

.sx-carte--phare .sx-toggle {
    color: #fff;
    border-color: var(--vert-filet)
}

.sx-carte--phare .sx-toggle:hover {
    background: var(--primary-shiny)
}

.sx-toggle svg {
    width: 13px;
    height: 13px;
    transition: transform .25s;
    transform: rotate(180deg)
}

.sx-toggle.collapsed svg {
    transform: none
}

.sx-toggle .sx-ouvrir {
    display: none
}

.sx-toggle.collapsed .sx-ouvrir {
    display: inline
}

.sx-toggle.collapsed .sx-fermer {
    display: none
}

.sx-toggle:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: -4px
}

.sx-detail {
    list-style: none;
    columns: 2;
    column-gap: 48px;
    margin: 0;
    padding: 8px 48px 40px
}

.sx-detail li {
    break-inside: avoid;
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--gris)
}

.sx-detail li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-dark)
}

.sx-carte--phare .sx-detail li {
    color: #bccac2
}

.sx-carte--phare .sx-detail li::before {
    background: var(--secondary)
}

.sx-inclus {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 32px;
    font-size: 15px;
    color: var(--gris)
}

.sx-inclus b {
    font-weight: 600;
    color: var(--primary)
}

.sx-inclus span {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.sx-inclus span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-dark)
}

@media (max-width:991.98px) {
    .sx-offre {
        padding: 40px 28px 8px
    }

    .sx-atouts {
        padding: 28px
    }

    .sx-atouts ul {
        padding-left: 0;
        padding-top: 28px;
        border-left: 0;
        border-top: 1px solid var(--filet)
    }

    .sx-carte--phare .sx-atouts ul {
        border-color: var(--vert-filet)
    }

    .sx-onglet {
        left: 28px
    }

    .sx-toggle {
        padding: 18px 28px
    }

    .sx-detail {
        columns: 1;
        padding: 8px 28px 32px
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        transition: none !important
    }
}