/* RepairOne — site institucional. Cores e fontes: docs/identidade-visual.md */
:root {
  --violet: #6d28d9;
  --violet-light: #8b5cf6;
  --violet-deep: #5b21b6;
  --lavender: #c4b5fd;
  --amber: #f59e0b;
  --graphite: #14121a;
  --graphite-raised: #1e1b26;

  --bg: #ffffff;
  --bg-alt: #f6f5f9;
  --surface: #ffffff;
  --text: #18151f;
  --text-muted: #5d576d;
  --border: #e4e1ea;
  --accent-text: #6d28d9;
  --icon-bg: #eee5ff;

  --font-head: 'Manrope', system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14121a;
    --bg-alt: #1a1722;
    --surface: #1e1b26;
    --text: #f5f4fa;
    --text-muted: #b3b0c2;
    --border: #2f2b3a;
    --accent-text: #c4b5fd;
    --icon-bg: #2d2144;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 8px 14px; background: var(--violet); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(20, 18, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--lavender); }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn) { text-decoration: none; color: rgba(255, 255, 255, 0.78); }
.nav a:not(.btn):hover { color: #fff; }
@media (max-width: 560px) { .nav a:not(.btn) { display: none; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 24px rgba(109, 40, 217, 0.35); }
.btn-primary:hover { background: var(--violet-deep); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-ghost { min-height: 38px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, 0.25); color: #fff; }
.btn-ghost:hover { border-color: var(--lavender); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(139, 92, 246, 0.35), transparent 70%),
    radial-gradient(45% 60% at 0% 75%, rgba(91, 33, 182, 0.35), transparent 70%),
    var(--graphite);
  color: #fff;
  padding: 88px 0 104px;
}
/* Arco âmbar: o "reflexo da pintura nova" do símbolo, ampliado. */
.hero::after {
  content: ""; position: absolute; right: -260px; top: 48px;
  width: 620px; height: 620px; border-radius: 50%;
  border: 3px solid transparent; border-top-color: rgba(245, 158, 11, 0.6);
  transform: rotate(28deg); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 800; margin: 14px 0 20px; }
.hero h1 em { font-style: normal; color: var(--lavender); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255, 255, 255, 0.78); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.hero .eyebrow { color: var(--amber); }

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 10px 0 14px; }
.section-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 620px; }

.cards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--violet-light); transform: translateY(-2px); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin: 18px 0 8px; }
.card p { color: var(--text-muted); font-size: 0.97rem; }
.icon {
  width: 44px; height: 44px; padding: 10px; border-radius: 12px; flex: none;
  background: var(--icon-bg); stroke: var(--accent-text); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.points { display: grid; gap: 32px; margin-top: 44px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.point-num { font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: var(--amber); }
.point h3 { font-size: 1.2rem; font-weight: 700; margin: 8px 0; }
.point p { color: var(--text-muted); }

/* ---------- Contato ---------- */
.contact-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .contact-inner { grid-template-columns: 1.2fr 1fr; } }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; transition: border-color 0.15s;
}
.contact-item:hover { border-color: var(--violet-light); }
.contact-item span { display: grid; font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-item strong { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Rodapé ---------- */
.footer { background: var(--graphite); color: rgba(255, 255, 255, 0.7); padding: 32px 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer .brand-name { color: #fff; }
.brand-name-sm { font-size: 1.1rem; }
.footer a { color: var(--lavender); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Página 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--graphite); color: #fff; padding: 32px 16px; }
.notfound h1 { font-size: 2.4rem; font-weight: 800; margin: 24px 0 12px; }
.notfound p { color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
