/* =============================================
   VIA WORK – Controle Tecnológico em Obras Viárias
   CSS Principal – Versão 1.0
   Paleta: Amarelo #F5A623 | Azul Escuro #1A2540 | Cinza #2D3748 | Branco #FFFFFF
   ============================================= */

/* ---- ROOT VARIABLES ---- */
:root {
  --yellow:       #F5A623;
  --yellow-dark:  #D4881A;
  --yellow-light: #FFC754;
  --navy:         #1A2540;
  --navy-light:   #243354;
  --dark:         #111827;
  --gray:         #2D3748;
  --gray-light:   #4A5568;
  --gray-mid:     #718096;
  --text:         #2D3748;
  --text-light:   #718096;
  --white:        #FFFFFF;
  --off-white:    #F7F8FA;
  --border:       #E2E8F0;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 50px rgba(0,0,0,0.18);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   all 0.3s ease;
  --font-head:    'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padded { padding: 90px 0; }
.section-dark { background: var(--navy); color: var(--white); }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}
.pre-via  { color: var(--white); }
.pre-work { color: var(--yellow); }

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
  border-radius: 99px;
  animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);

  transition: all 0.3s ease;
}

#navbar,
#navbar.scrolled {
  background: #FFFFFF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  gap: 1rem;
}

/* Logo */
.nav-logo a { display: block; }
.logo-box {
  display: flex;
  align-items: center;
  gap: 0px;
}

.logo-icon {
  width: 200px;
  height: auto;
  flex-shrink: 0;
}
.logo-icon img {
  width: 280px !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform: scale(1.05);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-via, .logo-work {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  display: inline;
  letter-spacing: 1px;
}
.logo-via  { color: var(--navy); }
.logo-work { color: var(--yellow); }
.logo-text small {
  color: rgba(255,255,255,0.55);
  font-size: 0.62rem;
  font-family: var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--yellow);
  border-radius: 99px;
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--yellow-dark);
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 14px; right: 14px;
}

.nav-cta {
  background: var(--yellow);
  color: var(--navy) !important;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  margin-left: 8px;
  font-weight: 700;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--yellow-dark); color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 99px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,37,64,0.95) 0%, rgba(26,37,64,0.75) 50%, rgba(245,166,35,0.15) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='%231a2540'/%3E%3Cpath d='M0 40 L80 40 M40 0 L40 80' stroke='%23243354' stroke-width='1'/%3E%3C/svg%3E");
  background-size: cover, 80px 80px;
}

/* Animated road-line particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.18);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--yellow-light);
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-family: var(--font-head);
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-via  { color: var(--white); }
.hero-work { color: var(--yellow); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}

.hero-highlight {
  color: var(--yellow);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-desc strong { color: var(--yellow-light); }

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,166,35,0.55);
  background: linear-gradient(135deg, var(--yellow-light), var(--yellow));
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}

.stat-item {
  padding: 0.5rem 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yellow);
  display: inline;
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* Scroll Arrow */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  animation: bounce 2s infinite;
  font-size: 1rem;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(245,166,35,0.12);
  color: var(--yellow-dark);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-family: var(--font-head);
}

.section-dark .section-tag {
  background: rgba(245,166,35,0.18);
  color: var(--yellow-light);
  border-color: rgba(245,166,35,0.4);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.section-dark .section-header h2 { color: var(--white); }

.highlight { color: var(--yellow-dark); }
.section-dark .highlight { color: var(--yellow); }

.section-divider {
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
  border-radius: 99px;
  margin: 0.8rem auto 1.2rem;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1rem;
}
.section-dark .section-desc { color: rgba(255,255,255,0.65); }

/* ============================================
   SOBRE
   ============================================ */
.sobre { background: var(--off-white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.sobre-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.sobre-intro {
  font-size: 1.05rem !important;
  color: var(--text) !important;
  font-weight: 400;
}

.sobre-destaque {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.destaque-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.destaque-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.destaque-item i {
  font-size: 1.5rem;
  color: var(--yellow-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

.destaque-item div strong { display: block; color: var(--navy); font-size: 0.92rem; margin-bottom: 3px; }
.destaque-item div p { color: var(--text-light); font-size: 0.85rem; margin: 0; }

/* MVV Cards */
.sobre-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mvv-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.mvv-card.missao  { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); }
.mvv-card.visao   { background: linear-gradient(135deg, #1e3a5f, #2a4a7a); color: var(--white); }
.mvv-card.valores { background: linear-gradient(135deg, var(--yellow-dark), var(--yellow)); color: var(--navy); }

.mvv-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.mvv-card.valores .mvv-icon { background: rgba(26,37,64,0.15); }

.mvv-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}
.mvv-card p { font-size: 0.92rem; line-height: 1.6; opacity: 0.9; }

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.servico-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.servico-card:hover::before { transform: scaleX(1); }
.servico-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.servico-card.featured {
  background: rgba(245,166,35,0.12);
  border-color: rgba(245,166,35,0.4);
}
.servico-card.featured::before { transform: scaleX(1); }

.servico-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-head);
}

.servico-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}

.servico-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.servico-card p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.servico-lista {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.servico-lista li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
}
.servico-lista li i { color: var(--yellow); font-size: 0.7rem; }

/* ============================================
   NORMAS
   ============================================ */
.normas { background: var(--white); }

.normas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.norma-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 2px solid var(--border);
  transition: var(--transition);
  cursor: default;
}
.norma-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.norma-logo {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, var(--navy), var(--yellow-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.norma-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Diferenciais */
.diferenciais {
  background: var(--off-white);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border);
}

.diferenciais h3 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.diferencial-item {
  text-align: center;
}

.diferencial-item i {
  font-size: 2rem;
  color: var(--yellow-dark);
  margin-bottom: 1rem;
  display: block;
}

.diferencial-item h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.diferencial-item p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   EQUIPE
   ============================================ */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.equipe-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.equipe-card:hover {
  background: rgba(245,166,35,0.1);
  border-color: rgba(245,166,35,0.35);
  transform: translateY(-6px);
}

.equipe-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 24px rgba(245,166,35,0.3);
}

.equipe-card h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.equipe-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.equipe-tag {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--yellow-light);
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-weight: 600;
}

/* Capacitação Banner */
.capacitacao-banner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--yellow-dark), var(--yellow));
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}

