/* ============================================================
   ContPlus - Design System Premium
   Paleta: Navy #0B1A30 | Laranja #F15A24 | Azul #1A7BC4
   Tipografia: Outfit (títulos) + Inter (corpo)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Variáveis CSS ---- */
:root {
  --navy:       #0B1A30;
  --navy-mid:   #132338;
  --navy-light: #1E3555;
  --orange:     #F15A24;
  --orange-dark:#C94B1A;
  --orange-glow: rgba(241,90,36,0.25);
  --blue:       #1A7BC4;
  --blue-light: #2E9BE5;
  --white:      #FFFFFF;
  --gray-100:   #F4F6F9;
  --gray-200:   #E8ECF2;
  --gray-400:   #9BAABB;
  --gray-600:   #5A6A7E;
  --text-dark:  #0B1A30;
  --text-body:  #334155;

  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px rgba(11,26,48,0.08);
  --shadow-md:  0 8px 30px rgba(11,26,48,0.14);
  --shadow-lg:  0 20px 60px rgba(11,26,48,0.20);
  --shadow-orange: 0 8px 30px rgba(241,90,36,0.35);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset e Estilos 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-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---- Tipografia ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 3px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title span { color: var(--orange); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
}

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

section { padding: 96px 0; }

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(241,90,36,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   CABEÇALHO / MENU DE NAVEGAÇÃO
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(11,26,48,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Cabeçalho com fundo navy fixo para páginas internas (cidade, serviço, artigo) */
#header.header-dark {
  background: rgba(11,26,48,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}



.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text .brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  display: inline-flex;
}
.nav-logo-text .brand .brand-plus {
  color: var(--orange);
}
.nav-logo-text .tagline { font-size: 0.6rem; font-weight: 600; color: var(--gray-400); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-erp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--orange);
  color: white;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(241,90,36,0.4);
}
.nav-erp-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(241,90,36,0.5);
}
.nav-erp-btn svg { width: 16px; height: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   SEÇÃO HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 0;
}

/* Fundo com gradiente mesh animado */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26,123,196,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(241,90,36,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 10%, rgba(30,53,85,0.5) 0%, transparent 50%),
    linear-gradient(135deg, #0B1A30 0%, #132338 50%, #0d2040 100%);
}

/* Formas geométricas flutuantes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: float 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--blue);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.hero-shape:nth-child(2) {
  width: 300px; height: 300px;
  background: var(--orange);
  bottom: -50px; left: 10%;
  animation-delay: 3s;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}
.hero-shape:nth-child(3) {
  width: 200px; height: 200px;
  background: var(--blue-light);
  top: 30%; left: 40%;
  animation-delay: 6s;
  opacity: 0.04;
}

/* Barra de destaque laranja */
.hero-accent-bar {
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--orange), transparent);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241,90,36,0.15);
  border: 1px solid rgba(241,90,36,0.3);
  color: #ff8c5a;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-title .highlight { color: var(--orange); }
.hero-title .highlight-blue { color: #5BB8F5; }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: left; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-top: 4px;
}

/* Visual do Hero (lado direito) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-main {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-card-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
}
.hero-card-sub { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

.hero-services-list { display: flex; flex-direction: column; gap: 10px; }

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.hero-service-item:hover {
  background: rgba(241,90,36,0.1);
  border-color: rgba(241,90,36,0.25);
}

.service-icon-sm {
  width: 32px; height: 32px;
  background: rgba(241,90,36,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-service-text { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 500; }

.hero-card-badge {
  position: absolute;
  top: -16px; right: 24px;
  background: var(--orange);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-orange);
}

.hero-floating-pill {
  position: absolute;
  z-index: 10;
  background: rgba(26,123,196,0.9);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(26,123,196,0.4);
  animation: floatPill 5s ease-in-out infinite;
}
.hero-floating-pill.pill-1 { bottom: -15px; left: -10px; animation-delay: 0s; }
.hero-floating-pill.pill-2 { top: 15px; left: -30px; background: rgba(241,90,36,0.9); box-shadow: 0 8px 24px rgba(241,90,36,0.4); animation-delay: 2.5s; }
.hero-floating-pill .pill-icon { font-size: 1rem; }

@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   QUEM SOMOS / EQUIPE
   ============================================================ */
#quem-somos {
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

#quem-somos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--orange));
}

.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.quem-somos-content { }

.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.mission-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange);
  transition: var(--transition);
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.mission-icon {
  width: 44px;
  height: 44px;
  background: rgba(241,90,36,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--orange);
  transition: var(--transition);
}
.mission-card:hover .mission-icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.05);
}
.mission-card h4 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}
.mission-card p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.5; }

/* Membros da Equipe */
.team-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
}
.team-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 110px; height: 110px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  flex-shrink: 0;
  border: 3px solid rgba(241,90,36,0.2);
}

.team-info { flex: 1; }
.team-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.team-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

