/**
 * ADVOCACIA & CONSULTORIA JURÍDICA - CORE COMPONENTS
 */

/* ==========================================================================
   1. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height, 80px);
  background: var(--color-header-bg, rgba(7, 11, 20, 0.88));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-header-border, var(--border-gold-subtle));
  z-index: var(--z-header, 100);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 72px;
  background: var(--color-header-bg-scrolled, rgba(7, 11, 20, 0.96));
  box-shadow: var(--shadow-header, 0 10px 30px rgba(0, 0, 0, 0.3));
  border-bottom-color: var(--color-gold-primary);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--header-max-width, 1380px);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* --- Brand Typography Wordmark --- */
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  text-align: left;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text-title);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 3px;
}

/* Authentic Hero Trust Strip (Zero Fake Numbers, 100% Ethical Credibility) */
.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.875rem 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  max-width: fit-content;
  margin: 0 auto;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.trust-strip-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold-light);
  flex-shrink: 0;
}

.trust-strip-divider {
  width: 1px;
  height: 16px;
  background: var(--border-subtle);
}


.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-logo-img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.2vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-text-nav, var(--color-text-secondary));
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.5rem 0.2rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold-primary, #C5A059);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-nav-active, var(--color-gold-primary));
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold-subtle);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  z-index: calc(var(--z-header) + 10);
  transition: background var(--transition-fast);
}

.hamburger-btn:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--color-gold-primary);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--color-gold-light);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger-line:not(:last-child) {
  margin-bottom: 5px;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--preview-bar-height, 0);
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: calc(100vh - var(--preview-bar-height, 0));
  background: var(--color-bg-deep);
  border-left: 1px solid var(--border-gold-subtle);
  padding: 1.5rem 1.75rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: calc(var(--z-header) + 5);
  box-shadow: none;
  visibility: hidden;
  pointer-events: none;
  transition: right var(--transition-smooth), visibility var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-header) + 4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-gold-light);
  border-bottom-color: var(--color-gold-primary);
}

.mobile-drawer-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-contact-info {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: var(--space-4xl);
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/hero-bg-pattern.svg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* Authority Stats Bar removed for OAB compliance */

/* ==========================================================================
   3. ABOUT SECTION & PILLARS
   ========================================================================== */
.about-grid {
  display: block;
  max-width: 960px;
  margin: 0 auto var(--space-4xl) auto;
  text-align: center;
}

.about-text {
  max-width: 880px;
  margin: 0 auto;
}

.about-text h3 {
  margin-bottom: 1.25rem;
  font-size: var(--text-3xl);
}

.about-lead {
  font-size: var(--text-lg);
  color: var(--color-gold-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-checklist {
  list-style: none;
  margin: 2.5rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  text-align: left;
  padding: 0;
}

.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.about-text .btn {
  margin-top: 1.5rem;
  display: inline-flex;
}

/* Pillars Cards Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-bright);
  box-shadow: var(--shadow-gold);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-gold-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: var(--text-lg);
  margin-bottom: 0.75rem;
  color: var(--color-text-title);
}

.pillar-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* ==========================================================================
   4. PRACTICE AREAS (ÁREAS DE ATUAÇÃO)
   ========================================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.practice-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-bright);
  background: var(--color-bg-card-hover);
  box-shadow: var(--shadow-gold);
}

.practice-card:hover::before {
  opacity: 1;
}

.practice-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.practice-card:hover .practice-icon-box {
  background: var(--gradient-gold);
  color: var(--color-bg-deep);
  transform: scale(1.05);
}

.practice-icon-box svg {
  width: 30px;
  height: 30px;
}

.practice-title {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

.practice-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.practice-topics {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.practice-topic-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--text-xs);
  color: #CBD5E1;
}

.topic-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold-primary);
  flex-shrink: 0;
}

.practice-action {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.practice-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold-light);
  transition: gap var(--transition-fast);
}

.practice-link:hover {
  gap: 0.85rem;
  color: #FFFFFF;
}

/* ==========================================================================
   5. DIFFERENTIALS COMPARISON
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.comparison-col-header {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-selected {
  background: rgba(197, 160, 89, 0.04);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: var(--text-sm);
}

.comparison-item-traditional {
  color: var(--color-text-muted);
}

.comparison-icon-neg {
  color: var(--color-error);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-icon-pos {
  color: var(--color-gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   6. TEAM / CORPO JURÍDICO
   ========================================================================== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  flex: 0 1 360px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-bright, var(--color-gold-primary));
  box-shadow: var(--shadow-md, 0 12px 30px rgba(0, 0, 0, 0.12));
}

.team-header-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.team-role-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
  background: var(--color-gold-dim, rgba(197, 160, 89, 0.1));
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid var(--border-gold-subtle);
}

.team-oab {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-gold-dim, rgba(255, 255, 255, 0.04));
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid var(--border-subtle);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-text-title);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.team-specialty {
  font-size: 0.75rem;
  color: var(--color-gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.team-academic-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-primary);
  background: var(--color-gold-dim, rgba(197, 160, 89, 0.08));
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid var(--border-gold-subtle);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.team-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

/* ==========================================================================
   7. FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--border-gold-subtle);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-title);
  line-height: 1.4;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--color-gold-primary);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-item.active .faq-body {
  max-height: 380px;
}

.faq-answer {
  padding: 0 1.75rem 1.75rem 1.75rem;
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* ==========================================================================
   8. MODERN CONTACT FORM SECTION
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  margin-bottom: 1.25rem;
}

.contact-channels {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.channel-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-primary);
  flex-shrink: 0;
}

.channel-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.channel-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.channel-value {
  font-size: var(--text-base);
  color: var(--color-text-primary);
  font-weight: 500;
}

.channel-value a {
  color: var(--color-text-primary);
}

.channel-value a:hover {
  color: var(--color-gold-light);
}

/* Modern Form Card */
.contact-form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  display: flex;
  justify-content: space-between;
}

.form-control {
  width: 100%;
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  color: #FFFFFF;
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-gold-primary);
  background: rgba(7, 11, 20, 0.95);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
  outline: none;
}

.form-control.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-control.valid {
  border-color: var(--color-success);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23C5A059' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  padding-right: 2.75rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

.form-error-msg {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 0.35rem;
  display: none;
}

.form-control.error ~ .form-error-msg {
  display: block;
}

/* Radio Group: Preferred Contact Method */
.contact-pref-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.pref-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pref-radio {
  display: none;
}

.pref-radio:checked + .pref-label {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--color-gold-primary);
  color: var(--color-gold-light);
}

/* Consent Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-gold-subtle);
  background: rgba(7, 11, 20, 0.6);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-gold-primary);
}

.checkbox-text {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.form-action-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Honeypot field (Anti-spam) */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ==========================================================================
   9. MODALS & TOAST ALERTS
   ========================================================================== */
.toast-alert {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: var(--z-toast);
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast-alert.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 28px;
  height: 28px;
  color: var(--color-gold-primary);
  flex-shrink: 0;
}

.toast-title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: #FFFFFF;
}

