/* ==========================================================================
   NAVBAR INTELIGENTE (HEADER)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 900;
  padding: 20px 0;
  background: transparent;
  transition: padding var(--transition-normal), 
              background-color var(--transition-normal), 
              backdrop-filter var(--transition-normal), 
              border-color var(--transition-normal),
              transform var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.site-header--scrolled,
.site-header--blog {
  padding: 14px 0;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.site-header--hidden {
  transform: translateY(-100%);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  z-index: 910;
}

.nav-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-normal), transform var(--transition-fast);
}

.site-header--scrolled .nav-logo {
  height: 52px;
}

.nav-brand:hover .nav-logo {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--brand-white);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.nav-link:hover {
  color: var(--brand-gold);
}

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

.nav-cta {
  padding: 10px 22px;
  font-size: 0.85rem;
  min-height: 40px;
}

/* Botão Hamburger Mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 920;
  padding: 12px;
}

.nav-hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--brand-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.nav-hamburger.active .nav-hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--brand-gold);
}

.nav-hamburger.active .nav-hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active .nav-hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--brand-gold);
}

@media (max-width: 991px) {
  .nav-logo {
    height: 60px;
  }

  .site-header--scrolled .nav-logo {
    height: 48px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    z-index: 905;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.25rem;
    font-family: var(--font-serif);
  }

  .nav-cta {
    font-size: 1rem;
    padding: 14px 28px;
  }
}

/* ==========================================================================
   SEÇÃO 1: HERO (#inicio) - EDITORIAL & SÓBRIO
   ========================================================================== */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--brand-navy-dark);
  color: var(--brand-white);
  padding-top: clamp(120px, 14vh, 160px);
  padding-bottom: clamp(60px, 8vh, 100px);
  overflow: hidden;
}

/* Camada 1: Textura / Gradiente Arquitetônico */
.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 85% 25%, rgba(197, 168, 128, 0.07) 0%, transparent 55%),
    linear-gradient(140deg, rgba(13, 22, 38, 0.95) 0%, rgba(7, 11, 20, 0.99) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Camada 2: Overlay e Máscara */
.section-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(197, 168, 128, 0.04) 0%, transparent 65%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-content {
  max-width: 640px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-gold-subtle);
  border: 1px solid var(--brand-border-gold);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--brand-gold);
}

.hero-title {
  color: var(--brand-white);
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-gold);
}

.hero-description {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.75;
  color: rgba(249, 250, 251, 0.80);
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-number {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  font-weight: 500;
  color: var(--brand-gold);
  line-height: 1.2;
}

.hero-trust-label {
  font-size: 0.78rem;
  color: rgba(249, 250, 251, 0.65);
  line-height: 1.35;
  margin-top: 4px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-floating);
  border: 1px solid var(--brand-border-gold);
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.9), transparent);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card-floating {
  position: absolute;
  bottom: -15px;
  left: -20px;
  background: rgba(13, 22, 38, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--brand-border-gold);
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-floating);
  z-index: 5;
}

.hero-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy-dark);
  flex-shrink: 0;
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 2px;
}

.hero-card-sub {
  font-size: 0.75rem;
  color: var(--brand-gold-light);
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-image-wrapper {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   SEÇÃO 2: SOBRE (#sobre) - EDITORIAL & AUTORIDADE
   ========================================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.sobre-image-column {
  position: relative;
}

.sobre-image-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--brand-border-gold);
  box-shadow: var(--shadow-card);
}

.sobre-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.sobre-content {
  display: flex;
  flex-direction: column;
}

.sobre-title {
  margin-bottom: 24px;
}

.sobre-bio p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--brand-text-body);
}

.sobre-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0 32px 0;
}

.sobre-pillar-item {
  padding: 16px 18px;
  background-color: var(--brand-offwhite);
  border-left: 2px solid var(--brand-gold);
  border-radius: 0 4px 4px 0;
}

