/* ===================================================
   MELLIOREM GESTÃO EMPRESARIAL - Design System
   Cores: Dourado #B8944F, Escuro #3C3A37, Cinza #E8E5E0
   =================================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #3C3A37;
  background: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── CSS Variables ── */
:root {
  --gold: #B8944F;
  --gold-light: #D4B979;
  --gold-dark: #96783F;
  --dark: #3C3A37;
  --dark-bg: #2E2C29;
  --dark-card: #3A3835;
  --gray-100: #F8F7F5;
  --gray-200: #E8E5E0;
  --gray-300: #D0CCC5;
  --gray-400: #A8A39B;
  --gray-500: #7A756D;
  --white: #FFFFFF;
  --text-dark: #3C3A37;
  --text-light: #E8E5E0;
  --text-muted: #7A756D;
  --shadow-sm: 0 1px 3px rgba(60,58,55,0.08);
  --shadow-md: 0 4px 20px rgba(60,58,55,0.1);
  --shadow-lg: 0 10px 40px rgba(60,58,55,0.12);
  --shadow-gold: 0 4px 20px rgba(184,148,79,0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-light { background: var(--gray-100); }
.section-dark { background: var(--dark-bg); color: var(--text-light); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .subtitle { color: var(--gold-light); }
.section-dark .section-description { color: var(--gray-300); }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(46,44,41,0.97);
  backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img {
  height: 40px;
  transition: var(--transition);
}
.navbar.scrolled .navbar-logo img { height: 34px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.5rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.5px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; transform: translateY(-1px); }

.nav-portal {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.5px;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 12px rgba(184,148,79,0.35);
  border: 1px solid rgba(255,255,255,0.15);
}
.nav-portal::after { display: none !important; }
.nav-portal:hover { background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(184,148,79,0.45); }

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 1024px) {
  .mobile-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: var(--dark-bg);
    flex-direction: column;
    padding: 5rem 2.5rem 2rem;
    gap: 0;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    align-items: flex-start;
  }
  .nav-links.active { right: 0; }
  .nav-links a {
    font-size: 1rem;
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-cta { margin-top: 1rem; text-align: center; width: 100%; display: block !important; }
  .nav-portal { margin-top: 0.5rem; text-align: center; width: 100%; display: flex !important; justify-content: center; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2E2C29 0%, #3C3A37 50%, #2E2C29 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(184,148,79,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #FFFFFF, transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184,148,79,0.1);
  border: 1px solid rgba(184,148,79,0.25);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--gold); }
.hero-text {
  font-size: 1.15rem;
  color: var(--gray-300);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.hero-visual img {
  width: 320px;
  opacity: 0.15;
  filter: brightness(1.3);
}

@media (max-width: 768px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark-bg); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--white); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.card-icon.gold { background: rgba(184,148,79,0.1); color: var(--gold); }
.card-icon.dark { background: var(--dark); color: var(--gold); }
.card h4 { margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; }

/* Dark Card */
.card-dark {
  background: var(--dark-card);
  border-color: rgba(255,255,255,0.06);
}
.card-dark:hover { border-color: var(--gold); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.card-dark h4 { color: var(--white); }
.card-dark p { color: var(--gray-400); }

/* ── Pillar Cards (Home) ── */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
  background: rgba(184,148,79,0.08);
  color: var(--gold);
  transition: var(--transition);
}
.pillar-card:hover .pillar-icon { background: var(--gold); color: var(--white); }
.pillar-card h3 { margin-bottom: 1rem; }
.pillar-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.pillar-link:hover { gap: 0.7rem; }

@media (max-width: 768px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-dark .stat-number { color: var(--gold-light); }
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ── Feature List ── */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.feature-item:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,148,79,0.1);
  color: var(--gold);
  font-size: 1.1rem;
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.feature-item p { font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── Split Section ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-image .placeholder-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-bg), var(--dark));
}
.split-image .placeholder-visual img {
  width: 60%;
  max-width: 200px;
  opacity: 0.35;
}
.split-image img.office-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Gallery Grid ── */
.office-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.office-gallery .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.office-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.office-gallery .gallery-item:hover img {
  transform: scale(1.05);
}
.office-gallery .gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 768px) {
  .office-gallery { grid-template-columns: 1fr 1fr; }
}

/* ── Image Overlay ── */
.img-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.img-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(46,44,41,0.6), transparent);
  pointer-events: none;
}

