/* ================================================
   Col6 Conscientiza - Stylesheet
   Paleta: Branco #FFFFFF | Azul #4FC3F7 | Dourado #D4AF37
   ================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white:   #FFFFFF;
  --sky:     #4FC3F7;
  --sky-dark:#0288D1;
  --sky-glow:rgba(79,195,247,0.18);
  --gold:    #D4AF37;
  --gold-lt: #F0D060;
  --gold-dk: #A07C10;
  --dark:    #0A0F1A;
  --dark2:   #0D1525;
  --dark3:   #111B2E;
  --mid:     #1A2540;
  --text:    #D0DCF0;
  --text-dim:#7A90B5;
  --radius:  8px;
  --trans:   0.32s ease;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Nunito Sans', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  /* proteção básica de conteúdo */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Permitir selecionar somente campos de input/textarea se necessário */
input, textarea { user-select: auto; }

img { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text); }

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Nunito+Sans:wght@300;400;600;700&family=JetBrains+Mono:wght@400&display=swap');

/* ================================================
   SCROLLBAR
   ================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--sky-dark); border-radius: 3px; }

/* ================================================
   CANVAS DNA BACKGROUND
   ================================================ */
#dna-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ================================================
   HEADER / NAV
   ================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,15,26,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(79,195,247,0.12);
  transition: background var(--trans);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--gold); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}
.nav-links a {
  display: block;
  padding: 0.38rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
  transition: color var(--trans), background var(--trans);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--sky);
  background: rgba(79,195,247,0.08);
}
/* Hide "Home" link — logo already navigates home */
.nav-links .nav-item-home { display: none; }

/* Instagram nav */
.nav-ig {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 20px;
  color: var(--gold) !important;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--trans) !important;
}
.nav-ig:hover {
  background: rgba(212,175,55,0.1) !important;
  border-color: var(--gold) !important;
  color: var(--gold-lt) !important;
}
.nav-ig svg { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  background: rgba(10,15,26,0.97);
  border-top: 1px solid rgba(79,195,247,0.1);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile ul li { border-bottom: 1px solid rgba(79,195,247,0.07); }
.nav-mobile ul a {
  display: block;
  padding: 0.8rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-mobile ul a:hover, .nav-mobile ul a.active { color: var(--sky); }
.nav-mobile .ig-mobile {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ================================================
   MAIN CONTENT WRAPPER
   ================================================ */
main { position: relative; z-index: 1; }

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 1.5rem 60px;
  position: relative;
}

.hero-content { max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79,195,247,0.08);
  border: 1px solid rgba(79,195,247,0.25);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-top: 0.75rem;
margin-bottom: 1rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.4rem;
  text-shadow: 0 0 60px rgba(79,195,247,0.3);
}
.hero h1 .accent { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-dark) 100%);
  color: var(--dark);
  box-shadow: 0 0 20px rgba(79,195,247,0.25);
}
.btn-primary:hover {
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(79,195,247,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid rgba(212,175,55,0.5);
}
.btn-outline:hover {
  color: var(--gold-lt);
  border-color: var(--gold);
  background: rgba(212,175,55,0.07);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(79,195,247,0.06);
  color: var(--sky);
  border: 1px solid rgba(79,195,247,0.2);
}
.btn-ghost:hover {
  background: rgba(79,195,247,0.13);
  color: var(--sky);
  transform: translateY(-2px);
}

/* ================================================
   SECTIONS GENERIC
   ================================================ */
.section {
  padding: 90px 1.5rem;
  position: relative;
  z-index: 1;
}
.section-alt { background: rgba(13,21,37,0.65); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}
.container-sm { max-width: 780px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  color: var(--white);
  margin-bottom: 1.2rem;
}
.section-title .line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  border-radius: 2px;
  margin-top: 0.9rem;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 640px;
}

/* ================================================
   CARDS GRID
   ================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: rgba(26,37,64,0.6);
  border: 1px solid rgba(79,195,247,0.1);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}
.card:hover {
  border-color: rgba(79,195,247,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 30px rgba(79,195,247,0.06);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px;
  background: rgba(79,195,247,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { color: var(--sky); }

.card h3 {
  color: var(--white);
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}
.card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 0; }

/* ================================================
   HIGHLIGHT BOX
   ================================================ */
