/* ==========================================================================
   BBG Brazil — Custom Corporate Stylesheet
   Designed on top of Bootstrap 5.3 (Clean, Semantic, Responsive)
   ========================================================================== */

:root {
  --bbg-navy: #173673;
  --bbg-navy-dark: #0a1931;
  --bbg-header-bg: rgba(6, 55, 103, 0.92);
  --bbg-footer-bg: #192a3d;
  --bbg-gold: #c49a45;
  --bbg-gold-hover: #b08734;
  --bbg-blue: #2872fa;
  --bbg-slate: #3A4F66;
  --bbg-text: #2b303a;
  --bbg-text-muted: #64748b;
  --bbg-bg-alt: #f8fafc;
  --bbg-border: #e2e8f0;
  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--bbg-text);
  line-height: 1.65;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

/* ==========================================
   HEADER & NAVBAR
   ========================================== */
.bbg-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--bbg-header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.bbg-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.bbg-navbar .nav-link {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 14px !important;
  position: relative;
  transition: color 0.2s ease;
}

.bbg-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--bbg-gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.bbg-navbar .nav-link:hover::after,
.bbg-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.bbg-navbar .nav-link:hover,
.bbg-navbar .nav-link.active {
  color: #ffffff !important;
}

/* Language selector */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 3px 8px;
  margin-left: 12px;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 4px;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: #ffffff;
}

.lang-switcher span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

/* Contact button CTA */
.btn-cta-contact {
  background-color: var(--bbg-gold);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 18px;
  border-radius: 4px;
  border: none;
  margin-left: 12px;
  transition: all 0.25s ease;
}

.btn-cta-contact:hover {
  background-color: var(--bbg-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(196, 154, 69, 0.3);
}

/* ==========================================
   HERO BANNER / SLIDER
   ========================================== */
.bbg-hero {
  position: relative;
  background-color: #04122f;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.bbg-hero .carousel-item {
  min-height: 580px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.bbg-hero .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(4, 18, 47, 0.85) 0%, rgba(23, 54, 115, 0.75) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 120px 0;
  text-align: center;
}

.hero-slide-content h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-slide-content p {
  font-size: 20px;
  color: var(--bbg-gold);
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.btn-hero-action {
  display: inline-block;
  background-color: var(--bbg-gold);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 34px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.btn-hero-action:hover {
  background-color: var(--bbg-gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.bbg-hero .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

.bbg-hero .carousel-indicators .active {
  background-color: var(--bbg-gold);
}

/* ==========================================
   PAGE INNER HEADER (Header das subpáginas)
   ========================================== */
.page-inner-header {
  background: linear-gradient(135deg, var(--bbg-navy-dark) 0%, var(--bbg-navy) 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-inner-header h1 {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.page-inner-header p {
  color: var(--bbg-gold);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

/* ==========================================
   SECTIONS & COMMONS
   ========================================== */
.section-padding {
  padding: 120px 0;
}

.section-bg-alt {
  background-color: var(--bbg-bg-alt);
}

.section-tag {
  color: var(--bbg-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  color: var(--bbg-navy);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  margin-bottom: 60px;
  color: var(--bbg-text-muted);
  font-size: 17px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/* ==========================================
   CARDS & PILLARS (Missão, Visão, Valores)
   ========================================== */
.pillar-card {
  background: #ffffff;
  border: 1px solid var(--bbg-border);
  border-radius: 8px;
  padding: 40px 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(23, 54, 115, 0.1);
  border-color: var(--bbg-navy);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bbg-navy);
  margin-bottom: 16px;
}

.pillar-text {
  color: var(--bbg-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================
   SERVICES (Metodologia e Fluxo)
   ========================================== */
.service-step-card {
  background: #ffffff;
  border: 1px solid var(--bbg-border);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  gap: 20px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.service-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--bbg-navy);
}

.service-icon-box {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.service-step-card h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bbg-navy);
  margin-bottom: 8px;
}

.service-step-card p {
  color: var(--bbg-text-muted);
  font-size: 14px;
  margin: 0;
}

/* ==========================================
   PRODUCTS (Vitrines)
   ========================================== */
.product-box {
  background: #ffffff;
  border: 1px solid var(--bbg-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.product-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
  height: 240px;
  background-color: #f1f5f9;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-box:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-caption {
  padding: 16px;
  text-align: center;
}

.product-caption h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--bbg-navy);
  margin: 0;
}

/* ==========================================
   INTERESTING LINKS (Badges)
   ========================================== */
.links-group-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bbg-navy);
  border-bottom: 2px solid var(--bbg-gold);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.badge-link {
  display: inline-block;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--bbg-border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bbg-navy);
  margin: 0 8px 12px 0;
  transition: all 0.2s ease;
}

.badge-link:hover {
  background-color: var(--bbg-navy);
  color: #ffffff !important;
  border-color: var(--bbg-navy);
  transform: translateY(-2px);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-item-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-box h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bbg-gold);
  margin-bottom: 4px;
}

.contact-item-box p, .contact-item-box a {
  font-size: 15px;
  font-weight: 600;
  color: var(--bbg-navy);
  margin: 0;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--bbg-border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   FOOTER
   ========================================== */
.bbg-footer {
  background-color: var(--bbg-footer-bg);
  color: #94a3b8;
  padding: 70px 0 25px;
  font-size: 14px;
}

.bbg-footer h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.bbg-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bbg-footer ul li {
  margin-bottom: 10px;
}

.bbg-footer a {
  color: #94a3b8;
}

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

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .hero-slide-content h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6); font-size: 32px; }
  .hero-slide-content p { font-size: 16px; }
  .bbg-navbar .nav-link::after { display: none; }
  .btn-cta-contact { margin-left: 0; margin-top: 12px; display: inline-block; }
  .lang-switcher { margin-left: 0; margin-top: 12px; }
}
