@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Cinzel:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #0B1D33; /* Deep Blue */
  --color-secondary: #111111; /* Graphite Black */
  --color-accent: #C8A25B; /* Sophisticated Gold */
  --color-accent-hover: #D4A85A;
  --color-text-light: #F5F5F5;
  --color-text-muted: #A0AAB5;
  --color-surface: #1A1A1A;
  --color-surface-light: #2A2A2A;
  --color-border: rgba(200, 162, 91, 0.2);

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --font-logo: 'Cinzel', serif;

  --spacing-section: 120px;
  --spacing-element: 40px;
  
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  color: var(--color-accent);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: var(--spacing-element);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(11, 29, 51, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 50px;
  height: 50px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  font-family: var(--font-logo);
  font-size: 1.8rem;
  letter-spacing: 4px;
  font-weight: 500;
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 12px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.logo-subtitle-img {
  height: 9px;
  margin-top: 8px;
  object-fit: contain;
  width: 100%;
}

.logo-subtitle::before, .logo-subtitle::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background-color: var(--color-accent);
  margin: 0 10px;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: clamp(18px, 2.25vw, 34px);
  align-items: center;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: var(--transition);
}

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

.nav-link.active {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  border: 1px solid var(--color-accent);
  transition: var(--transition);
  font-family: var(--font-sans);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 162, 91, 0.2);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-accent);
  box-shadow: 0 0 25px rgba(200, 162, 91, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  min-height: 60rem; /* Proportional zoom scaling support */
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero > * {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

/* Luz sofisticada (backlight dourado) atrás do advogado para dar destaque */
.hero-bg-wrapper::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 0%;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(200, 162, 91, 0.25) 0%, transparent 60%);
  mix-blend-mode: screen;
  z-index: -1;
  pointer-events: none;
  transform: translateY(-20%);
  animation: pulseGlow 5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.7; transform: translateY(-20%) scale(0.95); }
  100% { opacity: 1; transform: translateY(-20%) scale(1.05); }
}

.hero-office-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: luminosity;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-bg-wrapper {
  position: relative;
  justify-self: end;
  align-self: end;
  width: 100%;
  max-width: 700px;
  z-index: 2; /* Sobre a overlay para a foto ficar 100% viva e não apagada */
  isolation: isolate;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  object-position: bottom right; 
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  
  /* Cores preservadas (sem mix-blend-mode) para destacar a foto sobre o fundo preto */
  opacity: 1; 
  
  /* Esfumaçado na base para garantir integração suave com a próxima seção */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
  mask-image: linear-gradient(to top, transparent 0%, black 15%);
}