.sobre-pillar-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.sobre-pillar-desc {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-image-column {
    max-width: 440px;
    margin: 0 auto;
  }

  .sobre-pillars {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (#atuacao) - SEAMLESS MOSAIC GRID
   Conforme criadordesite.md: gap: 0, margin: -1px 0 0 -1px, aspect-ratio: 1/1
   ========================================================================== */
.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 auto;
  border-top: 1px solid var(--brand-border-light);
  border-left: 1px solid var(--brand-border-light);
}

.atuacao-card {
  position: relative;
  background-color: var(--brand-white);
  border-right: 1px solid var(--brand-border-light);
  border-bottom: 1px solid var(--brand-border-light);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: transform var(--transition-fast), 
              box-shadow var(--transition-fast), 
              border-color var(--transition-fast),
              background-color var(--transition-fast);
  z-index: 1;
}

.atuacao-card:hover {
  transform: translateY(-4px);
  z-index: 10;
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-card-hover);
  background-color: #FFFFFF;
}

/* Card 1 Destaque (Span 2) para fechamento de matriz 3x3 perfeita */
.atuacao-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.98) 0%, rgba(7, 11, 20, 1) 100%);
  color: var(--brand-white);
  border-color: rgba(197, 168, 128, 0.25);
}

.atuacao-card--featured:hover {
  background: linear-gradient(135deg, rgba(17, 28, 48, 0.98) 0%, rgba(10, 15, 26, 1) 100%);
  border-color: var(--brand-gold);
}

.atuacao-card--featured .atuacao-title {
  color: var(--brand-white);
}

.atuacao-card--featured .atuacao-desc {
  color: rgba(249, 250, 251, 0.78);
}

.atuacao-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.atuacao-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-color: var(--brand-offwhite);
  border: 1px solid var(--brand-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.atuacao-card--featured .atuacao-icon-box {
  background-color: var(--brand-gold-subtle);
  border-color: var(--brand-border-gold);
  color: var(--brand-gold);
}

.atuacao-card:hover .atuacao-icon-box {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  transform: translateY(-2px);
}

.atuacao-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.atuacao-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold-dark);
  background: var(--brand-gold-subtle);
  padding: 4px 10px;
  border-radius: 4px;
}

.atuacao-card--featured .atuacao-tag {
  color: var(--brand-gold-light);
  border: 1px solid var(--brand-border-gold);
}

.atuacao-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}

.atuacao-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--brand-text-muted);
  margin-bottom: 18px;
}

.atuacao-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.atuacao-card--featured .atuacao-list {
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.atuacao-list li {
  font-size: 0.82rem;
  color: var(--brand-text-body);
  position: relative;
  padding-left: 14px;
}

.atuacao-card--featured .atuacao-list li {
  color: rgba(249, 250, 251, 0.75);
}

.atuacao-list li::before {
  content: '•';
  color: var(--brand-gold);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  line-height: 1;
}

.atuacao-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--brand-border-light);
}

.atuacao-card--featured .atuacao-card-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.atuacao-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-gold-dark);
  text-transform: uppercase;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.atuacao-card--featured .atuacao-link {
  color: var(--brand-gold-light);
}

.atuacao-card:hover .atuacao-link {
  color: var(--brand-gold);
  transform: translateX(3px);
}

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

  .atuacao-card--featured {
    grid-column: span 2;
  }
}

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

  .atuacao-card--featured {
    grid-column: span 1;
  }

  .atuacao-card--featured .atuacao-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEÇÃO 4: METODOLOGIA (#metodologia)
   ========================================================================== */
.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metodologia-card {
  position: relative;
  padding: 32px 24px;
  background-color: var(--brand-navy-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.metodologia-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-border-gold);
}

.metodologia-number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1;
  color: var(--brand-gold);
  opacity: 0.35;
  margin-bottom: 16px;
}

.metodologia-card-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brand-white);
  margin-bottom: 12px;
}

.metodologia-card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--brand-text-light-muted);
  margin-bottom: 0;
}

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

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

