﻿/* =========================================================
   LC Jundiaí — Design System
   ========================================================= */

:root {
  --blue-900: #0f3a4d;
  --blue-700: #146690;
  --blue-600: #1a7fae;
  --blue-500: #2e9dc9;
  --blue-400: #5cb6d9;
  --blue-100: #e4f4fa;
  --blue-50:  #f2fafc;

  --gray-900: #1c1f22;
  --gray-800: #2b2f33;
  --gray-700: #454b51;
  --gray-600: #5f666d;
  --gray-500: #7a8189;
  --gray-300: #c7c8c9;
  --gray-200: #e2e4e6;
  --gray-100: #eef0f1;
  --gray-50:  #f7f8f9;
  --white: #ffffff;

  --success: #2f9e5e;
  --warning: #c9762e;

  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(15, 58, 77, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 58, 77, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 58, 77, 0.16);

  --container: 1180px;
  --header-h: 108px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.25;
  font-weight: 600;
}

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

section { padding: 72px 0; }
@media (max-width: 720px) { section { padding: 48px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--blue-500);
  border-radius: 2px;
}

h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.2rem; }

.lede {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 62ch;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--success);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #278350; box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-blue {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-blue:hover { background: var(--blue-700); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: var(--blue-50);
  color: var(--blue-700);
}
.btn-ghost:hover { background: var(--blue-100); }

.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; flex-shrink: 0; }
.site-header .brand img { height: 84px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.05rem; color: var(--gray-900); }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.03em; color: var(--gray-500); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: background .15s, color .15s;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { background: var(--blue-50); color: var(--blue-700); }

.has-dropdown { position: relative; }
.has-dropdown > .nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.has-dropdown:hover > .nav-link svg, .has-dropdown.open > .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 10px;
  width: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  translate: 0 6px;
  transition: opacity .18s ease, translate .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--gray-700);
  font-weight: 500;
}
.dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.phone-link { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gray-800); font-size: 0.92rem; }
.phone-link svg { width: 18px; height: 18px; color: var(--blue-600); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle svg { width: 26px; height: 26px; color: var(--gray-800); }

@media (max-width: 1300px) {
  :root { --header-h: 80px; }
  .site-header .brand img { height: 60px; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-text strong, .brand-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); display: none; flex-direction: column; align-items: stretch; overflow-y: auto; padding: 10px 20px 100px; }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav a.nav-link { width: 100%; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 1.02rem; justify-content: space-between; }
  .dropdown { position: static; transform: none; box-shadow: none; border: none; width: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; translate: none; display: none; padding: 0 0 6px 14px; }
  .has-dropdown.open .dropdown { display: grid; }
  .has-dropdown.open > .nav-link svg { transform: rotate(180deg); }
  .phone-link span { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { gap: 8px; }
  .header-actions .btn-blue span.long { display: none; }
  .header-actions .btn-blue.btn-sm { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .site-header .container { padding-inline: 14px; }
  .phone-link { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 52%, var(--blue-600) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 20%, rgba(255,255,255,0.12), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.08), transparent 40%);
  pointer-events: none;
}
.hero .container { position: relative; padding-top: 16px; padding-bottom: 24px; }
.hero.compact .container { padding-top: 14px; padding-bottom: 20px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 20px; } }

.hero .eyebrow { color: var(--blue-100); }
.hero .eyebrow::before { background: var(--blue-100); }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.88); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.9); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.hero-stats { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-family: var(--font-heading); font-size: 1.9rem; color: var(--white); }
.hero-stats .stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--white); margin-bottom: 14px; }
.hero-card ul { display: flex; flex-direction: column; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.9); font-size: 0.94rem; }
.hero-card li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-100); margin-top: 2px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, translate .2s ease, border-color .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); translate: 0 -3px; border-color: var(--blue-400); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; flex-grow: 1; }
.card .card-link { margin-top: 16px; font-weight: 600; color: var(--blue-600); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link svg { width: 16px; height: 16px; transition: translate .15s; }
.card:hover .card-link svg { translate: 3px 0; }

.card-link-wrap { color: inherit; display: flex; }

/* Services on service pages: highlighted "what we do" list */
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li svg {
  width: 24px; height: 24px; flex-shrink: 0; color: var(--white);
  background: var(--success); border-radius: 50%; padding: 4px;
}
.check-list li p, .check-list li { color: var(--gray-700); }
.check-list strong { color: var(--gray-900); }

/* ---------- Bands / alt sections ---------- */
.band-alt { background: var(--gray-50); }
.band-blue { background: var(--blue-50); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.info-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.info-panel h3 { margin-bottom: 14px; }
.info-panel + .info-panel { margin-top: 24px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warning);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Steps (Como Funciona) */
.steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-bottom: 42px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
  position: relative; z-index: 2;
  flex-shrink: 0;
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 31px; top: 64px; bottom: -10px;
  width: 2px;
  background: var(--gray-200);
}
.step-body { padding-top: 8px; }
.step-body h3 { margin-bottom: 8px; }
.step-body p { color: var(--gray-600); }

/* Why-list (icon + text rows) */
.reason-list { display: flex; flex-direction: column; gap: 22px; }
.reason { display: flex; gap: 18px; align-items: flex-start; }
.reason .icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.reason .icon svg { width: 22px; height: 22px; }
.reason h4 { margin-bottom: 4px; font-size: 1.02rem; }
.reason p { color: var(--gray-600); font-size: 0.95rem; }

/* FAQ accordion */
.accordion { border-top: 1px solid var(--gray-200); }
.acc-item { border-bottom: 1px solid var(--gray-200); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--gray-900);
}
.acc-trigger svg { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; transition: transform .2s; }
.acc-item.open .acc-trigger svg { transform: rotate(45deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.acc-panel-inner { padding: 0 4px 22px; color: var(--gray-600); }
.acc-item.open .acc-panel { max-height: 800px; }

/* Documents list */
.doc-list { display: flex; flex-direction: column; gap: 14px; }
.doc-list li { display: flex; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); }
.doc-list .num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }

/* Keyword pill list */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list span { background: var(--blue-50); color: var(--blue-700); border-radius: 999px; padding: 7px 14px; font-size: 0.86rem; font-weight: 500; }

/* Related services strip */
.related-services { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.related-services a {
  flex: 0 0 auto;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-800);
}
.related-services a:hover { border-color: var(--blue-400); color: var(--blue-700); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-700), var(--blue-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .cta-row { margin-top: 0; }

.cta-final {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.cta-final .cta-row { justify-content: center; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon svg { width: 22px; height: 22px; }
.contact-info-item strong { display: block; color: var(--gray-900); font-size: 0.98rem; }
.contact-info-item a, .contact-info-item span.value { color: var(--gray-600); }
.contact-info-item a:hover { color: var(--blue-600); }

.form-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 34px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--gray-700); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 6px; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); margin-top: 28px; height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-900); color: var(--gray-300); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text span { color: var(--gray-500); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; color: var(--gray-500); max-width: 32ch; }

.footer-col h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.9rem; color: var(--gray-300); }
.footer-col a:hover { color: var(--white); }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 14px; }
.footer-contact li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue-400); margin-top: 2px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 0; font-size: 0.82rem; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 600;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
