:root {
  --navy-950: #12242b;
  --navy-900: #1b3139;
  --navy-800: #24414b;
  --navy-700: #3d5a65;
  --coral: #ff5f46;
  --coral-strong: #eb1600;
  --cream: #faf7f2;
  --sand: #f1ebe2;
  --ink: #15262e;
  --muted: #55666e;
  --line: #e2dbd0;
  --on-dark: #eef3f5;
  --on-dark-muted: #a9bcc4;

  --radius: 14px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--coral); color: #fff; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-primary { background: var(--coral-strong); color: #fff; }
.btn-primary:hover { background: #c41200; }
.btn-ghost { color: var(--on-dark); border-color: rgba(238, 243, 245, .35); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 49, 57, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand-footer img { height: 28px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255, 95, 70, .14), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(61, 90, 101, .55), transparent 60%),
    var(--navy-900);
  color: var(--on-dark);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px;
  padding-top: 96px; padding-bottom: 112px;
}
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; color: #fff; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark-muted); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral);
}
.eyebrow-dark { color: var(--coral-strong); }

.hero-art svg { width: 100%; max-width: 460px; margin-left: auto; overflow: visible; }
.hero-art .panel { fill: var(--navy-800); stroke: rgba(255, 255, 255, .08); }
.hero-art .grid line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; stroke-dasharray: 4 6; }
.hero-art .bars rect { transform-box: fill-box; transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-art .bars rect:nth-child(2) { animation-delay: .12s; }
.hero-art .bars rect:nth-child(3) { animation-delay: .24s; }
.hero-art .bars rect:nth-child(4) { animation-delay: .36s; }
.hero-art .trend { fill: none; stroke: #ffb3a6; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 7; }
.hero-art .points circle { fill: var(--navy-900); stroke: #ffb3a6; stroke-width: 2.5; }
@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .bars rect { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* Seções */
.section { padding: 104px 0; }
.section-light { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy-950); color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head h2 { color: #fff; }

/* Cards de serviços */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover {
  border-color: rgba(235, 22, 0, .4);
  box-shadow: 0 18px 40px -24px rgba(27, 49, 57, .35);
  transform: translateY(-3px);
}
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 22px;
  display: grid; place-items: center; background: rgba(235, 22, 0, .08);
}
.card-icon svg {
  width: 26px; height: 26px; fill: none; stroke: var(--coral-strong);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Etapas */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.step { border-top: 2px solid var(--navy-900); padding-top: 22px; }
.step-num { display: block; font-size: 14px; font-weight: 700; color: var(--coral-strong); margin-bottom: 10px; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--navy-800), rgba(36, 65, 75, .4));
  border: 1px solid rgba(255, 255, 255, .07);
}
.pillar h3 { font-size: 21px; color: #fff; }
.pillar h3::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px;
  background: var(--coral); margin-bottom: 18px;
}
.pillar p { color: var(--on-dark-muted); font-size: 16px; margin: 0; }

/* Chamada final */
.cta { background: var(--coral-strong); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 18px; }

/* Rodapé */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 48px 0; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 32px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.copyright { grid-column: 1 / -1; padding-top: 24px; margin-top: 16px !important; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

/* Responsivo */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 300px; margin: 0 auto; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .pillars { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta .btn { width: 100%; white-space: normal; }
}
