/* ==========================================================================
   Vitrine animée — appareils modernisés, badge zoom, visionneuse (overlay)
   Implémentation du design « Accueil DumAlgo.dc.html » (Claude Design).
   ========================================================================== */

/* --- Révélation au scroll : version scroll-driven (sans JS, survit aux re-rendus) --- */
.reveal { opacity: 1; transform: none; transition: none; }
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-rise both;
    animation-timeline: view();
    animation-range: entry 5% entry 45%;
  }
}
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* --- Appareils : boutons cliquables --- */
button.device {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: zoom-in;
  text-align: inherit;
}

/* Laptop modernisé : bezel avec caméra, écran encadré */
.work .device--laptop {
  border: 0;
  padding: 9px 9px 0;
  background: linear-gradient(#2c343a, #1e2528);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 22px 34px -18px rgba(30, 37, 40, 0.55);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.work .device--laptop::before {
  content: "";
  position: absolute;
  top: 3.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #55636b;
}
.work .device--laptop img { border-radius: 3px 3px 0 0; }
.work .device--laptop::after {
  height: 12px;
  bottom: -12px;
  background:
    linear-gradient(#39434a, #39434a) top center / 16% 5px no-repeat,
    linear-gradient(180deg, #59656c, #262d32);
  border-radius: 2px 2px 12px 12px;
}

/* Téléphone modernisé */
.work .device--phone {
  border: 4px solid #1e2528;
  background: #1e2528;
  border-radius: 16px;
  box-shadow: 0 16px 28px -14px rgba(30, 37, 40, 0.6);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms;
}
.work .device--phone img { border-radius: 12px; }

/* Flottement au survol de la carte */
body:not(.no-lift) .work:hover .device--phone {
  transform: translateY(-7px) rotate(-2.5deg);
  box-shadow: 0 26px 36px -14px rgba(30, 37, 40, 0.65);
}
body:not(.no-lift) .work:hover .device--laptop { transform: translateY(-3px); }

/* Badge zoom au survol d'un appareil */
.device__zoom {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: rgba(14, 63, 56, 0);
  transition: background 250ms ease;
}
.device__zoom span {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--gold);
  color: #1e2528;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 250ms ease, transform 250ms cubic-bezier(0.34, 1.4, 0.5, 1);
  box-shadow: 0 8px 18px -8px rgba(30, 37, 40, 0.6);
}
.device--phone .device__zoom span { width: 1.7rem; height: 1.7rem; font-size: 0.95rem; }
.device:hover .device__zoom,
.device:focus-visible .device__zoom { background: rgba(14, 63, 56, 0.28); }
.device:hover .device__zoom span,
.device:focus-visible .device__zoom span { opacity: 1; transform: none; }

.work__hint {
  font-size: 0.83rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
}

/* ==========================================================================
   Visionneuse — écran agrandi, scrollable
   ========================================================================== */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: color-mix(in srgb, #0e3f38 78%, transparent);
  backdrop-filter: blur(10px);
  animation: viewer-fade 240ms ease;
}
.viewer[hidden] { display: none; }
@keyframes viewer-fade { from { opacity: 0; } }

.viewer__stage {
  position: relative;
  animation: viewer-pop 340ms cubic-bezier(0.34, 1.35, 0.5, 1);
}
.viewer__stage[hidden] { display: none; }
@keyframes viewer-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
}

.viewer__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 5;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  transition: transform 200ms ease, background 200ms ease;
}
.viewer__close:hover { transform: rotate(90deg); background: #fff; }

.viewer__title {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 92;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--paper);
  text-align: center;
}
.viewer__title small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: #c2d5cf;
  margin-top: 0.15rem;
}