.hero-overlay-global {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Escurece a parte superior direita sutilmente */
    radial-gradient(circle at top right, rgba(5,10,20,0.8) 0%, transparent 60%),
    /* Gradiente suave à esquerda */
    linear-gradient(to right, rgba(11,29,51,0.8) 0%, transparent 50%),
    /* Base azul subindo para conectar com a próxima seção de forma impecável */
    linear-gradient(to top, var(--color-primary) 0%, var(--color-primary) 5%, transparent 20%);
  z-index: 1; /* Fica ABAIXO do advogado, afetando apenas o escritório */
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  margin-left: 0;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: 24px;
  display: block;
  animation: fadeUp 1s ease-out forwards;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 30px;
  animation: fadeUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-description {
  font-size: 1.38rem; /* 15% size increase */
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 15px;
  margin-bottom: 50px;
  line-height: 1.8;
  max-width: 600px;
  animation: fadeUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.gold-highlight {
  color: var(--color-accent);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(200, 162, 91, 0.15);
}

.hero-actions {
  display: flex;
  gap: 20px;
  animation: fadeUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

/* About / Authority Section */
.about {
  padding: var(--spacing-section) 0;
  background-color: var(--color-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  filter: contrast(1.1) brightness(0.9);
  background: linear-gradient(145deg, rgba(5, 10, 17, 0.65), rgba(11, 29, 51, 0.18));
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-accent);
  transform: rotate(-3.5deg) translate(-10px, -8px);
  z-index: 1;
  opacity: 0.72;
  box-shadow: 0 0 35px rgba(200, 162, 91, 0.08);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(200, 162, 91, 0.82);
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 24px rgba(200, 162, 91, 0.06);
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.about-header {
  text-align: center;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.about-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.about-tagline {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
  font-weight: 500;
}

.institutional-markers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.marker-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.marker-plus {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-accent);
  line-height: 1;
  font-weight: 600;
}

.marker-body h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.marker-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Practice Areas */
.areas {
  padding: var(--spacing-section) 0;
  background-color: var(--color-primary);
  background-image: radial-gradient(circle at top right, rgba(200, 162, 91, 0.05) 0%, transparent 50%);
}

.tabs-instruction {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-top: -10px;
  margin-bottom: 20px;
}

.tabs-container {
  margin-top: 60px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.tabs-header {
  display: flex;
  background-color: rgba(11, 29, 51, 0.5);
  border-bottom: 1px solid var(--color-border);
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 24px 20px;
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn:hover {
  color: var(--color-text-light);
  background-color: rgba(200, 162, 91, 0.05);
}

.tab-btn.active {
  color: var(--color-accent);
  background-color: rgba(200, 162, 91, 0.08);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tabs-content {
  padding: 0;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
  padding: 60px;
}

.tab-pane.active {
  display: block;
}

.tab-intro {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-icon {
  color: var(--color-accent);
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.tab-intro p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 800px;
}

.subtopics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.subtopics-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.subtopic-group h4 {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.subtopic-group ul {
  list-style: none;
}

.subtopic-group ul li {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.subtopic-group ul li::before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  top: 0;
}

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

/* Diferenciais */
.differentials {
  padding: var(--spacing-section) 0;
  background-color: var(--color-secondary);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.diff-item {
  display: flex;
  gap: 24px;
  padding: 35px;
  background-color: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.diff-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(200, 162, 91, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.diff-item:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 162, 91, 0.15);
  box-shadow: 0 15px 40px rgba(200, 162, 91, 0.05);
}

.diff-item:hover::before {
  opacity: 1;
}

.diff-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(200, 162, 91, 0.05);
  border: 1px solid rgba(200, 162, 91, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: var(--transition);
}

.diff-item:hover .diff-icon {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(200, 162, 91, 0.4);
}

.diff-content h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.diff-item:hover .diff-content h4 {
  color: var(--color-accent);
}

.diff-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ */
.faq {
  padding: var(--spacing-section) 0;
  background-color: var(--color-primary);
}

.faq-container {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--color-text-muted);
}

.faq-answer p {
  padding-bottom: 20px;
}

/* Latest Articles */
.latest-articles {
  padding: var(--spacing-section) 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(200, 162, 91, 0.055) 0%, transparent 34%),
    linear-gradient(180deg, var(--color-secondary) 0%, #080d14 100%);
  position: relative;
  overflow: hidden;
}

.latest-articles::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 91, 0.035), transparent);
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity 0.8s ease, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.latest-articles.visible::before {
  opacity: 1;
  transform: translateX(0);
}

.latest-articles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}

.latest-articles-header .section-subtitle,
.latest-articles-header .section-title {
  text-align: left;
}

.latest-articles-header .section-subtitle {
  margin-bottom: 16px;
}

.latest-all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 18px;
}

.latest-all-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.latest-all-link:hover svg {
  transform: translateX(4px);
}

.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.latest-article-card {
  min-height: 275px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(26, 26, 26, 0.96), rgba(8, 13, 20, 0.98)),
    var(--color-surface);
  border: 1px solid rgba(200, 162, 91, 0.13);
  border-top: 2px solid rgba(200, 162, 91, 0.34);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.latest-article-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(200, 162, 91, 0.09) 46%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.latest-article-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.latest-article-card:hover {
  border-color: rgba(200, 162, 91, 0.48);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(200, 162, 91, 0.08);
  transform: translateY(-6px);
}

.latest-article-card:hover::before {
  transform: translateX(120%);
}

.latest-article-card-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 574px;
  padding: 42px;
  background:
    linear-gradient(145deg, rgba(11, 29, 51, 0.72), rgba(10, 10, 10, 0.98)),
    var(--color-surface);
}

.latest-article-index {
  font-family: var(--font-logo);
  color: rgba(200, 162, 91, 0.35);
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 26px;
}

.latest-article-card-featured .latest-article-index {
  font-size: 2.4rem;
  margin-bottom: auto;
}

.latest-article-category {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.latest-article-card h3 {
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--color-text-light);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.latest-article-card-featured h3 {
  font-size: 2.15rem;
  max-width: 92%;
}

.latest-article-card:hover h3 {
  color: var(--color-accent);
}

.latest-article-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.latest-article-card-featured p {
  font-size: 1rem;
  max-width: 86%;
}

.latest-article-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.latest-article-action svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.latest-article-card:hover .latest-article-action svg {
  transform: translate(3px, -3px);
}

/* Footer */
.footer {
  background-color: #050a11;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  justify-content: center;
}

.footer-col-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 320px;
  width: 100%;
}

.footer-col-articles .footer-col-inner {
  max-width: 400px; /* slightly larger as requested */
}

.footer-articles-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-articles-btn {
  padding: 12px 28px;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  gap: 10px;
  align-self: flex-end;
}

.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-end;
  margin-top: 22px;
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.9;
}

.footer-instagram-link svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 10px rgba(200, 162, 91, 0.2));
}

.footer-instagram-link:hover {
  opacity: 1;
  color: var(--color-text-light);
  transform: translateX(-3px);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--color-accent);
  text-align: right;
  width: 100%;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width: 100%;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact {
  align-items: flex-end;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
  width: 100%;
}

.footer-contact-icon {
  color: var(--color-accent);
  width: 16px;
  height: 16px;
  margin-top: 5px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab Dot Separator */
.tab-btn:not(:last-child)::before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  pointer-events: none;
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-sans);
}

