/* ==========================================================================
   Your Decision — module de réservation, journées DAY, autorisation parentale.
   Langage : filets d'un pixel, angles droits, deux voix typographiques
   (Archivo pour l'information, Libre Caslon Text pour les titres).
   Variables surchargeables par le thème.
   ========================================================================== */
.ydb, .ydd, .yda {
	--ydb-ink: var(--yd-ink, #171515);
	--ydb-bx: var(--yd-bordeaux, #642838);
	--ydb-bx-deep: var(--yd-bordeaux-deep, #4A1D29);
	--ydb-ecru: var(--yd-ecru, #F4EFE5);
	--ydb-paper: var(--yd-paper, #FAF7F1);
	--ydb-gold: var(--yd-gold, #B69B6A);
	--ydb-muted: var(--yd-muted, #6f6865);
	--ydb-line: var(--yd-line, rgba(23, 21, 21, .14));
	--ydb-line-strong: rgba(23, 21, 21, .3);
	--ydb-serif: var(--yd-serif, 'Libre Caslon Text', Georgia, serif);
	--ydb-sans: var(--yd-sans, 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif);
	--ydb-ease: cubic-bezier(.22, .61, .2, 1);
	--ydb-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Cpath d='M0 6h15M10 1l5 5-5 5'/%3E%3C/svg%3E");
	font-family: var(--ydb-sans);
	color: var(--ydb-ink);
	-webkit-tap-highlight-color: transparent;
}
.ydb *, .ydd *, .yda * { box-sizing: border-box; }
.ydb [hidden], .ydd [hidden], .yda [hidden] { display: none !important; }
.yd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ydb em { font-style: normal; }
.ydb-card__price, .ydb-card__total, .ydb-card__top, .ydb-progress__num, .ydb-slot, .ydb-day, .ydb-recap__total, .ydd-card__price { font-variant-numeric: tabular-nums; }

/* ------------------------------ Progression ------------------------------ */
.ydb { position: relative; }
.ydb-progress { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin: 0 0 clamp(36px, 4vw, 56px); padding: 0; }
.ydb-progress__step { position: relative; padding-top: 14px; font-size: 13px; font-weight: 500; color: var(--ydb-muted); border-top: 1px solid var(--ydb-line); transition: color .5s var(--ydb-ease); }
.ydb-progress__step::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--ydb-ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ydb-ease); }
.ydb-progress__step.is-done::before, .ydb-progress__step.is-current::before { transform: scaleX(1); }
.ydb-progress__step.is-current::before { background: var(--ydb-bx); height: 2px; top: -1.5px; }
.ydb-progress__num { display: inline-block; min-width: 26px; color: var(--ydb-muted); }
.ydb-progress__step.is-current, .ydb-progress__step.is-done { color: var(--ydb-ink); }
.ydb-progress__step.is-current .ydb-progress__num { color: var(--ydb-bx); }

/* ------------------------------- Panneaux ------------------------------- */
.ydb-panel { display: none; }
.ydb-panel.is-active { display: block; }
.ydb-panel__title { margin: 0 0 28px; font-family: var(--ydb-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.02em; outline: none; }
.ydb-lead { margin: -14px 0 32px; font-size: 15px; color: var(--ydb-muted); max-width: 52ch; }
.ydb-notice { padding: 16px 0; border-top: 1px solid var(--ydb-line); border-bottom: 1px solid var(--ydb-line); font-size: 15px; }
.ydb-foot { margin: 22px 0 0; font-size: 13px; color: var(--ydb-muted); }
.ydb-hint { margin: 18px 0 0; font-size: 13px; color: var(--ydb-muted); }
.ydb-error, .ydb [data-err] { display: block; margin-top: 6px; color: #9C223E; font-size: 13px; font-style: normal; }
.ydb [data-err]:empty, .ydb-error:empty { display: none; }

/* ------------------------- Formules (tableau, pas cartes) ------------------------- */
.ydb-formulas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ydb-ink); border-bottom: 1px solid var(--ydb-line); }
.ydb-formulas--days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ydb-card {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left;
	min-height: 300px; padding: 20px 22px 0; margin: 0; border: 0; border-left: 1px solid var(--ydb-line); border-radius: 0;
	background: transparent; color: var(--ydb-ink); font: inherit; cursor: pointer;
	transition: background-color .5s var(--ydb-ease), color .5s var(--ydb-ease);
}
.ydb-card:first-child { border-left: 0; }
.ydb-card:hover { background: var(--ydb-paper); }
.ydb-card:focus-visible { outline: 1px solid var(--ydb-ink); outline-offset: -1px; }
.ydb-card__top { display: flex; justify-content: space-between; width: 100%; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ydb-muted); }
.ydb-card__index { color: var(--ydb-bx); }
.ydb-card__name { margin: 46px 0 14px; font-family: var(--ydb-sans); font-weight: 500; font-stretch: 118%; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; letter-spacing: .015em; }
.ydb-card__bars { display: flex; gap: 4px; }
.ydb-card__bars i { width: 14px; height: 3px; background: var(--ydb-line); transition: background-color .5s var(--ydb-ease); }
.ydb-card__bars i.is-on { background: var(--ydb-ink); }
.ydb-card__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 30px; }
.ydb-card__price strong { font-family: var(--ydb-sans); font-weight: 400; font-size: clamp(32px, 2.8vw, 42px); line-height: 1; letter-spacing: -.035em; }
.ydb-card__price em { font-size: 13px; color: var(--ydb-muted); }
.ydb-card__total { margin-top: 6px; font-size: 13px; color: var(--ydb-muted); }
.ydb-card__cta { display: flex; align-items: center; justify-content: space-between; width: calc(100% + 44px); margin: 24px -22px 0; padding: 15px 22px; border-top: 1px solid var(--ydb-line); font-size: 14px; font-weight: 500; }
.ydb-card__cta::after { content: ''; width: 16px; height: 12px; background: currentColor; -webkit-mask: var(--ydb-arrow) center / contain no-repeat; mask: var(--ydb-arrow) center / contain no-repeat; transition: transform .5s var(--ydb-ease); }
.ydb-card:hover .ydb-card__cta::after { transform: translateX(4px); }
.ydb-card.is-selected { background: var(--ydb-ink); color: var(--ydb-ecru); }
.ydb-card.is-selected .ydb-card__top, .ydb-card.is-selected .ydb-card__price em, .ydb-card.is-selected .ydb-card__total { color: rgba(244, 239, 229, .62); }
.ydb-card.is-selected .ydb-card__index { color: var(--ydb-gold); }
.ydb-card.is-selected .ydb-card__bars i { background: rgba(244, 239, 229, .2); }
.ydb-card.is-selected .ydb-card__bars i.is-on { background: var(--ydb-ecru); }
.ydb-card.is-selected .ydb-card__cta { border-color: rgba(244, 239, 229, .16); }
.ydb-card--day { min-height: 230px; }
.ydb-days-slot:not(:empty) { margin-top: 40px; }
.ydb-days__title { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--ydb-muted); }

/* ------------------------------ Navigation ------------------------------ */
.ydb-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ydb-line); }
.ydb-btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 52px; padding: 0 22px 0 24px;
	border: 1px solid var(--ydb-ink); border-radius: 0; background: var(--ydb-ink); color: var(--ydb-ecru);
	font: 500 15px/1 var(--ydb-sans); letter-spacing: -.005em; cursor: pointer;
	transition: background-color .45s var(--ydb-ease), color .45s var(--ydb-ease), border-color .45s;
}
.ydb-btn:not(.ydb-btn--ghost)::after { content: ''; width: 16px; height: 12px; background: currentColor; -webkit-mask: var(--ydb-arrow) center / contain no-repeat; mask: var(--ydb-arrow) center / contain no-repeat; transition: transform .5s var(--ydb-ease); }
.ydb-btn:not(.ydb-btn--ghost):hover::after { transform: translateX(4px); }
.ydb-btn:hover { background: var(--ydb-bx); border-color: var(--ydb-bx); }
.ydb-btn:focus-visible { outline: 1px solid var(--ydb-ink); outline-offset: 3px; }
.ydb-btn--ghost { gap: 10px; min-height: 0; padding: 6px 0; border: 0; background: none; color: var(--ydb-muted); }
.ydb-btn--ghost:hover { background: none; color: var(--ydb-ink); }
.ydb-btn--ghost::before { content: ''; width: 14px; height: 10px; background: currentColor; -webkit-mask: var(--ydb-arrow) center / contain no-repeat; mask: var(--ydb-arrow) center / contain no-repeat; transform: scaleX(-1); }
.ydb-btn.is-loading { opacity: .55; pointer-events: none; }