/* ==========================================================================
   SEÇÃO 5: FAQ / DÚVIDAS (#faq) - ACORDEÃO ULTRA-FLUIDO (CSS GRID)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--brand-border-light);
  border-radius: 6px;
  background-color: var(--brand-white);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--brand-border-gold);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brand-navy);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--brand-gold-dark);
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--brand-gold);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-premium);
}

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

.faq-content-grid {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-premium);
}

.faq-item.active .faq-content-grid {
  grid-template-rows: 1fr;
}

.faq-content-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--brand-text-muted);
  margin: 0;
}

/* ==========================================================================
   SEÇÃO 6: CTA FINAL (#contato)
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.98) 0%, rgba(7, 11, 20, 1) 100%);
  border: 1px solid var(--brand-border-gold);
  border-radius: 8px;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 60px);
  text-align: center;
  color: var(--brand-white);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  color: var(--brand-white);
  margin-bottom: 18px;
}

.cta-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(249, 250, 251, 0.82);
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   SEÇÃO 7: FOOTER MINIMALISTA (footer.md)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer, #070B14);
  color: var(--text-footer, #9CA3AF);
  padding: 80px 24px 40px 24px;
  font-family: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #9CA3AF;
  margin-bottom: 12px;
}

.footer-oab {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--brand-gold);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links, .footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a, .footer-contact-info a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s var(--ease-premium), transform 0.25s var(--ease-premium);
  display: inline-block;
}

.footer-links a:hover, .footer-contact-info a:hover {
  color: var(--brand-white);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #9CA3AF;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  fill: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-divider {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 40px 0 28px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9CA3AF;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

.credit-link:hover {
  color: var(--brand-white);
}

/* ==========================================================================
   SEÇÕES DINÂMICAS: BLOG & ARTIGOS (ajusteparablog.md)
   ========================================================================== */
#blog-secao, #artigo-secao {
  padding: 120px 24px 80px 24px;
  background-color: var(--brand-white);
  min-height: 80vh;
}

.blog-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.blog-title-section {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 48px;
  text-align: center;
}

.blog-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border-light);
  border-radius: 6px;
  padding: 28px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-border-gold);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  display: block;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--brand-navy);
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--brand-text-body);
  margin-bottom: 20px;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card-link {
  transform: translateX(4px);
}

/* Leitura de Artigo Individual */
.artigo-single-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.artigo-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.artigo-main {
  background-color: var(--brand-white);
}

.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 24px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.btn-voltar:hover {
  color: var(--brand-gold);
}

.artigo-main-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--brand-navy);
}

.artigo-divider {
  border: 0;
  height: 1px;
  background-color: var(--brand-border-light);
  margin: 24px 0 32px 0;
}

.artigo-text-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--brand-text-body);
}

.artigo-text-body p {
  margin-bottom: 24px;
}

.artigo-text-body h2 {
  font-size: 1.6rem;
  margin: 36px 0 16px 0;
}

.artigo-text-body h3 {
  font-size: 1.3rem;
  margin: 28px 0 14px 0;
}

.artigo-text-body blockquote,
.blog-blockquote {
  border-left: 3px solid var(--brand-gold);
  padding: 14px 20px;
  margin: 28px 0;
  background-color: var(--brand-offwhite);
  font-style: italic;
  color: var(--brand-navy);
}

.artigo-text-body ul {
  margin: 20px 0 24px 24px;
}

.artigo-text-body li {
  margin-bottom: 8px;
}

/* Sidebar Sticky do Artigo */
.artigo-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background-color: var(--brand-offwhite);
  border: 1px solid var(--brand-border-light);
  border-radius: 6px;
  padding: 24px;
}

.autor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid var(--brand-gold);
}

.autor-avatar--fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.autor-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text-muted);
  margin-bottom: 4px;
}

.autor-nome {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-navy);
  font-family: var(--font-serif);
}

.autor-cargo {
  display: block;
  font-size: 0.82rem;
  color: var(--brand-gold-dark);
  margin-bottom: 10px;
}

.autor-bio {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--brand-text-muted);
  margin-bottom: 16px;
}

.sidebar-divider {
  border: 0;
  height: 1px;
  background-color: var(--brand-border-light);
  margin: 16px 0;
}

.sidebar-date {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  margin: 0;
}

.sidebar-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 16px;
}

.sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-post-item {
  display: block;
  padding: 10px;
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border-light);
  border-radius: 4px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.sidebar-post-item:hover {
  border-color: var(--brand-gold);
  transform: translateX(3px);
}

