/* ==========================================================================
   SERVIA DIGITAL — feuille de style (mobile-first)
   1. Variables  2. Base  3. Composants  4. Sections  5. Responsive  6. Accessibilité
   ========================================================================== */

/* ------------------------------------------------------------ 1. Variables */
:root {
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --header-h: 68px;
  --bar-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --purple: #7c4dff;
  --purple-2: #5b2fd1;
  --gold: #f0b429;
  --blue: #3b82f6;
  --wa: #1fa855;
  --wa-hover: #198a46;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080c1c;
  --bg-alt: #0b1126;
  --surface: #111836;
  --surface-2: #161e42;
  --text: #eef1fb;
  --muted: #a3acc9;
  --border: rgba(160, 175, 230, .16);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --accent: #a58bff;
  --accent-soft: rgba(124, 77, 255, .16);
  --header-bg: rgba(8, 12, 28, .78);
  --gold-text: #f5c451;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6fb;
  --bg-alt: #eceefa;
  --surface: #ffffff;
  --surface-2: #f3f4fc;
  --text: #0b1030;
  --muted: #566086;
  --border: rgba(20, 30, 90, .13);
  --shadow: 0 10px 30px rgba(30, 40, 110, .10);
  --accent: #5b2fd1;
  --accent-soft: rgba(91, 47, 209, .10);
  --header-bg: rgba(245, 246, 251, .85);
  --gold-text: #8a5d00;
}

/* ----------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  background: var(--bg); color: var(--text); overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 10px); /* place pour la barre fixe du bas */
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 7.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
.h3-xl { font-size: clamp(1.6rem, 4.5vw, 2.2rem); font-weight: 800; }
.h3-sm { font-size: 1.05rem; margin: 1.6rem 0 .8rem; }
h4 { font-size: 1rem; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--purple); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.icon { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
.icon svg { width: 100%; height: 100%; }
.icon.big { width: 1.9rem; height: 1.9rem; }

/* ------------------------------------------------------------ 3. Composants */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 8px 22px rgba(124, 77, 255, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(124, 77, 255, .5); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31, 168, 85, .28); }
.btn-whatsapp:hover { background: var(--wa-hover); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(240, 180, 41, .2); }