.toast-desc {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background: #05080E;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: var(--space-3xl);
}

.footer-brand-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-mission {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  color: var(--color-gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-gold-light);
  transform: translateX(3px);
  display: inline-block;
}

.footer-compliance-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-legal-disclaimer {
  max-width: 700px;
  line-height: 1.6;
}

/* ==========================================================================
   11. PERSISTENT FLOATING BUTTONS
   ========================================================================== */
.floating-actions-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  z-index: var(--z-floating);
}

.floating-whatsapp-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-ping-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: pingRing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes pingRing {
  0% { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(1.4); opacity: 0; }
}

.floating-back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--border-gold-subtle);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-back-to-top:hover {
  background: var(--color-gold-primary);
  color: var(--color-bg-deep);
}

.floating-back-to-top svg {
  width: 20px;
  height: 20px;
}


/* --- Drawer Header & Close Button (Mobile UX) --- */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.drawer-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--color-text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}


/* --- Integrated Google Maps Location Section --- */
.location-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-main);
  position: relative;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: stretch;
}

.location-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}

.location-badge svg {
  width: 18px;
  height: 18px;
}

.location-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-text-title);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.location-address {
  font-size: var(--text-base);
  color: var(--color-text-primary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.location-meta-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.location-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.location-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-light);
  flex-shrink: 0;
}

.location-map-wrap {
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
  background: var(--color-bg-deep);
}

.location-iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .location-card {
    padding: 1.75rem;
  }
  .location-map-wrap {
    min-height: 320px;
  }
  .location-iframe {
    min-height: 320px;
  }
}


/* ==========================================================================
   BARRA FIXA SUPERIOR DE DEMONSTRAÇÃO DE REDESIGN (COMPLIANCE COMERCIAL)
   ========================================================================== */
:root {
  --preview-bar-height: 52px;
}

#preview-redesign-banner-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #0c1d32;
  border-bottom: 1px solid #1e3a5f;
  color: #ffffff;
  z-index: 1000;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.preview-banner-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.preview-banner-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #38bdf8;
}

.preview-banner-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: #cbd5e1;
  margin: 2px 0 0 0;
  letter-spacing: 0.01em;
  max-width: 900px;
}

body {
  padding-top: var(--preview-bar-height, 52px);
}

.site-header {
  top: var(--preview-bar-height, 52px);
}

.mobile-nav-drawer {
  top: var(--preview-bar-height, 60px);
  height: calc(100vh - var(--preview-bar-height, 60px));
}


/* Grid & Card Item Shrink Guarantee (Zero Horizontal Sticking) */
.contact-section-grid,
.location-grid {
  min-width: 0;
  max-width: 100%;
}

.contact-info-card,
.contact-form-card,
.location-card,
.location-map-wrap {
  min-width: 0;
}

/* High-Contrast Rules for Quotes, Brand & Text Elements */
.brand-wordmark .brand-name {
  color: var(--color-text-title, #0F172A) !important;
}
blockquote, .quote-text, .founder-quote, .pillar-desc {
  color: var(--color-text-secondary, #334155) !important;
}
