/* =========================================================
   SOFA DÉCOR — sections v2 (matières, engagements, configurateur,
   vidéos, FAQ, footer). Loaded after style.css.
   ========================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link { color: var(--gold-2); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease-out); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.btn .ico { width: 20px; height: 20px; stroke: none; }
.btn:hover .ico { transform: none; }

/* Socials */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease-out); }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); transform: translateY(-3px); }
.socials--lg a { width: 52px; height: 52px; }
.socials--lg a svg { width: 21px; height: 21px; }
.menu__foot { display: grid; gap: 18px; }
.menu__foot p { margin: 0; }

/* Materials */
.materials { background: var(--bg-2); }
.materials .section__head .body { max-width: 40ch; }
.materials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.mat { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mat__img { aspect-ratio: 1; overflow: hidden; }
.mat__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.9); }
.mat:hover .mat__img img { transform: scale(1.22); filter: saturate(1.1); }
.mat__body { position: absolute; inset: auto 0 0 0; padding: 48px 24px 22px; background: linear-gradient(180deg, transparent, rgba(14, 12, 10, .92) 45%); display: grid; gap: 4px; }
.mat__body h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; }
.mat__body p { margin: 0; color: var(--muted); font-size: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease-out), opacity .5s; }
.mat:hover .mat__body p, .mat:focus-within .mat__body p { max-height: 80px; opacity: 1; }
.mat__tag { position: absolute; right: 18px; top: 14px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-2); padding: 6px 10px; border-radius: 999px; }
@media (hover: none) { .mat__body p { max-height: none; opacity: 1; } }

/* Pledges */
.pledges { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.pledges__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.pledge { padding: clamp(36px, 4vw, 60px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.pledge:first-child { border-left: 0; padding-left: 0; }
.pledge svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.pledge h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2vw, 30px); margin: 0 0 8px; line-height: 1.1; }
.pledge p { margin: 0; color: var(--muted); font-size: 14px; }

/* Configurator */
.config { background: var(--bg-2); }
.config__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.config__preview { position: sticky; top: 100px; }
.config__frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 6px; background: var(--surface); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.config__frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(230, 203, 133, .25); border-radius: inherit; pointer-events: none; }
.config__img { width: 100%; height: 100%; object-fit: cover; }
.config__badge { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(14, 12, 10, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 13px; letter-spacing: .06em; }
.config__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--c, #27389a); border: 2px solid rgba(255, 255, 255, .6); transition: background .5s; }
.config__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.config__form { display: grid; gap: 34px; }
.config__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.config__step legend { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: clamp(26px, 2.2vw, 34px); margin-bottom: 18px; padding: 0; }
.config__step legend span { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.config__step legend small { font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.config__color-name { font-family: var(--font-body); font-size: 13px; font-style: normal; color: var(--gold-2); }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts label, .colors label { position: relative; cursor: pointer; }
.opts input, .colors input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opts span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: all .4s var(--ease-out); }
.opts span i { width: 36px; height: 36px; border-radius: 50%; background-size: cover; background-position: center; flex: none; }
.opts--chips span { padding: 0 18px; }
.opts input:checked + span { border-color: var(--gold); color: var(--ink); background: rgba(201, 162, 74, .12); }
.opts--chips input:checked + span { background: var(--gold); color: var(--gold-ink); }
.opts input:focus-visible + span, .colors input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.opts label:hover span { border-color: rgba(244, 238, 228, .4); color: var(--ink); }
.opts--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opts--cards span { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 10px; border-radius: var(--radius); overflow: hidden; font-size: 13px; text-align: center; line-height: 1.3; min-height: 0; }
.opts--cards span img { aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 10px; filter: grayscale(.6) brightness(.8); transition: filter .5s, transform .8s var(--ease-out); }
.opts--cards input:checked + span img { filter: none; }
.opts--cards label:hover span img { transform: scale(1.06); }
.colors { display: flex; flex-wrap: wrap; gap: 12px; }
.colors span { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .4s var(--ease-out), box-shadow .4s; }
.colors label:hover span { transform: scale(1.1); }
.colors input:checked + span { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--gold); transform: scale(1.06); }
.config__summary { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 22px; }
.config__recap { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.35; color: var(--ink); }
.config__recap b { font-weight: 500; color: var(--gold-2); font-style: italic; }
.config__actions, .form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__actions .btn { flex: 1 1 220px; }

/* Videos */
.videos__grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.videos__intro .h2 { margin-bottom: 24px; }
.videos__follow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phone { position: relative; }
.phone--offset { margin-top: clamp(40px, 8vw, 120px); }
.phone__screen { position: relative; aspect-ratio: 9/16; border-radius: 34px; overflow: hidden; background: #000; border: 8px solid #1b1814; box-shadow: 0 0 0 1px rgba(230, 203, 133, .25), 0 50px 90px rgba(0, 0, 0, .55); cursor: pointer; }
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); background: #0b0a08; border-radius: 999px; z-index: 3; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); transition: transform 1.4s var(--ease-out), filter .6s; }
.phone:hover .phone__screen img { transform: scale(1.06); filter: brightness(.6); }
.phone__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; background: #000; }
.phone__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; z-index: 2; transition: transform .5s var(--ease-out); }
.phone__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--gold-2); animation: ping 2.4s var(--ease-out) infinite; }
.phone__play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.phone:hover .phone__play { transform: scale(1.1); }
.phone__brand { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: rgba(14, 12, 10, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.phone__brand svg { width: 16px; height: 16px; }
.phone__link { display: inline-block; margin-top: 16px; font-size: 13px; letter-spacing: .08em; color: var(--muted); transition: color .3s; }
.phone__link:hover { color: var(--gold-2); }
.phone.is-playing .phone__play, .phone.is-playing .phone__brand { display: none; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__grid header { position: sticky; top: 110px; }
.faq__grid .h2 { margin-bottom: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.25; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-2); }
.qa summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s, border-color .4s, transform .5s var(--ease-out); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); transform: rotate(180deg); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 60px 28px 0; color: var(--muted); }

