/* ═══════════════════════════════════════════
   WILLTECK SYSTEM ENGENHARIA — Global Styles
   ═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:    #0B1F4A;
  --blue:    #1A4BB5;
  --mid:     #2D7DD2;
  --sky:     #4DAEF0;
  --light:   #C8E6FA;
  --white:   #FFFFFF;
  --gray-bg: #F2F6FB;
  --gray:    #6B7A8D;
  --text:    #1C2B3A;
  --r:       6px;
  --shadow:  0 4px 24px rgba(11,31,74,.12);
  --display: 'Barlow Condensed', sans-serif;
  --body:    'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: var(--white); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }

.display { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.5px; }
.container { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r);
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,31,74,.22); }
.btn-primary   { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-outline   { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue); }
.btn-wpp { background: #25D366; color: var(--white); }
.btn-wpp:hover { background: #1aab52; }
.btn-navy { background: var(--navy); color: var(--white); }

.tag {
  display: inline-block; padding: 4px 14px; border-radius: 40px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--light); color: var(--blue); margin-bottom: 12px;
}

section { padding-block: 80px; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-title  { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: 14px; }
.section-sub    { color: var(--gray); max-width: 560px; margin-inline: auto; line-height: 1.65; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled { background: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,.28); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 44px; background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text .lt-name {
  display: block; font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  color: var(--white); letter-spacing: .04em;
}
.logo-text .lt-sub {
  display: block; font-size: .65rem; color: var(--sky); letter-spacing: .15em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--sky); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin-block: 5px; transition: .3s; }
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--navy); padding: 8px 0 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a {
  display: block; padding: 12px 24px;
  color: rgba(255,255,255,.8); font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { color: var(--sky); background: rgba(255,255,255,.04); }
.mobile-nav .btn { margin: 12px 24px 0; display: block; text-align: center; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 70px;
  min-height: 380px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,74,.88) 0%, rgba(26,75,181,.75) 100%);
}
.page-hero-content { position: relative; z-index: 1; padding-block: 60px; }
.page-hero-content .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 16px;
}
.page-hero-content .breadcrumb a { color: var(--sky); }
.page-hero-content .breadcrumb span { color: rgba(255,255,255,.35); }
.page-hero-content h1 { color: var(--white); margin-bottom: 14px; }
.page-hero-content p  { color: rgba(255,255,255,.7); max-width: 560px; line-height: 1.7; font-size: 1.05rem; }

/* ── FLOATING WPP ── */
.fab-wpp {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  animation: float-btn 3s ease-in-out infinite;
  transition: transform .2s;
}
.fab-wpp:hover { transform: scale(1.1) !important; animation: none; }
@keyframes float-btn { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── FOOTER ── */
footer { background: var(--navy); padding-block: 56px 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.7; margin-top: 14px; }
.footer-col h4 {
  color: var(--white); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--sky); }
.footer-contact span { display: block; color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: 8px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .85rem; transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--blue); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.45); font-size: .8rem; transition: color .2s; }
.footer-bottom a:hover { color: var(--sky); }

/* ── CARD GRID ── */
.card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; border: 1px solid rgba(26,75,181,.07); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,31,74,.18); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card-body p  { font-size: .88rem; color: var(--gray); line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--blue); font-size: .85rem; font-weight: 600; transition: gap .2s; }
.card-link:hover { gap: 10px; }

/* ── STATS BAR ── */
.stats-bar { background: var(--blue); padding-block: 48px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; text-align: center; }
.stat-item { padding: 12px; border-right: 1px solid rgba(255,255,255,.15); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--display); font-size: 2.8rem; font-weight: 800; color: var(--sky); line-height: 1; }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.65); margin-top: 6px; }

/* ── PROCESS STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky));
  z-index: 0;
}
.step-item { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-family: var(--display); font-weight: 800;
  font-size: 1.4rem; color: var(--white);
  box-shadow: 0 4px 16px rgba(26,75,181,.35);
}
.step-item h3 { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-item p  { font-size: .82rem; color: var(--gray); line-height: 1.55; }

/* ── ALERT / OFFER BAND ── */
.offer-band {
  background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 50%, var(--navy) 100%);
  padding-block: 72px; text-align: center;
}
.offer-box {
  background: var(--white); border-radius: 16px; padding: 48px 40px;
  max-width: 680px; margin-inline: auto;
  box-shadow: 0 20px 60px rgba(11,31,74,.22);
}
.offer-badge { background: var(--navy); color: var(--sky); font-family: var(--display); font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 20px; border-radius: 40px; display: inline-block; margin-bottom: 20px; }
.offer-discount { font-family: var(--display); font-size: 4rem; font-weight: 800; color: var(--blue); line-height: 1; }
.offer-discount small { font-size: 1.4rem; }
.offer-box h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: 10px; }
.offer-box p  { color: var(--gray); margin-bottom: 28px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin-inline: auto; }
details { border: 1.5px solid rgba(26,75,181,.12); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
summary { padding: 18px 22px; font-weight: 600; font-size: .95rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
summary:hover { background: var(--gray-bg); }
summary::after { content: '+'; font-size: 1.3rem; color: var(--blue); flex-shrink: 0; margin-left: 12px; }
details[open] summary::after { content: '−'; }
details[open] summary { background: var(--gray-bg); }
details p { padding: 0 22px 18px; font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ── CONTACT FORM ── */
.form-group  { margin-bottom: 18px; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid rgba(26,75,181,.18); border-radius: var(--r);
  font-family: var(--body); font-size: .9rem; color: var(--text); background: var(--white);
  transition: border-color .2s; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
textarea { resize: vertical; min-height: 110px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .steps-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle   { display: block; }
  section       { padding-block: 56px; }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .stat-item    { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding-block: 20px; }
  .footer-grid  { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }
  .offer-box    { padding: 32px 20px; }
}

/* ── LOGO IMAGE ── */
.nav-logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
  flex-shrink: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
