/* ==========================================================================
   DESIGN SYSTEM - PPCI, AVCB & CLCB (CINZA, BRANCO & VERMELHO CORPORATIVO)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-dark-header: #0F172A;
  --bg-dark-header-scrolled: #1E293B;
  --bg-card: #FFFFFF;
  
  --color-brand-red: #D32F2F;
  --color-brand-red-hover: #B71C1C;
  --color-brand-red-light: #FFEBEE;
  --color-brand-red-border: #FFCDD2;
  
  --color-navy: #0F172A;
  --color-slate: #334155;
  --color-gray-muted: #64748B;
  --color-gray-light: #E2E8F0;
  --color-success: #15803D;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;

  --border-light: #E2E8F0;
  --border-brand: #EF9A9A;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
  --shadow-red: 0 6px 20px rgba(211, 47, 47, 0.25);

  /* Typography & Geometry */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gradient-brand-text {
  color: var(--color-brand-red);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-brand-red);
  color: #FFFFFF;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--color-brand-red-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-whatsapp:hover {
  background: #15803D;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* Pulse Dot Animation */
.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22C55E;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid #22C55E;
  border-radius: 50%;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-brand {
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
  border: 1px solid var(--color-brand-red-border);
}

.badge-success {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

/* Section Header Shared Style */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-header .subtitle {
  color: var(--color-brand-red);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   1. HEADER & NAVBAR (CINZA QUASE PRETO - DARK SLATE HEADER)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
  background: var(--bg-dark-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-dark-header-scrolled);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: #FFFFFF;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--color-brand-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.4rem;
  box-shadow: var(--shadow-red);
}

.logo-text span {
  color: #FF5252;
}

.logo-tagline {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #CBD5E1;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF5252;
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   2. HERO SECTION (CINZA NEUTRO COM TEXTURA QUADRICULADA E FOTO DO ENGENHEIRO)
   ========================================================================== */
.hero {
  position: relative;
  padding: 9.5rem 0 5.5rem;
  background-color: var(--bg-secondary);
  background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content .badge {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.18;
  color: var(--color-navy);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 600;
}

.trust-item svg {
  color: var(--color-brand-red);
  flex-shrink: 0;
}

/* Hero Photo */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
}

.hero-photo-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.hero-photo-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: #FFFFFF;
  border-left: 4px solid var(--color-brand-red);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-floating-badge .badge-icon {
  width: 44px;
  height: 44px;
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-floating-badge h4 {
  font-size: 1rem;
  color: var(--color-navy);
}

.hero-floating-badge p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   3. FAIXA DE CREDIBILIDADE (SEÇÃO 2: BRANCO PURO)
   ========================================================================== */
.credibility-section {
  background: #FFFFFF;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.credibility-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 700;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 4rem;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-slate);
  opacity: 0.85;
  transition: var(--transition);
}

.logo-item:hover {
  opacity: 1;
  color: var(--color-brand-red);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. VITRINE DE SERVIÇOS (SEÇÃO 3: CINZA SUAVE COM FOTOS REALISTAS NOS CARDS)
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-lg);
}

.service-card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-brand-red);
  background: var(--color-brand-red-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--color-navy);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-features svg {
  color: var(--color-brand-red);
  flex-shrink: 0;
}

/* ==========================================================================
   5. BANNER EM DESTAQUE COM FOTO DE BOMBEIROS EM VISTORIA
   ========================================================================== */
.firefighter-banner-section {
  padding: 4.5rem 0;
  background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.88)), url('images/firefighters.png');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  text-align: center;
}

.firefighter-banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.firefighter-banner-content h3 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.firefighter-banner-content p {
  font-size: 1.1rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
}

/* ==========================================================================
   6. CALCULADORA INTERATIVA DE REGULARIZAÇÃO (SEÇÃO 4: CINZA SUAVE)
   ========================================================================== */
.calculator-section {
  padding: 6.5rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.calculator-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
}

.calc-select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.calc-select:focus {
  border-color: var(--color-brand-red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

.calc-result-box {
  background: var(--bg-secondary);
  border: 2px dashed var(--color-brand-red-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.calc-result-info h4 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.calc-result-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.recommended-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-brand-red);
  background: var(--color-brand-red-light);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
}

/* ==========================================================================
   7. METRICAS & DEPOIMENTOS (SEÇÃO 5: BRANCO PURO)
   ========================================================================== */
.proof-section {
  padding: 6.5rem 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5.5rem;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand-red-border);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-brand-red);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
}

.testimonial-text {
  color: var(--text-main);
  font-size: 0.975rem;
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-brand-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--color-brand-red);
  border: 1px solid var(--color-brand-red-border);
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--color-navy);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   8. SOBRE NÓS (SEÇÃO 6: CINZA CLARO COM FOTOS E BADGE CREA)
   ========================================================================== */
