/* ServPoint — estilos do site */
:root {
  --navy: #2b2e83;
  --navy-700: #1f2268;
  --navy-900: #12143d;
  --orange: #f29100;
  --orange-600: #db8200;
  --ink: #12143d;
  --muted: #555a78;
  --line: #e3e5ef;
  --soft: #f4f5fa;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --shadow: 0 18px 40px -22px rgba(18, 20, 61, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Figtree", system-ui, sans-serif;
  --orange-text: #a35c00;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: var(--navy-900); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(242, 145, 0, .9); }
.btn-primary:hover { background: #ffa01a; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-navy:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--navy); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.header.is-solid, .header.is-light { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; }
.brand .logo-dark { display: none; }
.header.is-solid .logo-light, .header.is-light .logo-light { display: none; }
.header.is-solid .logo-dark, .header.is-light .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 10px 0;
  background: linear-gradient(var(--orange), var(--orange)) 0 calc(100% - 4px) / 0 2px no-repeat;
  transition: background-size .3s var(--ease), color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.header.is-solid .nav a:not(.btn), .header.is-light .nav a:not(.btn) { color: var(--ink); }

.menu-btn {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .14); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.header.is-solid .menu-btn, .header.is-light .menu-btn { background: var(--soft); color: var(--ink); }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); background: var(--navy-900); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 61, .94) 0%, rgba(18, 20, 61, .78) 38%, rgba(18, 20, 61, .2) 72%, rgba(18, 20, 61, .05) 100%),
    linear-gradient(0deg, rgba(18, 20, 61, .5), transparent 40%);
}
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 80px; }
.hero-content { max-width: 860px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 74px); }
.hero-sub .hero-content { max-width: 900px; }
.hero h1 .accent { display: block; }
.hero h1 .accent { color: var(--orange); }
.hero p { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .86); max-width: 520px; }
.hero .btn { margin-top: 36px; }

.hero-sub { min-height: 78svh; }
.hero-sub .hero-media img { object-position: 50% 45%; }

/* entrada única do hero */
@media (prefers-reduced-motion: no-preference) {
  .enter > * { opacity: 0; transform: translateY(18px); animation: enter .9s var(--ease) forwards; }
  .enter > *:nth-child(2) { animation-delay: .12s; }
  .enter > *:nth-child(3) { animation-delay: .24s; }
  .hero-media img { animation: settle 1.8s var(--ease) both; }
}
@keyframes enter { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- Faixa de prêmios ---------- */
.awards { background: var(--navy); color: var(--white); }
.awards .wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px; padding-top: 34px; padding-bottom: 34px; }
.awards h2 { font-size: 22px; letter-spacing: -.01em; max-width: 260px; }
.awards ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.awards li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .07);
}
.awards li svg { width: 34px; height: 34px; flex: none; color: var(--orange); }
.awards strong { display: block; font-size: 16px; line-height: 1.25; }
.awards span { font-size: 14px; color: rgba(255, 255, 255, .7); }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.section-head h2, .h2 { font-size: clamp(32px, 4.2vw, 54px); max-width: 720px; }
.section-head p, .lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 560px; }

/* ---------- Cards de serviço ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services-grid.all { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 22px; letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.card .num { font-size: 14px; font-weight: 800; color: var(--orange-text); }

/* ---------- Por que nós ---------- */
.why { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.why .btn { margin-top: 32px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-list li {
  display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; align-items: start; align-content: start;
  padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
}
.why-list .ic { grid-row: span 2; color: var(--orange-600); padding-top: 1px; }
.why-list .ic svg { display: block; width: 26px; height: 26px; }
.why-list h3 { font-size: 18px; letter-spacing: -.02em; }
.why-list p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text p + p { margin-top: 14px; }
.about-text .lead { margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { padding: 22px 16px 0 0; }
.facts strong { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.facts span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.35; }

.segments { margin-top: 40px; }
.segments h3 { font-size: 18px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 600; color: var(--navy); }

/* ---------- Parceiros ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.partner img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.partner:hover img { transform: scale(1.03); }

/* ---------- Contato ---------- */
.contact { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 145, 0, .22), transparent 65%);
}
.contact .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact h2 { font-size: clamp(34px, 4.4vw, 58px); }
.contact .lead { color: rgba(255, 255, 255, .78); }
.contact .btn { margin-top: 32px; }
.contact-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.contact-list a:hover strong { color: var(--orange); }
.contact-list .ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--orange);
}
.contact-list svg { width: 22px; height: 22px; }
.contact-list span { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }
.contact-list strong { display: block; font-size: 17px; font-weight: 700; transition: color .2s; }

.form {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px);
  display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.form h3 { font-size: 24px; }
.form p.small { color: var(--muted); font-size: 15px; margin-top: -8px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font: 500 16px/1.4 var(--font); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(43, 46, 131, .12); }
.field .err { display: none; font-size: 13px; color: #c0392b; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; margin-top: 4px; }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--orange); color: var(--navy-900); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 680px; }
.cta-band p { margin-top: 10px; font-size: 18px; font-weight: 500; }

/* ---------- Rodapé ---------- */
.footer { background: #0c0e2c; color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer img { height: 34px; width: auto; }
.footer p { margin-top: 18px; max-width: 320px; }
.footer h3 { font-size: 15px; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; display: inline-block; padding: 6px 0; transition: color .2s; }
.footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; grid-template-columns: none; }

/* botão flutuante do WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid.all { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .awards .wrap { grid-template-columns: 1fr; gap: 20px; }
  .awards h2 { max-width: none; }
  .why { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 80px); overflow-y: auto; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--pad) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; color: var(--ink); font-size: 24px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
  .nav .btn { margin-top: 28px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { background: var(--white); }
  body.menu-open .header .logo-light { display: none; }
  body.menu-open .header .logo-dark { display: block; }
  body.menu-open .menu-btn { background: var(--soft); color: var(--ink); }

  .about, .contact .wrap { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 16 / 11; }
  .section-head { flex-direction: column; align-items: start; }
  .cta-band .wrap { flex-direction: column; align-items: start; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header .wrap { height: 72px; }
  .nav { height: calc(100dvh - 72px); }
  .brand img { height: 32px; }
  .hero { align-items: end; }
  .hero .wrap { padding-bottom: 100px; }
  .hero-media img { object-position: 62% 30%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(18, 20, 61, .96) 0%, rgba(18, 20, 61, .8) 45%, rgba(18, 20, 61, .25) 100%); }
  .hero .btn, .contact .btn, .cta-band .btn, .why .btn { width: 100%; }
  .awards ul { grid-template-columns: 1fr; }
  .services-grid, .services-grid.all { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
  .facts span { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .footer-bottom .wrap { flex-direction: column; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.why > .chips { align-self: center; }