.wa-trigger {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.wa-trigger:hover {
  transform: scale(1.05);
}

.wa-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff3b30;
  color: white;
  font-size: 12px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.wa-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: bottom right;
}

.wa-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wa-header {
  background-color: #075E54;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* Garante que qualquer borda branca seja cortada pelo overflow do círculo */
}

.wa-header-info h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 2px;
}

.wa-header-info span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.wa-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.8;
}

.wa-close:hover {
  opacity: 1;
}

.wa-body {
  padding: 20px;
  background-color: #E5DDD5;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><g fill="%23d8cfc5" fill-opacity="0.4"><path d="M10 10h10v10H10zM30 30h10v10H30zM50 50h10v10H50z"/></g></svg>');
  min-height: 200px;
}

.wa-message {
  background-color: white;
  color: #111;
  padding: 12px 15px;
  border-radius: 0 10px 10px 10px;
  position: relative;
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: justify;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: inline-block;
  max-width: 90%;
  animation: messageIn 0.3s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(10px);
}

.wa-message p {
  margin: 0;
  text-align: justify;
}

@keyframes messageIn {
  to { opacity: 1; transform: translateY(0); }
}

.wa-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 10px 0;
  border-color: transparent white transparent transparent;
}

.wa-message-highlight {
  color: var(--color-primary);
  font-weight: 700;
}

.wa-time {
  display: block;
  font-size: 0.7rem;
  color: #999;
  text-align: right;
  margin-top: 5px;
}

.wa-footer {
  padding: 15px 20px;
  background-color: #f0f0f0;
}