.highlight-box {
  background: linear-gradient(135deg, rgba(79,195,247,0.08), rgba(212,175,55,0.06));
  border: 1px solid rgba(212,175,55,0.2);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.highlight-box p { color: var(--text); margin-bottom: 0; font-style: italic; }

/* ================================================
   MEDICAL DISCLAIMER
   ================================================ */
.medical-disclaimer {
  background: rgba(79,195,247,0.05);
  border: 1px solid rgba(79,195,247,0.15);
  border-radius: 10px;
  padding: 1.1rem 1.5rem;
  margin: 2.5rem 0 0;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.medical-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--sky);
}
.medical-disclaimer p {
  font-size: 0.83rem;
  color: var(--text-dim);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: rgba(7,11,20,0.98);
  border-top: 1px solid rgba(79,195,247,0.1);
  padding: 3rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-brand .nav-logo-text { font-size: 1.1rem; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 0.4rem;
  margin-bottom: 0;
}
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  border: 1px solid rgba(212,175,55,0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  transition: all var(--trans);
}
.footer-ig:hover {
  background: rgba(212,175,55,0.08);
  border-color: var(--gold);
  color: var(--gold-lt);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(79,195,247,0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0;
}
.footer-disclaimer-text {
  font-size: 0.76rem;
  color: rgba(122,144,181,0.75);
  font-style: italic;
  max-width: 700px;
}

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  padding: 130px 1.5rem 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero h1 .accent { color: var(--gold); }
.page-hero p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ================================================
   CONTENT ARTICLE
   ================================================ */
.content-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 3rem;
}
.content-article h2 {
  color: var(--white);
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
}
.content-article h3 {
  color: var(--sky);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}
.content-article p { color: var(--text); }
.content-article ul, .content-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.content-article li { margin-bottom: 0.5rem; }

/* ================================================
   PROFILE (quem-sou-eu)
   ================================================ */
.profile-hero {
  padding: 130px 1.5rem 60px;
  position: relative;
  z-index: 1;
}
.profile-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26,37,64,0.6);
  border: 1px solid rgba(79,195,247,0.12);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
}
.profile-img-wrap {
  background: linear-gradient(160deg, rgba(79,195,247,0.12), rgba(212,175,55,0.08));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  gap: 1.2rem;
  border-right: 1px solid rgba(79,195,247,0.1);
}
.profile-avatar {
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 3px solid var(--sky);
  box-shadow: 0 0 30px rgba(79,195,247,0.25);
  object-fit: cover;
  background: var(--mid);
}
.profile-avatar-placeholder {
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 3px solid var(--sky);
  box-shadow: 0 0 30px rgba(79,195,247,0.2);
  background: linear-gradient(135deg, var(--mid), var(--dark3));
  display: flex; align-items: center; justify-content: center;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}
.profile-loc {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.profile-tag {
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
}
.profile-info { padding: 2.5rem; }
.profile-info h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.3rem;
}
.profile-info .accent { color: var(--gold); }
.profile-info > p.lead {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Timeline */
.timeline { margin-top: 2.5rem; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--sky), var(--gold));
  opacity: 0.3;
}
.timeline-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-dot {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(79,195,247,0.12);
  border: 2px solid var(--sky);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.timeline-dot svg { color: var(--sky); }
.timeline-body { padding-top: 4px; }
.timeline-body h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.3rem; }
.timeline-body p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0; }

/* ================================================
   CONDITIONS PAGE
   ================================================ */
.spectrum-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5rem 0 0.5rem;
  background: rgba(255,255,255,0.05);
}
.spectrum-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky-dark) 0%, var(--sky) 50%, var(--gold) 100%);
  border-radius: 4px;
}
.spectrum-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.gene-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.gene-table th {
  background: rgba(79,195,247,0.1);
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.85rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(79,195,247,0.15);
}
.gene-table td {
  padding: 0.9rem 1.2rem;
  color: var(--text);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(79,195,247,0.06);
  vertical-align: top;
}
.gene-table tr:hover td { background: rgba(79,195,247,0.03); }
.gene-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(212,175,55,0.2);
}

/* ================================================
   SOURCES PAGE
   ================================================ */
.source-box {
  background: rgba(26,37,64,0.5);
  border: 1px solid rgba(79,195,247,0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.source-box h3 { color: var(--sky); font-size: 1.05rem; margin-bottom: 0.6rem; }
.source-box p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0; }

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ================================================
   DIVIDER
   ================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,195,247,0.2), transparent);
  margin: 0;
}

/* ================================================
   RESPONSIVE BASE
   ================================================ */
