/* Réalisation Atelier Déco — page sur mesure. Toutes les règles sont préfixées par .adp. */

@font-face { font-family: 'ADE Source Sans'; src: url("../../fonts/realisations/ade-source-sans-300-NBz_jaN.woff2") format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'ADE Source Sans'; src: url("../../fonts/realisations/ade-source-sans-400-H2hpf9t.woff2") format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'ADE Source Sans'; src: url("../../fonts/realisations/ade-source-sans-600-o-vnHz5.woff2") format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'ADE Source Sans'; src: url("../../fonts/realisations/ade-source-sans-800-nByMxAd.woff2") format('woff2'); font-weight: 800; font-display: swap; }

.adp { --r: #992926; --r2: #7a1f1d; --n: #030304; --p: #F6F5F3; --g: #77736c; --line: #e4e0d9; }
.adp * { box-sizing: border-box; }
.adp { margin: 0; padding-top: 84px; background: var(--p); color: var(--n); font-family: 'ADE Source Sans', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.adp img, .adp video { display: block; max-width: 100%; }
.adp .wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.adp .sur { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--r); }
.adp h1, .adp h2, .adp h3 { font-family: 'ADE Source Sans', sans-serif; }
.adp h1, .adp h2 { text-transform: uppercase; line-height: .95; margin: 0; font-weight: 300; letter-spacing: -.01em; }
.adp h1 b, .adp h2 b { font-weight: 800; }
.adp h1 { font-size: clamp(48px, 7.5vw, 112px); }
.adp h2 { font-size: clamp(36px, 4.6vw, 64px); }
.adp .lead { font-size: 20px; line-height: 1.55; color: #3b3935; max-width: 560px; margin: 0; }
.adp .rule { width: 72px; height: 4px; background: var(--r); margin: 28px 0; }

/* ouverture */
.adp .hero { position: relative; min-height: 88vh; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; }
.adp .hero .txt { padding: 96px 48px 64px max(32px, calc((100vw - 1180px) / 2 + 32px)); display: flex; flex-direction: column; justify-content: center; }
.adp .hero h1 { margin-top: 22px; }
.adp .hero .ph { position: relative; }
.adp .hero .ph .clip { position: absolute; inset: 0; overflow: hidden; }
.adp .hero .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: adp-kb 18s ease-out both; }
@keyframes adp-kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.adp .hero .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--p) 0, transparent 18%); }
.adp .meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.adp .meta div { border-top: 2px solid var(--n); padding-top: 10px; min-width: 120px; }
.adp .meta small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.adp .meta strong { font-size: 17px; font-weight: 600; }
.adp .badge { position: absolute; left: -46px; bottom: 64px; z-index: 2; background: var(--n); color: #fff; padding: 22px 26px; width: 230px; }
.adp .badge .sur { color: #e5a4a2; }
.adp .badge p { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }

/* avant / après */
.adp .ba { padding: 120px 0; background: #fff; }
.adp .ba h2, .adp .som h2 { margin-top: 14px; }
.adp .ba .pair { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: stretch; margin-top: 56px; }
.adp .ba .side { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 360px; }
.adp .ba .side.before { background: #ece9e4; align-items: center; }
.adp .ba .side.before .tag { align-self: flex-start; }
.adp .ba .doc { width: 62%; transform: rotate(-4deg); box-shadow: 0 30px 50px -20px rgba(3, 3, 4, .45); filter: saturate(.75); }
.adp .ba .note { margin: 0; font-size: 15px; line-height: 1.45; color: var(--g); text-align: center; max-width: 380px; }
.adp .ba .side.after { justify-content: space-between; }
.adp .ba .after img.logo { width: 78%; margin: auto; }
.adp .mail { border-top: 1px solid var(--line); padding-top: 16px; }
.adp .mail .old-mail { font-size: 15px; color: var(--g); }
.adp .mail .old-mail::after { content: " · toujours reçue ↓"; color: var(--r); font-size: 13px; letter-spacing: .04em; }
.adp .mail .new-mail { font-size: 24px; font-weight: 600; color: var(--n); margin-top: 2px; overflow-wrap: anywhere; }
.adp .mail .new-mail::before { content: "✉ "; color: var(--r); }
.adp .mail p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--g); }
.adp .ba .tag { align-self: flex-start; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; background: var(--n); color: #fff; }
.adp .ba .side.after .tag { background: var(--r); }
.adp .ba .arrow { display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--r); }
.adp .ba .swatches { display: flex; gap: 8px; }
.adp .ba .swatches i { flex: 1; height: 34px; display: block; }
.adp .ba .swatches .s1 { background: #992926; }
.adp .ba .swatches .s2 { background: #030304; }
.adp .ba .swatches .s3 { background: #77736c; }
.adp .ba .swatches .s4 { background: #F6F5F3; border: 1px solid #e4e0d9; }

/* sommaire */
.adp .som { padding: 110px 0 40px; }
.adp .bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 14px; margin-top: 44px; }
.adp .bento a { position: relative; overflow: hidden; background: #ddd; color: #fff; text-decoration: none; }
.adp .bento a img, .adp .bento a video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.adp .bento a:hover img, .adp .bento a:hover video { transform: scale(1.06); }
.adp .bento a span { position: absolute; left: 0; bottom: 0; background: var(--n); padding: 9px 14px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.adp .bento a em { position: absolute; right: 12px; top: 10px; font-style: normal; font-size: 44px; font-weight: 800; opacity: .9; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.adp .bento .b-site { grid-column: span 4; grid-row: span 2; }
.adp .bento .b-motion { grid-column: span 2; grid-row: span 3; background: #111; position: relative; }
.adp .bento .b-motion > a { display: block; height: 100%; }
.adp .bento .b-carte { grid-column: span 2; background: #fff; }
.adp .bento .b-carte img { object-fit: contain; padding: 14px; }
.adp .bento .b-insta { grid-column: span 1; }
.adp .bento .b-cal { grid-column: span 1; background: #fff; }
.adp .bento .b-cal img { object-fit: cover; object-position: top; }
.adp .bento .b-carte em, .adp .bento .b-cal em { color: var(--r); text-shadow: none; }

/* chapitres */
.adp .ch { padding: 130px 0; position: relative; }
.adp .ch .head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; margin-bottom: 64px; }
.adp .ch .head h2 { margin-top: 10px; }
.adp .ch .num { font-size: 96px; font-weight: 800; line-height: .8; color: var(--r); }
.adp .ch p.lead { margin-top: 18px; }

/* site */
.adp .devices { position: relative; padding-bottom: 40px; }
.adp .browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(3, 3, 4, .45), 0 0 0 1px rgba(0, 0, 0, .05); width: 86%; }
.adp .browser .bar { height: 34px; background: #efede9; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.adp .browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6d2cb; flex: none; }
.adp .browser .bar u { margin-left: 18px; text-decoration: none; font-size: 13px; color: var(--g); background: #fff; padding: 3px 14px; border-radius: 6px; }
.adp .phone { position: absolute; right: 0; bottom: 0; width: 250px; border: 10px solid #111; border-radius: 38px; overflow: hidden; box-shadow: 0 40px 70px -25px rgba(3, 3, 4, .6); background: #111; }
.adp .phone img, .adp .phone video { border-radius: 28px; }
.adp .feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 80px; }
.adp .feat div { border-top: 2px solid var(--n); padding-top: 14px; font-size: 16px; line-height: 1.45; color: #3b3935; }
.adp .feat b { display: block; color: var(--n); font-size: 17px; margin-bottom: 4px; }
.adp .go-link { display: inline-flex; gap: 10px; align-items: center; background: var(--r); color: #fff; text-decoration: none; padding: 15px 24px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin-top: 28px; }
.adp .go-link:hover { background: var(--r2); }

/* imprimé */
.adp .print { background: var(--r); color: #fff; overflow: hidden; }
.adp .print .sur { color: #f2c3c1; }
.adp .print .num { color: #fff; opacity: .35; }
.adp .print .lead { color: #f7dddc; }
.adp .desk { position: relative; display: block; height: 520px; perspective: 1600px; }
.adp .desk img { position: absolute; width: 470px; box-shadow: 0 50px 60px -30px rgba(0, 0, 0, .6); border-radius: 3px; }
.adp .desk .c1 { left: 8%; top: 40px; transform: rotateX(18deg) rotateZ(-9deg); }
.adp .desk .c2 { left: 46%; top: 120px; transform: rotateX(18deg) rotateZ(6deg); }
.adp .print .ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 14px); opacity: .35; }

/* instagram */
.adp .insta { background: var(--n); color: #fff; }
.adp .insta .sur { color: #e5a4a2; }
.adp .insta .num { color: #e5a4a2; }
.adp .insta .lead { color: #c9c5be; }
.adp .insta .stage { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
.adp .insta .phone { position: relative; width: 300px; }
.adp .profile { background: #fff; color: var(--n); border-radius: 14px; padding: 26px; }
.adp .profile .top { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; }
.adp .profile .av { width: 82px; height: 82px; flex: none; border-radius: 50%; border: 2px solid var(--r); display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; }
.adp .profile .av img { width: 70px; }
.adp .profile h3 { margin: 0; font-size: 20px; font-weight: 600; }
.adp .profile .bio { font-size: 14px; color: #55514b; margin: 4px 0 0; line-height: 1.4; }
.adp .profile .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.adp .profile .posts img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* motion design */
.adp .motion .stage { display: grid; grid-template-columns: 1fr 230px; gap: 36px; align-items: end; }
.adp .player { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(3, 3, 4, .45); }
.adp .player video { width: 100%; height: 100%; object-fit: cover; }
.adp .player small, .adp .vert small { position: absolute; left: 14px; top: 12px; background: rgba(3, 3, 4, .75); color: #fff; font-size: 12px; letter-spacing: .16em; padding: 4px 8px; pointer-events: none; }
.adp .vert { position: relative; aspect-ratio: 9 / 16; background: #111; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(3, 3, 4, .45); }
.adp .vert video { width: 100%; height: 100%; object-fit: cover; }
.adp .strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.adp .strip div { aspect-ratio: 9 / 16; overflow: hidden; position: relative; background: #222; }
.adp .strip img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.adp .strip span { position: absolute; inset: auto 0 0 0; padding: 10px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }

/* calendrier */
.adp .cal { background: #fff; }
.adp .fan { position: relative; height: 520px; margin-top: 20px; }
.adp .fan img { position: absolute; top: 0; width: 21.5%; box-shadow: 0 30px 60px -25px rgba(3, 3, 4, .45); border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.adp .fan .f1 { left: 0; top: 50px; transform: rotate(-5deg); z-index: 1; }
.adp .fan .f2 { left: 19.5%; top: 20px; transform: rotate(-2deg); z-index: 2; }
.adp .fan .f3 { left: 39.25%; top: 0; transform: none; z-index: 3; }
.adp .fan .f4 { left: 59%; top: 20px; transform: rotate(2deg); z-index: 2; }
.adp .fan .f5 { left: auto; right: 0; top: 50px; transform: rotate(5deg); z-index: 1; }
.adp .fan img:hover { transform: translateY(-14px) scale(1.04); z-index: 5; }

/* cibles des ancres du bento */
.adp .ch { scroll-margin-top: 90px; }

/* sous le capot */
.adp .stack { padding: 70px 0; border-top: 1px solid var(--line); }
.adp .stack .wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.adp .stack .sur { margin-right: 12px; }
.adp .stack em { font-style: normal; border: 1px solid var(--n); padding: 7px 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* apparition au défilement (contrôleur reveal) */
.adp .reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.adp .reveal.reveal-init:not(.in) { opacity: 0; transform: translateY(40px); }

/* mobile */
@media (max-width: 900px) {
    .adp .wrap { padding: 0 20px; }
    .adp .lead { font-size: 18px; }
    .adp .hero { grid-template-columns: 1fr; min-height: 0; }
    .adp .hero .txt { padding: 48px 20px 40px; }
    .adp .hero .ph { height: 62vh; min-height: 340px; }
    .adp .hero .ph::after { background: linear-gradient(180deg, var(--p) 0, transparent 14%); }
    .adp .badge { left: 20px; bottom: 20px; width: auto; max-width: 230px; padding: 16px 20px; }
    .adp .ba { padding: 72px 0; }
    .adp .ba .pair { grid-template-columns: 1fr; margin-top: 36px; }
    .adp .ba .side { min-height: 0; padding: 22px; }
    .adp .ba .arrow { height: 64px; transform: rotate(90deg); }
    .adp .mail .new-mail { font-size: 21px; }
    .adp .som { padding: 72px 0 24px; }
    .adp .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; margin-top: 32px; }
    .adp .bento .b-site { grid-column: span 2; grid-row: span 2; }
    .adp .bento .b-motion { grid-column: span 1; grid-row: span 2; }
    .adp .bento .b-carte, .adp .bento .b-insta { grid-column: span 1; }
    .adp .bento .b-cal { grid-column: span 2; }
    /* numéros en pastille dans l'angle : en grand, ils recouvraient le visuel */
    .adp .bento a em, .adp .bento .b-carte em, .adp .bento .b-cal em { top: 0; right: 0; padding: 7px 10px; background: var(--r); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; opacity: 1; text-shadow: none; }
    .adp .bento .b-site img { object-position: top; }
    .adp .bento a span { font-size: 12px; padding: 7px 10px; letter-spacing: .14em; }
    .adp .ch { padding: 80px 0; }
    .adp .ch .head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
    .adp .ch .num { font-size: 64px; }
    .adp .browser { width: 100%; }
    .adp .browser .bar u { margin-left: 8px; padding: 3px 10px; font-size: 12px; }
    .adp .devices { padding-bottom: 64px; }
    .adp .devices .phone { width: 30%; right: -4px; border-width: 6px; border-radius: 22px; }
    .adp .devices .phone img { border-radius: 16px; }
    .adp .feat { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
    .adp .desk { height: 360px; }
    .adp .desk img { width: 64%; }
    .adp .desk .c1 { left: 0; top: 20px; }
    .adp .desk .c2 { left: 34%; top: 150px; }
    .adp .insta .stage { grid-template-columns: 1fr; gap: 40px; }
    .adp .insta .phone { width: 240px; margin: 0 auto; }
    .adp .profile { padding: 18px; }
    .adp .profile .top { gap: 14px; }
    .adp .profile .av { width: 64px; height: 64px; }
    .adp .profile .av img { width: 54px; }
    .adp .profile h3 { font-size: 18px; }
    .adp .motion .stage { grid-template-columns: 1fr; gap: 24px; }
    .adp .vert { width: 220px; justify-self: center; }
    .adp .strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    /* éventail resserré : les pages restent dans l'écran malgré la rotation */
    .adp .fan { height: auto; aspect-ratio: 350 / 240; }
    .adp .fan img { width: 36%; }
    .adp .fan .f1 { left: 2%; top: 12%; }
    .adp .fan .f2 { left: 17%; top: 5%; }
    .adp .fan .f3 { left: 32%; }
    .adp .fan .f4 { left: 47%; top: 5%; }
    .adp .fan .f5 { right: 2%; top: 12%; }
    .adp .stack { padding: 48px 0; }
}

@media (max-width: 560px) {
    .adp .feat { grid-template-columns: 1fr; }
}

/* mouvement réduit : état final, sans animation */
@media (prefers-reduced-motion: reduce) {
    .adp .reveal { opacity: 1; transform: none; transition: none; }
    .adp .hero .ph img { animation: none; }
    .adp .bento a img, .adp .bento a video, .adp .fan img { transition: none; }
}
