/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0f3d5c;
  --blue-700: #1b5e8c;
  --blue-500: #2a86c7;
  --blue-300: #6bb3e0;
  --ink: #1c2b36;
  --muted: #5b6b76;
  --bg: #ffffff;
  --bg-soft: #eef3f7;
  --border: #dde6ec;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 61, 92, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 61, 92, 0.14);
  --max: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 8px 20px rgba(27, 94, 140, .3); }
.btn-primary:hover { background: var(--blue-900); }
.btn-ghost { background: transparent; color: var(--blue-700); border-color: var(--blue-300); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: #f0f6fb; }

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

.main-nav ul { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 500; color: var(--ink); transition: color .2s; }
.main-nav a:hover { color: var(--blue-700); }
.nav-cta { background: var(--blue-700); color: #fff !important; padding: 10px 20px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-700); border-radius: 3px; transition: .3s; }

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(42,134,199,.18), transparent 60%),
    linear-gradient(160deg, #f3f8fc 0%, #e7f1f8 100%);
  padding: clamp(56px, 9vw, 110px) 0;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-content { max-width: 640px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  object-fit: cover; aspect-ratio: 3 / 2;
}
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .9rem;
  color: var(--blue-700); background: #fff; padding: 7px 16px;
  border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--blue-900); }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); margin: 22px 0 30px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; }
.hero-badges li { position: relative; padding-left: 26px; font-weight: 500; color: var(--ink); font-size: .98rem; }
.hero-badges li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #fff; background: var(--blue-500); width: 19px; height: 19px;
  display: grid; place-items: center; border-radius: 50%; font-size: .72rem;
}

/* ============ SEÇÕES ============ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.kicker { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-500); }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--blue-900); margin-top: 10px; letter-spacing: -.02em; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ============ SOBRE ============ */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.08rem; }
.about-text strong { color: var(--ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.stat:first-child { grid-column: 1 / -1; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--blue-700); line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ============ CARDS DE SERVIÇOS ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.3rem; color: var(--blue-900); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--bg-soft); }
.card ul li { position: relative; padding-left: 24px; margin-bottom: 11px; color: var(--muted); }
.card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }

/* ============ DIFERENCIAIS ============ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); }
.feature h3 { color: var(--blue-700); font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 24px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; color: var(--blue-900); font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue-500); transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--blue-700); }
.faq-item p { color: var(--muted); padding: 0 0 22px; margin: 0; }

/* ============ CTA BAND ============ */
.cta-band { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(40px, 6vw, 64px) 22px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 10px; }

/* ============ CONTATO + MAPA ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.contact-info { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-of-type { border-bottom: 0; }
.contact-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-500); font-weight: 700; margin-bottom: 4px; }
.contact-info .btn { margin-top: 22px; width: 100%; }
.contact-info a:not(.btn) { color: var(--ink); font-weight: 500; }
.contact-info a:not(.btn):hover { color: var(--blue-700); }
.contact-map { min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-map iframe { display: block; height: 100%; min-height: 420px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--blue-900); color: #cfe1ee; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 22px 40px; }
.footer-brand img { background: #fff; padding: 10px 14px; border-radius: 10px; height: 54px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #9fc0d6; max-width: 320px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }
.footer-bottom p { color: #9fc0d6; font-size: .9rem; text-align: center; }

/* ============ WHATSAPP FLUTUANTE ============ */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s; animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============ PÁGINAS DE SERVIÇO ============ */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); font-size: .9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--blue-300); }
.breadcrumb a { color: var(--blue-700); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--muted); }

.subhero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(42,134,199,.18), transparent 60%),
    linear-gradient(160deg, #f3f8fc 0%, #e7f1f8 100%);
  padding: clamp(44px, 7vw, 80px) 0;
}
.subhero .eyebrow { margin-bottom: 18px; }
.subhero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.14; font-weight: 800; letter-spacing: -.02em; color: var(--blue-900); max-width: 820px; }
.subhero .hero-lead { margin: 18px 0 26px; }

.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--blue-900); font-weight: 800; margin: 40px 0 14px; letter-spacing: -.01em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; color: var(--blue-700); margin: 26px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }
.prose a { color: var(--blue-700); font-weight: 600; text-decoration: underline; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-700); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3 { color: var(--blue-900); font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

.card-link { display: block; margin-top: 12px; color: var(--blue-700); font-weight: 600; }
.card-link:hover { text-decoration: underline; }

.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seg-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); font-weight: 600; color: var(--blue-900);
  transition: transform .2s, box-shadow .2s, color .2s;
}
.seg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--blue-700); }
.seg-card::after { content: "\2192"; color: var(--blue-500); font-weight: 700; }

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 36px; }
  .hero-content { max-width: 100%; }
  .hero-media { order: -1; max-width: 520px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .seg-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .steps { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .cards, .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
