:root {
  /* Cores originais */
  --bg: #0f1115;        /* fundo escuro elegante */
  --bg-soft: #151821;   /* cartões */
  --text: #e7eaf0;      /* texto principal */
  --muted: #9aa3b2;     /* texto secundário */
  --accent: #5aa7ff;    /* azul sutil */
  --accent-strong: #2f7dff;
  --border: rgba(255,255,255,0.08);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  
  /* Cores de texto */
  --text-primary: #e7eaf0;
  --text-secondary: #e7eaf0;
  --text-muted: #9aa3b2;
  --text-accent: #5aa7ff;
  
  /* Cores de fundo */
  --bg-primary: #0f1115;
  --bg-secondary: #151821;
  --bg-card: #151821;
  --bg-glass: rgba(21, 24, 33, 0.8);
  
  /* Bordas e sombras */
  --border-light: rgba(255, 255, 255, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.35);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(90, 167, 255, 0.3);
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #5aa7ff 0%, #2f7dff 100%);
  --gradient-accent: linear-gradient(135deg, #5aa7ff 0%, #2f7dff 100%);
  --gradient-bg: radial-gradient(1200px 600px at 70% -10%, rgba(47,125,255,.18), transparent 60%),
                 radial-gradient(900px 500px at -10% 20%, rgba(90,167,255,.12), transparent 60%);
}

/* Reset e base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-primary);
  background-image: var(--gradient-bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  margin-bottom: 40px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: white;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.brand:hover .logo::before {
  left: 100%;
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text small {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 12px;
  margin-top: -2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 70vh;
  padding: 60px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

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

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* Cards */
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--text-primary);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--accent);
}

.card p {
  color: var(--text-muted);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  display: block;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

.list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* FAQ */
.faq {
  margin-top: 24px;
}

.faq details {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq summary {
  padding: 20px;
  background: var(--bg-card);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
  list-style: none;
  position: relative;
}

.faq summary::marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq summary:hover {
  background: var(--bg-secondary);
}

.faq details[open] summary {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.faq p {
  padding: 20px;
  margin: 0;
  color: var(--text-muted);
  background: var(--bg-primary);
  line-height: 1.6;
}

/* Hub Cards */
.hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.hub-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.hub-card:hover::before {
  transform: scaleX(1);
}

.hub-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.hub-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--accent);
}

.hub-card p {
  color: var(--text-muted);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.hub-card .btn {
  width: 100%;
  justify-content: center;
}

/* Media */
.media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.media:hover img {
  transform: scale(1.05);
}

/* Gallery */
.office-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.office-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  object-fit: cover;
  min-height: 300px;
  max-height: 400px;
  transition: transform 0.3s ease;
}

.office-gallery img:hover {
  transform: scale(1.02);
}

/* Footer */
footer {
  margin: 80px auto 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
}


/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hub-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Mini-LPs mobile layout */
  .office-gallery {
    order: -1;
    margin-bottom: 40px;
  }
  
  .office-gallery .media {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .header-content {
    padding: 0 16px;
  }
  
  .hero {
    padding: 40px 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .hero-content {
    order: 2;
  }
  
  .office-gallery {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text .subtitle {
    font-size: 1.125rem;
  }
  
  .card {
    padding: 24px;
    margin-bottom: 20px;
  }
  
  .hub-card {
    padding: 24px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .office-gallery .media {
    margin-bottom: 0;
  }
  
  .office-gallery img {
    min-height: 200px;
    max-height: 250px;
  }
  
  /* Melhorar espaçamento das listas */
  .list li {
    margin-bottom: 10px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .card {
    padding: 20px;
    margin-bottom: 16px;
  }
  
  .hub-card {
    padding: 20px;
  }
  
  .office-gallery {
    gap: 12px;
  }
  
  .office-gallery img {
    min-height: 180px;
    max-height: 220px;
  }
  
  /* Melhorar quebra de linha das listas */
  .list li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hub-card {
  animation: fadeInUp 0.6s ease-out;
}

.hub-card:nth-child(2) {
  animation-delay: 0.1s;
}

.hub-card:nth-child(3) {
  animation-delay: 0.2s;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}