@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Brand Design Tokens */
:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-tertiary: #16161c;
  --text-primary: #f8f9fa;
  --text-secondary: #a0a0b0;
  --text-muted: #6c757d;
  --gold-primary: #c5a059;
  --gold-light: #f1e3ad;
  --gold-dark: #997836;
  --gold-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  --border-color: rgba(197, 160, 89, 0.15);
  --border-color-hover: rgba(197, 160, 89, 0.4);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1140px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 100px 0;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0a0a0c;
  border: none;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-30deg);
  transition: 0.75s;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
  background: rgba(197, 160, 89, 0.08);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-img {
  height: 44px;
  width: auto;
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  font-weight: 500;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Sections Common Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 16px auto 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  background: radial-gradient(circle at 50% 30%, rgba(197, 160, 89, 0.08) 0%, transparent 60%), var(--bg-primary);
  position: relative;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 3.25rem;
  line-height: 1.2;
  margin-bottom: 35px;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

/* Target campaign message box */
.direct-message {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 40px;
  margin-bottom: 40px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.direct-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 6px 0 0 6px;
}

.direct-message p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.direct-message p:last-child {
  margin-bottom: 0;
}

.direct-message .greeting {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 600;
}

.direct-message strong {
  color: var(--gold-light);
  font-weight: 600;
}

.direct-message .cta-question {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-family: var(--font-serif);
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Seus Direitos Details Section */
.details-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cards-container {
  margin-top: 50px;
}

.info-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 40px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.05);
}

.info-icon {
  width: 44px;
  height: 44px;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Como Funciona Workflow Section */
.workflow-section {
  position: relative;
}

.workflow-grid {
  margin-top: 50px;
}

.workflow-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 35px;
  position: relative;
  transition: var(--transition-smooth);
}

.workflow-card:hover {
  border-color: var(--border-color-hover);
}

.workflow-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 20px;
}

.workflow-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.workflow-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.centered-cta {
  text-align: center;
  margin-top: 60px;
}

/* Quem Somos Partners Section */
.partners-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partners-grid {
  margin-top: 50px;
}

.partner-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.05);
}

.partner-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.partner-card:hover .partner-img {
  transform: scale(1.03);
}

.partner-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.partner-name {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.partner-oab {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.partner-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* FAQ Accordion Section */
.faq-section {
  background-color: var(--bg-primary);
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 16px;
  background-color: var(--bg-secondary);
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  user-select: none;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

.faq-toggle::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

.faq-toggle::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-question {
  color: var(--gold-primary);
}

.faq-answer {
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: rgba(0, 0, 0, 0.15);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* Footer Section */
footer {
  background-color: #050507;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-contact li {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact li svg {
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact a:hover {
  color: var(--gold-primary);
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--gold-gradient);
  color: #0a0a0c;
  transform: translateY(-2px);
  border-color: transparent;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: var(--gold-primary);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Fade in Scroll Animations classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulses and animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding-top: 130px;
  }
  .hero h1 {
    font-size: 2.25rem;
    margin-bottom: 25px;
  }
  .direct-message {
    padding: 25px;
  }
  .direct-message .greeting {
    font-size: 1.3rem;
  }
  .direct-message p {
    font-size: 0.95rem;
  }
  .direct-message .cta-question {
    font-size: 1.05rem;
  }
  .menu-toggle {
    display: flex;
  }
  nav {
    position: absolute;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--bg-primary);
    transition: var(--transition-smooth);
    padding: 40px;
    border-top: 1px solid var(--border-color);
  }
  nav.active {
    left: 0;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }
  nav a {
    font-size: 1.1rem;
  }
  
  /* Menu hamburger animations when active */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-brand p {
    margin: 0 auto 24px;
  }
  .social-links {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