.wa-btn {
  display: block;
  text-align: center;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.wa-btn:hover {
  background-color: #128C7E;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-bg-wrapper {
    width: 100%;
    opacity: 0.4;
  }
  .about-grid, .diff-grid {
    grid-template-columns: 1fr;
  }
  .subtopics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .tabs-header {
    flex-direction: column;
  }
  .tab-btn {
    border-bottom: 1px solid var(--color-border);
  }
  .tab-btn.active::after {
    height: 100%;
    width: 2px;
    top: 0;
  }
  .tab-pane {
    padding: 30px 20px;
  }
  .subtopics-grid, .subtopics-grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .tab-intro {
    flex-direction: column;
    gap: 16px;
  }
  .tab-btn:not(:last-child)::before {
    display: none;
  }
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================================================
   Alcântara Advocacia - Premium Additions (Micro-animations & Special Elements)
   ========================================================================== */

/* Logo Fade In Slowly */
.logo-fade {
  opacity: 0;
  transform: translateX(-15px);
  animation: logoFadeIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Reveal Elements */
.reveal {
  opacity: 0;
  transform: translateY(60px); /* 60px elegant narrative rise */
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Specialty Tab Highlight */
.tab-btn.highlight-tab {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(200, 162, 91, 0.2);
}

.tab-btn.highlight-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(200, 162, 91, 0) 0%,
    rgba(200, 162, 91, 0.25) 50%,
    rgba(200, 162, 91, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shimmerBtn 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered Shimmer Animation Delays */
.tab-btn.highlight-tab:nth-child(1)::before {
  animation-delay: 0s;
}

.tab-btn.highlight-tab:nth-child(2)::before {
  animation-delay: 1.5s;
}

.tab-btn.highlight-tab:nth-child(3)::before {
  animation-delay: 3s;
}

@keyframes shimmerBtn {
  0% { left: -150%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

.tab-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--color-accent);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(200, 162, 91, 0.3);
}

/* Specialty Section inside Tab Pane */
.specialty-header {
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-start;
}

.badge-strategic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
  background-color: rgba(200, 162, 91, 0.08);
  padding: 8px 18px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.specialty-highlight-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 29, 51, 0.4) 0%, rgba(200, 162, 91, 0.05) 100%);
  border: 1px dashed var(--color-border);
  padding: 30px;
  border-radius: 4px;
  margin-bottom: 40px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.specialty-card-icon {
  color: var(--color-accent);
  background-color: rgba(200, 162, 91, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(200, 162, 91, 0.2);
}

.specialty-card-icon svg {
  width: 28px;
  height: 28px;
}

.specialty-card-body h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.specialty-card-body p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.subtopic-group.highlight-group {
  background-color: rgba(11, 29, 51, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.02) !important;
  padding: 24px !important;
  border-radius: 4px !important;
  transition: var(--transition) !important;
}

.subtopic-group.highlight-group:hover {
  border-color: rgba(200, 162, 91, 0.15) !important;
  background-color: rgba(11, 29, 51, 0.35) !important;
}

.subtopic-group.highlight-group strong {
  color: var(--color-text-light);
  font-weight: 600;
}

/* Subtle Shimmer Effect on Main Button */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

/* ==========================================================================
   ALCÂNTARA ADVOCACIA - NEW PREMIUM ADDITIONS
   ========================================================================== */

/* 1. Header Logo Drafting Lines SVG Animation */
.logo-icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon.logo-png {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.92);
  animation: logoPngFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.82s;
  z-index: 1;
}

.logo-draw-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  animation: logoSvgFadeOut 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.05s;
}

.logo-draw-svg circle,
.logo-draw-svg line,
.logo-draw-svg polygon {
  stroke: var(--color-accent);
  stroke-width: 0.75px;
  fill: none;
  stroke-linecap: round;
}

.draw-circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: drawStroke 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.draw-line-v {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawStroke 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.12s;
}

.draw-line-h {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawStroke 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.12s;
}

.draw-triangle {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: drawStroke 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.22s;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes logoPngFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoSvgFadeOut {
  to {
    opacity: 0;
  }
}

/* 2. Section Dividers & Live Connecting Lines */
.section-divider {
  height: 0;
  position: relative;
  z-index: 10;
  overflow: visible;
  margin: 0;
}

.section-divider.bg-primary,
.section-divider.bg-secondary {
  background-color: transparent;
}

.live-line-container {
  position: absolute;
  top: -60px; /* overlaps 60px above and 60px below, total 120px */
  left: 50%;
  transform: translateX(-50%);
  height: 120px;
  width: 1px;
  background-color: rgba(200, 162, 91, 0.15);
  position: relative;
}

.live-line-container::before,
.live-line-container::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 16px rgba(200, 162, 91, 0.7);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-line-container::before {
  top: 28%;
}

.live-line-container::after {
  top: 72%;
  transition-delay: 0.35s;
}

.live-line-container.line-active::before,
.live-line-container.line-active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.live-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -18px;
  width: 13px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 239, 193, 0.95) 0%, rgba(200, 162, 91, 0.42) 42%, transparent 72%);
  filter: blur(1px);
  opacity: 0;
  transform: translateX(-50%);
}

