/* Marquina Resolve+ — identidade visual
   Paleta extraída da logo: azul-noite (texto) + dourado (órbita). */
:root {
  --navy: #1d2a44;
  --navy-2: #2b3d62;
  --gold: #c9a24a;
  --gold-deep: #9a7628;
  --cream: #faf7f0;
  --paper: #ffffff;
  --ink: #232a38;
  --muted: #5d6779;
  --line: #e7e1d3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 42, 68, .08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--cream); }
.stack > * + * { margin-top: 1em; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: .9rem;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .9rem 1.5rem; border-radius: 999px; font: 700 .95rem var(--font-body);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(201, 162, 74, .35); }
.btn-primary:hover { background: #d8b15c; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-small { padding: .55rem 1.1rem; font-size: .88rem; background: var(--navy); color: #fff; }
.btn-small:hover { background: var(--navy-2); }
.btn-light { background: var(--gold); color: var(--navy); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { height: 64px; width: auto; }

.site-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.site-nav a:not(.btn):hover::after { width: 100%; }
.site-nav .btn-small { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin-inline: auto; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(201, 162, 74, .18), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.hero-note { font-size: .9rem; color: var(--muted); }
.hero-card {
  background: var(--navy); color: #fff; border-radius: 22px; padding: 2.2rem;
  box-shadow: 0 24px 60px rgba(29, 42, 68, .25);
  position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 2px solid rgba(201, 162, 74, .5); right: -90px; top: -90px;
}
.hero-card ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.hero-card li {
  display: flex; align-items: center; gap: .8rem; padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12); font-weight: 600; font-size: 1.05rem;
}
.hero-card li:last-child { border-bottom: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }

/* Duas colunas */
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }

/* Serviços */
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); }
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-deep); font-weight: 600; margin-bottom: .6rem; }
.service p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.service-link { font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--navy); }
.service-link:hover { color: var(--gold-deep); }

/* Diferenciais */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.feature {
  border-top: 3px solid var(--gold); padding: 1.6rem 0 0;
}
.feature p { color: var(--muted); }

/* Faixa CTA */
.cta-band { background: var(--navy); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); }

/* Contato */
.contact-info { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-info h3 { font-size: 1.1rem; }
.contact-info p { margin-bottom: .5rem; }
.contact-info a { font-weight: 700; color: var(--navy); }

.contact-form {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--navy); }
.req { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .85rem 1rem; border-radius: 10px;
  border: 1px solid #d6cfbe; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 4px rgba(201, 162, 74, .2); }
.field textarea { resize: vertical; min-height: 110px; }
.form-error { color: #9b2c2c; font-weight: 600; font-size: .92rem; }
.form-help { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }

/* Rodapé */
.site-footer { background: #111a2e; color: #c9d1de; padding: 1.8rem 0; font-size: .92rem; text-align: center; }
.site-footer p { margin: 0; }

/* Botão voltar ao topo */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--gold); font-size: 1.3rem; line-height: 1;
  box-shadow: 0 10px 24px rgba(29, 42, 68, .3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-2); }

/* Âncoras não ficam escondidas atrás do cabeçalho fixo */
section[id] { scroll-margin-top: 90px; }

/* Responsivo */
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-card { max-width: 520px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0; }
  .site-nav li a:not(.btn) { display: block; padding: .95rem 1.25rem; }
  .site-nav .btn-small { margin: .6rem 1.25rem 1rem; text-align: center; }
  .site-nav a:not(.btn)::after { display: none; }
  .brand img { height: 56px; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* Respeitar preferências de movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