/* ── Hero with Image Background ── */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.split-content h2 { margin-bottom: 1rem; }
.split-content > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.85; }
.split-list { margin-bottom: 2rem; }
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}
.split-list li svg, .split-list li i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse { direction: ltr; }
}

/* ── Pricing Plans ── */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}
.plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.plan-header { text-align: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
.plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.plan-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.plan-header p { font-size: 0.9rem; color: var(--text-muted); }
.plan-features { flex: 1; margin-bottom: 2rem; list-style: none; padding: 0; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
}
.plan-features li i { color: var(--gold); margin-top: 3px; font-size: 0.8rem; flex-shrink: 0; }
.plan-footer { text-align: center; }
.plan-footer .btn { width: 100%; justify-content: center; }

@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .plan-card.featured { transform: scale(1); }
  .plan-card.featured:hover { transform: translateY(-6px); }
}

/* ── Ecosystem Diagram ── */
.eco-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.eco-node {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
}
.eco-node.center {
  width: 200px;
  height: 200px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
}
.eco-node.center img { width: 60px; margin-bottom: 0.5rem; }
.eco-node.pillar {
  background: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.85rem;
}
.eco-node.pillar:hover { border-color: var(--gold); transform: scale(1.06); box-shadow: var(--shadow-md); }
.eco-node i { font-size: 1.3rem; margin-bottom: 0.4rem; color: var(--gold); }
.eco-connector {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--gray-200), var(--gold), var(--gray-200));
}

@media (max-width: 768px) {
  .eco-diagram { flex-direction: column; }
  .eco-connector { width: 2px; height: 30px; background: linear-gradient(to bottom, var(--gray-200), var(--gold), var(--gray-200)); }
}

/* ── Timeline / Process ── */
.process-steps { position: relative; padding: 2rem 0; }
.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}
.process-step:last-child { margin-bottom: 0; }
.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.step-content h4 { margin-bottom: 0.5rem; }
.step-content p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}
.contact-detail i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184,148,79,0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gray-100);
  color: var(--dark);
}
.form-control:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(184,148,79,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Cases / Trabalhos Realizados ── */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.cases-left, .cases-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cases-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.cases-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-200);
}

/* Results */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.result-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: start;
}
.result-number {
  display: flex;
  flex-direction: column;
}
.result-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.result-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}
.result-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sectors */
.sectors-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.sector-tag {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.sector-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Chart */
.chart-container {
  position: relative;
  height: 220px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}
.chart-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100%;
  padding-left: 3rem;
}
.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  flex: 1;
}
.chart-bar {
  width: 55%;
  max-width: 70px;
  background: linear-gradient(180deg, #4a8ea8, #3a7a94);
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 30px;
  transition: height 0.6s ease, background 0.3s ease;
}
.chart-bar:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}
.chart-bar-value {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.chart-bar-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
  font-weight: 500;
}
.chart-scale {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 0.5rem;
  font-size: 0.65rem;
  color: var(--gray-400);
}
.cases-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}
.cases-note strong {
  color: var(--dark);
}

/* Opportunities */
.opportunities-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.opportunity-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.opportunity-marker {
  width: 4px;
  min-height: 100%;
  background: var(--gold);
  border-radius: 4px;
  flex-shrink: 0;
}
.opportunity-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.opportunity-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .cases-grid { grid-template-columns: 1fr; }
  .result-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .chart-bars { padding-left: 2.5rem; }
}

/* ── Legal Pages ── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-intro {
  background: var(--gray-100);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2.5rem;
}
.legal-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark);
  margin: 0;
}
.legal-section {
  margin-bottom: 2.5rem;
}
.legal-section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.legal-list {
  padding-left: 0;
  margin: 1rem 0;
}
.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Legal Table */
.legal-table {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1rem 0;
}
.legal-table-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  gap: 0;
}
.legal-table-row > div {
  padding: 0.85rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-bottom: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}
.legal-table-row > div:last-child { border-right: none; }
.legal-table-row:last-child > div { border-bottom: none; }
.legal-table-header > div {
  background: var(--gray-100);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
}

/* Rights Grid */
.legal-rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.legal-right-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.legal-right-item i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.legal-right-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.15rem;
}
.legal-right-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Contact Box */
.legal-contact {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-top: 1rem;
}
.legal-contact p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--dark);
}
.legal-contact i {
  width: 20px;
  color: var(--gold);
  margin-right: 0.25rem;
}

/* Cookie Options */
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.cookie-option {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.cookie-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184,148,79,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.cookie-option strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.cookie-option p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Legal Note */
.legal-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(184,148,79,0.06);
  border: 1px solid rgba(184,148,79,0.15);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}
