/* ==========================================================================
   REGENETIC BIOLISS - DESIGN SYSTEM & STYLESHEET
   Paleta: Abacate Nobre & Biotecnologia Limpa
   - Verde Floresta / Casca Profunda: #0b1d14, #10291d, #163627
   - Verde Polpa Botânica: #274d36, #366347
   - Amarelo Polpa Luminosa / Manteiga: #f4e39b, #edd57a, #dfbe51
   - Ouro Âmbar Nobre: #c9a442, #b58d2a
   - Branco Alabastro: #fcfdfa, #e9ece4
   ========================================================================== */

:root {
  --bg-dark: #07160e;
  --bg-surface: #0c2016;
  --bg-card: #112a1d;
  --bg-card-hover: #173827;
  --bg-glass: rgba(7, 22, 14, 0.88);
  
  --primary-green: #143524;
  --accent-green: #2d5a3f;
  --soft-sage: #8fae98;
  
  --avocado-yellow: #f4e39b;
  --avocado-light: #fbf5d5;
  --gold-amber: #d3ab47;
  --gold-glow: rgba(244, 227, 155, 0.25);
  
  --text-primary: #fbfdf9;
  --text-secondary: #c8d6cb;
  --text-muted: #8fa395;
  --text-dark: #07160e;
  
  --border-light: rgba(244, 227, 155, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(244, 227, 155, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

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

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.015em; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

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

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers & Grid */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-darker {
  background-color: #08140e;
}

.section-surface {
  background-color: var(--bg-surface);
}

/* Badges e Pílulas */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(242, 226, 151, 0.12);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--avocado-yellow);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-tech span.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--avocado-yellow);
  box-shadow: 0 0 10px var(--avocado-yellow);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--avocado-yellow) 0%, var(--gold-amber) 100%);
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(242, 226, 151, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(242, 226, 151, 0.4);
  color: #06110a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(242, 226, 151, 0.12);
  color: var(--avocado-yellow);
  border-color: var(--avocado-yellow);
  transform: translateY(-2px);
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 20, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(244, 227, 155, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(4, 15, 9, 0.98);
  border-bottom-color: rgba(244, 227, 155, 0.28);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text-box h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.logo-text-box span {
  font-size: 0.72rem;
  color: var(--avocado-yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-item:hover, .nav-item.active {
  color: var(--avocado-yellow);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--avocado-yellow);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 5.5rem;
  background-color: #07160e;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  opacity: 1;
  pointer-events: none;
}

/* Máscara de gradiente suave: escurece a lateral esquerda para legibilidade e preserva a modelo 100% à direita */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 12, 0.98) 0%,
    rgba(6, 18, 12, 0.92) 38%,
    rgba(6, 18, 12, 0.65) 58%,
    rgba(6, 18, 12, 0.15) 80%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--avocado-yellow) 0%, #ffe999 50%, var(--gold-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-secondary);
  margin-bottom: 2.4rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item h4 {
  font-size: 1.65rem;
  color: var(--avocado-yellow);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.metric-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(242, 226, 151, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--avocado-yellow);
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Comparativo de Mercado (Table Card) */
.table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  margin: 2.5rem 0;
}

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

.comp-table th {
  background: #0d2117;
  color: var(--avocado-yellow);
  font-family: var(--font-heading);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.comp-table th.featured {
  background: rgba(242, 226, 151, 0.16);
  color: #fff;
  border-left: 2px solid var(--avocado-yellow);
  border-right: 2px solid var(--avocado-yellow);
  border-top: 3px solid var(--avocado-yellow);
}

.comp-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comp-table td.featured {
  background: rgba(242, 226, 151, 0.05);
  font-weight: 600;
  color: var(--avocado-yellow);
  border-left: 2px solid var(--avocado-yellow);
  border-right: 2px solid var(--avocado-yellow);
}

.comp-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

.comp-table tr:hover td.featured {
  background-color: rgba(242, 226, 151, 0.09);
}

/* Seção de Formuladores & Fórmulas */
.formula-box {
  background: #0e241b;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
}

.formula-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.formula-header h4 {
  color: var(--avocado-yellow);
}

.pill-tag {
  background: rgba(242, 226, 151, 0.15);
  color: var(--avocado-yellow);
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* FAQ Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.accordion-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-header:hover {
  color: var(--avocado-yellow);
}

.accordion-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  color: var(--avocado-yellow);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.75rem;
}

.accordion-item.active .accordion-body {
  padding: 0 1.75rem 1.5rem 1.75rem;
}

/* Formulários */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--avocado-yellow);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: #091710;
  border: 1px solid rgba(242, 226, 151, 0.2);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--avocado-yellow);
  box-shadow: 0 0 12px rgba(242, 226, 151, 0.25);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Rodapé */
.site-footer {
  background-color: #06110a;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h5 {
  color: var(--avocado-yellow);
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Utilitários & Responsividade */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; }

@media (max-width: 992px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    background: #0a1b13;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .mobile-menu-btn { display: block; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