.logo-badge { display: inline-flex; align-items: center; background: #fff; border-radius: 14px; padding: .35rem .7rem; box-shadow: var(--shadow); border: 1px solid rgba(20, 30, 90, .08); }
.logo-badge img { height: 34px; width: auto; max-width: 100%; }
.logo-badge-lg { padding: .7rem 1.1rem; margin-bottom: 1.2rem; }
.logo-badge-lg img { height: 56px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.panel > p + p, .panel p + .tags { margin-top: .9rem; }
.panel h3 { margin-bottom: .5rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tags li { background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; }

.notice { padding: 1rem; border: 1px dashed var(--border); border-radius: var(--radius-sm); color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.header-tools { display: flex; align-items: center; gap: .45rem; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 44px; height: 44px; padding: 0 .75rem;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; font-weight: 700; font-size: .85rem;
  transition: border-color .2s, background-color .2s;
}
.tool-btn:hover { border-color: var(--accent); }
.tool-btn.icon-only { padding: 0; width: 44px; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: inline-flex; }
:root[data-theme="dark"] .theme-moon { display: none; }
:root[data-theme="light"] .theme-moon { display: inline-flex; }

/* ------------------------------------------------------------- 4. Sections */
.section { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2.2rem; display: grid; gap: .8rem; }
.section-head.sub { margin: 3.2rem 0 1.6rem; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.2rem, 8vw, 5rem) 0 clamp(3rem, 9vw, 6rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.o1 { width: 320px; height: 320px; background: var(--purple); top: -90px; right: -80px; }
.o2 { width: 260px; height: 260px; background: var(--blue); bottom: -80px; left: -80px; opacity: .3; }
:root[data-theme="light"] .orb { opacity: .22; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); opacity: .5; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.6rem; align-items: center; }
.hero-copy { display: grid; gap: 1.1rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.slogan { font-weight: 700; color: var(--gold-text); font-size: 1.05rem; }
.hero-copy .btn-row { margin-top: .4rem; }

.hero-visual { display: flex; justify-content: center; }
.visual-card { position: relative; width: min(100%, 360px); aspect-ratio: 1; }
.avatar-ring { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 20px 60px rgba(124, 77, 255, .35); background: #080c1c; }
.avatar-ring img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 700; font-size: .78rem; white-space: nowrap; color: var(--text); }
.chip .icon { color: var(--accent); }
.chip-1 { top: 6%; left: -4%; animation: float 6s ease-in-out infinite; }
.chip-2 { top: 46%; right: -6%; animation: float 7s ease-in-out -2s infinite; }
.chip-3 { bottom: 4%; left: 2%; animation: float 6.5s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Services */
.cards { display: grid; gap: 1.2rem; }
.card { display: flex; flex-direction: column; gap: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.card-icon .icon { width: 1.6rem; height: 1.6rem; }
.card-desc { color: var(--muted); }
.checks { display: grid; gap: .5rem; }
.checks li { display: flex; gap: .6rem; font-size: .94rem; }
.tick { color: var(--wa); margin-top: .2em; width: 1.05em; height: 1.05em; flex: none; display: inline-flex; }
.tick svg { width: 100%; height: 100%; stroke-width: 2.4; }
.benefit { background: var(--surface-2); border-radius: var(--radius-sm); padding: .9rem 1rem; font-size: .92rem; border-left: 3px solid var(--gold); }
.benefit strong { display: block; margin-bottom: .2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-text); }
.price { font-weight: 700; color: var(--accent); }
.card .btn { margin-top: auto; }

/* À propos */
.about-grid { display: grid; gap: 1.2rem; }
.person { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.person-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--purple); flex: none; }
.why-grid { display: grid; gap: 1rem; }
.why { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem; }
.why-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.why h4 { margin-bottom: .2rem; }
.why p { color: var(--muted); font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; gap: 1.4rem; }
.contact-col { display: grid; gap: .9rem; align-content: start; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.contact-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.contact-card span:nth-child(2) { flex: 1; display: grid; }
.contact-card small { color: var(--muted); font-size: .95rem; }
.contact-card.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.contact-card.wa small { color: rgba(255, 255, 255, .88); }
.contact-card.wa:hover { background: var(--wa-hover); }
.social-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6rem; }
.social { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); min-height: 56px; transition: border-color .2s, transform .2s; }
a.social:hover { border-color: var(--accent); transform: translateY(-1px); }
.social .icon { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.social-txt { display: grid; min-width: 0; }
.social-txt strong { font-size: .92rem; }
.social-txt small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social.is-disabled { opacity: .6; border-style: dashed; cursor: not-allowed; }

/* Formulaire */
.form { display: grid; gap: 1rem; align-content: start; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; background: var(--surface-2); border: 1.5px solid var(--border); border-radius: var(--radius-sm); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124, 77, 255, .25); }
[aria-invalid="true"] { border-color: #e5484d; }
.error { color: #ff6b70; font-size: .85rem; min-height: 0; }
:root[data-theme="light"] .error { color: #c62828; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #2fc16d; }
:root[data-theme="light"] .form-status.is-ok { color: #12803f; }
.form-status.is-error { color: #ff6b70; }
.form-status.is-info { color: var(--muted); }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-slogan { margin: 1rem 0 1.2rem; max-width: 34ch; }
.site-footer h4 { margin-bottom: .8rem; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.social-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); transition: transform .2s, border-color .2s; }
.social-ico:hover { transform: translateY(-2px); border-color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0 1.6rem; color: var(--muted); font-size: .88rem; }

/* Animations au défilement (actives uniquement si JavaScript est chargé) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ----------------------------------------------------------- 5. Responsive */
@media (min-width: 600px) {
  .cards, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-badge img { height: 38px; }
}
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1.2fr 1fr; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .panel { padding: 2rem; }
}
@media (max-width: 380px) {
  .logo-badge img { height: 28px; }
  .tool-btn { padding: 0 .5rem; min-width: 40px; height: 40px; }
  .tool-btn.icon-only { width: 40px; }
  .header-tools { gap: .3rem; }
  .chip { font-size: .7rem; padding: .4rem .65rem; }
}

/* --------------------------------------------------------- 6. Accessibilité */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (prefers-contrast: more) {
  :root { --border: rgba(160, 175, 230, .5); }
}


/* ============ Barre de navigation fixe (bas) ============ */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 max(.4rem, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(.4rem, env(safe-area-inset-left, 0px));
  background: var(--header-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 26px rgba(0, 0, 0, .18);
}
.bn-item, .bn-ia { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; height: var(--bar-h); min-width: 0; color: var(--muted); background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s; }
.bn-item .icon { width: 1.5rem; height: 1.5rem; transition: transform .2s var(--ease); }
.bn-label { font-size: .68rem; font-weight: 700; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-item:hover, .bn-item[aria-current="page"] { color: var(--accent); }
.bn-item[aria-current="page"] .icon { transform: translateY(-2px); }
.bn-item[aria-current="page"]::after { content: ""; position: absolute; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); margin-top: calc(var(--bar-h) - 3px); }
.bn-item { position: relative; }
/* Servia IA au centre, légèrement surélevé */
.bn-ia { position: relative; color: var(--text); justify-content: flex-end; padding-bottom: .4rem; }
.bn-ia-ring { display: grid; place-items: center; width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--gold)); padding: 3px; box-shadow: 0 8px 22px rgba(124, 77, 255, .5); transition: transform .2s var(--ease); }
.bn-ia-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #fff; }
.bn-ia:hover .bn-ia-ring, .bn-ia[aria-expanded="true"] .bn-ia-ring { transform: scale(1.07); }
.bn-ia .bn-label { color: var(--accent); }
.tool-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.tool-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
@media (min-width: 900px) {
  .bottom-nav { padding-inline: calc((100% - 640px) / 2); }
  .bn-label { font-size: .75rem; }
}
@media (max-width: 400px) { .tool-wa { display: none; } }

/* ============ Assistant virtuel Servia IA ============ */
.servia-chat-panel { position: fixed; z-index: 290; left: 50%; transform: translateX(-50%); bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 36px); width: min(390px, calc(100vw - 24px)); height: min(560px, calc(100dvh - var(--bar-h) - var(--header-h) - 70px)); min-height: 320px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); overflow: hidden; }
.servia-chat-panel[hidden] { display: none; }
.servia-chat-head { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; background: linear-gradient(135deg, #0b1536, #24104a); color: #fff; }
.servia-chat-head img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; background: #fff; }
.servia-chat-head div { display: grid; flex: 1; }
.servia-chat-head small { font-size: .78rem; opacity: .8; }
.servia-chat-head button { border: 0; background: transparent; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 .4rem; min-width: 44px; min-height: 44px; }
.servia-chat-messages { display: flex; flex-direction: column; gap: .7rem; overflow-y: auto; flex: 1; padding: 1rem; background: var(--bg-alt); overscroll-behavior: contain; }
.servia-chat-bubble { max-width: 88%; padding: .65rem .85rem; border-radius: 15px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.5; }
.servia-chat-bubble.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.servia-chat-bubble.user { align-self: flex-end; background: var(--purple-2); color: #fff; border-bottom-right-radius: 5px; }
.servia-chat-bubble.error { color: #ff6b70; }
:root[data-theme="light"] .servia-chat-bubble.error { color: #c62828; }
.servia-chat-bubble.typing { color: var(--muted); font-style: italic; }
.servia-chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .5rem .7rem 0; background: var(--surface); }
.servia-chat-chips:empty { display: none; }
.servia-chat-chips button { border: 1px solid var(--border); background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 600; cursor: pointer; }
.servia-chat-form { display: flex; gap: .5rem; padding: .7rem; background: var(--surface); }
.servia-chat-form input { flex: 1; min-width: 0; min-height: 44px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--bg-alt); padding: .6rem .95rem; outline: none; font-size: 16px; /* évite le zoom iOS */ }
.servia-chat-form input:focus { border-color: var(--accent); }
.servia-chat-form button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--purple-2), var(--purple)); color: #fff; font-size: 1.15rem; cursor: pointer; }
.servia-chat-form button:disabled { opacity: .5; cursor: wait; }
.servia-chat-powered { text-align: center; padding: 0 0 .5rem; color: var(--muted); font-size: .7rem; background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