.about-section {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  background-image: radial-gradient(#CBD5E1 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about-engineer-details {
  padding: 1.75rem;
  text-align: center;
}

.engineer-name {
  font-size: 1.4rem;
  color: var(--color-navy);
  margin-bottom: 0.3rem;
}

.engineer-title {
  color: var(--color-brand-red);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.crea-number {
  display: inline-block;
  background: var(--color-brand-red-light);
  border: 1px solid var(--color-brand-red-border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--color-brand-red);
  font-weight: 700;
}

.about-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  margin-bottom: 1.25rem;
  color: var(--color-navy);
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.diff-icon {
  width: 38px;
  height: 38px;
  background: var(--color-brand-red-light);
  color: var(--color-brand-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.diff-text h4 {
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.diff-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   9. FAQ ACCORDION (SEÇÃO 7: BRANCO PURO)
   ========================================================================== */
.faq-section {
  padding: 6.5rem 0;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-light);
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--color-brand-red-border);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  background: none;
  border: none;
  color: var(--color-navy);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.25rem;
  color: var(--color-brand-red);
  transition: var(--transition);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background: #FFFFFF;
}

.faq-answer-inner {
  padding: 1.25rem 1.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

/* ==========================================================================
   10. RODAPÉ E CONTATO FINAL (SEÇÃO 8: DARK SLATE CINZA QUASE PRETO)
   ========================================================================== */
.footer-contact-section {
  padding: 6.5rem 0 3rem;
  background: var(--bg-dark-header);
  color: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.contact-info h2 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #94A3B8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-card-item:hover {
  border-color: #FF5252;
  transform: translateX(4px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(211, 47, 47, 0.2);
  color: #FF5252;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-details h4 {
  font-size: 0.9rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-details p, .contact-details a {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Contact Form */
.contact-form-box {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #FFFFFF;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: #FF5252;
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-success-msg {
  display: none;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  color: #15803D;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Footer Bottom Navigation */
.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #FF5252;
}

.copyright {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  margin-top: 1.5rem;
  color: #64748B;
  font-size: 0.825rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #0F172A;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.mobile-active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .header-actions .btn-whatsapp {
    display: none;
  }
}

/* Refinamentos de conteúdo e acessibilidade, preservando a identidade visual. */
section[id] { scroll-margin-top: 100px; }
.hero-grid > *, .about-grid > *, .contact-grid > * { min-width: 0; }
.hero-title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.badge, .btn { white-space: normal; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.pillars-card { padding: 2.5rem 1.5rem; text-align: center; }
.pillars-card .subtitle { color: var(--color-brand-red); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.pillars-card h3 { margin: 1rem auto; max-width: 310px; font-size: 1.65rem; }
.pillars-card > p { color: var(--text-muted); }
.pillars-diagram { position: relative; width: 100%; max-width: 360px; height: 280px; margin: 1.5rem auto; }
.pillars-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillars-diagram path { fill: var(--color-brand-red-light); stroke: var(--color-brand-red-border); stroke-width: 2; }
.pillars-diagram span { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; width: 104px; min-height: 88px; padding: .75rem .5rem; background: #FFFFFF; border: 1px solid var(--color-brand-red-border); border-radius: var(--radius-md); font-weight: 700; color: var(--color-navy); }
.pillars-diagram span i { color: var(--color-brand-red); font-size: 1.5rem; }
.pillar-top { top: 0; left: 50%; transform: translateX(-50%); }
.pillar-left { bottom: 5px; left: 0; }
.pillar-right { bottom: 5px; right: 0; }
.about-content .differentials-grid { grid-template-columns: 1fr; }
.footer-nav { flex-wrap: wrap; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-brand-red); outline-offset: 4px; }
@media (max-width: 480px) {
  .hero { padding-top: 8rem; }
  .hero-ctas .btn { width: 100%; }
  .contact-form-box { padding: 1.5rem; }
  .hero-floating-badge { max-width: calc(100% - 1rem); }
  .pillars-card { padding: 2rem 1rem; }
  .floating-whatsapp { bottom: 1rem; right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Marca ROVA: mantém as cores e a moldura da identidade existente. */
.rova-mark { display: block; width: 25px; height: 32px; flex-shrink: 0; }
.logo-icon .rova-mark { width: 24px; height: 31px; }
.footer-brand .rova-mark { width: 21px; height: 28px; color: #FF5252; }

/* Assinatura ROVA | Engenharia inspirada na referência tipográfica. */
.logo-text { display: flex; align-items: center; line-height: 1; }
.brand-signature { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; line-height: 1; vertical-align: middle; }
.logo-text .brand-signature, .footer-brand .brand-signature { color: #fff; }
.rova-wordmark { display: block; width: 108px; height: 33px; flex-shrink: 0; }
.logo-text .brand-divider, .brand-divider { display: block; width: 1px; height: 32px; background: #FFFFFF; flex-shrink: 0; }
.logo-text .brand-engineering, .brand-engineering { color: #FFFFFF; font-family: var(--font-family); font-size: .95rem; font-weight: 400; letter-spacing: .01em; }
@media (min-width: 993px) and (max-width: 1200px) { .nav-links { gap: 1rem; } .header-actions .btn-sm { padding-left: .75rem; padding-right: .75rem; } }
@media (max-width: 480px) {
  .logo { gap: .5rem; }
  .brand-signature { gap: 8px; }
  .rova-wordmark { width: 88px; height: 28px; }
  .logo-text .brand-divider, .brand-divider { height: 27px; }
  .logo-text .brand-engineering, .brand-engineering { font-size: .8rem; }
  .header-actions { gap: .25rem; }
}

/* Mantém os ícones de contato circulares mesmo com textos longos. */
.contact-icon { flex-shrink: 0; }

/* Maior legibilidade e destaque para os compromissos dos três pilares. */
.about-content .differentials-grid { gap: 1.75rem; }
.about-content .diff-text { min-width: 0; }
.about-content .diff-text h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.about-content .diff-text p { font-size: 1rem; line-height: 1.7; }
.about-content .diff-text strong { font-weight: 700; color: var(--color-navy); }
.about-content .diff-icon { flex-shrink: 0; }

/* Apresentação em largura total, seguida pelo diagrama e seus significados. */
.about-intro { margin-bottom: 3rem; }
.about-intro > .subtitle { display: block; margin-bottom: .75rem; }
.about-intro .about-text { margin-bottom: 1.25rem; }
.about-intro .about-text:last-child { margin-bottom: 0; }
.about-grid { align-items: start; }
