/* =========================================================
   SIMA NEGOCIOS E MARKETING LTDA
   Conceito visual: Mesa de Controle Confiável
   Direção: institucional premium, clareza operacional,
   marketing direto + apoio administrativo especializado.
   Sem frameworks, mobile-first, tokens globais.
========================================================= */

:root {
  --ink-900: #101820;
  --ink-800: #172430;
  --ink-700: #243240;
  --ink-600: #344556;
  --paper-50: #f8f5ee;
  --paper-100: #efe9dc;
  --paper-200: #ded4c2;
  --line: rgba(16, 24, 32, .13);
  --line-light: rgba(248, 245, 238, .16);
  --copper-500: #b87333;
  --copper-600: #935a29;
  --sage-500: #708878;
  --blueprint-500: #466a85;
  --white: #ffffff;
  --success: #466f57;
  --danger: #8f3f32;

  --font-main: Arial, Helvetica, sans-serif;
  --font-alt: Georgia, 'Times New Roman', serif;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-base: 1rem;
  --fs-md: 1.12rem;
  --fs-lg: 1.35rem;
  --fs-xl: clamp(1.75rem, 4.8vw, 2.65rem);
  --fs-2xl: clamp(2.35rem, 7vw, 4rem);

  --space-1: .35rem;
  --space-2: .7rem;
  --space-3: 1rem;
  --space-4: 1.45rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;

  --radius-sm: .65rem;
  --radius-md: 1.2rem;
  --radius-lg: 2rem;
  --radius-full: 999px;

  --shadow-soft: 0 20px 60px rgba(16, 24, 32, .12);
  --shadow-panel: 0 30px 90px rgba(16, 24, 32, .18);
  --max: 1180px;
  --ease: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink-900);
  background:
    radial-gradient(circle at 15% 0%, rgba(184, 115, 51, .16), transparent 35%),
    linear-gradient(180deg, var(--paper-50), #f3eee5 48%, var(--paper-100));
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: rgba(16, 24, 32, .74); }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.04em; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 1rem; background: var(--ink-900); color: var(--white);
  padding: .8rem 1rem; border-radius: var(--radius-sm); z-index: 1000;
}
.skip-link:focus { left: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: var(--space-7) 0; }
.section-tight { padding: var(--space-6) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .18em;
  font-weight: 700; color: var(--copper-600); margin-bottom: var(--space-3);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: var(--fs-md); max-width: 760px; color: rgba(16, 24, 32, .72); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(16, 24, 32, .09);
  background: rgba(248, 245, 238, .88);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: var(--ink-900); color: var(--paper-50); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.brand-mark::after { content: ''; position: absolute; inset: 7px 7px auto auto; width: 10px; height: 10px; background: var(--copper-500); border-radius: 50%; }
.brand small { display:block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-600); font-weight: 700; }
.nav { display: none; align-items: center; gap: .25rem; }
.nav a { padding: .7rem .85rem; border-radius: var(--radius-full); color: rgba(16,24,32,.72); font-weight: 700; font-size: var(--fs-sm); transition: var(--ease); }
.nav a:hover, .nav a:focus-visible { color: var(--ink-900); background: rgba(184,115,51,.12); outline: none; }
.header-cta { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  border: 1px solid transparent; border-radius: var(--radius-full);
  padding: .95rem 1.2rem; font-weight: 800; line-height: 1;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink-900); color: var(--paper-50); box-shadow: 0 16px 35px rgba(16,24,32,.24); }
.btn-primary:hover { background: #071018; }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.42); color: var(--ink-900); }
.btn-secondary:hover { border-color: rgba(184,115,51,.45); background: rgba(184,115,51,.08); }
.btn-light { background: var(--paper-50); color: var(--ink-900); }

.hero { padding: calc(var(--space-6) + 1rem) 0 var(--space-7); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-5); align-items: center; }
.hero h1 { font-size: var(--fs-2xl); max-width: 850px; }
.hero h1 em { font-family: var(--font-alt); color: var(--copper-600); font-style: italic; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.trust-strip { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: var(--space-5); }
.trust-item { border-left: 2px solid var(--copper-500); padding-left: var(--space-3); font-size: var(--fs-sm); color: rgba(16,24,32,.72); }
.control-panel {
  background: linear-gradient(145deg, var(--ink-900), #1b2a36);
  color: var(--paper-50); border-radius: var(--radius-lg); padding: var(--space-4);
  box-shadow: var(--shadow-panel); position: relative; overflow: hidden;
}
.control-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(248,245,238,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(248,245,238,.05) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.panel-content { position: relative; z-index: 1; }
.panel-top { display: flex; justify-content: space-between; gap: var(--space-3); align-items: start; margin-bottom: var(--space-4); }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: rgba(248,245,238,.76); }
.status::before { content: ''; width: 8px; height: 8px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 5px rgba(70,111,87,.22); }
.panel-metric { padding: var(--space-3); border: 1px solid var(--line-light); border-radius: var(--radius-md); margin-top: var(--space-2); background: rgba(255,255,255,.035); }
.panel-metric strong { display:block; font-size: 2rem; letter-spacing: -.05em; color: #fff; }
.panel-flow { display: grid; gap: .7rem; margin-top: var(--space-4); }
.flow-step { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--line-light); padding-bottom: .7rem; color: rgba(248,245,238,.78); font-size: var(--fs-sm); }
.flow-step span:last-child { color: var(--copper-500); font-weight: 800; }

.split { display: grid; gap: var(--space-5); align-items: start; }
.title-block h2 { font-size: var(--fs-xl); max-width: 820px; }
.insight-card, .service-card, .proof-card, .legal-card, .contact-card, .value-card {
  background: rgba(255,255,255,.44); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4); box-shadow: 0 10px 40px rgba(16,24,32,.06);
}
.insight-card { position: relative; overflow: hidden; }
.insight-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border: 1px solid rgba(184,115,51,.3); border-radius: 50%; }
.grid-3, .grid-2, .stats-grid, .services-grid, .values-grid { display: grid; gap: var(--space-3); }
.service-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; transition: var(--ease); }
.service-card:hover { transform: translateY(-4px); border-color: rgba(184,115,51,.38); box-shadow: var(--shadow-soft); }
.card-index { font-family: var(--font-alt); color: var(--copper-600); font-size: 1.4rem; }
.card-title { font-size: var(--fs-lg); margin: var(--space-3) 0 var(--space-2); }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: var(--space-3); }
.tag { border: 1px solid var(--line); border-radius: var(--radius-full); padding: .35rem .6rem; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-600); }