.live-line.active {
  transform: scaleY(1);
}

.live-line.active::before {
  opacity: 1;
}

.live-line.active.line-down::before {
  animation: lineTravelDown 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1 forwards;
}

.live-line.active.line-up::before {
  animation: lineTravelUp 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1 forwards;
}

@keyframes lineTravelDown {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 120px);
    opacity: 0;
  }
}

@keyframes lineTravelUp {
  0% {
    transform: translate(-50%, 120px);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
}

/* 3. Practice Areas - Strategic Flow Animations */
.strategic-flow-container {
  position: relative;
  margin-top: 50px;
  padding: 50px 30px;
  background-color: #111111; /* caixa preta */
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.flow-svg-line {
  position: absolute;
  top: 70px; /* aligns with step circles */
  left: 5%;
  width: 90%;
  height: 20px;
  z-index: 1;
  pointer-events: none;
}

.flow-path-line {
  stroke: var(--color-accent);
  stroke-width: 1.5px;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke-linecap: round;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
  justify-content: center;
}

.flow-steps-grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.flow-step-item {
  opacity: 0.15;
  transform: translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step-item.active {
  opacity: 1;
  transform: translateY(0);
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  width: 100%;
}

.step-num {
  font-family: var(--font-logo);
  font-size: 1.3rem;
  color: var(--color-accent);
  background-color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.flow-step-item.active .step-num {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(200, 162, 91, 0.3);
  background-color: var(--color-accent);
  color: #fff;
}

.step-pulse {
  position: absolute;
  top: 0;
  left: calc(50% - 20px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(200, 162, 91, 0.25);
  transform: scale(1);
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 2;
}

.flow-step-item.active .step-pulse {
  animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.step-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--color-text-muted);
  min-height: 40px;
  transition: color 0.6s;
}

.flow-step-item.active .step-title {
  color: var(--color-accent);
}

.step-content {
  text-align: left;
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: 4px;
  width: 100%;
  flex-grow: 1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-step-item.active .step-content {
  border-color: rgba(200, 162, 91, 0.15);
  background-color: rgba(11, 29, 51, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.step-content ul {
  list-style: none;
}

.step-content ul li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.step-content ul li:last-child {
  margin-bottom: 0;
}

.step-content ul li::before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.7;
}

.flow-step-item.active .step-content ul li {
  color: var(--color-text-light);
}

/* 4. Strategic Specialty Seal */
.flow-specialty-seal {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-specialty-seal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.seal-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-accent);
  padding: 12px 28px;
  border-radius: 4px;
  background-color: rgba(200, 162, 91, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.seal-icon {
  color: var(--color-accent);
  width: 22px;
  height: 22px;
}

.seal-inner span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 2px;
}

/* 5. Cinematic Final CTA Section */
.cinematic-cta {
  background-color: #050a11; /* deep luxury graphite black/blue */
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  transition: background-color 1s ease, box-shadow 1s ease;
}

.cinematic-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 162, 91, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  transition: opacity 1s ease, transform 1.2s ease;
}

.cinematic-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -35%;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 91, 0.13), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.cinematic-cta.visible {
  background-color: #02060b;
  box-shadow: inset 0 80px 120px rgba(0, 0, 0, 0.28);
}

.cinematic-cta.visible::before {
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(1.08);
}

.cinematic-cta.visible::after {
  animation: ctaGoldSweep 3.8s ease-in-out 0.35s infinite;
}

@keyframes ctaGoldSweep {
  0% {
    left: -35%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  62% {
    opacity: 0.55;
  }
  100% {
    left: 108%;
    opacity: 0;
  }
}

.cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 600px;
  margin-bottom: 45px;
}

.logo-icon-wrapper-large {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(200, 162, 91, 0.15));
}

.cta-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent) 50%, transparent);
  flex-grow: 1;
  opacity: 0.35;
  transition: width 2.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0%;
}

