:root {
  --orange: #FF8500;
  --orange-dark: #E67600;
  --black: #000000;
  --white: #FFFFFF;
  --soft: #F8F9FA;
  --text: #52525B;
  --line: #E9E9EC;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--orange); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--text); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--black); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Tipografia */
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--orange); border-radius: 2px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 10px 24px -10px rgba(255,133,0,.7); }
.btn-ghost { border-color: var(--line); color: var(--black); background: var(--white); }
.btn-ghost:hover { border-color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #222; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text); transition: color .2s; }
.menu a:not(.btn):hover { color: var(--black); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 150px 0 100px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-art { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.orbit { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.spin-slow { transform-origin: 240px 240px; animation: spin 60s linear infinite; }
.nodes circle { animation: pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.nodes circle:nth-child(2) { animation-delay: .8s; }
.nodes circle:nth-child(3) { animation-delay: 1.6s; }
.nodes circle:nth-child(4) { animation-delay: 2.4s; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: .82rem; font-weight: 600;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.25);
  animation: float 6s ease-in-out infinite;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.chip-a { top: 12%; left: -2%; }
.chip-b { top: 46%; right: -4%; animation-delay: 1.5s; }
.chip-c { bottom: 8%; left: 14%; animation-delay: 3s; }

/* Seções */
.section { padding: 120px 0; position: relative; }
.bg-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { margin-bottom: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 64px; }
.prose p { color: var(--text); font-size: 1.08rem; }
.prose p + p { margin-top: 16px; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.18); border-color: transparent; }
.card h3 { margin: 22px 0 8px; }
.card p { color: var(--text); font-size: .98rem; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(255,133,0,.1);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-solution { padding: 40px 32px; overflow: hidden; }
.card-solution::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card-solution:hover::after { transform: scaleX(1); }
.card-solution .num { position: absolute; top: 36px; right: 32px; font-weight: 700; font-size: .85rem; color: #C4C4CC; letter-spacing: .05em; }
.card-solution .tagline { color: var(--black); font-weight: 500; margin-bottom: 12px; }
.badge {
  display: inline-block; margin-top: 22px; margin-bottom: -10px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(255,133,0,.4); border-radius: 999px; padding: 4px 10px;
}

/* Propósito */
.purpose { background: var(--black); color: var(--white); overflow: hidden; padding: 140px 0; }
.purpose-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.purpose .container { position: relative; }
.purpose h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 32px; }
.purpose .prose p { color: rgba(255,255,255,.7); font-size: 1.15rem; max-width: 640px; }
.quote {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15);
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3;
}

/* Contato */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.contact h2 { margin-bottom: 20px; }
.contact .muted { margin-top: 12px; max-width: 560px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li {
  display: flex; gap: 16px; align-items: center;
  background: var(--soft); border-radius: 16px; padding: 18px 20px;
}
.contact-list small { display: block; font-size: .78rem; color: var(--text); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-list a, .contact-list span { text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--orange); }

/* Rodapé */
.footer { background: var(--black); color: rgba(255,255,255,.65); padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer-quote { color: var(--white); font-weight: 500; }
.footer-info p + p { margin-top: 4px; }
.footer-info strong { color: var(--white); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem; }

/* Página de política */
.page { padding: 140px 0 100px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 32px; }
.page h2 { font-size: 1.3rem; margin: 32px 0 10px; letter-spacing: -.01em; }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 20px; }

/* Animações */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .1s; }
.hero .reveal:nth-child(3) { animation-delay: .2s; }
.hero .reveal:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* Responsivo */
@media (max-width: 960px) {
  .hero-grid, .split, .contact { grid-template-columns: 1fr; }
  .split { gap: 24px; }
  .cards-3 { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 72px; }
  .hero-art { max-width: 380px; }
  .section { padding: 88px 0; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .menu .btn { margin-top: 16px; }
  .header:has(.menu.open) { background: var(--white); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand img { height: 34px; }
  .actions .btn { width: 100%; }
  .chip { font-size: .72rem; padding: 6px 10px; }
  .chip-b { right: 0; }
  .card { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