.process { counter-reset: step; }
.process-item { display: grid; gap: var(--space-2); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.process-item::before { counter-increment: step; content: '0' counter(step); color: var(--copper-600); font-family: var(--font-alt); font-size: 2rem; line-height: 1; }

.stat { padding: var(--space-4); border-radius: var(--radius-lg); background: var(--ink-900); color: var(--paper-50); position: relative; overflow: hidden; }
.stat:nth-child(even) { background: var(--blueprint-500); }
.stat strong { display:block; font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: -.07em; }
.stat span { color: rgba(248,245,238,.76); }

.testimonial { background: var(--paper-50); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); }
.quote { font-family: var(--font-alt); font-size: 1.25rem; color: var(--ink-800); }
.person { margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--ink-600); font-weight: 800; }

.faq { display: grid; gap: var(--space-2); }
details { border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3); background: rgba(255,255,255,.38); }
summary { cursor: pointer; font-weight: 800; color: var(--ink-900); }
details p { margin-top: var(--space-2); }

.cta-band { background: linear-gradient(135deg, var(--ink-900), var(--ink-700)); color: var(--paper-50); border-radius: var(--radius-lg); padding: var(--space-5); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(184,115,51,.38); right: -80px; bottom: -100px; }
.cta-band p { color: rgba(248,245,238,.76); }
.cta-band .btn { margin-top: var(--space-4); }

.page-hero { padding: var(--space-6) 0 var(--space-5); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--fs-2xl); max-width: 900px; }
.content-flow { display: grid; gap: var(--space-4); }
.legal-card h2, .contact-card h2 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.legal-card ul { margin: var(--space-2) 0 0; padding-left: 1.2rem; color: rgba(16,24,32,.74); }
.form-grid { display: grid; gap: var(--space-3); }
.field { display: grid; gap: .4rem; }
label { font-weight: 800; color: var(--ink-800); }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .95rem 1rem;
  background: rgba(255,255,255,.6); color: var(--ink-900); outline: none; transition: var(--ease);
}
input:focus, textarea:focus, select:focus { border-color: var(--copper-500); box-shadow: 0 0 0 4px rgba(184,115,51,.13); }
textarea { min-height: 150px; resize: vertical; }
.map-placeholder { min-height: 260px; display: grid; place-items: center; border: 1px dashed rgba(16,24,32,.25); border-radius: var(--radius-lg); background: rgba(16,24,32,.04); color: var(--ink-600); text-align: center; padding: var(--space-4); }

.site-footer { background: var(--ink-900); color: var(--paper-50); padding: var(--space-6) 0 var(--space-4); margin-top: var(--space-6); }
.footer-grid { display: grid; gap: var(--space-4); }
.footer-grid p, .site-footer a { color: rgba(248,245,238,.72); }
.footer-grid a:hover { color: var(--paper-50); }
.footer-title { color: #fff; font-weight: 900; margin-bottom: var(--space-2); }
.footer-links { display: grid; gap: .45rem; }
.legal-line { border-top: 1px solid var(--line-light); margin-top: var(--space-4); padding-top: var(--space-3); color: rgba(248,245,238,.56); font-size: var(--fs-sm); }

@media (min-width: 720px) {
  .trust-strip, .grid-3, .stats-grid, .services-grid, .values-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .process-item { grid-template-columns: 90px 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}
@media (min-width: 980px) {
  .nav, .header-cta { display: flex; }
  .hero-grid { grid-template-columns: 1.12fr .88fr; }
  .split { grid-template-columns: .9fr 1.1fr; }
  .section { padding: 6.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