.sidebar-post-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 4px;
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--brand-text-muted);
}

@media (max-width: 900px) {
  .artigo-layout {
    grid-template-columns: 1fr;
  }

  .artigo-sidebar {
    position: static;
  }
}

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE (botaozap.md)
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-premium);
}

.whatsapp-widget.widget-visible {
  opacity: 1;
  pointer-events: none;
}

/* Botão Circular Principal - Verde Oficial */
.whatsapp-trigger-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease-premium), background-color 0.2s var(--ease-premium);
  will-change: transform;
  pointer-events: auto;
}

.whatsapp-svg-icon {
  fill: #FFFFFF;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-trigger-btn:hover {
    transform: scale(1.05);
    background-color: var(--whatsapp-green-hover);
  }
}

/* Tooltip de Inatividade */
.whatsapp-tooltip {
  background-color: var(--brand-navy);
  border: 1px solid var(--brand-border-gold);
  color: #FFFFFF;
  padding: 0 18px 0 14px;
  border-radius: 6px;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s var(--ease-premium), 
              transform 0.3s var(--ease-premium), 
              max-height 0.3s var(--ease-premium), 
              padding 0.3s var(--ease-premium), 
              margin-bottom 0.3s var(--ease-premium),
              visibility 0.3s;
  will-change: opacity, transform, max-height;
}

.whatsapp-tooltip.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 80px;
  padding: 12px 18px 12px 14px;
  margin-bottom: 12px;
  transform: translateY(0) scale(1);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 25px;
  width: 10px;
  height: 10px;
  background-color: var(--brand-navy);
  border-right: 1px solid var(--brand-border-gold);
  border-bottom: 1px solid var(--brand-border-gold);
  transform: rotate(45deg);
}

.close-tooltip-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 12px;
  margin: -12px -12px -12px 0;
  transition: color 0.2s var(--ease-premium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.close-tooltip-btn:hover {
  color: var(--brand-gold);
}

/* Painel de Chat Simulado */
.whatsapp-chat-panel {
  width: 320px;
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border-light);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s var(--ease-premium), 
              transform 0.3s var(--ease-premium), 
              max-height 0.3s var(--ease-premium), 
              margin-bottom 0.3s var(--ease-premium),
              visibility 0.3s;
  will-change: transform, opacity, max-height;
}

.whatsapp-chat-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 500px;
  margin-bottom: 16px;
  transform: translateY(0) scale(1);
}

.chat-header {
  background-color: var(--brand-navy);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.chat-header-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.chat-messages-container {
  padding: 16px;
  max-height: 340px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: #F4F6F9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  max-width: 85%;
  word-wrap: break-word;
  flex-shrink: 0;
}

.chat-bubble.received {
  background-color: var(--brand-white);
  color: var(--brand-text-dark);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid rgba(13, 22, 38, 0.05);
}

.chat-bubble.sent {
  background-color: rgba(197, 168, 128, 0.18);
  color: var(--brand-navy);
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-faq-options {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  margin-top: 8px;
  opacity: 1;
  max-height: 300px;
  transition: opacity 0.3s var(--ease-premium), max-height 0.3s var(--ease-premium), margin-top 0.3s var(--ease-premium);
  overflow: hidden;
}

.chat-faq-options.hidden {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  pointer-events: none;
}

.chat-faq-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brand-text-dark);
  opacity: 0.6;
  margin-bottom: 2px;
}

.chat-faq-opt {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border-gold);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--brand-navy);
  transition: background-color 0.2s var(--ease-premium), border-color 0.2s var(--ease-premium);
  min-height: 48px;
  display: flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .chat-faq-opt:hover {
    background-color: rgba(197, 168, 128, 0.08);
    border-color: var(--brand-gold);
  }
}

.chat-footer {
  padding: 12px;
  background-color: var(--brand-white);
  border-top: 1px solid rgba(13, 22, 38, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-direct-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease-premium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .chat-direct-link:hover {
    color: var(--brand-navy);
  }
}

/* Loader de Digitação */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--brand-navy);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
  opacity: 0.4;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* ==========================================================================
   BARRA FIXA MOBILE (mobile.md)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: transparent;
  padding: 12px 16px 20px 16px;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
}