.cinematic-cta.visible .cta-line {
  width: 100%;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.35;
  margin-bottom: 45px;
  max-width: 800px;
}

.cta-heading span {
  display: block;
}

.cta-light {
  color: var(--color-text-light);
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 1.5px;
}

.cta-gold {
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 10px;
  text-shadow: 0 0 20px rgba(200, 162, 91, 0.25);
}

.cta-btn-wrapper {
  margin-top: 10px;
}

.cta-btn {
  padding: 18px 45px;
  font-size: 0.95rem;
  letter-spacing: 3px;
  box-shadow: 0 10px 30px rgba(200, 162, 91, 0.15);
}

/* 6. Centered Dot Separators for Actuation Cards Header */
.tab-btn.highlight-tab {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(200, 162, 91, 0.2);
}

/* Restructuring the dots style in CSS */
.tab-btn:not(:last-child)::before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  pointer-events: none;
  opacity: 0.5;
  text-shadow: 0 0 5px rgba(200, 162, 91, 0.5);
}

/* Responsive adjustments for new strategic flows */
@media (max-width: 992px) {
  .flow-steps-grid, .flow-steps-grid.cols-5 {
    grid-template-columns: 1fr;
    gap: 35px;
    width: 100%;
  }
  .flow-svg-line {
    display: none;
  }
  .flow-step-item {
    border-left: 2px solid rgba(200, 162, 91, 0.15);
    padding-left: 30px;
    padding-bottom: 10px;
    align-items: flex-start;
    transform: translateX(20px);
    width: 100%;
  }
  .flow-step-item.active {
    border-left-color: var(--color-accent);
    transform: translateX(0);
  }
  .step-header {
    align-items: flex-start;
    text-align: left;
    margin-bottom: 16px;
  }
  .step-num {
    align-self: flex-start;
  }
  .step-pulse {
    left: -50px;
  }
  .step-title {
    min-height: auto;
    margin-top: 12px;
  }
  .strategic-flow-container {
    padding: 35px 20px;
  }
  .cta-heading {
    font-size: 2.2rem;
  }
  .cta-logo-area {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .latest-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .latest-article-card-featured {
    grid-column: span 2;
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    gap: 55px;
  }
  .about-image-wrapper {
    max-width: 430px;
    padding: 16px;
  }
  .about-image-wrapper::after {
    inset: 16px;
  }
  .latest-articles-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .latest-articles-grid {
    grid-template-columns: 1fr;
  }
  .latest-article-card-featured {
    grid-column: span 1;
    min-height: 360px;
    padding: 32px;
  }
  .latest-article-card-featured h3 {
    font-size: 1.65rem;
    max-width: 100%;
  }
  .latest-article-card-featured p {
    max-width: 100%;
  }
}