/* ------------------------------ Calendrier ------------------------------ */
.ydb-cal { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-top: 22px; border-top: 1px solid var(--ydb-line); }
.ydb-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ydb-cal__label { margin: 0; font-size: 15px; font-weight: 500; }
.ydb-cal__label::first-letter { text-transform: uppercase; }
.ydb-cal__nav { position: relative; width: 36px; height: 36px; border: 0; background: none; color: var(--ydb-ink); cursor: pointer; }
.ydb-cal__nav::before { content: ''; position: absolute; inset: 0; margin: auto; width: 16px; height: 12px; background: currentColor; -webkit-mask: var(--ydb-arrow) center / contain no-repeat; mask: var(--ydb-arrow) center / contain no-repeat; }
.ydb-cal__nav[data-month="-1"]::before { transform: scaleX(-1); }
.ydb-cal__nav:disabled { opacity: .2; cursor: default; }
.ydb-cal__dow, .ydb-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.ydb-cal__dow span { padding-bottom: 10px; font-size: 12px; text-align: center; color: var(--ydb-muted); }
.ydb-day { position: relative; height: 46px; display: grid; place-items: center; border: 0; background: transparent; font: 400 15px var(--ydb-sans); color: rgba(23, 21, 21, .28); }
.ydb-day.is-today { color: var(--ydb-muted); }
.ydb-day.is-open { color: var(--ydb-ink); font-weight: 500; cursor: pointer; transition: background-color .35s, color .35s; }
.ydb-day.is-open i { display: none; }
.ydb-day.is-open::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ydb-bx); }
.ydb-day.is-open:hover { background: var(--ydb-paper); }
.ydb-day.is-selected { background: var(--ydb-ink); color: var(--ydb-ecru); }
.ydb-day.is-selected::after { background: var(--ydb-ecru); }
.ydb-cal__loading, .ydb-cal__empty { grid-column: 1 / -1; font-size: 14px; color: var(--ydb-muted); }
.ydb-cal__day { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.ydb-cal__day::first-letter { text-transform: uppercase; }
.ydb-slots { display: flex; flex-direction: column; border-top: 1px solid var(--ydb-line); }
.ydb-slot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 58px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--ydb-line); background: transparent; font: inherit; color: var(--ydb-ink); text-align: left; cursor: pointer; transition: background-color .35s, color .35s, padding .4s var(--ydb-ease); }
.ydb-slot strong { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.ydb-slot span { font-size: 14px; color: var(--ydb-muted); }
.ydb-slot em { font-size: 12px; color: var(--ydb-muted); }
.ydb-slot::after { content: 'Choisir'; grid-column: 3; font-size: 13px; color: var(--ydb-muted); }
.ydb-slot:hover { background: var(--ydb-paper); padding-left: 22px; }
.ydb-slot.is-selected { background: var(--ydb-ink); color: var(--ydb-ecru); }
.ydb-slot.is-selected span, .ydb-slot.is-selected em { color: rgba(244, 239, 229, .62); }
.ydb-slot.is-selected::after { content: 'Sélectionné'; color: var(--ydb-ecru); }

/* ------------------------------ Journées (choix) ------------------------------ */
.ydb-events { margin-bottom: 24px; border-top: 1px solid var(--ydb-line); }
.ydb-event { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--ydb-line); cursor: pointer; }
.ydb-event input { width: 16px; height: 16px; accent-color: var(--ydb-ink); }
.ydb-event__date { flex: 1; font-size: 16px; font-weight: 500; }
.ydb-event__left { font-size: 13px; color: var(--ydb-muted); }

