:root {
    --forest: #0E2A22;
    --forest-2: #123A2E;
    --forest-3: #1B4A3A;
    --ink-225: #0A1F19;

    --cream: #F5F0E6;
    --cream-2: #EDE6D6;
    --paper: #FBF8F1;

    --gold: #C79A5B;
    --gold-hi: #D8B072;
    --orange: #E4590F;

    --ink: #20261F;
    --ink-soft: #5C6157;
    --paper-txt: #EAE6DA;
    --paper-mute: #A7B0A2;
    --white-warm: #FDFBF5;

    --line-dark: #2A4034;
    --line-light: #DDD4C2;

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', system-ui, sans-serif;

    --radius: 14px;
    --radius-lg: 16px;
    --pill: 100px;
}

/* =========================================================
               RESET
            ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.12;
}

h1 em,
h2 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.wrap--narrow {
    max-width: 960px;
}

/* =========================================================
               BILINGUE
            ========================================================= */

html[lang="fr"] [data-en] {
    display: none !important;
}

html[lang="en"] [data-fr] {
    display: none !important;
}

/* =========================================================
               BOUTONS
            ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    font-family: var(--sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;

    padding: 14px 26px;
    border-radius: var(--pill);
    border: 1px solid transparent;

    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--gold {
    background: var(--gold);
    color: #1C1408;
}

.btn--gold:hover {
    background: var(--gold-hi);
}

.btn--gold:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-light);
}

.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--ghost {
    background: transparent;
    color: var(--ink-soft);
    border: none;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    padding: 14px 8px;
}

.btn--ghost:hover {
    color: var(--gold);
}

/* =========================================================
               HEADER
            ========================================================= */

.topbar {
    background: var(--forest);
    color: var(--paper-mute);
    font-size: 12px;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.topbar .dot {
    color: var(--gold);
}

.hd {
    background: #fff;
    border-bottom: 1px solid var(--line-light);
    position: sticky;
    top: 0;
    z-index: 50;
}

.hd .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.cobrand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.cobrand__sirexe {
    height: 44px;
    width: auto;
}

.cobrand__sep {
    width: 1px;
    height: 40px;
    background: var(--line-light);
}

.cobrand__md {
    height: 36px;
    width: auto;
}

.hd__back {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hd__back:hover {
    color: var(--gold);
}

/* =========================================================
               INTRO
            ========================================================= */

.intro {
    padding: 44px 0 28px;
    text-align: center;
}

.eyebrow {
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.intro h1 {
    font-size: clamp(30px, 5vw, 44px);
    margin-bottom: 10px;
}

.intro p {
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto;
    font-size: 16px;
}

/* =========================================================
               STEPPER
            ========================================================= */

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 24px auto 0;
    flex-wrap: wrap;
}

.stepdot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;

    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;

    transition: .2s;
}

.stepdot .n {
    width: 28px;
    height: 28px;
    flex-shrink: 0;

    border-radius: 50%;
    border: 1px solid var(--line-light);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;

    color: var(--ink-soft);
    background: var(--paper);

    transition: .2s;
}

.stepdot.is-active {
    color: var(--forest);
}

.stepdot.is-active .n {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white-warm);
}

.stepdot.is-done .n {
    background: var(--gold);
    border-color: var(--gold);
    color: #1C1408;
}

.steps>.bar {
    width: 30px;
    height: 1px;
    background: var(--line-light);
}

/* =========================================================
               COMPOSEUR
            ========================================================= */

.composer {
    padding: 34px 0 90px;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.panel h2 {
    font-size: 26px;
    color: var(--forest);
    margin-bottom: 6px;
}

.panel .hint {
    color: var(--ink-soft);
    font-size: 14px;
    margin-bottom: 22px;
}

/* =========================================================
               ÉTAPES
            ========================================================= */

.stepPane {
    display: none;
}

.stepPane.is-active {
    display: block;
}

/* =========================================================
               PACKAGES
            ========================================================= */

.pkgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pkgopt {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 2px;

    border: 1px solid var(--line-light);
    border-radius: var(--radius);

    padding: 22px;

    cursor: pointer;
    background: var(--cream);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        transform .2s ease;
}

.pkgopt:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.pkgopt.is-selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold) inset;
    background: var(--paper);
}

.pkgopt__tier {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.pkgopt__name {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--forest);
    margin: 2px 0 8px;
}

.pkgopt__price {
    display: block;
    margin-top: 6px;
}

.pkgopt__price b {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--gold);
}

.pkgopt__price span {
    font-size: 12px;
    color: var(--ink-soft);
}

.pkgopt__flag {
    position: absolute;
    top: -11px;
    left: 22px;

    background: var(--orange);
    color: #fff;

    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;

    padding: 5px 11px;
    border-radius: var(--pill);
}

.pkgopt__check {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 22px;
    height: 22px;

    border-radius: 50%;
    border: 1px solid var(--line-light);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 12px;

    background: transparent;
}