@media (max-width: 768px) {
  .nav-links, .nav-ig { display: none; }
  .nav-toggle { display: flex; }
  .gene-table { font-size: 0.82rem; }
  .gene-table th, .gene-table td { padding: 0.7rem 0.8rem; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 1rem 50px; }
  .section { padding: 65px 1rem; }
  .profile-info { padding: 1.5rem; }
}

/* ================================================
   PROFILE PILLARS (quem-sou-eu)
   ================================================ */
.profile-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.profile-pillar {
  background: rgba(79,195,247,0.06);
  border: 1px solid rgba(79,195,247,0.12);
  border-radius: 10px;
  padding: 0.8rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pillar-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.pillar-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Avatar wrap */
.profile-avatar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Profile site button */
.profile-site-btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* ================================================
   MOBILE IMPROVEMENTS
   ================================================ */

/* Profile card mobile-first rewrite */
@media (max-width: 900px) {
  .profile-card {
    grid-template-columns: 1fr;
  }
  .profile-img-wrap {
    border-right: none;
    border-bottom: 1px solid rgba(79,195,247,0.1);
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .profile-name, .profile-loc { text-align: center; }
  .profile-site-btn { width: auto; }
}

@media (max-width: 600px) {
  .profile-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .pillar-value { font-size: 1rem; }
}

/* Cards grid fix on very small screens */
@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  /* Two-col card layout on about page */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .gene-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Nav on very small screens */
@media (max-width: 360px) {
  .nav-inner { padding: 0 1rem; }
  .nav-logo-text { font-size: 1rem; }
}

/* Footer on small screens */
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner nav ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: flex-start !important;
    gap: 0.3rem !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Spectrum labels mobile */
@media (max-width: 480px) {
  .spectrum-labels {
    font-size: 0.65rem;
  }
}

/* Hero buttons stack on mobile */
@media (max-width: 400px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn { width: 100%; justify-content: center; }
}

/* ================================================
   CITAÇÕES DE FONTE
   ================================================ */
.fonte-citacao {
  display: block;
  font-size: 0.70rem;
  color: rgba(122,144,181,0.6);
  font-style: italic;
  margin-top: 0.55rem;
  border-top: 1px solid rgba(79,195,247,0.07);
  padding-top: 0.4rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* Citações inline dentro de parágrafos */
sup.fonte {
  font-size: 0.62rem;
  color: rgba(212,175,55,0.65);
  font-style: normal;
  vertical-align: super;
  letter-spacing: 0;
}

/* Bloco de referências ao fim de seção */
.referencias-bloco {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(10,15,26,0.5);
  border-radius: 8px;
  border-left: 3px solid rgba(212,175,55,0.25);
}
.referencias-bloco p {
  font-size: 0.70rem;
  color: rgba(122,144,181,0.55);
  font-style: italic;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}
.referencias-bloco p:last-child { margin-bottom: 0; }

/* ================================================
   TRATAMENTOS PAGE — tabs/accordion
   ================================================ */
.treatment-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.tab-btn {
  background: rgba(26,37,64,0.6);
  border: 1px solid rgba(79,195,247,0.12);
  border-radius: 20px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--trans);
}
.tab-btn:hover { color: var(--sky); border-color: rgba(79,195,247,0.3); }
.tab-btn.active {
  background: rgba(79,195,247,0.1);
  border-color: var(--sky);
  color: var(--sky);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Treatment card especial */
.treatment-card {
  background: rgba(26,37,64,0.5);
  border: 1px solid rgba(79,195,247,0.1);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  transition: border-color var(--trans);
}
.treatment-card:hover { border-color: rgba(79,195,247,0.22); }
.treatment-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.treatment-card-icon {
  width: 40px; height: 40px;
  background: rgba(79,195,247,0.09);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.treatment-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0;
}
.treatment-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 0.6rem; }
.treatment-card ul { color: var(--text-dim); font-size: 0.9rem; padding-left: 1.3rem; }
.treatment-card li { margin-bottom: 0.35rem; }

/* Badge de status terapêutico */
.therapy-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.badge-approved {
  background: rgba(79,195,247,0.12);
  color: var(--sky);
  border: 1px solid rgba(79,195,247,0.3);
}
.badge-research {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
}
.badge-preclinical {
  background: rgba(150,150,200,0.1);
  color: #A0AACC;
  border: 1px solid rgba(150,150,200,0.25);
}

/* Footer nav list */
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}
@media (max-width: 600px) {
  .footer-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* ================================================
   FOOTER — dois colunas de nav organizadas
   ================================================ */
.footer-nav-cols {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.footer-nav-col { min-width: 120px; }
.footer-nav-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-nav-col ul li a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color var(--trans);
}
.footer-nav-col ul li a:hover { color: var(--sky); }

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav-cols {
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .footer-nav-cols { flex-direction: column; gap: 1.2rem; }
}

/* References nav box (cross-page navigation) */
.references-nav-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(26,37,64,0.4);
  border: 1px solid rgba(79,195,247,0.1);
  border-radius: 10px;
  margin: 2rem 0;
}
.references-nav-box p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 0;
  font-weight: 600;
}