/* ------------------------------ Formulaires ------------------------------ */
.ydb-person { margin: 0 0 40px; padding: 0; border: 0; }
.ydb-person legend { width: 100%; margin-bottom: 18px; padding: 0 0 10px; border-bottom: 1px solid var(--ydb-ink); font-size: 14px; font-weight: 500; }
.ydb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.ydb-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.ydb-field > span { font-size: 13px; color: var(--ydb-muted); }
.ydb-field > span small { font-size: 12px; }
.ydb-field input, .ydb-field select, .ydb-field textarea, .yda-field input, .yda-field textarea {
	width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ydb-line-strong); border-radius: 0; background: transparent;
	font: 400 16px/1.3 var(--ydb-sans); color: var(--ydb-ink); transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.ydb-field select { padding-right: 24px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23171917' stroke-width='1.3'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 2px center / 11px 7px no-repeat; }
.ydb-field textarea { min-height: 60px; resize: vertical; }
.ydb-field input:focus, .ydb-field select:focus, .ydb-field textarea:focus, .yda-field input:focus, .yda-field textarea:focus { outline: none; border-color: var(--ydb-ink); box-shadow: 0 1px 0 0 var(--ydb-ink); }
.ydb-field.has-error input, .ydb-field.has-error select { border-color: #9C223E; }
.ydb-field--wide { grid-column: 1 / -1; }
.ydb-field--count { max-width: 220px; }
.ydb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 26px; }
.ydb-chips__label { width: 100%; margin-bottom: 4px; font-size: 13px; color: var(--ydb-muted); }
.ydb-chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--ydb-line-strong); border-radius: 0; background: transparent; font: 400 14px var(--ydb-sans); color: var(--ydb-ink); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.ydb-chip:hover { border-color: var(--ydb-ink); }
.ydb-chip.is-on { background: var(--ydb-ink); border-color: var(--ydb-ink); color: var(--ydb-ecru); }
.ydb-guardian { margin: 6px 0 10px; padding: 20px 0 0; border-top: 1px dashed var(--ydb-line-strong); }
.ydb-guardian__intro { margin: 0 0 20px; max-width: 64ch; font-size: 14px; line-height: 1.55; color: #47423f; }
.ydb-guardian__intro strong { color: var(--ydb-bx); font-weight: 500; }
.ydb-check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.ydb-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ydb-ink); }
.ydb-check a, .ydb-legal a { color: inherit; text-underline-offset: 3px; }

