/* Pages intérieures : formules, galerie, à propos, contact, FAQ, légales */

/* ── Formules ──────────────────────────────────────────────────────────── */
.family { margin-bottom: clamp(44px, 6vw, 72px); }
.family__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.family__head .icon { width: 36px; height: 36px; color: var(--gold-700); stroke-width: 1.3; }
.family__head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.family__head p { margin: 0; color: var(--muted); font-size: .95rem; }
.option-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(22px, 3vw, 36px); background: linear-gradient(135deg, #fff, var(--gold-100)); }
.option-card:hover { box-shadow: var(--glow); border-color: var(--gold-300); }
.option-card__icon { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--gold-grad); color: #2a1a06; }
.option-card__icon .icon { width: 38px; height: 38px; stroke-width: 1.4; }
.option-card h3 { font-size: 1.6rem; }
.option-card .pkg-feats { margin: 0; }
.option-card__price { text-align: center; padding: 18px 26px; background: var(--dark); color: #fff; border-radius: var(--r-md); }
.option-card__price span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-200); }
.option-card__price strong { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1.1; }
@media (max-width: 760px) { .option-card { grid-template-columns: 1fr; text-align: left; } .option-card__price { justify-self: start; } }
.included { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.included .info { align-items: center; }

/* ── Galerie ───────────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 8px 20px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: #fff; font-weight: 500; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.chip:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--gold-200); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; list-style: none; }
.gallery li[hidden] { display: none; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 9 / 14; background: var(--dark); text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.tile:hover img { transform: scale(1.07); filter: brightness(.75); }
.tile__badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(20, 16, 12, .75); color: #fff; font-size: .8rem; }
.tile__badge .icon { width: 14px; height: 14px; }
.tile .play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(253, 250, 244, .94); color: var(--gold-700); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); transition: transform .4s var(--ease-spring); }
.tile:hover .play { transform: scale(1.15); }
.tile .play .icon { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.lightbox { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; padding: 20px; background: rgba(10, 8, 6, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox.is-open { display: grid; animation: fade-in .3s var(--ease); }
.lightbox__stage { position: relative; max-height: 92dvh; display: grid; place-items: center; }
.lightbox__media { max-width: min(92vw, 520px); max-height: 82dvh; width: auto; height: auto; border-radius: var(--r-md); background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.lightbox__cap { margin: 14px 0 0; color: #e8dcc4; text-align: center; font-size: .95rem; max-width: 60ch; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(20, 16, 12, .7); color: #fff; }
.lightbox__btn:hover { background: rgba(235, 193, 119, .3); border-color: var(--gold-200); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 14px; top: 50%; margin-top: -24px; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
body.lb-open { overflow: hidden; }

/* ── À propos ──────────────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__logo { background: #0a0806; border-radius: var(--r-xl); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-lg); }
.about__logo img { width: 100%; max-width: 420px; margin-inline: auto; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; margin-top: 12px; }
.todo-card { margin-top: 28px; padding: 22px; border: 2px dashed var(--gold-300); border-radius: var(--r-md); background: #fffaf0; }
.todo-card h3 { margin-bottom: 6px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.contact-card .icon { width: 26px; height: 26px; color: var(--gold-700); margin-top: 2px; }
.contact-card strong { display: block; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Formulaires (communs) ─────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { display: block; font-size: .86rem; color: var(--muted); margin-top: 5px; }
.input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 140px; resize: vertical; }
.input:hover { border-color: var(--gold-400); }
.input:focus { outline: none; border-color: var(--gold-700); box-shadow: 0 0 0 4px rgba(201, 154, 62, .25); }
.input[aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.error-msg { display: none; align-items: center; gap: 6px; margin-top: 6px; color: var(--danger); font-size: .88rem; font-weight: 500; }
.field.has-error .error-msg { display: flex; }
.error-msg .icon { width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: var(--gold-300); box-shadow: var(--shadow-md); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .4s var(--ease); color: var(--gold-700); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); animation: drop .4s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Légales / 404 ─────────────────────────────────────────────────────── */
.legal .prose { margin-top: 24px; }
.legal table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line-strong); vertical-align: top; }
.legal th { background: var(--cream); }
.notfound { text-align: center; padding-block: clamp(72px, 12vw, 140px); }
.notfound .big { font-family: var(--font-serif); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; background: var(--gold-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.notfound .lead { margin-inline: auto; }
.mb-16 { margin-bottom: 16px; }
