:root {
--ecap-navy: #14377d;
--ecap-navy-strong: #0b2359;
--ecap-orange: #f4772b;
--ecap-ink: #172033;
--ecap-muted: #637087;
--ecap-line: #dce3ed;
--ecap-surface: #f5f7fb;
--ecap-white: #fff;
--ecap-radius: 18px;
}
.ecap-hivern {
max-width: 940px;
margin: 0 auto;
color: var(--ecap-ink);
font-family: inherit;
}
.ecap-hivern *, .ecap-hivern *::before, .ecap-hivern *::after { box-sizing: border-box; }
.ecap-hivern__header { text-align: center; max-width: 700px; margin: 0 auto 32px; }
.ecap-hivern__eyebrow { margin: 0 0 8px; color: var(--ecap-orange); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ecap-hivern__header h2 { margin: 0 0 12px; color: var(--ecap-navy-strong); font-size: clamp(32px, 6vw, 52px); line-height: 1.04; letter-spacing: -.035em; }
.ecap-hivern__header p:last-child { margin: 0; color: var(--ecap-muted); font-size: 18px; line-height: 1.55; }
.ecap-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0 0 24px; counter-reset: none; }
.ecap-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--ecap-muted); font-size: 13px; font-weight: 700; }
.ecap-steps li::before { content: ''; position: absolute; top: 19px; right: 50%; width: 100%; height: 2px; background: var(--ecap-line); z-index: -1; }
.ecap-steps li:first-child::before { display: none; }
.ecap-steps span { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ecap-line); border-radius: 50%; background: var(--ecap-white); color: var(--ecap-muted); }
.ecap-steps .is-active, .ecap-steps .is-complete { color: var(--ecap-navy); }
.ecap-steps .is-active span { border-color: var(--ecap-orange); box-shadow: 0 0 0 5px rgba(244,119,43,.13); color: var(--ecap-orange); }
.ecap-steps .is-complete span { border-color: var(--ecap-navy); background: var(--ecap-navy); color: var(--ecap-white); }
.ecap-steps .is-complete::before { background: var(--ecap-navy); }
.ecap-form { position: relative; }
.ecap-panel { min-width: 0; margin: 0; padding: clamp(22px, 5vw, 44px); border: 1px solid var(--ecap-line); border-radius: var(--ecap-radius); background: var(--ecap-white); box-shadow: 0 20px 55px rgba(24, 48, 92, .09); }
.ecap-panel[hidden] { display: none; }
.ecap-panel.is-active { animation: ecap-in .24s ease-out; }
.ecap-panel legend { width: 100%; padding: 0 0 22px; color: var(--ecap-navy-strong); font-size: 24px; font-weight: 800; }
.ecap-panel h3 { margin: 30px 0 16px; color: var(--ecap-navy-strong); font-size: 18px; }
.ecap-grid { display: grid; gap: 18px; }
.ecap-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecap-span-2 { grid-column: 1 / -1; }
.ecap-panel label, .ecap-masters-day > span, .ecap-grid > div > span { display: flex; flex-direction: column; gap: 7px; color: #27344a; font-size: 14px; font-weight: 700; }
.ecap-panel input[type='text'], .ecap-panel input[type='email'], .ecap-panel input[type='tel'], .ecap-panel input[type='date'], .ecap-panel select, .ecap-panel textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #c9d3e1; border-radius: 10px; background: #fff; color: var(--ecap-ink); font: inherit; font-weight: 500; transition: border-color .18s, box-shadow .18s; }
.ecap-panel input:focus, .ecap-panel select:focus, .ecap-panel textarea:focus { outline: none; border-color: var(--ecap-navy); box-shadow: 0 0 0 4px rgba(20,55,125,.13); }
.ecap-panel small { color: var(--ecap-muted); font-size: 12px; font-weight: 500; line-height: 1.4; }
.ecap-choice-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ecap-choice-row label, .ecap-check { display: flex; flex-direction: row; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--ecap-line); border-radius: 10px; background: var(--ecap-surface); cursor: pointer; }
.ecap-choice-row input, .ecap-check input, .ecap-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--ecap-orange); }
.ecap-masters-day { margin-top: 16px; padding: 16px; border: 1px solid #f6c19f; border-radius: 12px; background: #fff7f1; }
.ecap-masters-day[hidden] { display: none; }
.ecap-masters-day.has-error { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198,40,40,.1); }
.ecap-program-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; margin: 20px 0; padding: 20px; border-radius: 14px; background: linear-gradient(135deg, var(--ecap-navy-strong), var(--ecap-navy)); color: var(--ecap-white); }
.ecap-program-card > span { font-size: 14px; font-weight: 700; }
.ecap-program-card strong { font-size: 30px; }
.ecap-program-card small { flex-basis: 100%; color: rgba(255,255,255,.75); }
.ecap-payment-options { display: grid; gap: 12px; }
.ecap-payment-options > label { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--ecap-line); border-radius: 12px; cursor: pointer; }
.ecap-payment-options > label:has(input:checked) { border-color: var(--ecap-orange); background: #fff8f2; box-shadow: 0 0 0 3px rgba(244,119,43,.12); }
.ecap-payment-options input { width: 18px; height: 18px; accent-color: var(--ecap-orange); }
.ecap-payment-options span { display: flex; flex-direction: column; gap: 3px; }
.ecap-payment-options strong { color: var(--ecap-navy-strong); }
.ecap-payment-options small { color: var(--ecap-muted); }
.ecap-payment-options > label[hidden] { display: none !important; }
.ecap-payment-exempt { display: flex; flex-direction: column; gap: 5px; margin: 0 0 18px; padding: 17px 18px; border: 1px solid #8bc9a4; border-left: 5px solid #23864b; border-radius: 12px; background: #f0fbf4; color: #173d28; }
.ecap-payment-exempt[hidden], [data-payment-fields][hidden], [data-membership-fields][hidden] { display: none !important; }
.ecap-payment-exempt strong { color: #126c37; font-size: 17px; }
.ecap-payment-exempt span { line-height: 1.55; }
.ecap-payment-guidance { margin: 12px 0 4px; padding: 13px 15px; border-left: 4px solid var(--ecap-orange); border-radius: 0 10px 10px 0; background: #fff8f2; color: #27344a; font-size: 14px; line-height: 1.5; }
.ecap-membership-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--ecap-line); border-radius: 12px; background: var(--ecap-surface); }
.ecap-membership-summary span { color: var(--ecap-muted); font-size: 14px; font-weight: 700; }
.ecap-membership-summary strong { color: var(--ecap-navy-strong); text-align: right; }
.ecap-choice-row--membership label { flex: 1 1 145px; }
.ecap-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.ecap-summary div { padding: 14px; border-radius: 10px; background: var(--ecap-surface); }
.ecap-summary span { display: block; margin-bottom: 3px; color: var(--ecap-muted); font-size: 12px; }
.ecap-summary strong { color: var(--ecap-navy-strong); }
.ecap-consent { display: flex !important; grid-template-columns: none !important; width: 100%; min-width: 0; flex-direction: column; align-items: stretch; gap: 8px !important; margin: 14px 0; padding: 15px; border: 1px solid var(--ecap-line); border-radius: 10px; background: var(--ecap-surface); font-weight: 500 !important; line-height: 1.5; }
.ecap-consent a { color: var(--ecap-navy); font-weight: 700; text-decoration: underline; }
.ecap-consent-help { display: block; margin-top: 2px; color: var(--ecap-muted); font-size: 13px !important; font-weight: 500 !important; line-height: 1.5 !important; }
.ecap-family-section { min-width: 0; margin: 0 0 28px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--ecap-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 40px rgba(24, 48, 92, .07); }
.ecap-family-section legend { width: auto; max-width: 100%; padding: 0 10px 0 0; color: var(--ecap-navy-strong); font-size: clamp(21px, 3vw, 26px); font-weight: 850; line-height: 1.2; }
.ecap-section-help { margin: -4px 0 20px; color: var(--ecap-muted); line-height: 1.55; }
.ecap-family-section .ecap-grid > label,
.ecap-family-section .ecap-consent { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: #26354d; font-size: 14px; font-weight: 750; line-height: 1.35; }
.ecap-family-section input:not([type]),
.ecap-family-section input[type='text'],
.ecap-family-section input[type='email'],
.ecap-family-section input[type='tel'],
.ecap-family-section input[type='date'],
.ecap-family-section select,
.ecap-family-section textarea {
width: 100%;
min-width: 0;
min-height: 52px;
padding: 12px 14px;
border: 1.5px solid #b8c5d7;
border-radius: 11px;
background: #fbfcfe;
color: var(--ecap-ink);
font: inherit;
font-size: 16px;
font-weight: 500;
line-height: 1.25;
transition: border-color .18s, box-shadow .18s, background .18s;
}
.ecap-family-section input::placeholder { color: #7b8798; opacity: 1; }
.ecap-family-section input:focus,
.ecap-family-section select:focus,
.ecap-family-section textarea:focus { outline: none; border-color: var(--ecap-navy); background: #fff; box-shadow: 0 0 0 4px rgba(20,55,125,.13); }
.ecap-family-section [hidden] { display: none !important; }
.ecap-child-card { margin: 0 0 20px; padding: 22px; border: 1px solid var(--ecap-line); border-radius: 15px; background: var(--ecap-surface); }
.ecap-addon-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 16px; border: 1px solid #cfd9e7; border-radius: 12px; background: #fff; }
.ecap-addon-options > span, .ecap-addon-help { grid-column: 1 / -1; }
.ecap-addon-options > span { color: var(--ecap-navy-strong); font-size: 15px; font-weight: 800; }
.ecap-addon-options > span small { color: var(--ecap-muted); font-weight: 500; }
.ecap-addon-options > label { display: flex; min-height: 48px; flex-direction: row !important; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid var(--ecap-line); border-radius: 10px; background: var(--ecap-surface); cursor: pointer; }
.ecap-addon-options > label:has(input:checked) { border-color: var(--ecap-orange); background: #fff8f2; }
.ecap-addon-options input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; accent-color: var(--ecap-orange); }
.ecap-child-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.ecap-child-head h3 { margin: 0; color: var(--ecap-navy-strong); font-size: 20px; }
.ecap-remove-child { min-height: 42px; padding: 8px 12px; border: 1px solid #e3bcbc; border-radius: 9px; background: #fff; color: #8b2929; font-weight: 750; cursor: pointer; }
.ecap-consent { margin: 18px 0 !important; padding: 16px !important; border: 1px solid var(--ecap-line); border-radius: 12px; background: var(--ecap-surface); }
.ecap-consent select { background-color: #fff; }
.ecap-family-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 22px 0; padding: 18px; border-radius: 13px; background: var(--ecap-navy-strong); color: #fff; }
.ecap-family-total strong { font-size: 24px; }
.ecap-privacy-notice { padding: 14px; border-left: 4px solid var(--ecap-orange); border-radius: 0 9px 9px 0; background: var(--ecap-surface); line-height: 1.55; }
.ecap-privacy-notice a { color: var(--ecap-navy); font-weight: 700; }
.ecap-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.ecap-button { min-height: 48px; padding: 12px 22px; border: 0; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.ecap-button:hover { transform: translateY(-1px); }
.ecap-button:focus-visible { outline: 3px solid rgba(244,119,43,.35); outline-offset: 2px; }
.ecap-button--primary { background: var(--ecap-orange); color: #171717; box-shadow: 0 9px 20px rgba(244,119,43,.22); }
.ecap-button--primary:hover { background: #ff8740; }
.ecap-button--primary:disabled { opacity: .65; cursor: wait; transform: none; }
.ecap-button--ghost { background: #e9eef6; color: var(--ecap-navy-strong); }
.ecap-alert, .ecap-result { margin: 0 0 20px; padding: 16px 18px; border-radius: 12px; }
.ecap-alert--error { border: 1px solid #efb7b7; background: #fff1f1; color: #8d1f1f; }
.ecap-client-error { margin-top: 18px; }
.ecap-family-form.was-validated :is(input, select, textarea):invalid { border-color: #b42318; background: #fff8f7; box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
.ecap-result { max-width: 700px; margin: 30px auto; border: 1px solid #a7d9bc; background: #effbf4; text-align: center; }
.ecap-result__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: #147a42; color: #fff; font-size: 28px; }
.ecap-result h2 { margin: 0 0 8px; color: #0b5e31; }
.ecap-result__ref { margin-top: 14px; font-size: 13px; }
.ecap-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@keyframes ecap-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 680px) {
.ecap-hivern { width: calc(100% - 20px); max-width: none; padding-inline: 0; box-sizing: border-box; overflow-wrap: anywhere; }
.ecap-hivern__header { margin-bottom: 24px; }
.ecap-hivern__header h2 { max-width: 100%; font-size: clamp(29px, 9vw, 37px); overflow-wrap: anywhere; }
.ecap-hivern__header p:last-child { font-size: 16px; }
.ecap-grid--2, .ecap-summary { grid-template-columns: 1fr; }
.ecap-span-2 { grid-column: auto; }
.ecap-panel { padding: 22px 16px; border-radius: 14px; }
.ecap-family-section { margin-bottom: 18px; padding: 20px 14px; border-radius: 15px; }
.ecap-family-section legend { padding-right: 6px; font-size: 21px; }
.ecap-grid { gap: 15px; }
.ecap-child-card { padding: 17px 12px; border-radius: 13px; }
.ecap-addon-options { grid-template-columns: 1fr; padding: 14px 11px; }
.ecap-child-head { align-items: flex-start; }
.ecap-choice-row { display: grid; grid-template-columns: 1fr; gap: 9px; margin-bottom: 18px; }
.ecap-choice-row > span { margin-bottom: 2px; }
.ecap-choice-row label { width: 100%; min-height: 48px; }
.ecap-payment-options > label { padding: 14px 12px; }
.ecap-family-total { align-items: flex-start; flex-direction: column; }
.ecap-family-total strong { font-size: 27px; }
.ecap-steps li { font-size: 11px; }
.ecap-steps span { width: 34px; height: 34px; }
.ecap-steps li::before { top: 16px; }
.ecap-actions { flex-direction: column-reverse; }
.ecap-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ecap-panel.is-active { animation: none; } .ecap-button { transition: none; } }