/* ------------------------------ Récapitulatif ------------------------------ */
.ydb-recap { border-top: 1px solid var(--ydb-ink); }
.ydb-recap dl { margin: 0; }
.ydb-recap dl > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ydb-line); }
.ydb-recap dt { padding-top: 2px; font-size: 13px; color: var(--ydb-muted); }
.ydb-recap dd { margin: 0; font-size: 15px; line-height: 1.5; }
.ydb-recap dd small { font-size: 13px; color: var(--ydb-muted); }
.ydb-recap__total dd { font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.ydb-recap__auth dd { color: var(--ydb-bx); }
.ydb-pay { margin: 22px 0; font-size: 14px; }
.ydb-legal { max-width: 70ch; font-size: 13px; line-height: 1.55; color: var(--ydb-muted); }

/* ------------------------------ Confirmation ------------------------------ */
.ydb-done { padding: clamp(32px, 5vw, 64px); background: var(--ydb-ink); color: var(--ydb-ecru); }
.ydb-done .ydb-panel__title { margin-bottom: 20px; font-size: clamp(32px, 3.4vw, 48px); color: var(--ydb-ecru); }
.ydb-done__ref { margin: 0 0 30px; font-size: 13px; color: rgba(244, 239, 229, .6); }
.ydb-done__ref strong { font-weight: 500; letter-spacing: .02em; color: var(--ydb-ecru); }
.ydb-done__text { max-width: 54ch; font-size: 16px; line-height: 1.6; }
.ydb-done__total { margin-top: 14px; font-size: 14px; color: rgba(244, 239, 229, .7); }
.ydb-done__sign { margin: 36px 0 28px; padding-top: 18px; border-top: 1px solid rgba(244, 239, 229, .16); font-family: var(--ydb-serif); font-size: 18px; }
.ydb-done .ydb-btn--ghost { color: rgba(244, 239, 229, .7); }
.ydb-done .ydb-btn--ghost::before { display: none; }

/* ============================== DAY (fond sombre) ============================== */
.ydd { color: var(--ydb-ecru); }
.ydd-cards { border-top: 1px solid rgba(244, 239, 229, .9); }
.ydd-card { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kicker price" "name price" "flag flag" "inc inc"; column-gap: 20px; padding: 24px 0 22px; border-bottom: 1px solid rgba(244, 239, 229, .16); }
.ydd-card__kicker { grid-area: kicker; margin: 0; font-size: 13px; color: rgba(244, 239, 229, .55); }
.ydd-card__name { grid-area: name; margin: 8px 0 0; font-family: var(--ydb-sans); font-weight: 500; font-stretch: 118%; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: .015em; color: var(--ydb-ecru); }
.ydd-card__price { grid-area: price; align-self: end; display: flex; align-items: baseline; gap: 8px; margin: 0; }
.ydd-card__price strong { font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -.035em; }
.ydd-card__price span { font-size: 13px; color: rgba(244, 239, 229, .55); }
.ydd-card__flag { grid-area: flag; justify-self: end; margin: 8px 0 0; font-size: 12px; color: var(--ydb-gold); }
.ydd-card__inc { grid-area: inc; margin: 12px 0 0; font-size: 14px; color: rgba(244, 239, 229, .72); }
.ydd-dates { margin-top: 44px; }
.ydd-closed { margin: 0; font-family: var(--ydb-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.015em; color: var(--ydb-ecru); }
.ydd-dates__title { margin: 0 0 12px; font-size: 13px; color: rgba(244, 239, 229, .55); }
.ydd-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244, 239, 229, .16); }
.ydd-item { display: grid; grid-template-columns: 1fr 2fr auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(244, 239, 229, .16); font-size: 15px; }
.ydd-item__name { font-weight: 500; }
.ydd-item__date { color: rgba(244, 239, 229, .8); }
.ydd-item__left { font-size: 13px; color: rgba(244, 239, 229, .55); }
.ydd-item__cta { padding: 10px 16px; background: var(--ydb-ecru); color: var(--ydb-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .3s; }
.ydd-item__cta:hover { background: #fff; }

/* ======================== Autorisation parentale ======================== */
.yda { max-width: 1200px; margin: 0 auto; padding: clamp(24px, 5vw, 60px) clamp(20px, 4vw, 56px) 80px; }
.yda-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--ydb-muted); }
.yda-title { margin: 0 0 18px; font-family: var(--ydb-serif); font-weight: 400; font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -.03em; }
.yda-title em { font-style: italic; color: var(--ydb-bx); }
.yda-lead { max-width: 60ch; font-size: 17px; line-height: 1.55; color: #47423f; }
.yda-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: 44px; align-items: start; }
.yda-recap { position: sticky; top: 90px; margin: 0; border-top: 1px solid var(--ydb-ink); }
.yda-recap > div { padding: 12px 0; border-bottom: 1px solid var(--ydb-line); }
.yda-recap dt { margin-bottom: 3px; font-size: 13px; color: var(--ydb-muted); }
.yda-recap dd { margin: 0; font-size: 14.5px; line-height: 1.5; }
.yda-text { margin-bottom: 12px; border-top: 1px solid var(--ydb-line); }
.yda-text summary { padding: 16px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; }
.yda-text summary small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--ydb-muted); }
.yda-text__body { padding: 0 0 8px; font-size: 14.5px; line-height: 1.65; color: #3B3C35; }
.yda-text__body p { margin: 0 0 12px; }
.yda-text__body--small { font-size: 14px; }
.yda-fieldset { margin: 36px 0 0; padding: 0; border: 0; }
.yda-fieldset legend { width: 100%; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--ydb-ink); font-size: 15px; font-weight: 500; }
.yda-check, .yda-radio { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 15px; line-height: 1.5; cursor: pointer; }
.yda-check input, .yda-radio input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ydb-ink); }
.yda-check a { color: inherit; }
.yda-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.yda-field { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 18px; }
.yda-field > span { font-size: 13px; color: var(--ydb-muted); }
.yda-field em, .yda-error { color: #9C223E; font-size: 13px; font-style: normal; }
.yda-image-row { display: grid; grid-template-columns: 1fr auto auto; gap: 22px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ydb-line); font-size: 15px; }
.yda-image-row label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.yda-image-row input { width: 17px; height: 17px; accent-color: var(--ydb-ink); }
.yda-hint { font-size: 13px; color: var(--ydb-muted); }
.yda-otp { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: end; }
.yda-field--otp input { font-size: 24px; letter-spacing: .35em; }
.yda-btn { display: inline-flex; align-items: center; gap: 20px; min-height: 52px; margin: 18px 0 8px; padding: 0 22px 0 24px; border: 1px solid var(--ydb-ink); border-radius: 0; background: var(--ydb-ink); color: var(--ydb-ecru); font: 500 15px var(--ydb-sans); cursor: pointer; transition: background-color .4s, border-color .4s; }
.yda-btn:not(.yda-btn--ghost)::after { content: ''; width: 16px; height: 12px; background: currentColor; -webkit-mask: var(--ydb-arrow) center / contain no-repeat; mask: var(--ydb-arrow) center / contain no-repeat; }
.yda-btn:hover { background: var(--ydb-bx); border-color: var(--ydb-bx); }
.yda-btn--ghost { background: transparent; color: var(--ydb-ink); border-color: var(--ydb-line-strong); }
.yda-btn--ghost:hover { background: transparent; border-color: var(--ydb-ink); }
.yda-btn.is-loading { opacity: .55; pointer-events: none; }
.yda-legal { font-size: 13px; line-height: 1.55; color: var(--ydb-muted); }
.yda-refuse { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--ydb-line); }
.yda-refuse summary { cursor: pointer; font-size: 14px; color: var(--ydb-muted); }
.yda-done { margin-top: 32px; padding: clamp(28px, 5vw, 56px); background: var(--ydb-ink); color: var(--ydb-ecru); }
.yda-done .yda-title { color: var(--ydb-ecru); }
.yda-done .yda-lead { color: rgba(244, 239, 229, .8); }
.yda-ok { padding: 14px 0; border-top: 1px solid var(--ydb-ink); border-bottom: 1px solid var(--ydb-line); }
.yda-link { color: inherit; }
.yda-form--inline { margin: 22px 0; }
.yda--manage .yda-recap { position: static; max-width: 640px; }
.yda--message { min-height: 50vh; }