.pkgopt.is-selected .pkgopt__check {
    background: var(--gold);
    border-color: var(--gold);
    color: #1C1408;
}

.pkgopt--none {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;

    text-align: center;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 14px;

    grid-column: 1/-1;
}

/* =========================================================
               DÉTAILS PACKAGE
            ========================================================= */

#pkgDetails {
    margin-top: 18px;
    background: var(--cream-2);
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: none;
}

#pkgDetails>div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

#pkgDetailsTag {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

#pkgDetailsName {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--forest);
    margin-top: 2px;
}

#pkgDetailsPrice {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    text-align: right;
}

#pkgDetailsItems {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

#pkgDetailsItems>div {
    font-size: 13px;
    color: var(--ink-soft);
}

/* =========================================================
               FORMULAIRES
            ========================================================= */

.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field--full {
    grid-column: 1/-1;
}

.field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .01em;
}

.field label .req {
    color: var(--orange);
}

.field input,
.field select,
.field textarea {
    width: 100%;

    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);

    background: var(--cream);
    border: 1px solid var(--line-light);
    border-radius: 10px;

    padding: 12px 14px;

    transition: .15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199, 154, 91, .15);
}

.field textarea {
    resize: vertical;
    min-height: 90px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #92978d;
}

/* =========================================================
               STEPPER NUMÉRIQUE
            ========================================================= */

.stepper-num {
    display: inline-flex;
    align-items: center;

    border: 1px solid var(--line-light);
    border-radius: 10px;

    overflow: hidden;
    width: fit-content;

    background: var(--cream);
}

.stepper-num button {
    width: 44px;
    height: 46px;

    background: var(--cream);
    border: none;

    font-size: 20px;
    color: var(--forest);

    cursor: pointer;
    transition: .15s;
}

.stepper-num button:hover {
    background: var(--cream-2);
}

.stepper-num input {
    width: 64px;
    height: 46px;

    text-align: center;

    border: none;
    border-left: 1px solid var(--line-light);
    border-right: 1px solid var(--line-light);

    border-radius: 0;
    background: var(--paper);
}

.stepper-num input:focus {
    outline: none;
    box-shadow: none;
}

/* Chrome / Safari */
.stepper-num input::-webkit-inner-spin-button,
.stepper-num input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.stepper-num input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* =========================================================
               SERVICES / ACCORDÉONS
            ========================================================= */

.fam {
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
}

.fam+.fam {
    margin-top: 12px;
}

.fam__head {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 18px;

    cursor: pointer;
    user-select: none;

    transition: background .2s;
}

.fam__head:hover {
    background: var(--cream-2);
}

.fam__key {
    width: 38px;
    height: 38px;
    flex-shrink: 0;

    border: 1px solid var(--line-light);
    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;

    color: var(--gold);
    background: var(--paper);
}

.fam__title {
    flex-grow: 1;
    min-width: 0;
}

.fam__title b {
    display: block;
    font-size: 15px;
    color: var(--forest);
}

.fam__title span {
    font-size: 12.5px;
    color: var(--ink-soft);
}

.fam__count {
    flex-shrink: 0;

    font-size: 12px;
    color: var(--ink-soft);

    background: var(--paper);
    border: 1px solid var(--line-light);

    border-radius: var(--pill);
    padding: 4px 11px;
}

.fam__chev {
    flex-shrink: 0;
    transition: transform .2s;
    color: var(--ink-soft);
}

.fam.is-open .fam__chev {
    transform: rotate(180deg);
}

.fam__body {
    display: none;
    padding: 4px 18px 16px;
}

.fam.is-open .fam__body {
    display: block;
}

/* =========================================================
               SERVICE
            ========================================================= */

.svc {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 12px 0;

    border-top: 1px solid var(--line-light);

    cursor: pointer;
}

.svc__box {
    width: 22px;
    height: 22px;
    flex-shrink: 0;

    border: 1px solid var(--line-light);
    border-radius: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    background: var(--paper);
    color: transparent;

    font-size: 13px;

    transition: .15s;
}

.svc.is-checked .svc__box {
    background: var(--gold);
    border-color: var(--gold);
    color: #1C1408;
}

.svc__label {
    flex-grow: 1;
    min-width: 0;

    font-size: 14px;
    color: var(--ink);
}

.svc__label .ph {
    display: block;
    margin-top: 2px;

    color: var(--ink-soft);
    font-style: italic;
    font-size: 12px !important;
    line-height: 1.45;
}

.svc__price {
    flex-shrink: 0;

    font-size: 13.5px;
    font-weight: 700;
    color: var(--forest);
    white-space: nowrap;
}

/* =========================================================
               PANIER
            ========================================================= */

