/* /security/ — mockups/pages/securite */

.s-spark { position: absolute; display: block; width: 44px; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23ff6e61' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 21 18 25M14 6l9 13M33 4l-3 15'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.s-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61,190,110,.18); }
.s-dot--coral { background: var(--coral); box-shadow: none; margin-right: 4px; }
.s-note { position: absolute; margin: 0; padding: 12px 18px 14px; border: 2px solid var(--coral); border-radius: 14px; background: rgba(12,13,16,.86); color: #f2efea; font: 600 1.15rem/1.15 var(--hand); transform: rotate(-6deg); }
.s-note::before { content: ""; position: absolute; top: -15px; left: 22%; width: 18px; height: 16px; border-left: 2px solid var(--coral); border-top: 2px solid var(--coral); background: inherit; transform: skewX(24deg); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.s-dots { position: absolute; height: 0; border-top: 4px dotted #cfd2d8; }
.s-cloud { position: absolute; width: 96px; height: auto; }

#local, #faq { scroll-margin-top: calc(72px + var(--s-4)); }

/* Hero */
.s-hero h1.t-display { max-width: none; font-size: clamp(2.75rem, 6.6vw, 5.4rem); white-space: nowrap; }
.page-hero.s-hero .lede { max-width: 24em; font-size: 1.3rem; line-height: 1.45; }
.s-hero .actions .button { min-height: 58px; padding: 0 26px; font-size: 1.0625rem; }
.s-hero .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.s-hero .hero-inner { position: relative; z-index: 3; align-self: start; padding-top: 0; }
.s-hero .hero-live { display: flex; flex-direction: column; justify-content: flex-end; min-height: 470px; }
.s-hero .hero-art { width: 108%; max-width: none; max-height: none; margin-left: -8%; object-position: bottom right; }
.s-hero .m-bubble.s-hero-bubble { top: 5%; left: 0; max-width: 9em; font-size: 1.45rem; transform: rotate(-9deg); }
.s-hero-shield { position: absolute; top: 12%; left: 46%; z-index: 2; width: 138px; }
.s-shield { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(255,90,74,.75)) drop-shadow(0 0 46px rgba(255,90,74,.4)); }
.s-spark--shield-l { top: -40px; left: -18px; width: 54px; height: 54px; transform: scaleX(-1) rotate(20deg); }
.s-spark--shield-r { top: 64px; right: -62px; width: 58px; height: 58px; transform: rotate(80deg); }
.s-hero-checks { position: absolute; top: 0; right: 0; z-index: 2; padding: 18px 22px; border-radius: 18px; background: rgba(22,24,29,.94); }
.s-hero-checks .ui-checks { gap: 14px; font-size: .95rem; }

/* Panels */
.s-stack { gap: var(--s-4); }
.s-panel .m-p { max-width: 27em; font-size: 1.1875rem; line-height: 1.5; color: #cfcbc4; }
.s-panel .m-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.s-panel .mpanel-visual { min-height: 300px; }

/* 01 local */
.s-local { position: relative; height: 330px; }
.s-local-pill { position: absolute; top: 0; left: 36%; z-index: 2; margin: 0; padding: 12px 18px; font-size: .95rem; }
.s-screen { position: relative; aspect-ratio: 16 / 10.2; margin: 0 6%; padding: 10px 14px; border: 3px solid #3b3f48; border-bottom: 0; border-radius: 14px 14px 0 0; background: #0b0c0f; }
.s-screen-bar { display: flex; gap: 5px; }
.s-screen-bar i { width: 6px; height: 6px; border-radius: 50%; background: #3a3d44; }
.s-bars { display: flex; align-items: center; justify-content: center; gap: 3px; height: 56%; margin-top: 8%; }
.s-bars i { width: 3px; height: var(--h); border-radius: 2px; background: var(--coral); box-shadow: 0 0 8px rgba(255,110,97,.5); }
.s-mic { position: absolute; left: 50%; bottom: 12px; display: grid; place-items: center; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 0 0 22px rgba(255,110,97,.55); }
.s-mic svg { width: 24px; height: 24px; }
.s-base { height: 12px; border-radius: 2px 2px 10px 10px; background: linear-gradient(180deg, #c9ccd2, #8d9097); }
.s-local > .s-dots { left: 67%; top: 46%; width: 12%; }
.s-local > .s-cloud { right: 4%; top: 18%; width: 112px; }
.s-spark--local { left: -2%; top: 40%; width: 46px; height: 46px; transform: scaleX(-1) rotate(-10deg); }
.s-laptop { position: absolute; left: 4%; bottom: 8px; width: min(66%, 420px); }
.s-note--local { right: 0; bottom: 4%; max-width: 13em; }

/* 02 cloud */
.s-cloudui { position: relative; height: 340px; }
.s-cloud-art { position: absolute; left: 0; bottom: -44px; width: 215px; height: auto; }
.s-toggles { position: absolute; left: 32%; top: 0; width: 280px; }
.s-toggles .ui-win-bar { gap: 8px; padding: 14px 18px; font-size: .9rem; }
.s-toggles ul { display: grid; gap: 12px; margin: 0; padding: 14px 18px 18px; list-style: none; }
.s-toggles li { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.s-ico { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 6px; background: #3a3f63; color: #c8ceff; }
.s-ico--on { border-radius: 50%; background: var(--ok); color: #0b1a10; }
.s-switch { position: relative; width: 38px; height: 22px; margin-left: auto; border-radius: 11px; background: #3a3d45; }
.s-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #d9dbe0; }
.s-switch.is-on { background: var(--coral); }
.s-switch.is-on::after { left: 19px; background: #fff; }
.s-cloudui > .s-cloud { right: 4%; top: 6%; }
.s-dots--cloud { right: 15%; top: 42%; width: 12%; transform: rotate(-30deg); }
.s-spark--cloud { right: -2%; top: -4%; transform: rotate(70deg); }
.s-note--cloud { right: 0; bottom: 12%; max-width: 12em; }

/* 03 RGPD */
.s-rgpd { position: relative; height: 320px; }
.s-folder { position: absolute; left: 2%; top: 13%; width: 26%; height: 76%; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: #191c22; }
.s-folder-back { position: absolute; top: 12%; left: 10%; width: 60%; height: 10px; border-radius: 4px; background: #2a2e36; }
.s-folder-tab { position: absolute; left: 100%; top: -12%; width: 70px; height: 26px; }
.s-eu { position: absolute; left: 4%; top: 36%; z-index: 2; display: grid; justify-items: center; gap: 8px; margin: 0; }
.s-eu svg { width: 110px; height: 110px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.s-eu figcaption { color: #cfcbc4; font: 600 .7rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.s-rgpd-card { position: absolute; left: 21%; top: 0; width: min(330px, 56%); padding: 54px 28px 30px; border-radius: 4px 18px 18px 18px; background: #1b1e24; overflow: visible; }
.s-rgpd-card::before { content: ""; position: absolute; left: -1px; top: -24px; width: 42%; height: 26px; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 12px 26px 0 0; background: #1b1e24; }
.s-rgpd-card .ui-checks { gap: 22px; font-size: .95rem; }
.s-spark--rgpd { right: 6%; top: 6%; transform: rotate(80deg); }
.s-hand { position: absolute; right: -2%; top: 36%; max-width: 8em; margin: 0; color: #f2efea; font: 600 1.2rem/1.15 var(--hand); transform: rotate(-8deg); }

/* 04 FAQ */
.s-panel--faq { align-items: start; }
.s-panel--faq .mpanel-visual { min-height: 0; }
.s-faq { display: grid; gap: 10px; max-width: none; margin: 0; border: 0; }
.s-faq .faq-item { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #15171c; }
.s-faq .faq-item summary::after { right: 22px; }
.s-faq .faq-item summary { padding: 14px 52px 14px 22px; font-size: 1.0625rem; font-weight: 600; }
.s-faq .faq-item p { padding: 0 22px 18px; font-size: .95rem; }
.s-faq a { color: var(--coral-light); }

@media (max-width: 1100px) {
  .s-hero h1.t-display { white-space: normal; }
  .s-hero .hero-live { min-height: 480px; }
}
@media (max-width: 900px) {
  .s-hero .hero-split { grid-template-columns: minmax(0, 1fr); }
  .s-hero .hero-live { min-height: 0; padding-top: 220px; margin-right: 0; }
  .s-hero .hero-art { width: 100%; margin-left: 0; }
  .s-hero-shield { top: 70px; left: 48%; width: 96px; }
  .s-panel .mpanel-visual { min-height: 0; }
}
@media (max-width: 560px) {
  .s-hero .hero-live { padding-top: 150px; }
  .s-hero .m-bubble.s-hero-bubble { font-size: 1.05rem; left: 0; }
  .s-hero-shield { top: 96px; left: auto; right: 24px; width: 72px; }
  .s-spark--shield-r { display: none; }
  .s-hero-checks { padding: 12px 14px; }
  .s-hero-checks .ui-checks { gap: 8px; font-size: .8rem; }
  .s-local, .s-cloudui, .s-rgpd { display: grid; gap: var(--s-4); height: auto; }
  .s-local > *, .s-cloudui > *, .s-rgpd > * { position: relative; inset: auto; transform: none; }
  .s-local-pill { justify-self: start; }
  .s-laptop { width: 100%; }
  .s-local > .s-dots, .s-local > .s-cloud, .s-spark, .s-dots--cloud, .s-cloudui > .s-cloud, .s-folder { display: none; }
  .s-note { justify-self: start; max-width: none; transform: rotate(-3deg); }
  .s-cloud-art { display: none; }
  .s-toggles { width: 100%; }
  .s-eu { justify-self: start; grid-template-columns: auto auto; align-items: center; gap: 14px; }
  .s-eu svg { width: 64px; height: 64px; }
  .s-rgpd-card { width: 100%; margin-top: 24px; padding: 24px 20px; }
  .s-hand { transform: rotate(-3deg); max-width: none; }
}
