/* Séjours — site public. Styles neutres qui s'adaptent aux thèmes clairs et sombres. */
.fffd-public, .fffd-list, .fffd-dests, .fffd-gallery, .fffd-signup { --line: color-mix(in srgb, currentColor 14%, transparent); --soft: color-mix(in srgb, currentColor 6%, transparent); }
.fffd-public { display: grid; gap: 24px; margin: 1.5em 0; }
.fffd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6em 1.3em; border: 0; border-radius: 999px; background: var(--fffd-accent, #bf561c); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s; }
.fffd-btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.fffd-btn[disabled] { opacity: .6; pointer-events: none; }

.fffd-list { display: grid; gap: 12px; margin: 1em 0; padding: 0; list-style: none; }
.fffd-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 0; padding: 12px; border: 1px solid var(--line); border-left: 4px solid var(--c, #1f6f8b); border-radius: 16px; background: var(--soft); }
.fffd-item__img { display: block; width: 92px; height: 72px; overflow: hidden; border-radius: 10px; }
.fffd-item__img img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.fffd-item__body { min-width: 0; }
.fffd-item__body p { margin: 0; }
.fffd-item__dest a { font-weight: 700; color: inherit; text-decoration: none; }
.fffd-item__dest a:hover { text-decoration: underline; }
.fffd-item__dates { font-weight: 600; }
.fffd-item__dates span, .fffd-item__price { opacity: .72; font-weight: 400; font-size: .94em; }
.fffd-item__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; }
.fffd-tag { padding: 4px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .85em; font-weight: 600; white-space: nowrap; }
.fffd-item--last .fffd-tag { background: #fcf0d4; border-color: #f1d08a; color: #6b4a00; }
.fffd-tag--full { background: transparent; text-decoration: none; opacity: .75; }
.fffd-item--full { opacity: .72; }
.fffd-empty { opacity: .75; }
@media (max-width: 640px) {
	.fffd-item { grid-template-columns: 1fr; gap: 10px; }
	.fffd-item__img { width: 100%; height: 140px; }
	.fffd-item__cta { justify-content: space-between; }
}

/* Grille des destinations */
.fffd-dests { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; margin: 1.5em 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .fffd-dests { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fffd-dests { grid-template-columns: 1fr; } }
.fffd-dest { margin: 0; }
.fffd-dest a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; color: #fff; text-decoration: none; background: #20302c; }
.fffd-dest__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .8s ease; }
.fffd-dest a:hover img { transform: scale(1.05); }
.fffd-dest a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 60%); }
.fffd-dest__body { position: absolute; inset: auto 0 0; z-index: 1; display: grid; gap: 4px; padding: 20px; }
.fffd-dest__name { font-size: 1.5em; font-weight: 700; line-height: 1.1; }
.fffd-dest__sub { opacity: .9; font-size: .95em; }
.fffd-dest__next { justify-self: start; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--c); font-size: .8em; font-weight: 600; }

/* Galerie mosaïque */
.fffd-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; gap: 8px; margin: 1.5em 0; }
.fffd-gallery__item { display: block; overflow: hidden; border-radius: 10px; }
.fffd-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.fffd-gallery__item:nth-child(6n + 4) { grid-row: span 2; }
.fffd-gallery__item img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .6s ease; }
.fffd-gallery__item:hover img { transform: scale(1.04); }
.fffd-gallery[data-count="1"] { grid-template-columns: 1fr; grid-auto-rows: 420px; }
.fffd-gallery[data-count="1"] .fffd-gallery__item { grid-column: auto; grid-row: auto; }
@media (max-width: 700px) { .fffd-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } }

.fffd-zoom { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; padding: 0; border: 0; background: rgba(0, 0, 0, .92); color: #fff; }
.fffd-zoom::backdrop { background: rgba(0, 0, 0, .92); }
.fffd-zoom img { position: absolute; inset: 0; margin: auto; max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 0; }
.fffd-zoom button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; cursor: pointer; }
.fffd-zoom__prev { left: 16px; top: 50%; margin-top: -26px; }
.fffd-zoom__next { right: 16px; top: 50%; margin-top: -26px; }
.fffd-zoom__close { right: 16px; top: 16px; }
.fffd-zoom__count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 14px; opacity: .8; }

/* Fenêtre d'inscription */
html.fffd-lock { overflow: hidden; }
.fffd-signup { width: min(560px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; overflow: auto; background: #fff; color: #1b2422; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.fffd-signup::backdrop { background: rgba(5, 12, 11, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.fffd-signup__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.fffd-signup__media { height: 190px; overflow: hidden; }
.fffd-signup__media img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.fffd-signup__body { padding: 22px 26px 26px; border-top: 5px solid var(--c, #1f6f8b); }
.fffd-signup__kicker { margin: 0 0 4px; font-size: .85em; color: #56625e; }
.fffd-signup__title { margin: 0 0 8px; font-size: 1.7em; line-height: 1.1; color: #1b2422; }
.fffd-signup__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.fffd-signup__facts li { margin: 0; padding: 3px 10px; border-radius: 999px; background: #f2ece1; font-size: .85em; font-weight: 600; }
.fffd-signup__price { margin: 0 0 6px; font-weight: 600; }
.fffd-signup__price:empty { display: none; }
.fffd-signup__more { display: inline-block; margin-bottom: 14px; color: var(--c, #1f6f8b); font-weight: 600; }
.fffd-form { display: grid; gap: 12px; }
.fffd-f { display: grid; gap: 4px; margin: 0; }
.fffd-f > span { font-size: .9em; font-weight: 600; }
.fffd-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .fffd-f2 { grid-template-columns: 1fr; } }
.fffd-form input[type=text], .fffd-form input[type=email], .fffd-form input[type=tel], .fffd-form select, .fffd-form textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #ddd5c6; border-radius: 10px; background: #fbf8f2; color: #1b2422; font: inherit; font-size: 1rem;
}
.fffd-form input:focus, .fffd-form select:focus, .fffd-form textarea:focus { outline: none; border-color: var(--c, #1f6f8b); background: #fff; }
.fffd-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .85em; color: #56625e; }
.fffd-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.fffd-hp { position: absolute; left: -9999px; }
.fffd-form__error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fbe4dc; color: #7a2a0c; font-weight: 600; }
.fffd-form__done { padding: 14px 16px; border-radius: 12px; background: #e3f1e8; color: #164a2c; font-weight: 600; }
.fffd-signup__closed { padding: 12px 14px; border-radius: 10px; background: #f2ece1; }

/* Page destination (modèle par défaut) */
.fffd-page { padding: calc(var(--header-h, 0px) + 40px) 20px 80px; }
.fffd-page__inner { max-width: 1100px; margin: 0 auto; }
.fffd-page__kicker { margin: 0; font-size: .8em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.fffd-page__title { margin: .2em 0 .2em; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; }
.fffd-page__sub { margin: 0; font-size: 1.2em; opacity: .8; }
.fffd-page__desc { max-width: 760px; font-size: 1.08em; line-height: 1.7; }
.fffd-page__dates { margin-top: 2.5em; }

.fffd-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9999; display: flex; gap: 14px; align-items: flex-start; width: min(560px, 92vw); padding: 16px 18px; transform: translateX(-50%); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); font-weight: 600; }
.fffd-toast--ok { background: #e3f1e8; color: #164a2c; }
.fffd-toast--ko { background: #fbe4dc; color: #7a2a0c; }
.fffd-toast button { margin-left: auto; border: 0; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 759.98px) { .fffd-toast { bottom: 90px; } }