.mobile-sticky-bar.sticky-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
}

.mobile-sticky-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: var(--brand-navy);
  color: #ffffff;
  border: 1px solid var(--brand-border-gold);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium), background-color 0.25s var(--ease-premium);
}

.mobile-sticky-btn:hover {
  background-color: var(--brand-navy-light);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }

  .whatsapp-widget {
    display: none !important;
  }
}

/* ==========================================================================
   RODAPÉ: ELEMENTOS JURÍDICOS & TRIGGERS DE COOKIES
   ========================================================================== */
.footer-bottom-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.footer-legal-link {
  color: #9CA3AF;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--brand-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-bullet {
  color: rgba(255, 255, 255, 0.25);
}

.footer-cookie-trigger {
  color: inherit;
  text-decoration: none;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: color 0.25s var(--ease-premium), transform 0.25s var(--ease-premium);
  display: inline-block;
}

.footer-links .footer-cookie-trigger:hover {
  color: var(--brand-white);
  transform: translateX(3px);
}

/* ==========================================================================
   PÁGINA DE POLÍTICA DE PRIVACIDADE EM TELA CHEIA (FULL DOM SIMULATION)
   ========================================================================== */
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: var(--brand-navy-dark);
  color: var(--brand-text-body);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(20px) scale(0.99);
  transition: opacity 0.4s var(--ease-premium), 
              transform 0.4s var(--ease-premium), 
              visibility 0.4s;
  will-change: opacity, transform;
}

.privacy-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.privacy-overlay-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--brand-white);
}

/* Topbar Fixa da Página de Privacidade */
.privacy-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 11, 20, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.22);
  padding: 14px 24px;
}

.privacy-topbar-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.privacy-topbar-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.privacy-topbar-logo {
  height: 34px;
  width: auto;
  display: block;
}

.privacy-badge {
  background: rgba(197, 168, 128, 0.12);
  color: var(--brand-gold);
  border: 1px solid rgba(197, 168, 128, 0.3);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.privacy-topbar-actions {
  display: flex;
  align-items: center;
}

.btn-privacy-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brand-gold-light);
  border: 1px solid rgba(197, 168, 128, 0.35);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  transition: all var(--transition-fast);
}

.btn-privacy-close:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  transform: translateY(-1px);
}

.privacy-close-icon {
  flex-shrink: 0;
}

/* 1. Hero da Página de Privacidade */
.privacy-hero {
  background: linear-gradient(135deg, #070B14 0%, #0D1626 60%, #152238 100%);
  color: var(--brand-white);
  padding: clamp(60px, 8vw, 100px) 24px clamp(44px, 5vw, 64px) 24px;
  border-bottom: 1px solid var(--brand-border-gold);
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(197, 168, 128, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.privacy-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.privacy-hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.privacy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 18px;
}

.privacy-hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 300;
  color: var(--brand-white);
  line-height: 1.18;
  margin-bottom: 22px;
}

.privacy-hero-subtitle {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(249, 250, 251, 0.85);
  margin-bottom: 34px;
  font-weight: 300;
}

.privacy-meta-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 24px;
}

.privacy-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
}

.privacy-meta-label {
  color: var(--brand-gold);
  font-weight: 600;
}

.privacy-meta-val {
  color: #E5E7EB;
}

.privacy-meta-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 600px) {
  .privacy-meta-bar {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }
  .privacy-meta-divider {
    display: none;
  }
}

