/* ========================================
   Gráfica Rocket Color — Custom Styles
   ======================================== */

:root {
  --rc: #C8282C;
  --rc-dark: #9B1C1F;
  --dark: #111827;
  --dark2: #1F2937;
  --light: #F9FAFB;
  --muted: #6B7280;
  --border: #E5E7EB;
  --ff-head: 'Montserrat', sans-serif;
  --ff-body: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--dark2);
}

h1, h2, h3, h4, h5 { font-family: var(--ff-head); }

section[id] { scroll-margin-top: 72px; }

/* ---- Navbar ---- */
#mainNav {
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding 0.3s, box-shadow 0.3s;
  padding: 12px 0;
}
#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
#mainNav .nav-link {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.8) !important;
  padding: 6px 10px;
  transition: color 0.2s;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: #fff !important; }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: url('../assets/comunicacao/hero-bg.jpg') center/cover no-repeat;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,0.93) 0%, rgba(200,40,44,0.35) 100%);
}
.hero-badge {
  background: rgba(200,40,44,0.18);
  border: 1px solid rgba(200,40,44,0.4);
  color: #FCA5A5;
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
}
.hero-title {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.15;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}
.text-rc { color: #FCA5A5 !important; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--dark);
  border-bottom: 3px solid var(--rc);
  padding: 20px 0;
}
.stat-item { padding: 12px 8px; }
.stat-number {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--rc);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ---- Section Commons ---- */
.section-pad { padding: 88px 0; }

.sec-badge {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rc);
  background: rgba(200,40,44,0.07);
  border: 1px solid rgba(200,40,44,0.2);
  padding: 5px 14px;
  border-radius: 20px;
}
.sec-badge-light {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FCA5A5;
  background: rgba(200,40,44,0.15);
  border: 1px solid rgba(200,40,44,0.3);
  padding: 5px 14px;
  border-radius: 20px;
}
.sec-title {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--dark);
  line-height: 1.2;
}

/* ---- Quem Somos ---- */
.feat-pill {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark2);
  padding: 6px 0;
}
.about-wrap { position: relative; padding-bottom: 20px; }
.about-badge {
  position: absolute;
  bottom: 0;
  left: 24px;
  background: var(--rc);
  color: #fff;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(200,40,44,0.45);
}
.ab-year {
  display: block;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
}
.ab-text { font-size: 0.72rem; opacity: 0.85; line-height: 1.5; }

/* ---- Services ---- */
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}
.svc-card:hover,
.svc-card.svc-featured {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.svc-card:hover::before,
.svc-card.svc-featured::before {
  background: linear-gradient(90deg, var(--rc), var(--rc-dark));
}
.svc-card.svc-featured { box-shadow: 0 16px 48px rgba(200,40,44,0.13); }
.svc-icon {
  width: 58px; height: 58px;
  background: rgba(200,40,44,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  color: var(--rc);
}
.svc-card h4 { font-family: var(--ff-head); font-weight: 700; color: var(--dark); }
.svc-list { list-style: none; padding: 0; margin: 12px 0 0; }
.svc-list li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before { content: '→ '; color: var(--rc); font-weight: 700; }

/* ---- Buttons ---- */
.btn-rc {
  background: var(--rc);
  border-color: var(--rc);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-rc:hover {
  background: var(--rc-dark);
  border-color: var(--rc-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,40,44,0.4);
}

/* ---- Portfolio ---- */
.btn-filter {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 7px 20px;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-filter:hover,
.btn-filter.active {
  background: var(--rc);
  border-color: var(--rc);
  color: #fff;
}
.pf-thumb {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  background: var(--border);
}
.pf-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.pf-over {
  position: absolute; inset: 0;
  background: rgba(200,40,44,0.78);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.pf-thumb:hover img { transform: scale(1.06); }
.pf-thumb:hover .pf-over { opacity: 1; }
.pf-item { transition: opacity 0.3s; }
.pf-item.hidden { display: none; }

/* ---- Clients ---- */
.client-logo {
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  min-height: 110px;
  transition: box-shadow 0.2s;
}
.client-logo:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.client-logo img {
  max-height: 80px; max-width: 100%;
  object-fit: contain;
}

/* ---- Contact ---- */
.bg-dark-rc { background: #111827; }
.ct-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.ct-icon {
  width: 44px; height: 44px;
  background: rgba(200,40,44,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #FCA5A5;
  flex-shrink: 0;
}
.ct-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-bottom: 3px;
}
.ct-value { font-size: 1rem; color: rgba(255,255,255,0.88); font-weight: 500; }
.qr-img { width: 120px; border-radius: 8px; border: 3px solid rgba(255,255,255,0.1); }

.fc-dark {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
}
.fc-dark::placeholder { color: rgba(255,255,255,0.38); }
.fc-dark:focus {
  background: rgba(255,255,255,0.09) !important;
  border-color: rgba(200,40,44,0.55) !important;
  box-shadow: 0 0 0 3px rgba(200,40,44,0.15) !important;
  color: #fff !important;
}
.fc-dark option { background: #1F2937; color: #fff; }

.map-wrap { border: 1px solid rgba(255,255,255,0.08); }

.fs-success {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #86efac;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-weight: 500;
}
.fs-error {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  color: #fca5a5;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-weight: 500;
}

/* ---- Footer ---- */
.footer { background: #0D1117; border-top: 1px solid rgba(255,255,255,0.05); }
.ft-social {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}
.ft-social:hover { background: var(--rc); color: #fff; }

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 1000;
  transition: transform 0.2s;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.75); }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .about-badge { display: none; }
  .hero-title { font-size: 1.9rem; }
}
