/* =========================================================
   SC Advogados — Custom Design System
   Modern, simple visual layer on top of the Start Bootstrap
   "Modern Business" base (styles.css). All rebrand-specific
   styling lives here so the vendor file stays untouched.
   ========================================================= */

:root {
  --sc-navy: #10192b;
  --sc-navy-2: #182338;
  --sc-ink: #1c2430;
  --sc-muted: #6b7280;
  --sc-accent: #b3894b;
  --sc-accent-dark: #93702f;
  --sc-accent-tint: rgba(179, 137, 75, 0.12);
  --sc-bg-alt: #f7f7f9;
  --sc-border: #e8e9ee;
  --sc-radius-sm: 10px;
  --sc-radius-md: 16px;
  --sc-radius-lg: 24px;
  --sc-shadow-sm: 0 2px 10px rgba(16, 25, 43, 0.06);
  --sc-shadow-md: 0 14px 34px rgba(16, 25, 43, 0.1);
  --sc-shadow-lg: 0 24px 60px rgba(16, 25, 43, 0.16);
  --sc-transition: all 0.25s ease;
}

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

body {
  color: var(--sc-ink);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sc-accent);
  color: #fff;
}

/* ---------- Section headings ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sc-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Navbar ---------- */
#mainNav {
  background-color: rgba(16, 25, 43, 0.92) !important;
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  box-shadow: none;
  transition: var(--sc-transition);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

#mainNav.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: var(--sc-shadow-md);
  background-color: rgba(16, 25, 43, 0.98) !important;
}

#mainNav .navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.92rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin: 0 0.5rem;
}

#mainNav .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  background: var(--sc-accent);
  transition: width 0.25s ease;
}

#mainNav .navbar-nav .nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  border-radius: 50px !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn-pill {
  border-radius: 50px;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.btn-accent {
  background-color: var(--sc-accent);
  border-color: var(--sc-accent);
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--sc-accent-dark);
  border-color: var(--sc-accent-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(179, 137, 75, 0.18), transparent 60%),
    linear-gradient(160deg, var(--sc-navy) 0%, var(--sc-navy-2) 60%, #0c1422 100%);
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  margin: 0 0.35rem 0.6rem 0;
}

.hero-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.hero-contact-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1200px) {
  .hero-contact-list li {
    justify-content: flex-start;
  }
}

.hero-contact-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.hero-contact-list a:hover {
  color: var(--sc-accent);
}

.hero-contact-list i {
  color: var(--sc-accent);
}

.hero-image-wrap img {
  box-shadow: var(--sc-shadow-lg);
}

.hero-logo {
  max-width: 340px;
  width: 100%;
  height: auto;
}

/* ---------- Quote card ---------- */
.quote-card {
  position: relative;
  background: var(--sc-bg-alt);
  border-left: 3px solid var(--sc-accent);
  border-radius: var(--sc-radius-md);
  padding: 2rem 2rem 2rem 2.75rem;
  color: var(--sc-ink);
}

.quote-icon {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  font-size: 1.5rem;
  color: var(--sc-accent);
  opacity: 0.6;
}

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-md);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--sc-transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sc-shadow-md);
  border-color: transparent;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--sc-radius-sm);
  background: var(--sc-accent-tint);
  color: var(--sc-accent);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-text {
  color: var(--sc-muted);
  font-size: 0.95rem;
}

/* ---------- Team cards ---------- */
.team-card {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-md);
  overflow: hidden;
  height: 100%;
  transition: var(--sc-transition);
}

.team-card:hover {
  box-shadow: var(--sc-shadow-md);
  transform: translateY(-4px);
}

.team-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

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

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
}

.team-role {
  display: block;
  color: var(--sc-accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.team-cp {
  display: block;
  color: var(--sc-muted);
  font-size: 0.85rem;
}

.team-email {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--sc-muted);
  text-decoration: none;
  word-break: break-word;
}

.team-email i {
  color: var(--sc-accent);
  margin-right: 0.4rem;
}

.team-email:hover {
  color: var(--sc-accent);
}

/* ---------- Location & contact cards ---------- */
.map-card {
  border-radius: var(--sc-radius-md);
  overflow: hidden;
  box-shadow: var(--sc-shadow-sm);
}

.location-card {
  background: var(--sc-bg-alt);
  border-radius: var(--sc-radius-md);
  padding: 2rem;
  height: 100%;
}

.location-card i {
  color: var(--sc-accent);
}

.location-card a {
  color: var(--sc-ink);
  text-decoration: none;
}

.location-card a:hover {
  color: var(--sc-accent);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: var(--sc-transition);
}

.contact-card:hover {
  box-shadow: var(--sc-shadow-md);
  transform: translateY(-4px);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--sc-accent-tint);
  color: var(--sc-accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--sc-muted);
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--sc-accent);
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