/* 2. Corpo Editorial da Página de Privacidade */
.privacy-body {
  background-color: var(--brand-white);
  padding: clamp(48px, 6vw, 84px) 24px;
  flex-grow: 1;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

@media (max-width: 960px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar com Navegação Rápida */
.privacy-sidebar {
  position: sticky;
  top: 90px;
}

.privacy-sidebar-box {
  background-color: var(--brand-offwhite);
  border: 1px solid var(--brand-border-light);
  border-radius: 8px;
  padding: 24px;
}

.privacy-sidebar-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.privacy-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-toc-link {
  font-size: 0.83rem;
  color: var(--brand-text-muted);
  padding: 8px 12px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
  text-decoration: none;
  line-height: 1.45;
  display: block;
}

.privacy-toc-link:hover,
.privacy-toc-link.active {
  color: var(--brand-navy);
  background: rgba(197, 168, 128, 0.12);
  border-left-color: var(--brand-gold);
  font-weight: 600;
  transform: translateX(3px);
}

.privacy-dpo-quickcard {
  margin-top: 24px;
  padding: 16px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border-gold);
  border-radius: 6px;
}

.dpo-quick-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-gold-dark);
  margin-bottom: 6px;
}

.dpo-quick-text {
  font-size: 0.8rem;
  color: var(--brand-text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.dpo-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-navy);
  word-break: break-all;
  transition: color var(--transition-fast);
}

.dpo-quick-link:hover {
  color: var(--brand-gold-dark);
}

/* Conteúdo Textual da Política */
.privacy-content {
  color: var(--brand-text-body);
}

.privacy-section-block {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--brand-border-light);
}

.privacy-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section-block h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  color: var(--brand-navy);
  margin-bottom: 18px;
  font-weight: 500;
  scroll-margin-top: 100px;
}

.privacy-section-block h3 {
  font-size: 1.15rem;
  color: var(--brand-navy);
  margin: 24px 0 12px 0;
  font-weight: 600;
}

.privacy-section-block p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--brand-text-body);
  margin-bottom: 16px;
}

.privacy-section-block ul {
  margin: 12px 0 20px 24px;
  font-size: 0.95rem;
  color: var(--brand-text-body);
  line-height: 1.8;
}

.privacy-section-block li {
  margin-bottom: 8px;
}

.privacy-highlight-box {
  background: var(--brand-offwhite);
  border-left: 3px solid var(--brand-gold);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin: 22px 0;
}

.privacy-highlight-box ul {
  margin: 0;
  list-style: none;
}

.privacy-highlight-box li {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.privacy-highlight-box li:last-child {
  margin-bottom: 0;
}

.privacy-section-block blockquote {
  border-left: 3px solid var(--brand-gold);
  padding: 16px 20px;
  margin: 24px 0;
  background-color: var(--brand-offwhite);
  font-style: italic;
  color: var(--brand-navy);
  border-radius: 0 6px 6px 0;
}

/* Tabela Responsiva de Bases Legais */
.privacy-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--brand-border-light);
  border-radius: 6px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.privacy-table th {
  background: var(--brand-navy);
  color: var(--brand-white);
  padding: 14px 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--brand-border-gold);
}

.privacy-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--brand-border-light);
  color: var(--brand-text-body);
  line-height: 1.6;
}

.privacy-table tr:last-child td {
  border-bottom: none;
}

.privacy-table tr:nth-child(even) {
  background-color: var(--brand-offwhite);
}

/* Cards de Tipos de Cookies */
.cookie-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.cookie-type-card {
  background: var(--brand-offwhite);
  border: 1px solid var(--brand-border-light);
  border-radius: 6px;
  padding: 20px;
}

.cookie-type-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.cookie-badge-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.cookie-badge-status.required {
  background: rgba(197, 168, 128, 0.22);
  color: var(--brand-navy);
}

.cookie-badge-status.optional {
  background: rgba(13, 22, 38, 0.08);
  color: var(--brand-text-muted);
}

.cookie-type-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--brand-text-muted);
  margin: 0;
}

/* Painel de Gestão de Cookies Embutido */
.privacy-cookie-manager-box {
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.02) 0%, rgba(197, 168, 128, 0.08) 100%);
  border: 1px solid var(--brand-border-gold);
  border-radius: 8px;
  padding: 28px;
  margin: 28px 0;
}

.privacy-cookie-manager-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.cookie-inline-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.cookie-switch-label {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-navy);
  user-select: none;
}