.team-badge {
  background: var(--navy);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
#servicos {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#servicos .section-title { color: var(--white); }
#servicos .section-subtitle { color: rgba(255,255,255,0.55); }

.services-header {
  text-align: center;
  margin-bottom: 64px;
}
.services-header .section-label { color: #ff8c5a; }
.services-header .section-label::before { background: #ff8c5a; }
.services-header .section-subtitle { max-width: 560px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(241,90,36,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(241,90,36,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(241,90,36,0.15);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(241,90,36,0.12);
  border: 1px solid rgba(241,90,36,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
  color: var(--orange);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(241,90,36,0.4);
  transform: scale(1.05);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ============================================================
   BLOG / ARTIGOS
   ============================================================ */
#blog {
  background: var(--white);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(241,90,36,0.2);
}

.article-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.06); }

.article-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.article-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--orange);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-date {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-date svg { width: 14px; height: 14px; }

.article-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: var(--transition);
}
.article-card:hover .article-title { color: var(--orange); }

.article-excerpt {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  transition: var(--transition);
  font-family: var(--font-heading);
}
.article-read-more svg { width: 16px; height: 16px; transition: var(--transition); }
.article-card:hover .article-read-more { gap: 10px; }
.article-card:hover .article-read-more svg { transform: translateX(4px); }

.blog-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--gray-400);
  grid-column: 1 / -1;
}
.blog-empty h3 { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 8px; }

/* ============================================================
   CONTATO / CTA
   ============================================================ */
#contato {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2040 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

#contato::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(241,90,36,0.06);
  top: -200px; right: -200px;
  pointer-events: none;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contato-content .section-title { color: white; }
.contato-content .section-subtitle { color: rgba(255,255,255,0.55); }

.contato-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: var(--transition);
}
.contato-icon {
  width: 44px; height: 44px;
  background: rgba(241,90,36,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.contato-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  transition: var(--transition);
}
.contato-item:hover {
  color: var(--white);
}
.contato-item:hover .contato-icon {
  background: var(--orange);
  transform: scale(1.08);
}
.contato-item:hover .contato-icon svg {
  stroke: var(--white);
}

/* Formulário de Contato */
.contact-form {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-control option {
  color: var(--navy);
  background: var(--white);
}
.form-control::placeholder { color: rgba(255,255,255,0.3); }
.form-control:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(241,90,36,0.15);
}

.form-control-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

textarea.form-control { resize: vertical; min-height: 110px; }

.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

/* ============================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 22px 14px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
  color: white;
}
.whatsapp-float svg { width: 22px; height: 22px; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 30px rgba(37,211,102,0.5), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ============================================================
   RODAPÉ
   ============================================================ */
#footer {
  background: #060f1e;
  padding: 48px 0 24px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { line-height: 1.7; max-width: 300px; color: rgba(255,255,255,0.4); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
  font-size: 0.85rem;
}
.footer-col ul li a:hover { color: var(--orange); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-socials a:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

.nav-erp-mobile {
  display: none;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 48px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 32px;
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}


/* ============================================================
   PÁGINA DE ARTIGO
   ============================================================ */
.article-page {
  min-height: 100vh;
  background: var(--white);
}


.article-page-hero {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.article-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,123,196,0.2), transparent);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  position: relative;
}
.article-breadcrumb a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.article-breadcrumb a:hover { color: var(--orange); }
.article-breadcrumb span { color: rgba(255,255,255,0.2); }
.article-breadcrumb .current { color: rgba(255,255,255,0.7); }

.article-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  max-width: 800px;
  position: relative;
  margin-bottom: 20px;
}

.article-page-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  position: relative;
  flex-wrap: wrap;
}
.article-page-meta span { display: flex; align-items: center; gap: 6px; }
.article-page-meta svg { width: 14px; height: 14px; }

.article-page-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* ---- Layout específico da página de cidade (anula o max-width padrão de artigo) ---- */
.article-page-body.cidade-body {
  max-width: 1200px;
  padding-top: 56px;
  padding-bottom: 80px;
  padding-left: 24px;
  padding-right: 24px;
}

.cidade-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.cidade-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.cidade-blog-section {
  margin-top: 64px;
  border-top: 1px solid #E8ECF2;
  padding-top: 40px;
}

.cidade-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}



.article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
}
.article-content h2 {
  font-size: 1.55rem;
  margin: 36px 0 16px;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}
.article-content h3 { font-size: 1.2rem; margin: 28px 0 12px; color: var(--navy-light); }
.article-content p { margin-bottom: 20px; }
.article-content strong { color: var(--navy); font-weight: 700; }
.article-content ul, .article-content ol {
  margin: 16px 0 20px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(241,90,36,0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--gray-600);
}

.article-back-btn {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

/* ============================================================
   ANIMAÇÕES / REVELAÇÃO (REVEAL)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVIDADE (RESPONSIVE)
   ============================================================ */
@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1150px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 140px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-desc {
    max-width: 600px;
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
  }
  .quem-somos-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

  .hero-visual { display: none; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100dvh;
    width: 100vw;
    background: rgba(11,26,48,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 9999;
    animation: fadeInMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .nav-links.open a { font-size: 1.25rem; padding: 14px 32px; font-weight: 600; }
  .hamburger { display: flex; z-index: 10000; }
  
  /* Estado ativo do menu hambúrguer CSS */
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Estilos do botão ERP dentro do menu e ocultar botão original */
  .nav-cta .nav-erp-btn { display: none !important; }
  
  .nav-erp-mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
  }
  .nav-erp-mobile .nav-erp-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px !important;
    background: var(--orange);
    color: white;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    max-width: 260px;
    box-shadow: 0 4px 15px rgba(241,90,36,0.4);
    text-shadow: none;
  }
  .nav-erp-mobile .nav-erp-btn svg {
    width: 18px;
    height: 18px;
  }
  .nav-erp-mobile .nav-erp-btn span {
    display: inline !important;
  }

  /* Grid Responsivo do Rodapé */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .footer-menu-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-stats { gap: 20px; }
  .mission-cards { grid-template-columns: 1fr; }
  .form-control-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; }

  /* Página de Cidade — responsividade mobile */
  .cidade-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cidade-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cidade-blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cidade-blog-section {
    margin-top: 40px;
    padding-top: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .whatsapp-float .wa-text { display: none; }
  .whatsapp-float { padding: 16px; }
}

@media (max-width: 576px) {
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 24px 20px;
  }
  .team-card::before {
    width: 100%;
    height: 4px;
    top: 0; left: 0;
  }
  .team-badge {
    position: absolute;
    top: 16px;
    right: 16px;
  }
}

