/*
Theme Name: Bellog Corporativo
Theme URI: https://bellog.com.br
Author: Bel Log Transportes e Logística
Author URI: https://bellog.com.br
Description: Tema oficial da Bel Log Transportes (Ribeirão das Neves - MG). Design leve, suave e fluido com Rastreamento SSW, FAQ Logístico, Mapa Interativo e Política de Privacidade LGPD.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: bellog
*/

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-soft: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --blue-accent: #2563eb;
  --blue-soft: #eff6ff;
  --red-accent: #e11d48;
  --red-soft: #fff1f2;
  --ipiranga-amber: #f59e0b;
  --ipiranga-blue: #1d4ed8;
  --texaco-red: #dc2626;
  --esg-emerald: #10b981;
  --border-light: #e2e8f0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 40px -10px rgba(15, 23, 42, 0.09);
  --shadow-nav: 0 12px 32px -8px rgba(15, 23, 42, 0.1);
  --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Utility Bar */
.utility-bar {
  background: #f1f5f9;
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--esg-emerald);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseGlow 2.4s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08); }
}

.utility-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s var(--ease-fluid);
  white-space: nowrap;
}

.utility-link:hover {
  color: var(--blue-accent);
}

/* Floating Fluid Header */
.header-spacer {
  height: 84px;
}

.site-header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 9990;
  transition: top 0.3s var(--ease-fluid);
  pointer-events: none;
}

body.admin-bar .site-header {
  top: 68px;
}

.site-header.is-scrolled {
  top: 12px;
}

body.admin-bar .site-header.is-scrolled {
  top: 44px;
}

.header-bar {
  pointer-events: auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow-nav);
  padding: 0 26px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s var(--ease-fluid);
}

.site-header.is-scrolled .header-bar {
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px -8px rgba(15, 23, 42, 0.13);
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-fluid);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  line-height: 1.05;
  white-space: nowrap;
}

.brand-title span {
  color: var(--red-accent);
}

.brand-tagline {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  flex-wrap: nowrap;
}

.main-nav a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.22s var(--ease-fluid);
}

.main-nav a:hover {
  color: var(--blue-accent);
  background: var(--blue-soft);
}

/* Header Action Buttons & Mobile Menu Button */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.mobile-drawer {
  display: none;
  pointer-events: auto;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.mobile-drawer ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.mobile-drawer a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.mobile-drawer a:hover {
  background: var(--blue-soft);
  color: var(--blue-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.28s var(--ease-fluid);
  cursor: pointer;
  border: none;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 0.94rem;
  border-radius: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}

.btn-red {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.2);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.3);
}

.btn-soft {
  background: var(--bg-soft);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-soft:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* Soft & Airy Hero Section */
.hero-banner {
  position: relative;
  background:
    radial-gradient(circle at 85% 18%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(225, 29, 72, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  padding: 52px 0 120px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
  white-space: nowrap;
}

.hero-banner h1 {
  font-size: clamp(2.05rem, 3.6vw, 3.05rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-banner h1 span {
  background: linear-gradient(90deg, #2563eb 0%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Right Hero Partner Showcase */
.hero-visual {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  animation: floatCard 6s ease-in-out infinite;
}

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

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.visual-header-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669 !important;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid #a7f3d0;
  font-size: 0.73rem !important;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.operation-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border-left: 5px solid var(--ipiranga-amber);
  box-shadow: var(--shadow-xs);
  transition: all 0.28s var(--ease-fluid);
}

.operation-pill.texaco {
  border-left-color: var(--texaco-red);
  margin-bottom: 0;
}

.operation-pill:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.op-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

.partner-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.partner-logo-badge.ipiranga {
  color: #1e3a8a;
}

.partner-logo-badge.texaco {
  color: #b91c1c;
}

.op-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--bg-soft);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.op-text {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

/* SSW Tracking Card */
.quick-bar-wrapper {
  margin-top: -68px;
  position: relative;
  z-index: 40;
  margin-bottom: 44px;
}

.quick-bar {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1.42fr 0.98fr;
  gap: 32px;
  align-items: center;
}

.ssw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.ssw-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 800;
  white-space: nowrap;
}

.ssw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: var(--blue-accent);
  border: 1px solid #bfdbfe;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ssw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  background: var(--bg-soft);
  padding: 5px;
  border-radius: 12px;
  width: fit-content;
}

.ssw-tab-btn {
  padding: 7px 13px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s var(--ease-fluid);
}

.ssw-tab-btn.active {
  background: var(--bg-surface);
  color: var(--blue-accent);
  box-shadow: var(--shadow-xs);
}

.ssw-form-panel {
  display: none;
}

.ssw-form-panel.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tracking-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.tracking-form.single-input {
  grid-template-columns: 1fr auto;
}

.tracking-input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border-light);
  border-radius: 11px;
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--bg-page);
  outline: none;
  transition: all 0.2s ease;
}

.tracking-input:focus {
  background: #ffffff;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ssw-helper {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.ssw-helper a {
  color: var(--blue-accent);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.quick-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-left: 1px solid var(--border-light);
  padding-left: 28px;
}

.shortcut-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-page);
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  transition: all 0.25s var(--ease-fluid);
}

