/* ═══════════════════════════════════════════════════════════════
   PULSE · identité « fil d'actualité » : téléphone, stories, rythme
   ═══════════════════════════════════════════════════════════════ */
.pl-hero { position: relative; overflow: hidden; padding-bottom: clamp(3rem, 6vw, 5rem); }
.pl-hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(217,70,239,.22), rgba(124,58,237,.18) 45%, transparent 70%); pointer-events: none; }
.pl-hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.pl-hero-copy { display: grid; gap: 1.4rem; justify-items: start; } .pl-hero h1 { font-size: var(--step-5); }
@media (min-width: 960px) { .pl-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

.pl-stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone { position: relative; width: min(300px, 78%); aspect-ratio: 9 / 18.2; border-radius: 40px; padding: 10px; background: #1b1633; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 90px -30px rgba(124,58,237,.55), inset 0 0 0 2px rgba(255,255,255,.05); transform: rotate(4deg); }
.phone-notch { position: absolute; top: 16px; left: 50%; width: 76px; height: 20px; border-radius: 99px; background: #0b0b18; transform: translateX(-50%); z-index: 3; }
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; background: #fff; position: relative; padding-top: 44px; }
.scroll { display: grid; gap: 14px; padding: 0 12px; animation: pl-scroll 22s linear infinite; }
@keyframes pl-scroll { to { transform: translateY(-50%); } }
.post { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #eee9fb; }
.post header { display: flex; align-items: center; gap: 8px; } .post .av { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 200deg, #7c3aed, #d946ef, #7c3aed); } .post header b { width: 38%; height: 8px; border-radius: 4px; background: #d9d3ee; }
.post .img { aspect-ratio: 1 / 1; border-radius: 12px; } .i1 { background: linear-gradient(140deg, #7c3aed, #d946ef); } .i2 { background: linear-gradient(140deg, #3b1a8f, #9d65f5); } .i3 { background: linear-gradient(140deg, #f0abfc, #7c3aed); }
.post footer { display: flex; gap: 8px; } .post footer i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cfc7ea; }
.post p { margin: 0; height: 7px; width: 80%; border-radius: 4px; background: #e6e1f5; } .post p + p { width: 52%; }
.notif { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; font-size: 12px; font-weight: 600; background: var(--surface-solid); color: var(--text); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: notif 7s var(--ease) infinite; opacity: 0; }
.dot-on { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.n1 { left: 0; top: 22%; } .n2 { right: -2%; top: 52%; animation-delay: 2.3s; } .n3 { left: 6%; bottom: 10%; animation-delay: 4.6s; }
@keyframes notif { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 8%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 520px) { .n1 { left: -4px; } .n2 { right: -4px; } .pl-stage { min-height: 460px; } }

/* Stories */
.story-rings { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 2rem; }
.story-rings [role="tab"] { display: grid; justify-items: center; gap: .6rem; width: 112px; text-align: center; font-size: .85rem; font-weight: 600; color: var(--text-2); }
.ring { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: var(--line-2); transition: transform var(--dur-2) var(--ease), background var(--dur-2); }
.disc { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); background: var(--surface-2); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--accent); }
[role="tab"][aria-selected="true"] .ring { background: conic-gradient(from 160deg, #7c3aed, #d946ef, #7c3aed); transform: scale(1.06); }
[role="tab"][aria-selected="true"] { color: var(--text); } [role="tab"]:hover .ring { transform: scale(1.06); }
.story-panels > div { display: grid; gap: 1rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); max-width: 52rem; animation: swap .5s var(--ease) both; } .story-panels > div[hidden] { display: none; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.quote { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); letter-spacing: -.03em; line-height: 1.1; } .story-panels p:not(.quote) { color: var(--text-2); max-width: 36rem; }

/* Formats */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter) 1.5rem; }
.formats:focus-visible { outline-offset: -3px; }
.fmt { min-width: 0; display: grid; align-content: start; gap: .6rem; padding: 1.25rem; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.fmt h3 { font-size: var(--step-1); margin-top: .6rem; } .fmt h3 em { font-style: normal; font-weight: 500; font-size: .85em; color: var(--text-3); } .fmt p { color: var(--text-2); font-size: .93rem; }
.fmt-vis { height: 150px; border-radius: 20px; background: linear-gradient(160deg, #1d1250, #0b0b18); display: grid; padding: 18px; gap: 8px; align-content: center; }
.fmt-vis i, .fmt-vis b { display: block; border-radius: 8px; }
.f-net { grid-template-columns: repeat(3, 1fr); align-content: center; } .f-net i { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(140deg, #7c3aed, #d946ef); } .f-net i:nth-child(2) { background: linear-gradient(140deg, #3b1a8f, #9d65f5); }
.f-post i { height: 56px; background: linear-gradient(140deg, #7c3aed, #d946ef); } .f-post b { height: 8px; background: rgba(255,255,255,.35); width: 78%; } .f-post b + b { width: 50%; }
.f-visual { grid-template-columns: 1.2fr 1fr; } .f-visual i { height: 100px; } .f-visual i:first-child { background: linear-gradient(140deg, #9d65f5, #7c3aed); } .f-visual i:last-child { background: linear-gradient(140deg, #d946ef, #6d28d9); }
.f-strat { grid-template-columns: repeat(5, 1fr); align-items: end; } .f-strat i { background: var(--violet-400); } .f-strat i:nth-child(1) { height: 30px; } .f-strat i:nth-child(2) { height: 54px; } .f-strat i:nth-child(3) { height: 40px; } .f-strat i:nth-child(4) { height: 76px; } .f-strat i:nth-child(5) { height: 62px; background: #d946ef; }
.f-mail i { height: 12px; width: 40%; background: var(--violet-400); } .f-mail b { height: 46px; background: rgba(255,255,255,.14); } .f-mail b + b { height: 12px; width: 70%; }
.f-rep { grid-template-columns: repeat(2, 1fr); } .f-rep i { height: 46px; background: rgba(196,165,255,.25); } .f-rep i:nth-child(3) { background: var(--violet-500); }

/* Calendrier */
.pl-month-grid { display: grid; gap: 2.5rem; align-items: center; } .pl-month .sec-head { margin-bottom: 0; }
.legend { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.5rem; font-size: .9rem; color: var(--text-2); } .legend li { display: flex; align-items: center; gap: .5rem; } .legend i { width: 12px; height: 12px; border-radius: 4px; }
.fine { font-size: .85rem !important; color: var(--text-3) !important; margin-top: 1rem !important; }
.cal-week .k-create { background: #7c3aed; } .cal-week .k-ok { background: #f59e0b; } .cal-week .k-pub { background: #d946ef; } .cal-week .k-rep { background: var(--ok); }
.cal { display: grid; gap: 8px; padding: clamp(1rem, 3vw, 1.75rem); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.cal-h, .cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; } .cal-h span { text-align: center; font-size: .78rem; color: var(--text-3); font-weight: 600; }
.cal-week i { aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); transition: transform var(--dur-2) var(--ease); }
.cal-week i[class^="k-"] { border-color: transparent; } .cal-week i[class^="k-"]:hover { transform: scale(1.12); }
@media (min-width: 900px) { .pl-month-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }

/* Boucle */
.loop { position: relative; display: grid; gap: 1.25rem; }
.loop-step { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.loop-step h3 { font-size: var(--step-1); margin-bottom: .5rem; } .loop-step p { color: var(--text-2); font-size: .95rem; }
.loop-arrow { display: none; width: 100%; height: 40px; color: var(--accent); grid-column: 1 / -1; } .loop-note { grid-column: 1 / -1; text-align: center; color: var(--text-2); font-size: .95rem; }
@media (min-width: 900px) { .loop { grid-template-columns: repeat(3, 1fr); } .loop-arrow { display: block; margin-top: .25rem; } }

/* Rapport */
.pl-report-grid { display: grid; gap: 2.5rem; align-items: center; } .pl-report .sec-head { margin-bottom: 0; }
.rep { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 28px; box-shadow: var(--shadow); display: grid; gap: 1.25rem; background: var(--surface-solid); }
.rep-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; } .rep-top b { font-family: var(--font-display); font-size: 1.1rem; }
.rep-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; } .rep-tiles div { padding: .9rem; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.rep-tiles small { display: block; color: var(--text-3); font-size: .75rem; } .rep-tiles b { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-variant-numeric: tabular-nums; }
.rep-chart { width: 100%; height: 150px; } .rep-line { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2s var(--ease) .3s; } .rep.is-in .rep-line { stroke-dashoffset: 0; }
@media (min-width: 900px) { .pl-report-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; } }

@media (max-width: 900px) { .formats { grid-template-columns: 1fr 1fr; gap: .9rem; } .fmt-vis { height: 110px; } .fmt h3 { font-size: 1rem; } .fmt p { font-size: .85rem; } }
@media (max-width: 400px) { .formats { grid-template-columns: 1fr; } }

/* Fil d'actualité : posts aux couleurs des réseaux (illustration, aucune donnée réelle) */
.phone .post { display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; position: relative; font-size: 11px; color: #1a1630; background: #fff; box-shadow: 0 1px 0 #eee9fb, 0 0 0 1px #eee9fb; }
.phone .post header { display: flex; align-items: center; gap: 7px; padding: 8px 10px; } .phone .post header b { font-weight: 700; width: auto; height: auto; background: none; border-radius: 0; font-size: 11px; } .phone .post header em { margin-left: auto; font-style: normal; letter-spacing: 1px; color: #8a85a3; }
.phone .post .img { aspect-ratio: auto; border-radius: 0; background: #eee; } .phone .post .scene { display: block; width: 100%; height: auto; }
.phone .post .ic { width: 17px; height: 17px; display: block; } .red { color: #ed4956; } .pink { color: #fe2c55; } .vio { color: #7c3aed; }
.phone .post p { margin: 0; } .ln { height: 6px !important; width: 70%; border-radius: 4px; background: #e6e1f5; margin: 6px 10px !important; } .w9 { width: 88%; } .w6 { width: 55%; }
.ig .ring { width: 26px; height: 26px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); display: grid; place-items: center; } .ig .ring i { width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: inset 0 0 0 20px #f3d9c3; }
.acts { display: flex; gap: 10px; padding: 8px 10px 2px; align-items: center; } .acts span { flex: 1; } .cnt { padding: 2px 10px 0; } .cnt b { font-size: 11px; }
.li header { padding-bottom: 4px; } .inb, .fbav { width: 24px; height: 24px; border-radius: 5px; display: grid; place-items: center; background: #0a66c2; color: #fff; font: 800 12px/1 var(--font-body); } .fbav { border-radius: 50%; background: #1877f2; font-size: 15px; }
.rx { display: flex; align-items: center; gap: 4px; padding: 7px 10px; color: #6a6585; } .rx .r { margin-left: auto; } .rc { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-right: -8px; border: 1.5px solid #fff; } .rc .ic { width: 10px; height: 10px; } .rc.blue { background: #0a66c2; } .rc.red { background: #ed4956; } .rx small { margin-left: 10px; } .rx .r { margin-left: auto; }
.fb .rc.blue { background: #1877f2; }
.bts { display: flex; justify-content: space-around; padding: 6px 4px 8px; border-top: 1px solid #eee9fb; font-weight: 700; color: #5f5a7a; font-size: 10.5px; }
.tt { background: #0b0b10 !important; color: #fff !important; aspect-ratio: 3 / 4; box-shadow: none !important; } .tt .img { position: absolute; inset: 0; background: #1b1b24; display: grid; place-items: center; } .tt .scene { height: 100%; object-fit: cover; }
.tt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.7)); pointer-events: none; } .tt .scene path { filter: drop-shadow(-2px 0 0 #25f4ee) drop-shadow(2px 0 0 #fe2c55); }
.tt .side { position: absolute; right: 8px; bottom: 44px; z-index: 2; display: grid; gap: 12px; justify-items: center; } .tt .side span { display: grid; justify-items: center; gap: 2px; } .tt .side .ic { width: 22px; height: 22px; color: #fff; } .tt .side .pink { color: #fe2c55; } .tt .side small { font-size: 9.5px; font-weight: 700; }
.tt .cap { position: absolute; left: 10px; bottom: 12px; right: 50px; z-index: 2; display: grid; gap: 6px; } .tt .cap i { display: block; height: 5px; width: 80%; border-radius: 3px; background: rgba(255,255,255,.55); }
.notif .ic { width: 15px; height: 15px; flex: none; }
.phone .post .img { height: 112px; overflow: hidden; } .phone .post .scene { height: 100%; }
.ig .img { height: 128px; } .tt { aspect-ratio: auto !important; height: 190px; } .tt .img { height: 100% !important; }
.scroll { gap: 10px !important; }

/* Fond uni aux couleurs de chaque réseau (aucune image) */
.phone .post .img { background: #eee; }
.phone .ig .img { background: linear-gradient(135deg,#feda75 0%,#fa7e1e 28%,#d62976 55%,#962fbf 78%,#4f5bd5 100%); }
.phone .li .img { background: linear-gradient(140deg,#0a66c2,#004182); }
.phone .fb .img { background: linear-gradient(140deg,#1877f2,#0b4fb3); }
.phone .tt .img { background: radial-gradient(circle at 30% 25%,rgba(37,244,238,.35),transparent 55%),radial-gradient(circle at 75% 80%,rgba(254,44,85,.4),transparent 55%),#0b0b10; }

/* Profils : disque opaque pour que la lettre reste lisible sur le dégradé (clair et sombre) */
[role="tab"][aria-selected="true"] .disc { background: transparent; border-color: transparent; color: #0b0b18; }

/* ── Blocs « Tout ce dont vous avez besoin » : petites scènes animées ── */
.fmt-vis { padding: 0; display: block; overflow: hidden; }
.fmt-vis svg { display: block; width: 100%; height: 100%; }
.fmt-vis svg * { transform-box: fill-box; transform-origin: center; }
.vcur { animation: v-cur 6s ease-in-out infinite; } .vcur path { transform-origin: 0 0; }
@keyframes v-cur { 0% { transform: translate(14px,124px); opacity: 0; } 8%,14% { transform: translate(50px,60px); opacity: 1; } 30%,36% { transform: translate(122px,60px); } 52%,58% { transform: translate(194px,60px); } 80% { transform: translate(194px,60px); opacity: 1; } 92%,100% { transform: translate(232px,126px); opacity: 0; } }
.vb1 { animation: v-b1 6s infinite; } .vb2 { animation: v-b2 6s infinite; } .vb3 { animation: v-b3 6s infinite; }
@keyframes v-b1 { 0%,12%,24%,100% { transform: scale(1); } 15% { transform: scale(.88); } 19% { transform: scale(1.1); } }
@keyframes v-b2 { 0%,34%,46%,100% { transform: scale(1); } 37% { transform: scale(.88); } 41% { transform: scale(1.1); } }
@keyframes v-b3 { 0%,56%,68%,100% { transform: scale(1); } 59% { transform: scale(.88); } 63% { transform: scale(1.1); } }
.vok { opacity: 0; } .vok1 { animation: v-ok1 6s infinite; } .vok2 { animation: v-ok2 6s infinite; } .vok3 { animation: v-ok3 6s infinite; }
@keyframes v-ok1 { 0%,15% { opacity: 0; transform: translateY(6px); } 21%,88% { opacity: 1; transform: none; } 96%,100% { opacity: 0; } }
@keyframes v-ok2 { 0%,37% { opacity: 0; transform: translateY(6px); } 43%,88% { opacity: 1; transform: none; } 96%,100% { opacity: 0; } }
@keyframes v-ok3 { 0%,59% { opacity: 0; transform: translateY(6px); } 65%,88% { opacity: 1; transform: none; } 96%,100% { opacity: 0; } }

.vd { fill: rgba(255,255,255,.09); } .vdp { animation: v-day 6s infinite; animation-delay: var(--d); }
@keyframes v-day { 0%,3% { fill: rgba(255,255,255,.09); transform: scale(1); } 8% { fill: #d946ef; transform: scale(1.22); } 13%,82% { fill: #a855f7; transform: scale(1); } 94%,100% { fill: rgba(255,255,255,.09); } }

.sw.s1, .cardbg { animation: v-p1 6s infinite; } .sw.s2 { animation: v-p2 6s infinite; } .sw.s3 { animation: v-p3 6s infinite; }
@keyframes v-p1 { 0%,28% { fill: #7c3aed; } 36%,62% { fill: #e11d48; } 70%,94% { fill: #0d9488; } 100% { fill: #7c3aed; } }
@keyframes v-p2 { 0%,28% { fill: #a78bfa; } 36%,62% { fill: #fb7185; } 70%,94% { fill: #5eead4; } 100% { fill: #a78bfa; } }
@keyframes v-p3 { 0%,28% { fill: #4c1d95; } 36%,62% { fill: #9f1239; } 70%,94% { fill: #115e59; } 100% { fill: #4c1d95; } }
.sw { animation-name: none; } .vsw .sw { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.sw.s1 { animation: v-p1 6s infinite; } .sw.s2 { animation: v-p2 6s infinite; } .sw.s3 { animation: v-p3 6s infinite; }
.aa { animation: v-aa 6s infinite; } @keyframes v-aa { 0%,26%,40%,60%,74%,100% { transform: scale(1); } 33%,67% { transform: scale(1.18); } }

.vbar { fill: #a78bfa; transform-origin: 50% 100%; animation: v-bar 6s infinite; animation-delay: var(--d); }
.vbar:nth-of-type(4) { fill: #e879f9; }
@keyframes v-bar { 0% { transform: scaleY(0); } 14%,84% { transform: scaleY(1); } 94%,100% { transform: scaleY(0); } }
.vtrend { stroke-dasharray: 100; animation: v-trend 6s infinite; } @keyframes v-trend { 0%,30% { stroke-dashoffset: 100; opacity: 1; } 55%,85% { stroke-dashoffset: 0; opacity: 1; } 96%,100% { stroke-dashoffset: 0; opacity: 0; } }
.vpin { animation: v-pin 6s infinite; transform-origin: 50% 100%; } @keyframes v-pin { 0%,55% { opacity: 0; transform: scale(.4) translateY(8px); } 63%,86% { opacity: 1; transform: none; } 95%,100% { opacity: 0; } }

.vflap { transform-box: view-box; transform-origin: 120px 62px; animation: v-flap 6s infinite; fill: #9d65f5; } @keyframes v-flap { 0%,12% { transform: scaleY(1); } 24%,76% { transform: scaleY(0); } 90%,100% { transform: scaleY(1); } }
.vpaper, .vpl { animation: v-paper 6s infinite; } @keyframes v-paper { 0%,22% { transform: translateY(0); } 40%,68% { transform: translateY(-24px); } 84%,100% { transform: translateY(0); } }
.vnotif { animation: v-notif 6s infinite; } @keyframes v-notif { 0%,48% { opacity: 0; transform: scale(.3); } 56%,86% { opacity: 1; transform: scale(1); } 95%,100% { opacity: 0; } }

.vline { stroke-dasharray: 100; animation: v-line 6s infinite; } @keyframes v-line { 0%,6% { stroke-dashoffset: 100; opacity: 1; } 58%,86% { stroke-dashoffset: 0; opacity: 1; } 96%,100% { opacity: 0; stroke-dashoffset: 0; } }
.varea { animation: v-area 6s infinite; } @keyframes v-area { 0%,20% { opacity: 0; } 60%,86% { opacity: 1; } 96%,100% { opacity: 0; } }
.vdot { animation: v-dot 6s infinite; } @keyframes v-dot { 0%,56% { opacity: 0; transform: scale(0); } 64%,86% { opacity: 1; transform: scale(1); } 95%,100% { opacity: 0; } }

/* Calendrier « Un mois type » : légende en couleurs + numéros de jours */
.k-create { background: #7c3aed; } .k-ok { background: #f59e0b; } .k-pub { background: #d946ef; } .k-rep { background: #22c55e; }
.legend { gap: .6rem; } .legend li { padding: .35rem .8rem .35rem .6rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font-weight: 500; background: var(--surface); } .legend i { width: 14px; height: 14px; border-radius: 5px; flex: none; }
.cal { counter-reset: d; } .cal-week i { counter-increment: d; position: relative; display: grid; place-items: center; }
.cal-week i::before { content: counter(d); font-size: .72rem; font-weight: 600; color: var(--text-3); } .cal-week i[class^="k-"]::before { color: #fff; }
.cal-week .k-ok::before { color: #3b2300; }