/* --- Laptop agrandi --- */
.vlaptop { width: min(1120px, 92vw, calc((100vh - 13rem) * 1.5)); }
.vlaptop__screen {
  position: relative;
  background: linear-gradient(#2c343a, #1e2528);
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.vlaptop__screen::before {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #55636b;
}
.vlaptop__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #2a3237;
  border-radius: 6px 6px 0 0;
  padding: 0.35rem 0.7rem;
}
.vlaptop__dots { display: flex; gap: 6px; }
.vlaptop__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55636b;
}
.vlaptop__dots i:first-child { background: #e0655a; }
.vlaptop__dots i:nth-child(2) { background: #e0b23e; }
.vlaptop__dots i:last-child { background: #57b26b; }
.vlaptop__url {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: #aebac0;
  background: #1e2528;
  border-radius: 999px;
  padding: 0.25rem 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vlaptop__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #fff;
  overflow: auto;
}

/* L'écran rend le site à 1200 px logiques (vraie largeur desktop) puis est
   mis à l'échelle pour remplir le cadre — on voit la version ordinateur,
   même sur mobile. */
.viewer .vlaptop__frame iframe {
  width: 1200px;
  height: calc(100% / var(--lscale, 1));
  transform: scale(var(--lscale, 1));
  transform-origin: top left;
}
.vlaptop--nobar .vlaptop__frame { border-radius: 6px 6px 0 0; overflow: hidden; }
.vlaptop__base {
  height: 12px;
  width: 110%;
  margin-left: -5%;
  background:
    linear-gradient(#39434a, #39434a) top center / 14% 6px no-repeat,
    linear-gradient(180deg, #5d6970, #262d32);
  border-radius: 2px 2px 14px 14px;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.55);
}

/* --- Téléphone agrandi --- */
.vphone {
  height: min(78vh, 740px);
  width: calc(min(78vh, 740px) * 0.4674); /* ratio 402/860, figé pour que l'iframe 390 px n'élargisse pas le cadre */
  background: linear-gradient(#2c343a, #1e2528);
  border-radius: 44px;
  padding: 10px;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.vphone::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 22px;
  background: #10161a;
  border-radius: 999px;
  z-index: 3;
}
.vphone__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #1e2528;
  padding-top: 36px;
  box-sizing: border-box;
}
.viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

/* L'écran rend le site à 390 px logiques (largeur iPhone réelle) puis est
   mis à l'échelle pour remplir le cadre — le contenu garde ses proportions. */
.viewer .vphone__frame iframe {
  width: 390px;
  height: calc(100% / var(--pscale, 1));
  transform: scale(var(--pscale, 1));
  transform-origin: top left;
  border-radius: 0;
}

/* Loader pendant le chargement de l'iframe */
.viewer__loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: var(--paper);
}
.viewer__loader[hidden] { display: none; }
.viewer__loader::after {
  content: "";
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: viewer-spin 800ms linear infinite;
}
@keyframes viewer-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .viewer { gap: 0.75rem; }
  .vlaptop { width: 96vw; }
  .vlaptop__screen { padding: 5px 5px 0; border-radius: 9px 9px 0 0; }
  .vlaptop__screen::before { display: none; }
  .vlaptop__bar { padding: 0.25rem 0.5rem; }
  .vlaptop__base { height: 9px; }
  .vphone { height: min(72vh, 700px); width: calc(min(72vh, 700px) * 0.4674); }
  .viewer__close { width: 2.3rem; height: 2.3rem; }
}

/* Paysage mobile : la hauteur d'écran est minuscule, on libère tout ce qui
   la consomme (titre, hint, base) pour que l'écran du laptop la remplisse */
@media (max-height: 520px) and (orientation: landscape) {
  .viewer { gap: 0.4rem; padding: 0.5rem; }
  .viewer__title, .viewer__rotate { display: none; }
  .vlaptop { width: min(96vw, calc((100vh - 3.2rem) * (16 / 9))); }
  .vlaptop__screen { padding: 3px 3px 0; border-radius: 7px; }
  .vlaptop__screen::before { display: none; }
  .vlaptop__bar { padding: 0.15rem 0.45rem; }
  .vlaptop__url { font-size: 0.68rem; padding: 0.15rem 0.8rem; }
  .vlaptop__base { display: none; }
  .viewer__close { top: 0.4rem; right: 0.4rem; width: 2rem; height: 2rem; font-size: 1.1rem; }
}

/* Invitation à passer en paysage — mobile portrait uniquement, aperçu laptop */
.viewer__rotate { display: none; margin: 0; font-family: var(--font-body); font-size: 0.82rem; color: #c2d5cf; text-align: center; }
@media (max-width: 740px) and (orientation: portrait) {
  .viewer__rotate:not([hidden]) { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .viewer, .viewer__stage, .hw, .price-card--featured, .price-pop-a, .price-pop-b, .hlap__shot { animation: none !important; }
  .hw { opacity: 1; }
  .work .device--laptop, .work .device--phone { transition: none; }
}

/* ==========================================================================
   Hero — titre mot à mot + mini-laptop vitrine
   ========================================================================== */
.hw {
  display: inline-block;
  opacity: 0;
  animation: hw-in 620ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes hw-in {
  from { opacity: 0; transform: translateY(0.5em); }
  to { opacity: 1; transform: none; }
}

.hero__inner {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__demo { border: 0; padding: 0; background: none; font: inherit; cursor: zoom-in; display: block; width: 100%; }
.hlap, .hlap__screen, .hlap__base, .hero__demo-caption { display: block; }
.hlap { position: relative; }
.hlap__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(#2c343a, #1e2528);
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 0;
  overflow: hidden;
  box-shadow: 0 34px 54px -30px rgba(14, 63, 56, 0.55);
}
.hlap__screen::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #55636b;
  z-index: 2;
}
.hlap__shot {
  display: block;
  position: absolute;
  inset: 10px 10px 0;
  width: calc(100% - 20px);
  height: calc(100% - 10px);
  background-size: cover;
  background-position: top center;
  border-radius: 4px 4px 0 0;
  opacity: 0;
  transition: opacity 800ms ease;
}
.hlap__shot.is-on { opacity: 1; }
.hlap__base {
  height: 13px;
  width: 110%;
  margin-left: -5%;
  background:
    linear-gradient(#39434a, #39434a) top center / 14% 5px no-repeat,
    linear-gradient(180deg, #5d6970, #262d32);
  border-radius: 2px 2px 13px 13px;
}
.hero__demo-caption {
  text-align: center;
  margin: 1.3rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hero__demo-caption strong { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__demo { max-width: 32rem; }
}

/* ==========================================================================
   Offre — prix animés + halo doré des cartes mises en avant
   ========================================================================== */
.price-pop-a { display: inline-block; animation: price-pop-a 380ms cubic-bezier(0.2, 0.7, 0.3, 1); }
.price-pop-b { display: inline-block; animation: price-pop-b 380ms cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes price-pop-a { from { opacity: 0; transform: translateY(0.35em); } }
@keyframes price-pop-b { from { opacity: 0; transform: translateY(0.35em); } }

.price-card--featured { animation: gold-halo 4s ease-in-out infinite; }
@keyframes gold-halo {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(201, 162, 39, 0); }
  50% { box-shadow: var(--shadow), 0 0 26px 1px rgba(201, 162, 39, 0.32); }
}

/* Zoom lent de la capture laptop au survol de la carte */
body:not(.no-lift) .work:hover .device--laptop img {
  transform: scale(1.055);
  transition: transform 2600ms cubic-bezier(0.25, 0.5, 0.3, 1);
}

/* ==========================================================================
   FAQ — ouverture animée (interpolation height auto, Chrome 131+)
   ========================================================================== */
:root { interpolate-size: allow-keywords; }
.faq-item::details-content {
  block-size: 0;
  overflow-y: clip;
  transition: content-visibility 320ms allow-discrete, block-size 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item[open]::details-content { block-size: auto; }

/* ==========================================================================
   Contact — feedback du bouton d'envoi
   ========================================================================== */
.btn.is-sent {
  background: var(--accent-deep);
  animation: price-pop-a 380ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ==========================================================================
   Footer — mini-vignettes des maquettes
   ========================================================================== */
.footer-works {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.1rem 0 0.2rem;
}
.footer-works__label {
  margin: 0 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.footer-works__thumb {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: none;
  cursor: zoom-in;
  width: 84px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.footer-works__thumb img { display: block; width: 100%; height: auto; }
.footer-works__shot {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  background-size: cover;
  background-position: top center;
}
.footer-works__thumb:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

/* ==========================================================================
   v2 (design « DumAlgo Accueil v2 ») — intégration des cartes « panneau »
   ========================================================================== */
main[data-cartes="panneau"] .card,
main[data-cartes="mixte"] .card:is(.door, .step, .work) {
  --ink: #eaf6f0; --ink-soft: #b9d2c7; --accent: #f2c94c; --accent-deep: #f7d767;
  --accent-soft: rgba(242, 201, 76, 0.14); --line: rgba(234, 246, 240, 0.22);
  background: var(--panel); color: var(--chalk);
  border: 1px solid rgba(234, 246, 240, 0.16);
  box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.5);
}
main[data-cartes="panneau"] .step__num,
main[data-cartes="mixte"] .step__num { color: var(--gold); }
main[data-cartes="panneau"] .work__body h3,
main[data-cartes="mixte"] .card.work .work__body h3 { color: var(--gold); }
main[data-cartes="panneau"] .card.work .work__hint,
main[data-cartes="mixte"] .card.work .work__hint { color: var(--muted); }
main[data-cartes="panneau"] .work__link,
main[data-cartes="mixte"] .work__link { color: var(--gold); }
main[data-cartes="panneau"] .work__link:hover,
main[data-cartes="mixte"] .work__link:hover { color: var(--gold-hot); }
main[data-cartes="panneau"] .tag,
main[data-cartes="mixte"] .card:is(.door, .step, .work) .tag { color: var(--gold); }
main[data-cartes="panneau"] .price-card--featured { border-color: var(--gold); }
main[data-cartes="panneau"] .badge { background: var(--gold); color: var(--bg); }
main[data-cartes="panneau"] .plan__list li::before {
  background: rgba(242, 201, 76, 0.14) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="%23f2c94c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-7"/%3E%3C/svg%3E') center / 0.65rem no-repeat;
}
main[data-cartes="panneau"] .field label { color: var(--chalk); }
main[data-cartes="panneau"] .field input,
main[data-cartes="panneau"] .field select,
main[data-cartes="panneau"] .field textarea {
  color: var(--chalk); background: rgba(234, 246, 240, 0.06);
  border-color: rgba(234, 246, 240, 0.3);
}
main[data-cartes="panneau"] .field input:focus,
main[data-cartes="panneau"] .field select:focus,
main[data-cartes="panneau"] .field textarea:focus { border-color: var(--gold); }
main[data-cartes="panneau"] .field select option { color: #0b2f26; }

/* ===== Détail des offres (popup fiche devis) ===== */
.price-card__detail { align-self: flex-start; margin: -0.5rem 0 1.1rem; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: none; border: 0; border-bottom: 1.5px dashed currentColor; padding: 0 0 2px; cursor: pointer; transition: color var(--transition); }
.price-card__detail:hover { color: var(--gold-ink); }
main[data-cartes="panneau"] .price-card__detail { color: var(--gold); }
main[data-cartes="panneau"] .price-card__detail:hover { color: var(--gold-hot); }
.offer-modal { --ink: #0b2f26; --ink-soft: #4a5a50; --line: #d9d0bc; position: relative; width: min(44rem, 100%); max-height: min(84vh, 44rem); overflow: auto; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); padding: clamp(1.5rem, 4vw, 2.5rem); animation: viewer-pop 340ms cubic-bezier(0.34, 1.35, 0.5, 1); }
.offer-modal h3 { color: var(--ink); font-size: 1.5rem; margin-bottom: 0.2rem; }
.offer-modal__price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin: 0 0 0.3rem; }
.offer-modal__intro { color: var(--ink-soft); margin-bottom: var(--space-3); }
.offer-modal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-bottom: var(--space-2); }
@media (max-width: 640px) { .offer-modal__cols { grid-template-columns: 1fr; } }
.offer-modal__coltitle { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.7rem; padding-bottom: 0.4rem; border-bottom: 1px dashed var(--line); }
.offer-modal__coltitle--in { color: #14503f; }
.offer-modal__coltitle--out { color: #8a8672; }
.offer-modal__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; align-content: start; }
.offer-modal__list li { position: relative; padding-left: 1.6rem; font-size: 0.93rem; color: var(--ink-soft); }
.offer-modal__list--in li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem; background: rgba(20, 80, 63, 0.12) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="%2314503f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-7"/%3E%3C/svg%3E') center / 0.65rem no-repeat; }
.offer-modal__list--out li { color: #8a8672; }
.offer-modal__list--out li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem; background: rgba(138, 134, 114, 0.14) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="%238a8672" stroke-width="2" stroke-linecap="round" d="M4 4l8 8M12 4l-8 8"/%3E%3C/svg%3E') center / 0.6rem no-repeat; }
/* Colonne de droite en mode « positif » (ex. Sur-mesure) : reprend le vert et la coche de la colonne « Inclus ». */
.offer-modal__coltitle--out.is-positive { color: #14503f; }
.offer-modal__list--out.is-positive li { color: var(--ink-soft); }
.offer-modal__list--out.is-positive li::before { background: rgba(20, 80, 63, 0.12) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="%2314503f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-7"/%3E%3C/svg%3E') center / 0.65rem no-repeat; }
.offer-modal__note { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.02em; color: #8a8672; margin: 0 0 var(--space-2); padding-top: var(--space-2); border-top: 1px dashed var(--line); }
.offer-modal__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.offer-modal__eyebrow { color: #b98a2f; }
.offer-modal .viewer__close { position: absolute; top: 1rem; right: 1rem; background: #0b2f26; color: #f7f3e8; }
.offer-modal__close-ghost { border-color: #4a5a50; color: #0b2f26; }

/* ===== Panier / sélection d'offres ===== */
.price-card.is-selected { border: 1.5px solid var(--gold); box-shadow: var(--shadow), 0 0 0 3px rgba(242, 201, 76, 0.18); }
.btn.is-selected { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.panier { padding: var(--space-3); margin-bottom: var(--space-3); }
.panier__title { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 var(--space-2); }
main[data-cartes="panneau"] .panier__title { color: var(--gold); }
.panier__lines { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; gap: 0.55rem; }
.panier__lines li { display: flex; align-items: baseline; gap: 0.6rem; font-size: 0.95rem; }
.panier__label { flex: 1; }
.panier__price { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; }
.panier__remove { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: none; border: 0; border-bottom: 1.5px dashed currentColor; padding: 0 0 1px; cursor: pointer; color: inherit; opacity: 0.65; transition: opacity var(--transition); }
.panier__remove:hover { opacity: 1; }
.panier__total { display: flex; justify-content: space-between; gap: var(--space-2); font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; padding-top: var(--space-2); border-top: 1px dashed var(--line); margin: 0; }
.panier__note { font-size: 0.8rem; opacity: 0.75; margin: 0.6rem 0 0; }

/* ===== v2 : variantes d'affichage des réalisations ===== */
.works[data-realisations="grand"] .work__media--devices { aspect-ratio: 4 / 3; padding: 8% 0 0 8%; background: linear-gradient(160deg, var(--panel), var(--bg) 75%); }
.works[data-realisations="grand"] .device--laptop { width: 100%; margin: 0; border-radius: 8px 0 0 0; }
.works[data-realisations="grand"] .device--laptop::after { display: none; }
.works[data-realisations="grand"] .device--laptop img { border-radius: 4px 0 0 0; }
.works[data-realisations="grand"] .device--phone { right: 5.5%; bottom: 5%; width: 24%; }
.works[data-realisations="ecran"] .work__media--devices { padding: 0; background: none; }
.works[data-realisations="ecran"] .device--laptop { width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; height: 100%; aspect-ratio: auto; }
.works[data-realisations="ecran"] .device--laptop::before, .works[data-realisations="ecran"] .device--laptop::after { display: none; }
.works[data-realisations="ecran"] .device--laptop img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; }
.works[data-realisations="ecran"] .device--phone { right: 6%; bottom: 8%; width: 21%; }
body:not(.no-lift) .works[data-realisations="ecran"] .work:hover .device--laptop { transform: none; }
.works[data-taille="large"] { grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); }
@media (max-width: 560px) { .works[data-taille="large"] { grid-template-columns: 1fr; } }

/* ===== v2 : teaser Symbolea avec mockups ===== */
.teaser { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 700px) { .teaser { grid-template-columns: 1fr; } }
.teaser__devices { border: 0; padding: 2.5% 0 0; background: radial-gradient(110% 85% at 15% 0%, rgba(234, 246, 240, 0.07), transparent 60%); }
.teaser__devices .device--laptop { width: 84%; border: 0; padding: 9px 9px 0; background: linear-gradient(#2c343a, #1e2528); border-radius: 12px 12px 0 0; box-shadow: 0 22px 34px -18px rgba(0, 0, 0, 0.55); }
.teaser__devices .device--laptop::after { height: 12px; bottom: -12px; background: linear-gradient(#39434a, #39434a) top center / 16% 5px no-repeat, linear-gradient(180deg, #59656c, #262d32); border-radius: 2px 2px 12px 12px; }
.teaser__devices .device--laptop img { border-radius: 3px 3px 0 0; }
.teaser__devices .device--phone { right: 0; bottom: 18%; width: 19%; border: 4px solid #1e2528; background: #1e2528; border-radius: 16px; box-shadow: 0 16px 28px -14px rgba(0, 0, 0, 0.6); }
.teaser__devices .device--phone img { border-radius: 12px; }

/* Visionneuse : mode image (captures Symbolea) */
.vlaptop__frame img[data-viewer-img], .vphone__frame img[data-viewer-img] { width: 100%; height: auto; background: #fff; display: block; }