.cart {
    position: sticky;
    top: 96px;

    background: var(--forest);
    color: var(--paper-txt);

    border-radius: var(--radius-lg);

    padding: 26px;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(14, 42, 34, .10);
}

.cart h3 {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--white-warm);
    margin-bottom: 4px;
}

.cart__note {
    font-size: 12px;
    color: var(--paper-mute);
    margin-bottom: 18px;
}

.cart__line {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    padding: 11px 0;

    border-top: 1px solid var(--line-dark);

    font-size: 14px;
}

.cart__line:first-child {
    border-top: none;
}

.cart__line .lbl {
    color: var(--paper-txt);
}

.cart__line .lbl small {
    display: block;
    color: var(--paper-mute);
    font-size: 12px;
}

.cart__line .val {
    color: var(--white-warm);
    font-weight: 700;
    white-space: nowrap;
}

.cart__empty {
    color: var(--paper-mute);
    font-size: 13.5px;
    font-style: italic;
    padding: 8px 0 16px;
}

.cart__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;

    border-top: 1px solid var(--gold);

    margin-top: 8px;
    padding-top: 16px;
}

.cart__total .lbl {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--paper-mute);
}

.cart__total .val {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    text-align: right;
}

.cart__disclaimer {
    font-size: 11.5px;
    color: var(--paper-mute);
    line-height: 1.5;

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid var(--line-dark);
}

.cart .btn {
    width: 100%;
    margin-top: 18px;
}

/* =========================================================
               NAVIGATION ÉTAPES
            ========================================================= */

.stepnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    margin-top: 26px;
}

.stepnav>span:empty {
    flex: 1;
}

/* =========================================================
               CONFIRMATION
            ========================================================= */

.success {
    text-align: center;
    padding: 30px 10px;
}

.success__mark {
    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: var(--gold);
    color: #1C1408;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;

    margin: 0 auto 18px;
}

.success h2 {
    font-size: 30px;
    color: var(--forest);
    margin-bottom: 10px;
}

.success p {
    color: var(--ink-soft);
    max-width: 500px;
    margin: 0 auto 8px;
}

.success .ref {
    display: inline-block;

    margin-top: 14px;

    background: var(--cream-2);
    border: 1px dashed var(--gold);
    border-radius: 10px;

    padding: 10px 18px;

    font-weight: 700;
    color: var(--forest);

    letter-spacing: .05em;
}

/* =========================================================
               WHATSAPP
            ========================================================= */

.wa {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 60;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: #25D366;
    color: #062E15;

    font-weight: 800;
    font-size: 14px;

    padding: 13px 20px;
    border-radius: var(--pill);

    box-shadow:
        0 12px 30px -8px rgba(37, 211, 102, .6);
}

/* =========================================================
               RESPONSIVE
            ========================================================= */

@media(max-width:960px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .cart {
        position: static;
        margin-top: 8px;
    }

    .pkgs {
        grid-template-columns: 1fr;
    }

    .pkgopt--none {
        grid-column: auto;
    }
}

@media(max-width:700px) {

    .panel {
        padding: 22px 18px;
    }

    .fields {
        grid-template-columns: 1fr;
    }

    .field--full {
        grid-column: auto;
    }

    #pkgDetailsItems {
        grid-template-columns: 1fr;
    }

    .steps {
        justify-content: space-between;
        width: 100%;
    }

    .stepdot {
        padding: 8px 5px;
        font-size: 0;
    }

    .stepdot .n {
        font-size: 12px;
    }

    .steps>.bar {
        width: 14px;
    }

    .cobrand__md {
        display: none;
    }

    .svc {
        align-items: flex-start;
    }

    .svc__price {
        font-size: 12px;
    }
}

@media(max-width:520px) {

    .wrap {
        padding: 0 16px;
    }

    .intro {
        padding: 32px 0 20px;
    }

    .intro h1 {
        font-size: 32px;
    }

    .intro p {
        font-size: 14px;
    }

    .composer {
        padding-top: 20px;
    }

    .panel h2 {
        font-size: 23px;
    }

    .fam__head {
        gap: 9px;
        padding: 13px;
    }

    .fam__key {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .fam__count {
        padding: 3px 8px;
    }

    .fam__title b {
        font-size: 13.5px;
    }

    .fam__title span {
        font-size: 11px;
    }

    .fam__body {
        padding: 2px 13px 13px;
    }

    .svc {
        flex-wrap: wrap;
        gap: 9px;
    }

    .svc__label {
        flex: 1;
        min-width: calc(100% - 40px);
    }

    .svc__price {
        width: 100%;
        padding-left: 31px;
    }

    .stepnav {
        align-items: stretch;
    }

    .stepnav .btn {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cart {
        padding: 22px;
    }

    .cart__total .val {
        font-size: 25px;
    }

    .wa {
        bottom: 15px;
        right: 15px;
    }
}

/* =========================================================
               ACCESSIBILITÉ / MOTION
            ========================================================= */

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}