/* =========================================================
   Agência Pilaris — Site Institucional
   Light premium · Plus Jakarta Sans · editorial
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --surface-2: #F2F2F2;
  --surface-3: #EBEBEB;
  --border: #E5E5E5;
  --border-strong: #D4D4D4;
  --text: #0A0A0A;
  --text-soft: #2A2A2A;
  --muted: #5A5A5A;
  --muted-light: #999999;
  --orange: #FB8500;
  --orange-soft: #FFF4E6;
  --orange-strong: #E47800;
  --black: #0A0A0A;

  --grad-fire: linear-gradient(135deg, #FB8500 0%, #FBBF24 100%);
  --grad-fire-text: linear-gradient(135deg, #FB8500 0%, #FBBF24 70%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 48px rgba(0,0,0,0.12);
  --shadow-orange: 0 12px 32px rgba(251,133,0,0.20);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px; --sp-11: 160px; --sp-12: 192px;

  --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-xl: 20px; --r-full: 9999px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --d-fast: 120ms;
  --d-default: 220ms;
  --d-slow: 400ms;

  --max-w: 1280px;
  --max-w-narrow: 880px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color var(--d-fast) var(--ease); }
a:hover { color: var(--orange); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ul, ol { padding-left: 1.25em; margin: 0; }
em { font-style: italic; color: var(--orange); font-weight: 600; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--orange); color: #fff;
  padding: 8px 12px; border-radius: var(--r-sm);
  z-index: 999; font-weight: 700;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: var(--max-w-narrow); }

.section {
  padding: var(--sp-9) 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--border); }
.section.section-alt { background: var(--surface); }

@media (min-width: 768px) {
  .section { padding: var(--sp-10) 0; }
}
@media (min-width: 1080px) {
  .section { padding: var(--sp-11) 0; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 var(--sp-5);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--orange);
}

.display {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 var(--sp-7);
  color: var(--text);
  text-wrap: balance;
  max-width: 22ch;
}

h1, h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-5);
  color: var(--text);
  text-wrap: balance;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-3);
  color: var(--text);
}
h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 var(--sp-2);
  color: var(--text);
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 var(--sp-8);
  max-width: 58ch;
  text-wrap: pretty;
}
.body-lg {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 var(--sp-5);
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 50px;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--d-default) var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--orange);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-orange {
  background: var(--orange);
  color: var(--text);
}
.btn-orange:hover {
  background: var(--orange-strong);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 18px 32px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-arrow::after {
  content: "→";
  transition: transform var(--d-fast) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
  gap: var(--sp-5);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 32px;
  width: auto;
}
.nav-desktop {
  display: none;
  gap: var(--sp-7);
  align-items: center;
}
.nav-desktop a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
}
.nav-desktop a:hover { color: var(--orange); }
.header-cta {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}
@media (min-width: 980px) { .nav-desktop { display: inline-flex; } }
@media (max-width: 720px) {
  .header-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--sp-9) 0 var(--sp-10);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1080px) {
  .hero { padding: var(--sp-10) 0 var(--sp-11); }
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(251,133,0,0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--sp-6);
}
.hero-eyebrow .pulse-dot {
  width: 8px; height: 8px;
  background: #16A34A;
  border-radius: 50%;
  position: relative;
}
.hero-eyebrow .pulse-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #16A34A;
  animation: pulse-ring 1.8s ease-in-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  margin-bottom: var(--sp-10);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-7);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
  max-width: 760px;
}
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat-num {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--sp-2);
}
.hero-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ---------- Marquee/Trust ---------- */
.trust-strip {
  padding: var(--sp-7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-strip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
  text-align: center;
  margin-bottom: var(--sp-5);
}
.trust-strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-7);
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}
.trust-strip-items span { position: relative; }

/* ---------- Section heading ---------- */
.section-heading {
  display: grid;
  gap: var(--sp-5);
  margin-bottom: var(--sp-9);
  max-width: 1080px;
}
@media (min-width: 980px) {
  .section-heading {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: var(--sp-9);
    margin-bottom: var(--sp-10);
  }
}
.section-heading > div { display: flex; flex-direction: column; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- Pillars / Manifesto ---------- */
.manifesto {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--text);
  max-width: 28ch;
  text-wrap: balance;
  margin: 0;
}
.manifesto em { font-style: italic; }

/* ---------- ICP cards ---------- */
.icp-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .icp-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); } }
@media (min-width: 980px) { .icp-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); } }

