/* Page Réalisations : étude de projet ArtLink (20/11/2026). Chargé uniquement par realisations.html. */
.real-case { padding: 4.5rem 0 5rem; background: var(--forest); color: #ece7dd; border-bottom: 1px solid var(--line); }
body.center-page-text #main-content .real-case,
body.center-page-text #main-content .real-case * { text-align: left; }
.real-case-head { max-width: 46rem; margin: 0 auto 2.25rem; }
body.center-page-text #main-content .real-case-head,
body.center-page-text #main-content .real-case-head * { text-align: center; }
.real-case-kicker { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft); }
.real-case-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.03em; line-height: 1.05; margin-top: .6rem; color: #fff; }
.real-case-lead { margin-top: 1rem; font-size: 1.1rem; line-height: 1.65; color: #c9c2b4; }

.real-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #0b0a0e; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.real-shot img { display: block; width: 100%; height: auto; }
.real-shot-bar { display: flex; gap: .4rem; padding: .65rem .85rem; background: #1d1c22; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.real-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3842; display: block; }
.real-shot figcaption { padding: .75rem 1rem; font-size: .85rem; color: #b5c7bc; background: #163829; border-top: 1px solid rgba(255, 255, 255, .06); }

.real-case-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; margin: 3rem 0; align-items: start; }
.real-case-body h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }
.real-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.real-list li { position: relative; padding-left: 1.4rem; color: #c9c2b4; line-height: 1.55; }
.real-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); }
.real-list b { color: #fff; font-weight: 600; }
.real-facts { margin: 0; display: grid; gap: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; overflow: hidden; }
.real-facts div { padding: .9rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.real-facts div:last-child { border-bottom: 0; }
.real-facts dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #b5c7bc; }
.real-facts dd { margin: .2rem 0 0; color: #fff; }

.real-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.real-shot-wide { grid-column: 1 / -1; }

@media (max-width: 860px) {
  .real-case { padding: 3rem 0 3.5rem; }
  .real-case-body { grid-template-columns: 1fr; gap: 2rem; margin: 2.25rem 0; }
  .real-gallery { grid-template-columns: 1fr; }
}

/* « Au-delà du site » : newsletter et campagne de dons */
.real-more { padding: 4.5rem 0; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.real-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; align-items: stretch; }
.real-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.real-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.real-card-body { display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem 1.6rem 1.7rem; flex: 1; }
body.center-page-text #main-content .real-card-body, body.center-page-text #main-content .real-card-body * { text-align: left; }
.real-card-kicker { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.real-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); }
.real-card p { color: var(--ink-soft); line-height: 1.6; }
.real-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.real-chips li { font-size: .8rem; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; }
.real-chips b { color: var(--forest); font-weight: 700; background: var(--lime); border-radius: 4px; padding: 0 .25rem; }
.real-card-gain { margin-top: auto; padding: .85rem 1rem; background: var(--accent-subtle); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; font-size: .92rem; }
.real-card-gain b { color: var(--ink); }
.real-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 860px) {
  .real-more { padding: 3rem 0; }
  .real-more-grid { grid-template-columns: 1fr; }
  .real-card-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* Maquettes animées des cartes « Au-delà du site » (illustrations en HTML/CSS) */
.real-mock { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.real-mock--news { background: radial-gradient(30rem 16rem at 80% 0%, rgba(232, 112, 62, .25), transparent 60%), linear-gradient(160deg, #f6efe6, #eadfce); }
.real-mock--don { background: radial-gradient(30rem 16rem at 10% 100%, rgba(212, 175, 55, .28), transparent 60%), linear-gradient(160deg, #e9ecd9, #d5dbb8); }
.real-mock * { text-align: left; }
.mk-browser { position: absolute; left: 6%; top: 10%; width: 66%; background: #fff; border: 1px solid rgba(20, 18, 14, .12); border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(20, 18, 14, .35); transform: rotate(-1.5deg); }
.mk-bar { display: flex; align-items: center; gap: .3rem; padding: .4rem .55rem; background: #f1ede6; border-bottom: 1px solid #e6e0d5; }
.mk-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d6cfc2; display: block; }
.mk-bar span { margin-left: .4rem; font-family: var(--font-mono); font-size: .52rem; color: var(--muted); background: #fff; border: 1px solid #e6e0d5; border-radius: 5px; padding: .1rem .45rem; }
.mk-sub { padding: .9rem .9rem 1rem; text-align: center; }
.mk-sub b { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: #14120e; }
.mk-sub small { display: block; font-size: .56rem; color: var(--muted); margin-top: .2rem; }
.mk-sub-form { display: flex; gap: .3rem; margin: .7rem auto 0; max-width: 85%; }
.mk-sub-form span { flex: 1; font-size: .52rem; color: var(--muted-2); border: 1px solid #e6e0d5; border-radius: 6px; padding: .35rem .45rem; }
.mk-sub-form em { font-style: normal; font-size: .55rem; font-weight: 700; color: #fff; background: #ff6719; border-radius: 6px; padding: .35rem .6rem; animation: mkPulse 3.2s ease-in-out infinite; }
.mk-lines { display: grid; gap: .3rem; margin-top: .75rem; }
.mk-lines i { display: block; height: 5px; border-radius: 4px; background: #ece7de; }

.mk-phone { position: absolute; right: 6%; bottom: -6%; width: 30%; background: #14120e; border-radius: 18px; padding: 5px; box-shadow: 0 20px 40px -14px rgba(20, 18, 14, .5); transform: rotate(3deg); }
.mk-phone-screen { background: #fbf9f5; border-radius: 14px; overflow: hidden; padding-bottom: .6rem; }
.mk-notch { width: 34%; height: 9px; margin: 4px auto 0; background: #14120e; border-radius: 0 0 7px 7px; }
.mk-inbox-head { font-size: .55rem; font-weight: 700; color: var(--ink); padding: .45rem .55rem .3rem; }
.mk-mail { display: flex; gap: .35rem; align-items: flex-start; margin: 0 .4rem .3rem; padding: .35rem .4rem; background: #fff; border: 1px solid #eee7dc; border-radius: 7px; }
.mk-mail b { display: block; font-size: .5rem; color: var(--ink); }
.mk-mail small { display: block; font-size: .45rem; color: var(--muted); }
.mk-mail.is-new { border-color: var(--accent-border); animation: mkArrive 5s ease-in-out infinite; }
.mk-dot { flex: none; width: 6px; height: 6px; margin-top: .2rem; border-radius: 50%; background: var(--accent); }
.mk-toast { position: absolute; left: 10%; bottom: 9%; display: inline-flex; align-items: center; gap: .4rem; background: #14120e; color: #fff; font-size: .6rem; font-weight: 600; padding: .35rem .65rem .35rem .4rem; border-radius: 999px; box-shadow: 0 10px 20px -8px rgba(20, 18, 14, .5); animation: mkToast 5s ease-in-out infinite; }
.mk-toast span { background: var(--accent); border-radius: 999px; padding: .05rem .4rem; font-size: .55rem; }

.mk-campaign { position: relative; }
.mk-campaign img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border: 0; }
.mk-campaign-text { padding: .6rem .8rem .8rem; }
.mk-campaign-text b { font-family: var(--font-serif); font-weight: 600; font-size: .85rem; color: #14120e; }
.mk-donate { position: absolute; right: 5%; bottom: 7%; width: 36%; background: #fff; border: 1px solid rgba(20, 18, 14, .12); border-radius: 12px; padding: .6rem; box-shadow: 0 22px 44px -16px rgba(20, 18, 14, .45); transform: rotate(2.5deg); display: grid; gap: .45rem; }
.mk-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f1ede6; border-radius: 7px; padding: 2px; }
.mk-tabs span { font-size: .5rem; font-weight: 600; text-align: center; padding: .28rem 0; border-radius: 5px; color: var(--muted); }
.mk-tabs span.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.mk-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; }
.mk-amounts span { font-size: .55rem; font-weight: 700; text-align: center; padding: .35rem 0; border: 1px solid #e6e0d5; border-radius: 6px; color: var(--ink); }
.mk-amounts span { animation: mkPick 6s infinite; }
.mk-amounts span:nth-child(2) { animation-delay: 2s; }
.mk-amounts span:nth-child(3) { animation-delay: 4s; }
.mk-donate em { display: block; font-style: normal; text-align: center; font-size: .58rem; font-weight: 700; color: #fff; background: #3d5a2a; border-radius: 999px; padding: .4rem; }
.mk-donate small { text-align: center; font-size: .45rem; color: var(--muted); }

@keyframes mkPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes mkArrive { 0%, 8% { transform: translateY(-6px); opacity: 0; } 18%, 100% { transform: none; opacity: 1; } }
@keyframes mkToast { 0%, 30% { opacity: 0; transform: translateY(8px); } 40%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes mkPick { 0%, 33% { background: var(--ink); color: #fff; border-color: var(--ink); } 34%, 100% { background: #fff; color: var(--ink); border-color: #e6e0d5; } }
@media (prefers-reduced-motion: reduce) {
  .mk-sub-form em, .mk-mail.is-new, .mk-toast, .mk-amounts span { animation: none; }
  .mk-amounts span:nth-child(2) { background: var(--ink); color: #fff; border-color: var(--ink); }
}
@media (max-width: 560px) {
  .mk-browser { width: 74%; left: 4%; }
  .mk-phone { width: 34%; right: 4%; }
  .mk-donate { width: 44%; right: 3%; }
}
.mk-tag { position: absolute; left: .7rem; top: .6rem; z-index: 2; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: rgba(255, 255, 255, .75); border: 1px solid rgba(20, 18, 14, .1); border-radius: 999px; padding: .15rem .55rem; }
.mk-browser { top: 14%; }
@media (max-width: 560px) {
  .real-mock { aspect-ratio: 4 / 3.4; }
  .real-mock--news .mk-browser { width: 88%; left: 6%; top: 17%; }
  .real-mock--news .mk-phone { display: none; }
  .real-mock--news .mk-toast { left: auto; right: 7%; bottom: 8%; }
  .mk-sub { padding: .7rem .6rem .8rem; }
  .mk-sub-form { max-width: 100%; }
  .real-mock--don .mk-browser { width: 80%; }
  .real-mock--don .mk-donate { width: 52%; bottom: 5%; }
}
/* Visuel d'un projet ajouté depuis le CMS (image au lieu d'une maquette animée). */
.real-mock--image { background: var(--paper-2); }
.real-mock--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.real-mock--empty { background: linear-gradient(160deg, var(--paper), var(--paper-2)); }
.real-gallery > .real-shot:nth-child(2):last-child { grid-column: 1 / -1; }

/* Refonte lot 3 (28/11/2026) : catégories, aperçu ordinateur + téléphone, captures plus vivantes */
.real-cats { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.75rem; }
.real-cats a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-card); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.real-cats a:hover { border-color: var(--accent); transform: translateY(-1px); }
.real-cats a span { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--lime); color: var(--forest); font-size: .75rem; }
.real-stage { position: relative; }
.real-stage.has-phone { margin-right: clamp(0px, 6vw, 90px); }
.real-phone { position: absolute; right: clamp(-90px, -6vw, 0px); bottom: -2.5rem; width: clamp(130px, 17vw, 230px); margin: 0; padding: 8px; border-radius: 34px; background: #111; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(3deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.real-phone::before { content: ""; position: absolute; top: 14px; left: 50%; width: 34%; height: 14px; margin-left: -17%; border-radius: 10px; background: #111; z-index: 1; }
.real-phone img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 26px; }
.real-stage:hover .real-phone { transform: rotate(0deg) translateY(-6px); }
.real-shot img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.real-shot:hover img { transform: scale(1.02); }
.real-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
@media (max-width: 760px) {
  .real-stage.has-phone { margin-right: 0; }
  .real-phone { right: 4px; bottom: -1.5rem; width: 31%; padding: 5px; border-radius: 22px; }
  .real-phone::before { top: 9px; height: 9px; }
  .real-phone img { border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) { .real-phone, .real-shot img, .real-cats a { transition: none; } .real-stage:hover .real-phone { transform: rotate(3deg); } .real-shot:hover img { transform: none; } }

/* ---------- « Avant Nextaa » (30/11/2026) : la refonte de Dolfi Formation, présentée à part des projets de l'agence ---------- */
.real-before { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.real-before .section-header { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.real-before-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--f-radius, 18px); background: var(--paper-card); border: 1px solid var(--line); box-shadow: var(--f-shadow-1); }
.real-before-shots { position: relative; padding: 0 2.5rem 2rem 0; }
.real-before-shots figure { margin: 0; overflow: hidden; background: #fff; }
.rb-desktop { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(15, 42, 31, .45); }
.rb-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #eef1ea; border-bottom: 1px solid var(--line); }
.rb-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(15, 42, 31, .2); }
.rb-bar b { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #fff; font: 500 .68rem/1.4 var(--font-sans, Inter, sans-serif); color: rgba(15, 42, 31, .6); }
.rb-desktop img { display: block; width: 100%; height: auto; }
.rb-phone { position: absolute; right: 0; bottom: 0; width: 26%; border-radius: 18px; border: 5px solid #0f2a1f; box-shadow: 0 20px 40px -18px rgba(15, 42, 31, .55); }
.rb-phone img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.8; object-fit: cover; object-position: top; }
.real-before-body h3 { margin: .4rem 0 .6rem; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.rb-context { margin: 0 0 1rem; color: var(--ink-soft); line-height: 1.6; }
.rb-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .55rem; }
.rb-list li { position: relative; padding-left: 1.5rem; font-size: .95rem; line-height: 1.5; color: var(--ink); }
.rb-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--lime, #c6f432) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f2a1f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.rb-note { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); }
:root[data-theme="dark"] .real-before-card { background: var(--surface); }
:root[data-theme="dark"] .rb-bar { background: #1c2f25; }
:root[data-theme="dark"] .rb-bar b { background: #0f2a1f; color: rgba(243, 246, 238, .7); }
body.center-page-text #main-content .real-before-body, body.center-page-text #main-content .real-before-body * { text-align: left; }
@media (max-width: 900px) { .real-before-card { grid-template-columns: minmax(0, 1fr); } .real-before-shots { padding-right: 1.5rem; } }
@media (max-width: 600px) { .real-before-shots { padding: 0 1.25rem 1.5rem 0; } .rb-phone { width: 34%; border-width: 4px; border-radius: 14px; } }
.real-shot-main.is-bare { background: none; border: 0; box-shadow: none; border-radius: 18px; }
