/*
Theme Name: Asser AI Interface
Theme URI: https://ai-asserconsulting.it
Author: Asser Consulting
Description: Tema WordPress leggero per l'interfaccia Asser AI, pensato per portale clienti e gestionale.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: asser-ai-interface
*/

:root {
  --asser-primary: #5b263f;
  --asser-primary-2: #884866;
  --asser-accent: #ea8ab9;
  --asser-ink: #342d3d;
  --asser-muted: #756c78;
  --asser-line: #eadbe4;
  --asser-bg: #fbf8f6;
  --asser-white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(234, 138, 185, 0.14), transparent 30%),
    linear-gradient(180deg, #fff, var(--asser-bg));
  color: var(--asser-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.asser-ai-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(91, 38, 63, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.asser-ai-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100vw - 32px));
  min-height: 78px;
  margin: 0 auto;
}

.asser-ai-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--asser-primary);
  text-decoration: none;
  font-weight: 900;
}

.asser-ai-brand__gem {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, #f59fcb, #8c3f61 62%, #5b263f);
  clip-path: polygon(50% 0, 92% 24%, 80% 78%, 50% 100%, 18% 78%, 6% 24%);
  box-shadow: 0 12px 28px rgba(91, 38, 63, 0.22);
}

.asser-ai-brand span {
  display: block;
  line-height: 1;
}

.asser-ai-brand small {
  display: block;
  margin-top: 4px;
  color: var(--asser-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.asser-ai-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--asser-muted);
  font-size: 14px;
  font-weight: 750;
}

.asser-ai-nav a {
  text-decoration: none;
}

.asser-ai-nav a:hover {
  color: var(--asser-primary);
}

.asser-ai-nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--asser-primary);
  color: #fff;
  box-shadow: 0 14px 34px rgba(91, 38, 63, 0.2);
}

.asser-ai-main {
  min-height: calc(100vh - 160px);
}

.asser-ai-page {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.asser-ai-page h1 {
  margin: 0 0 24px;
  color: var(--asser-primary);
  font-size: clamp(40px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.asser-ai-content {
  font-size: 18px;
  line-height: 1.65;
}

.asser-ai-content > *:first-child {
  margin-top: 0;
}

.asser-ai-footer {
  border-top: 1px solid rgba(91, 38, 63, 0.12);
  background: #fff;
}

.asser-ai-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100vw - 32px));
  min-height: 82px;
  margin: 0 auto;
  color: var(--asser-muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .asser-ai-header__inner,
  .asser-ai-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .asser-ai-nav {
    flex-wrap: wrap;
    gap: 14px;
  }
}

