/* Page « Tour-opérateurs & organisateurs de voyages » (complète partners.css : mêmes composants que les autres pages partenaires) */
.container.prose:has(> .tour), .cat-page:has(> .tour) { max-width: none; }
.cat-page > .tour, .cat-page > .tour:not(.cat-cards):not(.trip-cards) { max-width: none; }

/* Partage des rôles */
.tour-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tour-role { padding: 1.4rem 1.4rem 1.5rem; border-radius: 14px; border: 1px solid var(--c-line); background: #fff; box-shadow: 0 6px 18px rgba(69, 9, 15, 0.06); }
.tour-role h3 { margin: 0 0 1rem; font-size: 1.15rem; line-height: 1.3; }
.tour-role--you { border-top: 5px solid var(--c-amber); }
.tour-role--you h3 { color: var(--c-ink); }
.tour-role--us { border-top: 5px solid var(--c-sign); background: linear-gradient(180deg, #fbf1ef 0, #fff 7rem); }
.tour-role--us h3 { color: var(--c-sign); }
.tour-role--you .pp-checks li::before { background: var(--c-amber); color: var(--c-ink); }

/* Ce que nous recherchons */
.tour-needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.tour-need { display: grid; gap: 0.35rem; align-content: start; padding: 1.1rem 1.2rem; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-mist); line-height: 1.45; }
.tour-need strong { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--c-deep); font-size: 1.05rem; }
.tour-need span { color: var(--c-muted); }
.tour-need--prio { background: #fff; border: 2px solid var(--c-sign); box-shadow: 0 10px 26px rgba(123, 17, 32, 0.12); }
.tour-badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--c-sign); color: #fff !important; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* Formulaire */
.tour-draft { margin: 0 0 1rem; }
.tour .pt-row .tour-chips--wide { display: grid !important; grid-template-columns: 1fr; gap: 0.5rem; width: 100%; }
.tour .pt-row .tour-chips--wide .wz-chip span { white-space: normal !important; justify-content: flex-start !important; text-align: left; line-height: 1.4; padding: 0.7rem 1rem; }
.tour .pt-row .tour-chips--wide .wz-chip input:checked + span { padding-left: 2.2rem; }
.tour .wz__send.is-sending { opacity: 0.7; cursor: progress; }

.tour-rules { margin: 0 0 1.25rem; padding: 0.95rem 1.1rem; border-radius: 10px; border-left: 5px solid var(--c-amber); background: #fbf6ec; line-height: 1.5; }
.tour-rules p { margin: 0; }

/* Programme jour par jour */
.tour-days { margin-bottom: 1rem; }
.tour-day__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 0.9rem; }
.tour-day__head .wz-day__title { margin: 0; }
.tour-day__remove { border: 0; background: none; color: var(--c-sign); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.92rem; padding: 0.3rem 0; }
.pt-grid > .tour-f--third { grid-column: span 2; }
.tour-day .wz-q { margin-bottom: 1.1rem; }
.tour-day input[type="time"] { width: 100%; }
.pt-grid > .tour-day__amp { grid-column: 1 / -1; margin: -0.4rem 0 1rem; font-weight: 700; color: #1f7a4d; }
.pt-grid > .tour-day__amp.is-long { color: #c0392b; }
.tour-days__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.25rem; margin: 0 0 1.5rem; }
.tour-days__total { font-weight: 700; color: var(--c-deep); }
.tour-warn { margin: -0.75rem 0 1.25rem; color: #c0392b; font-weight: 600; }

/* Saisons */
.tour-season { position: relative; display: grid; grid-template-columns: auto minmax(11rem, 1.3fr) auto minmax(9rem, 1fr) auto minmax(9rem, 1fr) 2.2rem; gap: 0.5rem 0.7rem; align-items: center;
    margin: 0 0 0.6rem; padding: 0.7rem 0.8rem; border-radius: 10px; background: var(--c-mist); }
.tour-season .wz-sub { margin: 0; white-space: nowrap; }
.tour-season input[type="date"] { width: 100%; }
.tour-season__remove { grid-column: 7; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: #fff; color: var(--c-sign); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.tour-season__remove:hover { background: var(--c-sign); color: #fff; }
.tour-season__add { margin-top: 0.3rem; }

/* Grille de prix */
.tour-prices__table { display: grid; gap: 0.5rem; }
.tour-prices__row { display: grid; grid-template-columns: minmax(10rem, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 0.6rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: 10px; background: #eef6f0; border-left: 5px solid #3f8f5e; }
.tour-prices__row[data-price-row="1"] { background: #fdf3e2; border-color: #c88c2e; }
.tour-prices__row[data-price-row="2"] { background: #fbecee; border-color: #a8324a; }
.tour-prices__row[data-price-row="3"] { background: #ebf2fa; border-color: #3b6ea5; }
.tour-prices__row--head { padding-block: 0; background: none; border-left-color: transparent; font-weight: 700; font-size: 0.9rem; color: var(--c-muted); }
.tour-prices__label { font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.tour-prices__size { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tour-prices .pt-num input { width: 100%; max-width: none; background: #fff; }

/* Photos : 8 emplacements */
.tour-photos .pt-photo__label .pt-req { margin-left: 0.15rem; }
.tour .pt-f--photos.is-invalid .pt-photo { border-color: #c0392b; }

@media (max-width: 63.999em) {
    .tour-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tour-season { grid-template-columns: auto minmax(0, 1fr) 2.2rem; }
    .tour-season .wz-sub { grid-column: 1; }
    .tour-season select, .tour-season input[type="date"] { grid-column: 2; }
    .tour-season__remove { grid-column: 3; grid-row: 1; }
}
@media (max-width: 47.999em) {
    .tour-roles { grid-template-columns: 1fr; }
    .tour-prices__row--head { display: none; }
    .tour-prices__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tour-prices__label { grid-column: 1 / -1; }
    .tour-prices__size { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block; margin: 0 0 0.25rem; font-size: 0.85rem; font-weight: 600; color: var(--c-muted); }
}
@media (max-width: 39.999em) {
    .tour-needs { grid-template-columns: 1fr; }
    .pt-grid > .tour-f--third { grid-column: 1 / -1; }
    .tour-day { padding: 1rem 0.9rem 1.1rem 1rem; }
    .tour-day__head { align-items: flex-start; }
}

/* Pays de destination : liste déroulante à choix multiples */
.tour-ms { position: relative; }
.tour-ms__btn { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-height: 2.9rem; padding: 0.55rem 2.6rem 0.55rem 0.9rem; border: 2px solid var(--c-line); border-radius: 10px; background: #fff; cursor: pointer; list-style: none; color: var(--c-muted); position: relative; line-height: 1.35; }
.tour-ms__btn::-webkit-details-marker { display: none; }
.tour-ms__btn::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 0.55rem; height: 0.55rem; border-right: 2px solid var(--c-sign); border-bottom: 2px solid var(--c-sign); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.tour-ms[open] .tour-ms__btn::after { transform: translateY(-30%) rotate(-135deg); }
.tour-ms.has-value .tour-ms__btn { color: var(--c-ink); font-weight: 600; }
.tour-ms[open] .tour-ms__btn, .tour-ms__btn:focus-visible { border-color: var(--c-sign); box-shadow: 0 0 0 4px rgba(123, 17, 32, 0.12); outline: none; }
.wz-q.is-invalid .tour-ms__btn { border-color: #c0392b; }
.tour-ms__panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 0.35rem); padding: 0.7rem; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(69, 9, 15, 0.18); }
.tour .tour-ms__search { width: 100%; min-height: 2.6rem; margin: 0 0 0.5rem; padding: 0.45rem 0.8rem; border: 2px solid var(--c-line); border-radius: 8px; font: inherit; }
.tour-ms__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem 0.6rem; max-height: 17rem; overflow-y: auto; }
.tour-ms__opt { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.5rem; border-radius: 6px; cursor: pointer; }
.tour-ms__opt:hover { background: var(--c-mist); }
.tour-ms__opt input { width: 1.1rem; height: 1.1rem; accent-color: var(--c-sign); }
.tour-ms__opt:has(input:checked) { font-weight: 700; color: var(--c-sign); }
.tour-ms__done { margin: 0.5rem 0 0; text-align: right; }
@media (max-width: 39.999em) { .tour-ms__list { grid-template-columns: 1fr; max-height: 14rem; } }