.cap-icon {
  font-size: 2.5rem;
  color: var(--navy);
  flex-shrink: 0;
}

.cap-text h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.cap-text p {
  font-size: 0.9rem;
  color: rgba(26,37,64,0.8);
  line-height: 1.6;
}

/* ============================================
   CONTATO
   ============================================ */
.contato { background: var(--off-white); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.info-card:hover { border-color: var(--yellow); box-shadow: var(--shadow-md); }

.info-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.info-card p, .info-card a {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}
.info-card a:hover { color: var(--yellow-dark); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}
.social-btn {
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }

/* Form */
.contato-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-head);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.12);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e53e3e;
}

.form-msg {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-success { background: #f0fff4; color: #276749; border: 1px solid #c6f6d5; }
.form-error   { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); color: var(--white); }

.footer-top { padding: 60px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}
.footer-via, .footer-work {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.footer-via  { color: var(--white); }
.footer-work { color: var(--yellow); }
.footer-logo small {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-links h5,
.footer-contato h5 {
  font-size: 0.82rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  font-family: var(--font-head);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links ul li a i { font-size: 0.6rem; color: var(--yellow); }
.footer-links ul li a:hover { color: var(--yellow); transform: translateX(4px); }

.footer-contato p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
}
.footer-contato p i { color: var(--yellow); margin-top: 3px; flex-shrink: 0; }

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 1.2rem;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--yellow); color: var(--navy); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 0;
  text-align: center;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom strong { color: rgba(255,255,255,0.55); }

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 800;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

.wpp-tooltip {
  position: absolute;
  right: 66px;
  background: var(--dark);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.whatsapp-float:hover .wpp-tooltip { opacity: 1; }

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px; height: 46px;
  background: var(--navy);
  border: 2px solid rgba(245,166,35,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 1rem;
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .normas-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sobre-grid { gap: 2.5rem; }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  .section-padded { padding: 64px 0; }

  /* Navbar mobile */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: rgba(26,37,64,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 0.5rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.35);
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: 1rem; padding: 10px 0; width: 100%; }
  .nav-cta { width: auto; margin-left: 0; margin-top: 1rem; }

  /* Hero */
  .hero-stats {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
  }
  .stat-divider { width: 40px; height: 1px; }

  /* Sobre */
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-cards { order: -1; }

  /* Servicos */
  .servicos-grid { grid-template-columns: 1fr; }

  /* Normas */
  .normas-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais { padding: 2rem; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Equipe */
  .equipe-grid { grid-template-columns: repeat(2, 1fr); }
  .capacitacao-banner { flex-direction: column; text-align: center; }

  /* Contato */
  .contato-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* Small Mobile: 480px */
@media (max-width: 480px) {
  .normas-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  .contato-form { padding: 1.5rem; }
}

/* ============================================
   SCROLLBAR CUSTOM
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 99px; }

/* ============================================
   SELECTION
   ============================================ */
::selection { background: var(--yellow); color: var(--navy); }

/* ============================================
   ROAD LINE ANIMATION (Hero BG Decoration)
   ============================================ */
.road-line {
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, transparent, rgba(245,166,35,0.15), transparent);
  border-radius: 99px;
  animation: roadScroll linear infinite;
}

@keyframes roadScroll {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100vh); }
}