.legal-note i {
  color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.legal-note p {
  font-size: 0.85rem;
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dark-bg);
  color: var(--gray-300);
  padding: 1.25rem 2rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--white);
}
.cookie-btn-accept:hover { background: var(--gold-dark); }
.cookie-btn-reject {
  background: transparent;
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-btn-reject:hover { border-color: var(--gray-400); color: var(--white); }

@media (max-width: 768px) {
  .legal-table-row { grid-template-columns: 1fr; }
  .legal-table-row > div { border-right: none; }
  .legal-rights-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; padding: 1.5rem; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
}

/* ── Footer ── */
.footer {
  background: var(--dark-bg);
  color: var(--gray-400);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; color: var(--gray-400); }
.footer-brand img { height: 36px; margin-bottom: 0.5rem; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-400);
  padding: 0.35rem 0;
}
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--gray-400); margin-left: 1.5rem; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ── Page Header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, #2E2C29 0%, #3C3A37 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(184,148,79,0.05), transparent 70%);
}
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header p { color: var(--gray-300); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.page-header .breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.page-header .breadcrumb a { color: var(--gold-light); }
.page-header .breadcrumb span { margin: 0 0.5rem; }

/* ── Tabs ── */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--gray-100);
  padding: 0.4rem;
  border-radius: var(--radius-md);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.tab-btn.active { background: var(--white); color: var(--dark); box-shadow: var(--shadow-sm); }
.tab-btn:hover:not(.active) { color: var(--dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }

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

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--dark-bg), var(--dark));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,148,79,0.08) 0%, transparent 70%);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: var(--gray-300); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }

/* ── Portal / Login ── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  padding: 2rem;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-card img { height: 50px; margin: 0 auto 2rem; }
.login-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.login-card .login-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.login-card .form-group { text-align: left; }
.login-card .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.login-footer { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }
.login-footer a { color: var(--gold); font-weight: 600; }

/* Portal Dashboard */
.portal-layout { display: flex; min-height: 100vh; }
.portal-sidebar {
  width: 260px;
  background: var(--dark-bg);
  color: var(--white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.portal-sidebar .logo { margin-bottom: 2rem; }
.portal-sidebar .logo img { height: 32px; }
.portal-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition);
}
.portal-nav a:hover, .portal-nav a.active { background: rgba(184,148,79,0.1); color: var(--gold); }
.portal-nav a i { width: 20px; text-align: center; }
.portal-main { flex: 1; padding: 2rem; background: var(--gray-100); overflow-y: auto; }
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.portal-header h2 { font-size: 1.5rem; }
.portal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.portal-stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.portal-stat .label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.portal-stat .value { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--dark); margin: 0.5rem 0; }
.portal-stat .change { font-size: 0.82rem; color: var(--gold); }
.portal-table {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.portal-table table { width: 100%; border-collapse: collapse; }
.portal-table th {
  background: var(--gray-100);
  padding: 0.9rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: left;
}
.portal-table td { padding: 0.9rem 1.2rem; font-size: 0.9rem; border-top: 1px solid var(--gray-200); }
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-badge.active { background: rgba(16,185,129,0.1); color: #059669; }
.status-badge.pending { background: rgba(245,158,11,0.1); color: #D97706; }
.status-badge.completed { background: rgba(184,148,79,0.1); color: var(--gold); }

@media (max-width: 768px) {
  .portal-layout { flex-direction: column; }
  .portal-sidebar { width: 100%; flex-direction: row; padding: 1rem; overflow-x: auto; }
  .portal-sidebar .logo { margin-bottom: 0; margin-right: 1rem; }
  .portal-nav { display: flex; gap: 0.25rem; }
  .portal-nav a { white-space: nowrap; padding: 0.6rem 0.8rem; }
}

/* ── Accordion / FAQ ── */
.accordion { max-width: 750px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-header {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
}
.accordion-header i { transition: transform 0.3s ease; color: var(--gold); font-size: 0.85rem; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body p { padding: 0 0 1.25rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; }

/* ── Testimonials ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.testimonial-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ── Team Grid ── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Team Leadership */
.team-leadership {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
.team-lead-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-lead-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.team-lead-featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.team-lead-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 auto 1.25rem;
  letter-spacing: 1px;
}
.team-lead-featured .team-lead-avatar {
  width: 90px;
  height: 90px;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(184,148,79,0.3);
}

.team-lead-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.team-lead-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.team-lead-credential {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--gray-100);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.team-lead-credential i {
  color: var(--gold);
  font-size: 0.75rem;
}
.team-lead-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: left;
  margin-bottom: 1.25rem;
  flex: 1;
}
.team-lead-pillar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.3px;
  background: var(--gray-100);
  color: var(--text-muted);
  border: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
  .team-leadership { grid-template-columns: 1fr; max-width: 360px; }
}
.team-card { text-align: center; }
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  overflow: hidden;
  border: 3px solid transparent;
  transition: var(--transition);
}
.team-card:hover .team-photo { border-color: var(--gold); }
.team-card h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.team-card p { font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Toast / Alert ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  max-width: 400px;
}
.toast.show { transform: translateY(0); }
.toast.success { border-left: 4px solid #10B981; }
.toast.error { border-left: 4px solid #EF4444; }

/* ── Divider ── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 3px;
}
.divider-left { margin-left: 0; }

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Overlay ── */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active { opacity: 1; pointer-events: all; }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }

/* ── Utility ── */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.hidden { display: none; }

/* ── Especializações (Contabilidade) ── */
.spec-icon-circle:hover {
  background: var(--dark) !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(60, 58, 55, 0.2);
}
.spec-icon-circle:hover i {
  color: #fff !important;
}
@media (max-width: 768px) {
  .spec-icon-circle { width: 64px !important; height: 64px !important; }
  .spec-icon-circle i { font-size: 1.4rem !important; }
}

/* ── Conteúdos / Articles ── */
.content-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.content-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--gray-100);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}
.content-filter-btn:hover {
  color: var(--dark);
  background: var(--gray-200);
}
.content-filter-btn.active {
  color: var(--gold-dark);
  background: rgba(184, 148, 79, 0.1);
  border-color: var(--gold);
  font-weight: 600;
}
.filter-count {
  font-size: 0.72rem;
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
  padding: 0.1rem 0.45rem;
  border-radius: 100px;
  font-weight: 600;
}
.content-filter-btn.active .filter-count {
  background: rgba(184, 148, 79, 0.18);
  color: var(--gold-dark);
}

/* Featured */
.content-featured {
  display: block;
  background: var(--dark-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.content-featured-body {
  padding: 2.5rem;
}
.content-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1.3;
  margin: 0.75rem 0;
}
.content-featured-excerpt {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.content-featured .content-meta { margin-bottom: 0.5rem; }
.content-featured .content-date { color: var(--gray-400); }
.content-featured .content-footer-meta { color: var(--gray-400); }

/* Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Card */
.content-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}
.content-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.content-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin: 0.5rem 0;
}
.content-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta */
.content-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.content-category-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.content-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.content-footer-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.content-footer-meta i {
  margin-right: 0.3rem;
  color: var(--gold);
}

/* Empty */
.content-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.content-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gray-300);
}
.content-empty h3 { color: var(--dark); margin-bottom: 0.5rem; }