/* Contact extras */
.contact__info small { font-family: var(--font-body); font-size: 14px; color: var(--muted); }
.contact__info .contact__mail { font-size: clamp(19px, 1.8vw, 26px); word-break: break-all; }

/* Footer v2 */
.footer { padding-top: 0; }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.footer__cta-title { margin: 0; font-family: var(--font-display); font-size: clamp(40px, 5vw, 76px); line-height: 1; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 34ch; margin: 18px 0 22px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h3 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 8px 0 10px; }
.footer__col a, .footer__col p { color: var(--muted); margin: 0; transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 1100px) {
  .videos__grid { grid-template-columns: 1fr 1fr; }
  .videos__intro { grid-column: 1 / -1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .opts--cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .materials__grid { grid-template-columns: 1fr 1fr; }
  .pledges__list { grid-template-columns: 1fr 1fr; }
  .pledge { border-top: 1px solid var(--line); }
  .pledge:nth-child(-n+2) { border-top: 0; }
  .pledge:nth-child(3) { border-left: 0; padding-left: 0; }
  .config__grid, .faq__grid { grid-template-columns: 1fr; }
  .config__preview { position: relative; top: 0; max-width: 460px; }
  .faq__grid header { position: static; }
}
@media (max-width: 520px) {
  .materials__grid { grid-template-columns: 1fr; }
  .pledges__list { grid-template-columns: 1fr; }
  .pledge, .pledge:nth-child(-n+2) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .pledge:first-child { border-top: 0; }
  .opts--cards { grid-template-columns: repeat(2, 1fr); }
  .phone--offset { margin-top: 0; }
  .videos__grid { grid-template-columns: 1fr; }
  .phone { max-width: 320px; margin-inline: auto; width: 100%; }
  .footer__cols { grid-template-columns: 1fr; }
  .qa__a p { padding-right: 0; }
}
.menu-open .menu nav a:nth-child(6) { transition-delay: .3s; }
.menu-open .menu nav a:nth-child(7) { transition-delay: .35s; }
.menu-open .menu nav a:nth-child(7) { transition-delay: .35s; }
