/* =========================================================
   Placedev — estilos do site institucional
   Paleta e ritmo inspirados no template "Play" (UIdeck)
   ========================================================= */

:root {
  /* Cores */
  --primary: #3056D3;
  --primary-dark: #2544B0;
  --primary-light: #EBF0FF;
  --heading: #212B36;
  --body: #637381;
  --body-light: #8899A8;
  --white: #FFFFFF;
  --alt-bg: #F4F7FF;
  --border: #E7ECF3;
  --dark: #0B1324;
  --dark-soft: #A3AEC2;

  /* Tipografia */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(33, 43, 54, .05);
  --shadow-md: 0 8px 28px rgba(33, 43, 54, .07);
  --shadow-lg: 0 16px 44px rgba(48, 86, 211, .14);

  /* Métricas */
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--heading); margin: 0 0 16px; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.175rem; }
p  { margin: 0 0 16px; }
a  { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--alt-bg); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-sub { font-size: 1.0625rem; margin: 0; }

.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .8);
}
.eyebrow-primary { color: var(--primary); }

.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #F2F5FF; color: var(--primary-dark); }

.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.btn-sm { padding: 11px 22px; font-size: .875rem; }
.btn-block { width: 100%; padding: 16px 28px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck,
.site-header.is-menu-open {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.logo-text span { color: rgba(255, 255, 255, .68); font-weight: 600; }

.logo-mark path { stroke: var(--primary); }

.site-header.is-stuck .logo,
.site-header.is-menu-open .logo { color: var(--primary); }
.site-header.is-stuck .logo-mark path,
.site-header.is-menu-open .logo-mark path { stroke: #fff; }
.site-header.is-stuck .logo-text,
.site-header.is-menu-open .logo-text { color: var(--heading); }
.site-header.is-stuck .logo-text span,
.site-header.is-menu-open .logo-text span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a {
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  padding: 6px 0;
}
.nav-list a:hover { color: #fff; }
.site-header.is-stuck .nav-list a { color: var(--body); }
.site-header.is-stuck .nav-list a:hover { color: var(--primary); }

.site-header:not(.is-stuck) .nav-actions .btn-primary {
  background: #fff; color: var(--primary); box-shadow: none;
}
.site-header:not(.is-stuck) .nav-actions .btn-primary:hover { background: #F2F5FF; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .22s ease, opacity .22s ease, background-color .22s ease;
}
.site-header.is-stuck .nav-toggle span,
.site-header.is-menu-open .nav-toggle span { background: var(--heading); }
.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 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3056D3 0%, #2440A8 55%, #1C3390 100%);
  padding: calc(var(--header-h) + 96px) 0 104px;
  color: rgba(255, 255, 255, .82);
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.blob-1 { width: 460px; height: 460px; top: -160px; right: -120px; background: #5B7BFF; }
.blob-2 { width: 380px; height: 380px; bottom: -180px; left: -100px; background: #1A2C82; opacity: .7; }

.hero-inner { position: relative; }
.hero h1 { color: #fff; max-width: 900px; margin-inline: auto; }
.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, .78);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 48px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .72);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10.5 3.2 3.2L15 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Cards de serviço ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D7E0F5;
}
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
}
.card-icon svg { width: 26px; height: 26px; }
.card p { margin: 0; font-size: .9375rem; }

/* ---------- Split (sobre) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.split-text .btn { margin-top: 12px; }

.check-list { margin: 24px 0 8px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: .9375rem;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233056D3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10.5 3.2 3.2L15 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.split-visual { display: grid; align-content: stretch; }

.stats-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 38px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.stats-title {
  margin: 0 0 4px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--body-light);
}

.stats { display: flex; flex-direction: column; flex: 1; }
.stats li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  border-bottom: 1px solid var(--border);
}
.stats li:last-child { border-bottom: 0; }

.stat-label { font-size: .9375rem; line-height: 1.5; }
.stat-value {
  flex: none;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary);
  white-space: nowrap;
}

.stats-foot {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--body-light);
}

/* ---------- Processo ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.step::after {
  content: "";
  position: absolute;
  top: 52px; right: -20px;
  width: 12px; height: 12px;
  border-top: 2px solid #D7E0F5;
  border-right: 2px solid #D7E0F5;
  transform: rotate(45deg);
}
.step:last-child::after { display: none; }
.step-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #C9D6F5;
  letter-spacing: -.02em;
}
.step p { margin: 0; font-size: .9375rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-weight: 600;
  color: var(--heading);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item[open] { border-color: #D7E0F5; }
.faq-body { padding: 0 24px 22px; }
.faq-body p { margin: 0; font-size: .9375rem; }

/* ---------- Contato ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-side { display: grid; gap: 16px; align-content: start; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-channel:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-meta { display: grid; }
.contact-meta strong { color: var(--heading); font-size: .9375rem; }
.contact-meta span { color: var(--body); font-size: .875rem; }

.contact-note {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--alt-bg);
  font-size: .875rem;
}
.contact-note p:last-child { margin: 0; }
.contact-note strong { color: var(--heading); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--heading);
}
.field .opt { font-weight: 400; color: var(--body-light); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: .9375rem;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23637381' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--body-light); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(48, 86, 211, .14);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #DC2626; }

.error { display: block; margin-top: 6px; font-size: .8125rem; color: #DC2626; }

.hp { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  margin: 16px 0 0;
  font-size: .875rem;
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { color: #12874A; }
.form-status.is-error { color: #DC2626; }

.form-legal {
  margin: 14px 0 0;
  font-size: .75rem;
  color: var(--body-light);
  line-height: 1.6;
}

/* ---------- Faixa CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #3056D3 0%, #2440A8 100%);
  padding: 64px 0;
  color: rgba(255, 255, 255, .82);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--dark-soft);
  padding: 72px 0 28px;
  font-size: .9375rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.logo-light { color: #fff; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text span { color: var(--dark-soft); }
.logo-light .logo-mark path { stroke: var(--dark); }
.footer-brand p { margin: 18px 0 0; max-width: 320px; font-size: .9375rem; }
.footer-col h3 { color: #fff; font-size: .9375rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--dark-soft); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: block;
    padding: 20px 24px 28px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { display: grid; gap: 4px; }
  .nav-list a,
  .site-header.is-stuck .nav-list a {
    display: block;
    padding: 12px 0;
    color: var(--heading);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  .nav-actions { margin-top: 20px; }
  .nav-actions .btn,
  .site-header:not(.is-stuck) .nav-actions .btn-primary {
    display: flex;
    width: 100%;
    background: var(--primary);
    color: #fff;
  }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: calc(var(--header-h) + 64px) 0 76px; }
  .hero-badges { margin-top: 36px; flex-direction: column; align-items: center; gap: 10px; }
  .br-desktop { display: none; }
  .grid-4, .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
  .stats-card { padding: 28px 24px 24px; }
  .stats li {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    min-height: 72px;
  }
  .hero-cta .btn { width: 100%; }
}

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

/* ---------- Impressão ---------- */
@media print {
  .site-header, .wa-float, .cta-band, .contact-form { display: none; }
  body { color: #000; }
}