/* ── Article Page ── */
.article-layout {
  max-width: 780px;
  margin: 0 auto;
}
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.article-excerpt {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2.5rem;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.article-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}
.article-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}
.article-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Article Content */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--dark);
}
.article-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--dark);
}
.article-content p { margin-bottom: 1.25rem; }
.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.5rem; }
.article-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--gray-100);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--dark);
  font-size: 1.05rem;
}
.article-content a {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* Article CTA */
.article-cta {
  margin: 3rem 0;
}
.article-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

/* Related */
.article-related {
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
  margin-top: 2rem;
}
.article-related h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--dark);
}
.article-related .content-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Admin Extras ── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.editor-toolbar button {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--text);
  transition: all 0.2s;
}
.editor-toolbar button:hover {
  background: var(--gray-200);
  color: var(--dark);
}
.editor-sep {
  width: 1px;
  background: var(--gray-300);
  margin: 0 0.25rem;
}
.editor-area {
  min-height: 350px;
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.7;
  outline: none;
  background: #fff;
  overflow-y: auto;
}
.editor-area:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 148, 79, 0.1);
}

.btn-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.btn-icon:hover {
  background: var(--gray-100);
  color: var(--gold-dark);
}
.btn-icon-danger:hover {
  background: #FEF2F2;
  color: #DC2626;
}

@media (max-width: 768px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-featured-title { font-size: 1.3rem; }
  .content-featured-body { padding: 1.5rem; }
  .article-title { font-size: 1.6rem; }
  .article-cta-inner { flex-direction: column; text-align: center; }
  .article-related .content-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  #viewEditor > form > div { grid-template-columns: 1fr !important; }
}