.icp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  transition: all var(--d-default) var(--ease);
  position: relative;
  overflow: hidden;
}
.section-alt .icp-card { background: var(--bg); }
.icp-card:hover {
  border-color: var(--text);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.icp-card .icp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
  margin-bottom: var(--sp-4);
  font-variant-numeric: tabular-nums;
}
.icp-card h3 { font-size: 18px; margin: 0 0 var(--sp-2); }
.icp-card p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.5; }

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }

.services {
  align-items: stretch;
  gap: var(--sp-5);
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-7) var(--sp-7);
  display: flex;
  flex-direction: column;
  transition: all var(--d-default) var(--ease);
  position: relative;
  height: 100%;
}
.service-card:hover {
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}
.service-card.featured {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.service-card.featured h3,
.service-card.featured .service-price { color: var(--bg); }
.service-card.featured .service-tagline { color: rgba(255,255,255,0.7); }
.service-card.featured ul { color: rgba(255,255,255,0.85); }
.service-card.featured ul li::before { background: var(--orange); }
.service-card.featured .service-cta {
  background: var(--orange);
  color: var(--text);
}
.service-card.featured .service-cta:hover {
  background: #fff;
  color: var(--text);
}

.service-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--sp-3);
}
.service-card h3 { font-size: 28px; margin: 0 0 var(--sp-3); }
.service-card p { color: var(--muted); margin: 0 0 var(--sp-5); }
.service-card.featured p { color: rgba(255,255,255,0.75); }
.service-price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
}
.service-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-6);
  display: grid;
  gap: var(--sp-3);
  flex: 1;
  font-size: 15px;
  color: var(--text-soft);
}
.service-card ul li {
  position: relative;
  padding-left: 24px;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--text);
  border-radius: 50%;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--d-default) var(--ease);
  text-decoration: none;
}
.service-cta:hover {
  background: var(--orange);
  color: var(--text);
  text-decoration: none;
}
.service-cta::after {
  content: "→";
  margin-left: 8px;
  transition: transform var(--d-fast) var(--ease);
}
.service-cta:hover::after { transform: translateX(4px); }

/* ---------- Process / Steps ---------- */
.process {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .process { grid-template-columns: repeat(4, 1fr); gap: var(--sp-7); } }

.process-step {
  position: relative;
  padding-top: var(--sp-7);
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 56px;
  height: 2px;
  background: var(--orange);
}
.process-step h3 { font-size: 20px; margin: 0 0 var(--sp-3); }
.process-step p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- Differential cards ---------- */
.diffs {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .diffs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .diffs { grid-template-columns: repeat(4, 1fr); } }

.diff-item {
  padding: var(--sp-7);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--d-default) var(--ease);
}
.diff-item:hover {
  background: var(--surface);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.diff-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.16em;
  margin-bottom: var(--sp-4);
}
.diff-item h3 { font-size: 19px; margin: 0 0 var(--sp-3); }
.diff-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Founder block ---------- */
.founder {
  display: grid;
  gap: var(--sp-8);
  align-items: start;
}
@media (min-width: 980px) {
  .founder { grid-template-columns: minmax(280px, 1fr) 1.8fr; gap: var(--sp-10); align-items: center; }
}
.founder-photo {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.founder-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(251,133,0,0.08), transparent 60%);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.founder-quote {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 var(--sp-6);
  text-wrap: pretty;
}
.founder-quote em { font-style: italic; }
.founder-meta { color: var(--muted); font-size: 15px; margin: 0; }
.founder-meta strong { color: var(--text); font-weight: 700; }

/* ---------- CTA Final ---------- */
.cta-final {
  background: var(--text);
  color: var(--bg);
  padding: var(--sp-10) 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1080px) {
  .cta-final { padding: var(--sp-11) 0; }
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(251,133,0,0.18), transparent 60%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-final h2 { color: var(--bg); font-size: clamp(36px, 5vw, 64px); }
.cta-final p { color: rgba(255,255,255,0.7); font-size: 19px; margin: 0 0 var(--sp-7); }
.cta-final .btn-orange:hover {
  background: #fff;
  color: var(--text);
}
.cta-final-meta {
  margin-top: var(--sp-6);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: var(--sp-9) 0 var(--sp-7);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand-logo { height: 32px; margin-bottom: var(--sp-4); }
.footer-tagline { color: var(--muted); font-size: 14px; max-width: 32ch; line-height: 1.55; margin: 0; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.footer-col a { color: var(--text-soft); font-size: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom strong { color: var(--text); font-weight: 700; }