.shortcut-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.shortcut-icon {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.shortcut-title {
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  white-space: nowrap;
}

.shortcut-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* Metrics Strip */
.metrics-strip {
  padding: 24px 0 60px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  text-align: center;
  transition: transform 0.28s var(--ease-fluid), box-shadow 0.28s var(--ease-fluid);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.metric-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue-accent);
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
}

.metric-card:nth-child(2) .metric-number {
  color: var(--red-accent);
}

.metric-card:nth-child(3) .metric-number {
  color: #d97706;
}

.metric-card:nth-child(4) .metric-number {
  color: var(--esg-emerald);
}

.metric-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Section Layout */
.section {
  padding: 80px 0;
}

.section-white {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--blue-accent);
  background: var(--blue-soft);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
  white-space: nowrap;
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.22;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Dedicated Operations Cards */
.operations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.op-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 38px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-fluid);
}

.op-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.op-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.op-card.ipiranga-card::before {
  background: linear-gradient(90deg, #1d4ed8, #fbbf24);
}

.op-card.texaco-card::before {
  background: linear-gradient(90deg, #dc2626, #334155);
}

.op-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 16px;
  white-space: nowrap;
}

.ipiranga-card .op-badge {
  background: #fef3c7;
  color: #92400e;
}

.texaco-card .op-badge {
  background: #fee2e2;
  color: #b91c1c;
}

.op-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.op-card p {
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.op-features {
  list-style: none;
  display: grid;
  gap: 11px;
}

.op-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.op-check {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all 0.28s var(--ease-fluid);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.sol-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  transition: transform 0.28s var(--ease-fluid);
}

.solution-card:hover .sol-icon {
  transform: scale(1.08);
  background: var(--blue-accent);
  color: #ffffff;
}

.solution-card h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Soft & Light Tech + SSMA Section */
.tech-esg-section {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #f0fdf4 100%);
  padding: 84px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.tech-esg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pillar-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-fluid);
}

.pillar-panel:hover {
  transform: translateY(-4px);
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
  white-space: nowrap;
}

.pillar-tag.tech {
  background: #dbeafe;
  color: #1d4ed8;
}

.pillar-tag.esg {
  background: #d1fae5;
  color: #047857;
}

.pillar-panel h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pillar-panel p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.pillar-items {
  display: grid;
  gap: 12px;
}

.pillar-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.pillar-item span {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* Interactive Map Wrapper */
.map-frame-wrapper {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
  height: 310px;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* FAQ Accordion Section */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-fluid);
}

.faq-item.active {
  border-color: #93c5fd;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-fluid), background 0.25s var(--ease-fluid);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--blue-accent);
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--bg-soft);
}

.faq-item.active .faq-answer {
  display: block;
  padding-top: 14px;
  animation: fadeIn 0.22s ease;
}

/* Privacy Policy Modal & Dedicated Page View */
.privacy-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.privacy-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.privacy-modal {
  background: var(--bg-surface);
  width: 100%;
  max-width: 860px;
  max-height: 86vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.privacy-modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--bg-page);
}

.privacy-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.privacy-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.privacy-modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.privacy-modal-body h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 22px 0 8px;
}

.privacy-modal-body h4:first-child {
  margin-top: 0;
}

.privacy-modal-body p {
  margin-bottom: 12px;
}

.privacy-modal-body ul {
  margin: 0 0 14px 20px;
  display: grid;
  gap: 6px;
}

/* LGPD Bottom Cookie Bar */
.lgpd-banner {
  position: fixed;
  bottom: 18px;
  left: 24px;
  right: 24px;
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16);
  padding: 16px 22px;
  z-index: 9980;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lgpd-banner.show {
  display: flex;
  animation: fadeIn 0.35s ease;
}

.lgpd-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.lgpd-text a {
  color: var(--blue-accent);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-fluid), transform 0.6s var(--ease-fluid);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.8rem;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .quick-bar,
  .operations-grid,
  .tech-esg-grid {
    grid-template-columns: 1fr;
  }
  .quick-shortcuts {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-left: 0;
    padding-top: 20px;
  }
  .metrics-grid,
  .solutions-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .utility-bar {
    display: none;
  }
  .site-header {
    top: 10px;
  }
  .metrics-grid,
  .solutions-grid,
  .quick-shortcuts,
  .footer-grid,
  .tracking-form,
  .tracking-form.single-input {
    grid-template-columns: 1fr;
  }
  .quick-bar {
    padding: 22px 18px;
  }
}
