/*
 * Monsiteo : styles de la vitrine monsiteo.com (en complement de monsiteo.css).
 * Motif : des blocs de construction cernes d'encre (le site qui se construit), soulignements a la main.
 */

/* ---------- Base vitrine ---------- */
.vitrine { overflow-x: clip; }
.vitrine main:focus { outline: none; }
.vitrine .eyebrow { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: var(--ink-80); margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sun); box-shadow: 14px 0 0 var(--mint), 28px 0 0 var(--coral); margin-right: 28px; }

/* ---------- En-tete ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 244, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1.5px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-name { font: 800 1.45rem/1 var(--font-title); letter-spacing: -.03em; }
.brand .logo-mark { transition: transform .4s var(--ease-bounce); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.brand-light, .brand-light:hover { color: #fff; }
.nav-desktop { margin-left: auto; }
.nav-desktop ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav-desktop a, .header-login { position: relative; display: block; padding: .55rem .8rem; color: var(--ink-80); font-weight: 550; font-size: .97rem; text-decoration: none; border-radius: var(--r-full); transition: background .2s, color .2s; }
.nav-desktop a:hover, .header-login:hover { background: var(--violet-50); color: var(--violet-700); }
.nav-desktop a[aria-current="page"] { color: var(--violet-700); background: var(--violet-100); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; cursor: pointer; place-items: center; }
.menu-bars { display: grid; gap: 5px; width: 20px; }
.menu-bars span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-bounce), opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-mobile { display: none; }

@media (max-width: 1040px) {
  .nav-desktop, .header-login { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .nav-mobile { display: block; position: fixed; inset: 72px 0 0; background: var(--paper); padding: 1.5rem 1.25rem 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s; }
  .nav-mobile.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-mobile ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
  .nav-mobile li { border-bottom: 1.5px solid var(--line); }
  .nav-mobile li a { display: block; padding: 1rem .25rem; font: 700 1.5rem/1.2 var(--font-title); color: var(--ink); text-decoration: none; }
  .nav-mobile .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-name { font-size: 1.3rem; }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #CFCAE6; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; margin-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px; background: linear-gradient(90deg, var(--violet) 0 25%, var(--sun) 25% 50%, var(--mint) 50% 75%, var(--coral) 75%); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(2rem, 5vw, 4rem); }
.footer-brand p { margin: 1.1rem 0 1.4rem; max-width: 34ch; font-size: .97rem; color: #CFCAE6; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.footer-cols h2 { font: 700 1rem/1.2 var(--font-title); color: #fff; letter-spacing: 0; margin-bottom: 1rem; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #CFCAE6; text-decoration: none; font-size: .94rem; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.site-footer .btn-sun { color: var(--ink); }
.site-footer .btn-sun:hover { color: var(--ink); text-decoration: none; box-shadow: 4px 4px 0 var(--violet); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.footer-langs { display: flex; gap: .4rem; }
.footer-langs a { padding: .35rem .6rem; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: var(--r-full); font-weight: 650; font-size: .82rem; }
.footer-langs abbr { text-decoration: none; }
.footer-langs a[aria-current] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.footer-copy { width: 100%; margin: 0; font-size: .85rem; color: #A9A3C6; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.4rem; padding: 0; font-size: .88rem; color: var(--ink-60); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--ink-40); }
.crumbs a { color: var(--ink-60); text-decoration: none; }
.crumbs a:hover { color: var(--violet); text-decoration: underline; }

/* ---------- En-tete de page interne ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.page-hero.center .crumbs ol { justify-content: center; }
.page-hero-blocks { position: absolute; right: max(1.25rem, calc(50% - 600px)); top: 3rem; display: grid; grid-template-columns: repeat(3, 26px); gap: 8px; opacity: .9; }
.page-hero-blocks span { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--ink); }
.page-hero-blocks span:nth-child(1) { background: var(--sun); }
.page-hero-blocks span:nth-child(2) { background: var(--mint); transform: translateY(12px); }
.page-hero-blocks span:nth-child(3) { background: var(--coral); }
@media (max-width: 760px) { .page-hero-blocks { display: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-md); transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-bounce); }
.faq-item[open] { box-shadow: var(--shadow-pop); transform: translate(-2px, -2px); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; cursor: pointer; font: 650 1.08rem/1.35 var(--font-title); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: 4px; }
.faq-icon { flex-shrink: 0; color: var(--violet); transition: transform .35s var(--ease-bounce); }
.faq-item[open] .faq-icon { transform: rotate(135deg); }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--ink-80); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Titres de section ---------- */
.section-title { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-title.center { margin-inline: auto; text-align: center; }
.section-title p { color: var(--ink-60); font-size: 1.12rem; margin: 0; }

/* ---------- Bloc CTA final ---------- */
.cta-band { position: relative; background: var(--violet); color: #fff; border: 2px solid var(--ink); border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; text-align: center; }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: #E4DEFF; font-size: 1.15rem; max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .btn-sun:hover { box-shadow: 4px 4px 0 var(--ink); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 14px; border: 2px solid var(--ink); }
.cta-band::before { width: 70px; height: 70px; background: var(--sun); left: -18px; bottom: 28px; transform: rotate(-12deg); }
.cta-band::after { width: 54px; height: 54px; background: var(--mint); right: 26px; top: -16px; transform: rotate(10deg); }

/* ---------- Liste a coches ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%230B6B4E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.checks.inline { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: var(--ink-80); }

/* ---------- Formules ---------- */
.billing-switch { display: inline-flex; gap: 0; padding: 5px; border: 2px solid var(--ink); border-radius: var(--r-full); background: #fff; margin: 0 auto 2.5rem; position: relative; }
.billing-switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.billing-switch input { position: absolute; opacity: 0; pointer-events: none; }
.billing-switch label { padding: .6rem 1.2rem; border-radius: var(--r-full); font-weight: 650; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; transition: background .25s, color .25s; }
.billing-switch input:checked + label { background: var(--ink); color: #fff; }
.billing-switch input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.billing-switch .badge { font-size: .7rem; }
.plans-wrap { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out); }
.plan:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.plan.is-featured { background: var(--ink); color: #E8E4F8; box-shadow: 6px 6px 0 var(--violet); }
.plan.is-featured:hover { box-shadow: 9px 9px 0 var(--violet); }
.plan.is-featured h3 { color: #fff; }
.plan-tag { position: absolute; top: -14px; right: 1.2rem; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-full); padding: .3rem .8rem; font-size: .78rem; font-weight: 700; transform: rotate(3deg); }
.plan h3 { margin-bottom: .3rem; font-size: 1.5rem; }
.plan-pitch { font-size: .95rem; color: var(--ink-60); min-height: 3em; margin-bottom: 1.2rem; }
.plan.is-featured .plan-pitch { color: #BDB6DC; }
.plan-price { display: flex; align-items: baseline; gap: .3rem; font-family: var(--font-title); margin-bottom: .25rem; }
.plan-price strong { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.plan-price span { font-size: 1rem; color: var(--ink-60); font-family: var(--font-text); }
.plan.is-featured .plan-price span { color: #BDB6DC; }
.plan-note { font-size: .85rem; color: var(--ink-60); min-height: 1.4em; margin-bottom: 1.3rem; }
.plan.is-featured .plan-note { color: #BDB6DC; }
.plan .checks { margin-bottom: 1.6rem; font-size: .95rem; flex: 1; }
.plan .btn { width: 100%; }
.plan.is-featured .checks li::before { background-color: rgba(46, 211, 160, .2); }
.price-yearly { display: none; }
.plans-wrap:has(#billing-yearly:checked) .price-yearly { display: block; }
.plans-wrap:has(#billing-yearly:checked) .price-monthly { display: none; }
.plans-wrap:has(#billing-yearly:checked) .plan-price.price-yearly { display: flex; }
.plan-custom { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; text-align: left; border: 2px dashed var(--ink); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; background: var(--sun-100); }
.plan-custom h3 { margin: 0 0 .2rem; font-size: 1.3rem; }
.plan-custom p { margin: 0; color: var(--ink-80); max-width: 62ch; font-size: .97rem; }
.plans-legal { margin-top: 1.2rem; font-size: .88rem; color: var(--ink-60); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-pitch { min-height: 0; }
}

/* ---------- Tableau comparatif ---------- */
.compare { min-width: 640px; }
.compare th[scope="col"] { font: 700 1rem/1.2 var(--font-title); text-transform: none; letter-spacing: 0; color: var(--ink); text-align: center; }
.compare td { text-align: center; }
.compare th[scope="row"] { text-transform: none; letter-spacing: 0; font: 500 .95rem/1.4 var(--font-text); color: var(--ink-80); }
.compare tbody tr:hover { background: var(--violet-50); }
.compare .yes, .compare .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.compare .yes { background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%230B6B4E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.compare .no { background: #F1EFF6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' stroke='%238E8AA6' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.compare .col-featured { background: var(--violet-50); }

/* ---------- Formulaires vitrine ---------- */
.form-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: 6px 6px 0 var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .error { margin: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C42B1C; }
.req { color: #C42B1C; }

/* ---------- Pages d'authentification ---------- */
.auth-page { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--violet); color: #fff; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; border-right: 2px solid var(--ink); }
.auth-side h2 { color: #fff; max-width: 16ch; }
.auth-side p { color: #E4DEFF; max-width: 40ch; }
.auth-side .checks li::before { background-color: rgba(255, 255, 255, .9); }
.auth-main { padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem); display: flex; align-items: center; justify-content: center; }
.auth-box { width: min(100%, 440px); }
.auth-box h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .3rem; }
.auth-box .lead { font-size: 1.02rem; margin-bottom: 1.6rem; }
.auth-box .btn[type="submit"] { width: 100%; margin-top: .4rem; }
.auth-alt { margin-top: 1.4rem; font-size: .95rem; color: var(--ink-60); text-align: center; }
.plan-picker { display: grid; gap: .5rem; margin-bottom: 1.2rem; border: 0; padding: 0; }
.plan-picker legend { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.plan-option { position: relative; }
.plan-option input { position: absolute; opacity: 0; }
.plan-option label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; cursor: pointer; font-weight: 600; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.plan-option label small { font-weight: 500; color: var(--ink-60); }
.plan-option input:checked + label { border: 2px solid var(--violet); box-shadow: 0 0 0 4px var(--violet-100); }
.plan-option input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 5.5rem; }
.password-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); border: 0; background: var(--violet-50); color: var(--violet-700); font: 600 .82rem/1 var(--font-text); padding: .55rem .7rem; border-radius: var(--r-sm); cursor: pointer; }
@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* ---------- Pages legales / texte ---------- */
.legal-page .prose h2 { font-size: 1.5rem; }
.todo { background: var(--sun-100); border: 1.5px dashed #C99400; border-radius: 6px; padding: 0 .35em; font-weight: 600; color: #6B4A00; }

/* ---------- Mouvement reduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .plan:hover, .faq-item[open] { transform: none; }
}

/* =========================================================
   Demonstration animee de l'editeur (scene fixe 820x520 mise a l'echelle)
   Etat par defaut = etat final statique (sans JS, mouvement reduit).
   ========================================================= */
.demo { margin: 0; position: relative; }
.demo-frame { position: relative; border: 2px solid var(--ink); border-radius: 20px; background: #fff; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.demo-scale { position: relative; width: 100%; aspect-ratio: 820 / 520; overflow: hidden; }
.demo-stage { position: absolute; left: 0; top: 0; width: 820px; height: 520px; transform-origin: 0 0; transform: scale(var(--demo-scale, 1)); font: 400 13px/1.4 var(--font-text); color: var(--ink); background: #F4F2FA; display: flex; flex-direction: column; user-select: none; }
.demo-topbar { height: 50px; flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #fff; border-bottom: 1.5px solid var(--line); }
.demo-logo svg { display: block; }
.demo-pagename { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--violet-50); font-weight: 600; font-size: 12.5px; }
.demo-devices { margin-left: auto; display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: #F1EFF6; }
.demo-device { width: 32px; height: 26px; display: grid; place-items: center; border-radius: 7px; color: var(--ink-60); transition: background .25s, color .25s, transform .2s; }
.demo-device.is-on { background: #fff; color: var(--violet); box-shadow: var(--shadow-sm); }
.demo-swatches { display: inline-flex; gap: 6px; padding: 0 6px; }
.demo-swatch { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px transparent; transition: box-shadow .25s, transform .25s var(--ease-bounce); }
.demo-swatch.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.demo-publish { padding: 8px 16px; border-radius: 999px; background: var(--violet); color: #fff; font-weight: 650; font-size: 12.5px; transition: transform .2s var(--ease-bounce), background .2s; }
.demo-publish.is-pressed, .demo-device.is-pressed, .demo-swatch.is-pressed { transform: scale(.88); }
.demo-body { flex: 1; display: flex; min-height: 0; }
.demo-panel { width: 236px; flex-shrink: 0; background: #fff; border-right: 1.5px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.demo-tabs { display: flex; gap: 4px; padding: 10px 10px 0; }
.demo-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 0; border-radius: 8px 8px 0 0; font-weight: 600; font-size: 12px; color: var(--ink-60); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.demo-tab.is-on { color: var(--violet); border-bottom-color: var(--violet); }
.demo-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px; overflow: hidden; justify-content: flex-end; }
.demo-msg { max-width: 88%; padding: 8px 11px; border-radius: 14px; font-size: 12.5px; line-height: 1.35; }
.demo-msg.bot { align-self: flex-start; background: var(--violet-50); border-bottom-left-radius: 4px; }
.demo-msg.me { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 4px; min-height: 1.35em; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-chip { padding: 5px 10px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; background: #fff; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-bounce); }
.demo-chip.is-picked { background: var(--sun); border-color: var(--ink); }
.demo-building { display: inline-flex; align-items: center; gap: 8px; }
.demo-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--violet-100); border-top-color: var(--violet); animation: demo-spin .8s linear infinite; }
@keyframes demo-spin { to { transform: rotate(360deg); } }
.demo-lib { display: none; padding: 12px; gap: 8px; flex-direction: column; }
.demo-lib-item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 12.5px; background: #fff; transition: opacity .2s, border-color .2s; }
.demo-lib-ico { width: 26px; height: 20px; border-radius: 5px; background: var(--c); border: 1.5px solid var(--ink); }
.demo-lib-item.is-target { border-color: var(--violet); }
.demo-lib-item.is-lifted { opacity: .35; border-style: dashed; }
.demo-canvas { position: relative; flex: 1; padding: 16px; display: flex; justify-content: center; min-width: 0; overflow: hidden; }
.demo-site { --accent: #C8102E; width: 100%; max-width: 100%; height: 100%; background: #FFFDF5; border-radius: 10px; box-shadow: 0 8px 26px -10px rgba(23, 20, 43, .25); overflow: hidden; container-type: inline-size; transition: width .7s var(--ease-out), max-width .7s var(--ease-out); display: flex; flex-direction: column; font-size: 11px; color: #2B1A0E; }
.demo-site.is-mobile { max-width: 210px; border: 6px solid var(--ink); border-radius: 22px; }
.ds { transition: background-color .5s, color .5s; }
.ds-nav { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.ds-nav strong { font: 800 12px/1 var(--font-title); color: var(--accent); transition: color .5s; }
.ds-links { display: flex; gap: 10px; color: #6B5A4A; font-size: 10px; }
.ds-hero { display: flex; gap: 12px; align-items: center; padding: 16px 14px; background: color-mix(in srgb, var(--accent) 9%, #FFFDF5); }
.ds-hero-text { flex: 1; }
.ds-hero b { display: block; font: 800 22px/1.05 var(--font-title); letter-spacing: -.02em; margin-bottom: 5px; }
.ds-hero p { margin: 0 0 9px; font-size: 10.5px; color: #5A4636; max-width: 30ch; }
.ds-btn { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 10px; transition: background .5s; }
.ds-hero-img { width: 112px; height: 84px; border-radius: 12px; background: #FFC72C; display: grid; place-items: center; position: relative; overflow: hidden; flex-shrink: 0; }
.ds-cone { width: 34px; height: 46px; background: var(--accent); clip-path: polygon(0 18%, 100% 18%, 60% 100%, 40% 100%); position: relative; transition: background .5s; }
.ds-cone::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, #FFE7A0 0 4px, #F6C453 4px 7px); }
.ds-menu { padding: 12px 14px; }
.ds-menu > b, .ds-review b { font: 800 13px/1 var(--font-title); display: block; margin-bottom: 8px; }
.ds-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ds-items span { display: flex; flex-direction: column; gap: 3px; padding: 7px; border-radius: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, .07); font-weight: 700; font-size: 10.5px; }
.ds-items i { height: 26px; border-radius: 5px; background: color-mix(in srgb, var(--accent) 18%, #FFE7A0); transition: background .5s; }
.ds-items em { font-style: normal; color: var(--accent); transition: color .5s; }
.ds-drop { display: none; margin: 0 14px; height: 30px; border: 2px dashed var(--violet); border-radius: 8px; background: var(--violet-50); color: var(--violet); font-weight: 700; font-size: 10.5px; align-items: center; justify-content: center; }
.ds-review { margin: 4px 14px 8px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid rgba(0, 0, 0, .07); text-align: center; }
.ds-review p { margin: 3px 0 2px; font-size: 10.5px; font-style: italic; }
.ds-review small { font-size: 9px; color: #6B5A4A; }
.ds-stars { color: #F2A900; letter-spacing: 2px; font-size: 11px; }
.ds-hours { margin: 0 14px; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 10%, #fff); display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 10.5px; }
.ds-clock { width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--accent); transition: border-color .5s; }
.ds-foot { margin-top: auto; display: flex; gap: 8px; padding: 10px 14px; background: #2B1A0E; }
.ds-foot span { height: 5px; width: 48px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
@container (max-width: 260px) {
  .ds-links { display: none; }
  .ds-hero { flex-direction: column; align-items: stretch; }
  .ds-hero-img { width: 100%; height: 56px; }
  .ds-hero b { font-size: 17px; }
  .ds-items { grid-template-columns: 1fr; gap: 5px; }
  .ds-items i { display: none; }
  .ds-items span { flex-direction: row; justify-content: space-between; }
}
.demo-cursor { position: absolute; left: 0; top: 0; z-index: 5; opacity: 0; transform: translate(var(--x, 600px), var(--y, 300px)); transition: transform .75s var(--ease-out), opacity .3s; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
.demo-cursor.is-down svg { transform: scale(.85); }
.demo-ghost { position: absolute; left: 0; top: 0; z-index: 4; display: none; padding: 9px 12px; border-radius: 10px; background: #fff; border: 2px solid var(--violet); font-weight: 650; font-size: 12.5px; box-shadow: 0 12px 24px -8px rgba(58, 34, 184, .45); transform: translate(var(--x, 0), var(--y, 0)) rotate(-3deg); transition: transform .75s var(--ease-out); }
.demo-toast { position: absolute; right: 18px; bottom: 18px; z-index: 6; display: flex; gap: 10px; align-items: center; padding: 11px 15px; background: var(--ink); color: #fff; border-radius: 12px; font-size: 12px; line-height: 1.35; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .3s, transform .45s var(--ease-bounce); }
.demo-toast b { font-size: 13px; }
.demo-toast-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46, 211, 160, .25); }
.demo-toast.is-on { opacity: 1; transform: none; }

/* Etats animes (classes posees par vitrine.js) */
.demo.is-live .demo-msg, .demo.is-live .demo-chips { display: none; }
.demo.is-live .demo-msg.is-shown, .demo.is-live .demo-chips.is-shown { display: block; animation: demo-pop .4s var(--ease-bounce); }
.demo.is-live .demo-chips.is-shown { display: flex; }
.demo.is-live .demo-building.is-shown { display: inline-flex; }
.demo.is-live .demo-chip[data-demo-chip] { background: #fff; border-color: var(--line); }
.demo.is-live .demo-chip[data-demo-chip].is-picked-now { background: var(--sun); border-color: var(--ink); transform: scale(1.06); }
.demo.is-live [data-sec], .demo.is-live [data-demo-review] { display: none; }
.demo.is-live [data-sec].is-shown, .demo.is-live [data-demo-review].is-shown { display: block; animation: demo-build .55s var(--ease-bounce); }
.demo.is-live .ds-nav.is-shown, .demo.is-live .ds-hero.is-shown, .demo.is-live .ds-hours.is-shown, .demo.is-live .ds-foot.is-shown { display: flex; }
.demo.is-live .ds-drop.is-shown { display: flex; animation: demo-pop .3s var(--ease-bounce); }
.demo.is-live .demo-panel.show-lib .demo-chat { display: none; }
.demo.is-live .demo-panel.show-lib .demo-lib { display: flex; }
.demo:not(.is-live) .demo-building { display: none; }
.demo:not(.is-live) .demo-site { --accent: #0E7C66 !important; }
@keyframes demo-pop { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes demo-build { from { opacity: 0; transform: translateY(14px) scale(.97); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.demo-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin-top: 1.6rem; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.demo-steps li { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem .35rem .4rem; border-radius: var(--r-full); font-size: .84rem; font-weight: 550; color: var(--ink-60); background: transparent; border: 1.5px solid transparent; transition: background .3s, color .3s, border-color .3s; }
.demo-step-n { width: 1.45rem; height: 1.45rem; border-radius: 50%; display: grid; place-items: center; background: var(--violet-100); color: var(--violet-700); font-size: .75rem; font-weight: 700; }
.demo-steps li.is-current { background: #fff; color: var(--ink); border-color: var(--ink); }
.demo-steps li.is-current .demo-step-n { background: var(--sun); color: var(--ink); }
.demo-pause { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: var(--r-full); border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 600 .84rem/1 var(--font-text); cursor: pointer; }
.demo-pause[hidden] { display: none; }
.demo-pause:hover { background: var(--violet-50); }
.demo-pause .i-play { display: none; }
.demo-pause[aria-pressed="true"] .i-play { display: block; }
.demo-pause[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 720px) {
  .demo-frame { box-shadow: 6px 6px 0 var(--ink); border-radius: 14px; }
  .demo-steps li { font-size: .78rem; }
}

/* =========================================================
   Accueil
   ========================================================= */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, rgba(91, 61, 245, .16) 1.2px, transparent 0); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 3.9vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.hero-text .lead { margin-bottom: 2rem; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-proof { font-size: .92rem; }
.hero-demo { position: relative; }
.hero-demo::before { content: ""; position: absolute; width: 120px; height: 120px; right: -28px; top: -34px; background: var(--sun); border: 2px solid var(--ink); border-radius: 28px; transform: rotate(12deg); z-index: -1; }
.hero-demo::after { content: ""; position: absolute; width: 74px; height: 74px; left: -30px; top: 38%; background: var(--mint); border: 2px solid var(--ink); border-radius: 50%; z-index: -1; }
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 16ch; }
  .hero-demo::before { right: -10px; top: -26px; width: 80px; height: 80px; }
  .hero-demo::after { left: -14px; width: 50px; height: 50px; }
}
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 2.8rem); }
}

/* Etapes : une suite de blocs qui s'empilent */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.6rem 1.6rem; border: 2px solid var(--ink); border-radius: var(--r-lg); background: #fff; }
.step:nth-child(1) { background: var(--sun-100); }
.step:nth-child(2) { background: var(--mint-100); margin-top: 2.2rem; }
.step:nth-child(3) { background: var(--coral-100); margin-top: 4.4rem; }
.step-n { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.1rem; border-radius: 14px; background: var(--ink); color: #fff; font: 800 1.4rem/1 var(--font-title); transition: transform .35s var(--ease-bounce); }
.step:hover .step-n { transform: rotate(-8deg) scale(1.08); }
.step p { margin: 0; color: var(--ink-80); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(n) { margin-top: 0; }
}

/* Fonctionnalites en mosaique */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.bento-item { position: relative; grid-column: span 2; padding: 1.6rem; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.bento-item p { margin: 0; color: var(--ink-60); font-size: .98rem; }
.bento-item h3 { margin-bottom: .4rem; }
.bento-editor { grid-column: span 4; grid-row: span 2; background: var(--violet); border-color: var(--ink); color: #fff; display: flex; flex-direction: column; }
.bento-editor h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 16ch; }
.bento-editor p { color: #E4DEFF; max-width: 42ch; font-size: 1.05rem; }
.bento-editor .icon-bubble { background: rgba(255, 255, 255, .16); color: #fff; }
.bento-art { margin-top: auto; padding-top: 1.6rem; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.ba-block { display: block; height: 34px; border: 2px solid var(--ink); border-radius: 10px; transition: transform .45s var(--ease-bounce); }
.ba-1 { background: var(--sun); width: 100%; }
.ba-2 { background: var(--mint); width: 78%; transform: translateX(14%) rotate(-2deg); }
.ba-3 { background: var(--coral); width: 90%; }
.bento-editor:hover .ba-2 { transform: translateX(0) rotate(0); }
.bento-editor:hover .ba-1 { transform: translateX(6%); }
.section-more { margin-top: 2rem; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-item { grid-column: span 1; }
  .bento-editor { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item, .bento-editor { grid-column: auto; }
}

/* Vignettes des sites d'exemple */
.examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.example { --p: #C8102E; --s: #FFC72C; --bg: #FFFDF5; --t: #2B1A0E; display: block; text-decoration: none; color: var(--ink); }
.example:hover { color: var(--ink); }
.theme-fleuriste { --p: #2F6B4F; --s: #F2B5B0; --bg: #FFFCF8; --t: #1F2E26; }
.theme-coiffeur { --p: #9A4A21; --s: #E8C9A0; --bg: #FAF8F5; --t: #2A1A12; }
.theme-restaurant { --p: #7A2E3A; --s: #D9A441; --bg: #FBF8F3; --t: #221C1A; }
.example-shot { display: block; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--bg); aspect-ratio: 4 / 5; transition: transform .35s var(--ease-bounce), box-shadow .3s; }
.example:hover .example-shot, .example:focus-visible .example-shot { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.ex-bar { display: flex; align-items: center; gap: 4px; padding: 7px 9px; background: #fff; border-bottom: 1.5px solid var(--line); font-size: .66rem; color: var(--ink-60); }
.ex-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.ex-bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-page { display: flex; flex-direction: column; gap: 10px; padding: 12px; height: 100%; }
.ex-nav { display: flex; justify-content: space-between; align-items: center; }
.ex-nav b { font: 800 .82rem/1.1 var(--font-title); color: var(--p); }
.ex-nav span { width: 32%; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--t) 25%, transparent); }
.ex-hero { display: flex; flex-direction: column; gap: 6px; padding: 12px 0 4px; }
.ex-title { height: 12px; width: 85%; border-radius: 4px; background: var(--t); }
.ex-title.short { width: 55%; }
.ex-btn { margin-top: 4px; width: 38%; height: 16px; border-radius: 999px; background: var(--p); }
.ex-art { flex: 1; max-height: 34%; border-radius: 12px; background: linear-gradient(135deg, var(--s), color-mix(in srgb, var(--s) 55%, var(--p))); position: relative; overflow: hidden; }
.ex-art::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; right: -8%; bottom: -18%; background: color-mix(in srgb, var(--p) 75%, #fff); opacity: .8; }
.ex-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ex-cards span { height: 36px; border-radius: 8px; background: #fff; border: 1px solid color-mix(in srgb, var(--t) 12%, transparent); }
.example-meta { display: block; padding: .9rem .2rem 0; }
.example-meta strong { display: block; font: 700 1.1rem/1.2 var(--font-title); }
.example-meta span { font-size: .9rem; color: var(--ink-60); }
@media (max-width: 960px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Exemples d'usage */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.use { margin: 0; padding: 1.7rem; border-left: 5px solid var(--ink); background: #fff; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.use:nth-child(1) { border-left-color: var(--sun); }
.use:nth-child(2) { border-left-color: var(--mint); }
.use:nth-child(3) { border-left-color: var(--coral); }
.use h3 { margin: .9rem 0 .5rem; }
.use p { margin: 0; color: var(--ink-80); }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr; } }

.more-questions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center; margin-top: 2rem; }
.more-questions p { margin: 0 .4rem 0 0; color: var(--ink-60); }
.demo-empty { display: none; }
.demo.is-live .demo-empty { position: absolute; inset: 16px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px dashed #CFC8EA; border-radius: 10px; background: #FBFAFE; color: var(--ink-60); font-weight: 600; transition: opacity .4s; }
.demo-empty span { width: 46%; height: 12px; border-radius: 6px; background: #ECE8F7; }
.demo-empty span:nth-child(2) { width: 34%; }
.demo-empty span:nth-child(3) { width: 40%; margin-bottom: 8px; }
.demo.is-live .demo-empty.is-gone { opacity: 0; pointer-events: none; }
.hero-ctas .btn-lg { padding: 1.05em 1.45em; }

/* =========================================================
   Page fonctionnalites
   ========================================================= */
.feature-index { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.feature-index a { padding: .45rem .9rem; border: 1.5px solid var(--ink); border-radius: var(--r-full); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s, transform .25s var(--ease-bounce); }
.feature-index a:hover { background: var(--sun); transform: translateY(-2px); color: var(--ink); }
.features-list { display: grid; gap: clamp(3rem, 7vw, 6rem); padding-block: clamp(2rem, 5vw, 4rem); }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; scroll-margin-top: 96px; }
.feature-row.is-flipped .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.feature-text > p { color: var(--ink-80); font-size: 1.08rem; max-width: 52ch; margin-bottom: 1.3rem; }
.feature-visual { min-height: 260px; border: 2px solid var(--ink); border-radius: var(--r-xl); background: var(--violet-50); display: grid; place-items: center; padding: 2rem; position: relative; overflow: hidden; }
.feature-row:nth-child(4n+2) .feature-visual { background: var(--sun-100); }
.feature-row:nth-child(4n+3) .feature-visual { background: var(--mint-100); }
.feature-row:nth-child(4n) .feature-visual { background: var(--coral-100); }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.is-flipped .feature-text { order: 0; }
  .feature-visual { min-height: 200px; }
}
/* Illustrations */
.fa-window { width: min(100%, 340px); background: #fff; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.fa-bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1.5px solid var(--line); }
.fa-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.fa-blocks { display: grid; gap: 8px; padding: 14px; }
.fa-blocks span { height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.fa-blocks .b1 { background: var(--sun); }
.fa-blocks .b2 { background: var(--mint); transform: translateX(18px) rotate(-3deg); box-shadow: 4px 4px 0 var(--ink); }
.fa-blocks .b3 { background: var(--coral); }
.fa-chat { display: grid; gap: 10px; width: min(100%, 320px); }
.fa-chat span { padding: 10px 14px; border-radius: 16px; font-size: .95rem; max-width: 85%; }
.fa-chat .bot { background: #fff; border: 1.5px solid var(--ink); justify-self: start; border-bottom-left-radius: 4px; }
.fa-chat .me { background: var(--violet); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.fa-typing { display: inline-flex; gap: 5px; }
.fa-typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-40); animation: fa-dot 1.2s infinite; }
.fa-typing i:nth-child(2) { animation-delay: .15s; }
.fa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fa-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.fa-devices { display: flex; align-items: flex-end; gap: 16px; }
.fa-desktop, .fa-phone { display: flex; flex-direction: column; gap: 7px; padding: 12px; background: #fff; border: 2px solid var(--ink); }
.fa-desktop { width: 220px; height: 150px; border-radius: 12px; }
.fa-phone { width: 82px; height: 156px; border-radius: 18px; }
.fa-phone.big { width: 130px; height: 230px; border-radius: 24px; border-width: 5px; position: relative; }
.fa-desktop span, .fa-phone span { height: 14px; border-radius: 5px; background: var(--violet-100); }
.fa-desktop span:first-child, .fa-phone span:first-child { height: 40px; background: var(--mint); }
.fa-notif { height: 34px !important; background: var(--sun) !important; border: 1.5px solid var(--ink); animation: float 4s ease-in-out infinite; }
.fa-url { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r-full); box-shadow: 5px 5px 0 var(--ink); font-size: 1.1rem; }
.fa-lock { width: 16px; height: 14px; border-radius: 3px; background: #0B6B4E; position: relative; margin-top: 6px; }
.fa-lock::before { content: ""; position: absolute; left: 3px; top: -8px; width: 6px; height: 8px; border: 2.5px solid #0B6B4E; border-bottom: 0; border-radius: 6px 6px 0 0; }
.fa-serp { width: min(100%, 360px); background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px; }
.fa-serp small { color: #0B6B4E; }
.fa-serp b { color: #2A1FB0; font-size: 1.1rem; }
.fa-serp span { height: 8px; border-radius: 4px; background: var(--line); }
.fa-serp .short, .fa-invoice .short { width: 60%; }
.fa-form { width: min(100%, 300px); display: grid; gap: 10px; padding: 18px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; }
.fa-form span { height: 30px; border: 1.5px solid var(--line); border-radius: 9px; }
.fa-form .tall { height: 70px; }
.fa-form .fa-send { height: 34px; width: 50%; border: 0; border-radius: 999px; background: var(--violet); }
.fa-bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; width: min(100%, 320px); }
.fa-bars span { flex: 1; height: var(--h); background: var(--violet); border: 2px solid var(--ink); border-radius: 8px 8px 0 0; transform-origin: bottom; }
.fa-bars span:nth-child(6) { background: var(--sun); }
.reveal.is-visible .fa-bars span { animation: fa-grow .9s var(--ease-bounce) both; }
@keyframes fa-grow { from { transform: scaleY(0); } }
.fa-servers { position: relative; display: grid; gap: 10px; width: 220px; }
.fa-servers span { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; }
.fa-servers i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.fa-servers i + i { background: var(--line); width: 60px; height: 8px; border-radius: 4px; margin-left: auto; }
.fa-servers b { position: absolute; right: -22px; top: -22px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); font: 800 1.1rem/1 var(--font-title); transform: rotate(10deg); }
.fa-invoice { width: min(100%, 260px); display: grid; gap: 9px; padding: 20px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-2deg); }
.fa-invoice b { font: 800 1.3rem/1 var(--font-title); }
.fa-invoice span { height: 8px; border-radius: 4px; background: var(--line); }
.fa-invoice em { justify-self: end; font-style: normal; font-weight: 700; font-size: .8rem; padding: .3em .7em; border-radius: 999px; background: var(--mint-100); color: #0B6B4E; }
.demo.is-compact .demo-scale { aspect-ratio: 540 / 620; }
.demo.is-compact .demo-stage { width: 540px; height: 620px; font-size: 14px; }
.demo.is-compact .demo-panel { width: 190px; }
.demo.is-compact .demo-swatches { gap: 5px; padding: 0; }
.demo.is-compact .demo-pagename { display: none; }
.demo.is-compact .demo-canvas { padding: 10px; }
.demo.is-compact .demo-msg { font-size: 13.5px; }
@media (max-width: 600px) {
  .demo.is-live .demo-steps li:not(.is-current) { display: none; }
  .hero-demo::after { display: none; }
}

/* Auth : decor et confirmation */
.auth-deco { position: absolute; right: -30px; bottom: -30px; display: grid; grid-template-columns: repeat(3, 70px); gap: 12px; transform: rotate(-12deg); }
.auth-deco span { height: 70px; border-radius: 18px; border: 2px solid var(--ink); }
.auth-deco span:nth-child(1) { background: var(--sun); }
.auth-deco span:nth-child(2) { background: var(--mint); transform: translateY(-24px); }
.auth-deco span:nth-child(3) { background: var(--coral); }
.verified-badge { margin-bottom: 1.2rem; }
.verified-check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .3s var(--ease-out) forwards; }
.page-auth .site-footer { display: none; }

/* Contact / sur mesure / exemples */
.contact-grid, .custom-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.custom-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.contact-aside { display: grid; gap: 1rem; }
.contact-box { padding: 1.4rem; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.contact-box h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.contact-box p { color: var(--ink-60); margin-bottom: .5rem; }
.form-title { font-size: 1.6rem; }
.custom-steps { padding-left: 0; list-style: none; counter-reset: cs; display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.custom-steps li { counter-increment: cs; position: relative; padding-left: 3rem; color: var(--ink-80); }
.custom-steps li::before { content: counter(cs); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 10px; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); font: 800 1rem/1 var(--font-title); color: var(--ink); }
.custom-steps strong { color: var(--ink); }
@media (max-width: 900px) { .contact-grid, .custom-grid { grid-template-columns: 1fr; } }
.trade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.trade { display: flex; flex-direction: column; padding: 1.4rem; border: 2px solid var(--ink); border-radius: var(--r-lg); background: #fff; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease-bounce), box-shadow .3s; }
.trade:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.trade h3 { margin-bottom: .4rem; }
.trade p { color: var(--ink-60); font-size: .95rem; flex: 1; }
.trade .link-arrow { color: var(--violet); font-size: .92rem; }
.example-shot { display: flex; flex-direction: column; }
.ex-img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.demo:not(.is-live) .demo-swatch.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px transparent; }
.demo:not(.is-live) [data-demo-swatch-target] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