.cookie-switch-label.disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.cookie-switch-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch-slider {
  width: 44px;
  height: 24px;
  background: #D1D5DB;
  border-radius: 24px;
  position: relative;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.cookie-switch-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-switch-label input:checked + .cookie-switch-slider {
  background: var(--brand-gold);
}

.cookie-switch-label input:checked + .cookie-switch-slider::after {
  transform: translateX(20px);
}

.btn-save-cookie-policy {
  padding: 12px 24px;
  font-size: 0.85rem;
}

.cookie-policy-save-feedback {
  display: inline-block;
  margin-left: 14px;
  font-size: 0.85rem;
  color: #15803D;
  font-weight: 600;
}

/* Grid de Direitos do Titular (Art. 18) */
.privacy-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.privacy-right-item {
  background: var(--brand-offwhite);
  border: 1px solid var(--brand-border-light);
  border-radius: 6px;
  padding: 20px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.privacy-right-item:hover {
  border-color: var(--brand-border-gold);
  transform: translateY(-2px);
}

.right-number {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--brand-gold);
  display: block;
  margin-bottom: 6px;
}

.privacy-right-item h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.privacy-right-item p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--brand-text-muted);
  margin: 0;
}

/* Card DPO */
.dpo-contact-card {
  background: var(--brand-offwhite);
  border: 1px solid var(--brand-border-gold);
  border-radius: 8px;
  padding: 28px;
  margin: 24px 0;
}

.dpo-contact-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dpo-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.dpo-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text-muted);
  display: block;
}

.dpo-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin: 2px 0;
}

.dpo-oab {
  font-size: 0.85rem;
  color: var(--brand-gold-dark);
  font-weight: 600;
}

.dpo-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* 3. Footer da Página de Privacidade */
.privacy-footer {
  background: var(--bg-footer, #070B14);
  color: #9CA3AF;
  padding: 36px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.privacy-footer-copy {
  font-size: 0.88rem;
  color: #D1D5DB;
  margin-bottom: 4px;
}

.privacy-footer-note {
  font-size: 0.78rem;
  color: #6B7280;
  margin: 0;
}

.privacy-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-privacy-scrolltop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 48px;
  transition: all var(--transition-fast);
}

.btn-privacy-scrolltop:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-gold);
  color: var(--brand-gold-light);
}

.btn-privacy-close-bottom {
  min-height: 48px;
  padding: 12px 22px;
}

/* ==========================================================================
   BANNER FLUTUANTE DE COOKIES & LGPD
   ========================================================================== */
.lgpd-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 1500;
  background: rgba(13, 22, 38, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--brand-border-gold);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease-premium), opacity 0.5s var(--ease-premium);
  will-change: transform, opacity;
}

.lgpd-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.lgpd-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.lgpd-banner-content {
  flex: 1 1 500px;
}

.lgpd-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lgpd-shield-icon {
  color: var(--brand-gold);
  display: flex;
  align-items: center;
}

.lgpd-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold);
}

.lgpd-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(249, 250, 251, 0.88);
  margin: 0;
}

.lgpd-policy-link {
  color: var(--brand-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.lgpd-policy-link:hover {
  color: #FFFFFF;
}

.lgpd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-lgpd-primary {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  border: 1px solid var(--brand-gold);
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lgpd-primary:hover {
  background-color: var(--brand-gold-light);
  border-color: var(--brand-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197, 168, 128, 0.35);
}

.btn-lgpd-secondary {
  background: transparent;
  color: #F9FAFB;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lgpd-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-gold);
  color: var(--brand-gold-light);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .lgpd-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px;
  }

  .lgpd-actions {
    width: 100%;
    justify-content: stretch;
  }

  .lgpd-actions button {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .lgpd-actions #lgpd-btn-accept {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   MODAL DE PREFERÊNCIAS DE COOKIES (DESIGN DARK LUXURY ROBSON COUTINHO)
   ========================================================================== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium), visibility 0.35s;
}

.cookie-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-modal-card {
  background: #0D1626;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(197, 168, 128, 0.1);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s var(--ease-premium);
  display: flex;
  flex-direction: column;
  position: relative;
}

.cookie-modal-overlay.active .cookie-modal-card {
  transform: translateY(0) scale(1);
}

/* Header do Modal */
.cookie-modal-header {
  background: linear-gradient(135deg, #070B14 0%, #101B2D 100%);
  padding: 24px 28px 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(197, 168, 128, 0.22);
  gap: 16px;
}

.cookie-modal-title-wrap {
  flex: 1;
}

.cookie-modal-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold, #C5A880);
  margin-bottom: 6px;
}

.cookie-modal-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 6px 0;
  letter-spacing: 0.01em;
}

.cookie-modal-subtitle {
  font-size: 0.84rem;
  color: rgba(249, 250, 251, 0.72);
  line-height: 1.45;
  display: block;
}

.cookie-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  padding: 0;
}