/* ================================================
   NAV — hide Instagram pill on smaller desktops
   ================================================ */
@media (max-width: 1280px) {
  .nav-ig { display: none; }
}
@media (max-width: 1100px) {
  .nav-links a {
    padding: 0.35rem 0.42rem;
    font-size: 0.68rem;
  }
}

/* ================================================
   COL6 DAY — bloco no rodapé
   ================================================ */
.footer-col6day {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(79,195,247,0.1);
}
.footer-col6day-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(26,37,64,0.45);
  border: 1px solid rgba(79,195,247,0.1);
  border-radius: 12px;
  padding: 1.1rem 1.5rem;
  text-decoration: none;
  transition: border-color var(--trans), background var(--trans);
}
.footer-col6day-inner:hover {
  border-color: rgba(79,195,247,0.28);
  background: rgba(26,37,64,0.7);
}
.footer-col6day-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  border-radius: 6px;
  display: block;
}
.footer-col6day-text { min-width: 0; }
.footer-col6day-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  display: block;
  margin-bottom: 0.2rem;
}
.footer-col6day-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 0;
}
.footer-col6day-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color var(--trans), transform var(--trans);
}
.footer-col6day-inner:hover .footer-col6day-arrow {
  color: var(--sky);
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .footer-col6day-inner { flex-wrap: wrap; gap: 1rem; }
  .footer-col6day-arrow { display: none; }
}

/* ================================================
   HERO BANNER IMAGE — TOP RIGHT
   ================================================ */
.hero-banner-img {
  position: absolute;
  top: 78px; /* below fixed header (62px) + small gap */
  right: 1.5rem;
  z-index: 2;
  display: block;
  line-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: min(340px, 28vw);
  opacity: 0.92;
  transition: opacity var(--trans), transform var(--trans);
  pointer-events: auto;
}
.hero-banner-img:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.hero-banner-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

@media (max-width: 1024px) {
  .hero-banner-img {
    max-width: min(280px, 35vw);
    top: 72px;
  }
}

@media (max-width: 768px) {
  .hero-banner-img {
    position: relative;
    top: auto;
    right: auto;
    max-width: 100%;
    width: min(320px, 80vw);
    margin: 0 auto 1.5rem;
    display: block;
  }
  /* On mobile, hero becomes column layout */
  .hero {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 425px) {
  .hero-banner-img {
    width: min(290px, 90vw);
  }
}

@media (max-width: 375px) {
  .hero-banner-img {
    width: 100%;
  }
}

/* ================================================
   SEÇÃO — VIVENDO COM MIOPATIA COL6
   ================================================ */
.col6-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.col6-info-card {
  background: rgba(26, 37, 64, 0.55);
  border: 1px solid rgba(79,195,247,0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.col6-info-card:hover {
  border-color: rgba(79,195,247,0.35);
  box-shadow: 0 4px 24px rgba(79,195,247,0.08);
}

.col6-info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(79,195,247,0.1);
  border: 1px solid rgba(79,195,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.col6-info-card-icon--gold {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.2);
  color: var(--gold);
}

.col6-info-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.col6-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.col6-info-list li {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
}
.col6-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sky);
  opacity: 0.7;
}

.col6-info-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(79,195,247,0.06);
  border: 1px solid rgba(79,195,247,0.2);
  border-left: 3px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}
.col6-info-callout-icon {
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Responsive — COL6 info grid */
@media (max-width: 768px) {
  .col6-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 425px) {
  .col6-info-card {
    padding: 1.25rem;
  }
  .col6-info-callout {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
  }
}
/* Miopatias grid — home */
.miopatias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 600px) {
  .miopatias-grid {
    grid-template-columns: 1fr;
  }
  .miopatias-grid .card[style*="grid-column"] {
    grid-column: auto;
  }
}