/* ============================== Adaptatif ============================== */
@media (max-width: 1100px) {
	.ydb-formulas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ydb-card:nth-child(3) { border-left: 0; }
	.ydb-card:nth-child(n+3) { border-top: 1px solid var(--ydb-line); }
	.ydb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.ydb-progress__label { display: none; }
	.ydb-progress__step.is-current .ydb-progress__label { display: inline; position: absolute; left: 0; top: 34px; white-space: nowrap; }
	.ydb-progress { margin-bottom: 52px; }
	.ydb-card { min-height: 0; padding: 16px 14px 0; }
	.ydb-card__top { flex-direction: column; gap: 2px; font-size: 12px; }
	.ydb-card__name { margin: 26px 0 10px; font-size: clamp(20px, 6vw, 26px); font-stretch: 110%; }
	.ydb-card__price { padding-top: 20px; }
	.ydb-card__price strong { font-size: 30px; }
	.ydb-card__price em { display: none; }
	.ydb-card__total { font-size: 12px; }
	.ydb-card__cta { width: calc(100% + 28px); margin: 16px -14px 0; padding: 13px 14px; font-size: 13px; }
	.ydb-cal { grid-template-columns: 1fr; gap: 28px; }
	.ydb-day { height: 42px; }
	.ydb-grid { grid-template-columns: 1fr; }
	.ydb-recap dl > div { grid-template-columns: 1fr; gap: 2px; }
	.ydb-nav { position: sticky; bottom: 0; z-index: 5; margin: 28px calc(-1 * var(--yd-pad, 20px)) 0; padding: 12px var(--yd-pad, 20px) calc(12px + env(safe-area-inset-bottom)); background: var(--ydb-ecru); }
	.ydb-nav .ydb-btn:last-child { flex: 1; }
	.ydd-card { grid-template-areas: "kicker kicker" "name price" "flag flag" "inc inc"; }
	.ydd-card__flag { justify-self: start; }
	.ydd-item { grid-template-columns: 1fr auto; gap: 6px 12px; }
	.ydd-item__date { grid-column: 1 / -1; order: 3; }
	.yda-grid { grid-template-columns: 1fr; gap: 28px; }
	.yda-recap { position: static; }
	.yda-row, .yda-otp { grid-template-columns: 1fr; }
	.yda-image-row { grid-template-columns: 1fr auto auto; gap: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.ydb *, .ydd *, .yda * { transition: none !important; animation: none !important; }
}