.cookie-modal-close:hover {
  background: var(--brand-gold, #C5A880);
  border-color: var(--brand-gold, #C5A880);
  color: #070B14;
  transform: rotate(90deg);
}

/* Corpo do Modal */
.cookie-modal-body {
  padding: 24px 28px;
  background: #0D1626;
  overflow-y: auto;
}

.cookie-modal-intro {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(249, 250, 251, 0.82);
  margin-bottom: 22px;
}

.cookie-intro-link {
  color: var(--brand-gold-light, #E4D3BD);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.cookie-intro-link:hover {
  color: #FFFFFF;
}

.cookie-option-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-option-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  background: #101B2D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.cookie-option-item:hover {
  border-color: rgba(197, 168, 128, 0.32);
  background: #142034;
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.cookie-option-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

.cookie-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}

.cookie-tag.required {
  background: rgba(197, 168, 128, 0.18);
  color: #E4D3BD;
  border: 1px solid rgba(197, 168, 128, 0.35);
}

.cookie-tag.optional {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(249, 250, 251, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-option-desc {
  font-size: 0.83rem;
  line-height: 1.6;
  color: rgba(249, 250, 251, 0.72);
  margin: 0;
}

/* Switches Customizados */
.cookie-switch-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.cookie-switch-control {
  display: inline-block;
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

.cookie-switch-control.disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.cookie-input-switch {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cookie-switch-indicator {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  transition: all 0.25s var(--ease-premium);
  display: block;
}

.cookie-switch-indicator::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.25s var(--ease-premium), background-color 0.25s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.cookie-input-switch:checked + .cookie-switch-indicator {
  background: var(--brand-gold, #C5A880);
  border-color: var(--brand-gold, #C5A880);
}

.cookie-input-switch:checked + .cookie-switch-indicator::after {
  transform: translateX(20px);
  background: #070B14;
}

.cookie-switch-indicator.disabled {
  background: rgba(197, 168, 128, 0.38);
  border-color: rgba(197, 168, 128, 0.45);
  cursor: not-allowed;
}

.cookie-switch-indicator.disabled::after {
  transform: translateX(20px);
  background: #070B14;
}

/* Rodapé do Modal */
.cookie-modal-footer {
  padding: 18px 28px;
  background: #070B14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-modal-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookie-modal-reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(249, 250, 251, 0.75);
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cookie-modal-reject:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.btn-cookie-modal-save {
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid rgba(197, 168, 128, 0.38);
  color: var(--brand-gold-light, #E4D3BD);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cookie-modal-save:hover {
  background: rgba(197, 168, 128, 0.22);
  border-color: var(--brand-gold, #C5A880);
  color: #FFFFFF;
}

.btn-cookie-modal-accept {
  background: var(--brand-gold, #C5A880);
  border: 1px solid var(--brand-gold, #C5A880);
  color: var(--brand-navy-dark, #070B14);
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(197, 168, 128, 0.25);
}

.btn-cookie-modal-accept:hover {
  background: var(--brand-gold-light, #E4D3BD);
  border-color: var(--brand-gold-light, #E4D3BD);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.35);
}

@media (max-width: 600px) {
  .cookie-modal-header {
    padding: 20px 20px 16px 20px;
  }

  .cookie-modal-body {
    padding: 20px;
  }

  .cookie-modal-footer {
    padding: 16px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-modal-footer-right {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-modal-footer button {
    width: 100%;
  }
}

