/* ============ PALETA ============ */
:root {
  --green-900: #06281a;
  --green-800: #0b3d27;
  --green-700: #115c3a;
  --green-600: #17784b;
  --green-500: #1f9a5f;
  --green-100: #e5f4ec;
  --gold: #c9a227;
  --gold-light: #e6c65c;
  --black: #0b0d0c;
  --gray-900: #1a1d1b;
  --gray-600: #5c6660;
  --gray-300: #d5dbd7;
  --gray-100: #f4f6f5;
  --white: #ffffff;
  --danger: #b3261e;
  --warn: #a86b00;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(6, 40, 26, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--gray-100);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
a { color: inherit; }
.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.gold { color: var(--gold); }
.hidden { display: none !important; }

/* ============ TOPBAR ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 12, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, .25);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { color: var(--gold-light); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: #cfd8d3; text-decoration: none; font-size: .92rem; transition: color .2s; }
.nav a:hover { color: var(--gold-light); }
.nav-cta { border: 1px solid var(--gold); padding: 6px 16px; border-radius: 999px; color: var(--gold-light) !important; }
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(201,162,39,.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(31,154,95,.35), transparent 45%),
    linear-gradient(160deg, var(--black) 0%, var(--green-900) 55%, var(--green-800) 100%);
  color: var(--white);
  padding: 80px 0 120px;
  text-align: center;
}
.hero-inner { max-width: 820px; }
.pill {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(201,162,39,.5); color: var(--gold-light);
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 22px 0 18px; }
.hero p { color: #c4d3cb; font-size: 1.05rem; max-width: 640px; margin: 0 auto 30px; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 2.2rem; color: var(--gold-light); font-family: 'Playfair Display', serif; }
.hero-stats span { font-size: .85rem; color: #a9bdb2; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-block; border: none; cursor: pointer;
  padding: 13px 28px; border-radius: 999px;
  font: 600 .95rem 'Poppins', sans-serif; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--black); box-shadow: 0 8px 22px rgba(201,162,39,.35); }
.btn-gold:hover { box-shadow: 0 12px 28px rgba(201,162,39,.5); }
.btn-green { background: var(--green-600); color: var(--white); }
.btn-green:hover { background: var(--green-700); }
.btn-big { width: 100%; padding: 18px; font-size: 1.05rem; margin-top: 10px; }

/* ============ CARDS / PASSOS ============ */
main { margin-top: -70px; position: relative; display: flex; flex-direction: column; gap: 22px; padding-bottom: 60px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  border: 1px solid #e8ece9;
}
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step-head h2 { font-size: 1.45rem; color: var(--green-800); }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700;
  background: var(--green-700); color: var(--gold-light);
  box-shadow: 0 0 0 4px var(--green-100);
}
.hint { color: var(--gray-600); font-size: .92rem; margin-bottom: 16px; }
.hint.small { font-size: .82rem; margin-top: 4px; }

.grid { display: grid; gap: 16px; margin-bottom: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-ex { grid-template-columns: 2.2fr 1fr 1fr auto; align-items: end; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--green-800); }
.field label small { color: var(--gray-600); font-weight: 400; }
input, select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--gray-300); background: var(--white);
  font: 400 .95rem 'Poppins', sans-serif; color: var(--gray-900);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(31,154,95,.15); }
.field-btn .btn { padding: 12px 22px; white-space: nowrap; }

.toggle { display: flex; background: var(--gray-100); border-radius: 12px; padding: 4px; border: 1.5px solid var(--gray-300); }
.toggle button {
  flex: 1; border: none; background: transparent; padding: 8px 6px; border-radius: 9px;
  font: 500 .88rem 'Poppins', sans-serif; color: var(--gray-600); cursor: pointer; transition: all .2s;
}
.toggle button.active { background: var(--green-700); color: var(--white); box-shadow: 0 4px 10px rgba(17,92,58,.3); }
.toggle-wide { margin-bottom: 18px; }
.toggle-wide button { padding: 12px; }

/* ============ FATOR DE ATIVIDADE ============ */
.fa-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.fa-item {
  border: 1.5px solid var(--gray-300); border-radius: 14px; padding: 14px 16px;
  cursor: pointer; transition: all .2s; position: relative; background: var(--white);
}
.fa-item:hover { border-color: var(--green-500); transform: translateY(-2px); }
.fa-item.active { border-color: var(--green-600); background: var(--green-100); box-shadow: 0 6px 16px rgba(17,92,58,.12); }
.fa-item.active::after {
  content: '✓'; position: absolute; top: 10px; right: 12px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  color: var(--black); font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}
.fa-val { font-size: 1.4rem; font-weight: 700; color: var(--green-700); font-family: 'Playfair Display', serif; }
.fa-name { font-weight: 600; font-size: .95rem; display: block; }
.fa-desc { font-size: .8rem; color: var(--gray-600); margin-top: 4px; }

/* ============ EXERCÍCIOS ============ */
.ex-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ex-list .empty { color: var(--gray-600); font-size: .88rem; font-style: italic; padding: 10px 0; }
.ex-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 12px; background: var(--gray-100);
  border-left: 4px solid var(--gold); animation: slideIn .3s ease;
}
.ex-item .ex-name { font-weight: 600; font-size: .92rem; }
.ex-item .ex-meta { font-size: .8rem; color: var(--gray-600); }
.ex-item .ex-kcal { font-weight: 700; color: var(--green-700); white-space: nowrap; }
.ex-remove {
  border: none; background: transparent; color: var(--danger); font-size: 1.2rem;
  cursor: pointer; width: 30px; height: 30px; border-radius: 50%; transition: background .2s;
}
.ex-remove:hover { background: #fbe6e5; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

.error { color: var(--danger); font-size: .88rem; min-height: 1.2em; }

/* ============ RESULTADOS ============ */
.results { display: flex; flex-direction: column; gap: 22px; animation: fadeUp .6s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.card.dark {
  background: linear-gradient(150deg, var(--black), var(--green-900) 60%, var(--green-800));
  color: var(--white); border: 1px solid rgba(201,162,39,.35); text-align: center;
}
.label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.big-number { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 9vw, 5rem); font-weight: 700; line-height: 1.1; margin: 8px 0 20px; }
.big-number small { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 400; margin-left: 8px; opacity: .8; }
.big-number.green { color: var(--green-700); font-size: clamp(2.6rem, 7vw, 4rem); margin-bottom: 8px; }

.stack-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.stack-bar div { width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 14px; font-size: .82rem; color: #c4d3cb; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.result-cards { margin: 0; }
.r-card {
  background: var(--white); border-radius: 16px; padding: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border-top: 4px solid var(--green-600);
  transition: transform .2s;
}
.r-card:hover { transform: translateY(-4px); }
.r-card:nth-child(2) { border-top-color: var(--green-500); }
.r-card:nth-child(3) { border-top-color: var(--gold); }
.r-card:nth-child(4) { border-top-color: var(--black); }
.r-card span { font-size: .82rem; color: var(--gray-600); }
.r-card strong { font-size: 2rem; font-family: 'Playfair Display', serif; color: var(--green-800); }
.r-card small { font-size: .78rem; color: var(--gray-600); }

.goal-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; border: 2px solid var(--gold); }
.goal-main p { color: var(--gray-600); font-size: .92rem; }
.goal-side { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.goal-side div { background: var(--gray-100); padding: 12px 20px; border-radius: 12px; min-width: 190px; }
.goal-side span { font-size: .78rem; color: var(--gray-600); display: block; }
.goal-side strong { font-size: 1.25rem; color: var(--green-800); }
.alerts { grid-column: 1 / -1; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.alerts li { padding: 10px 14px; border-radius: 10px; font-size: .86rem; }
.alerts li.warn { background: #fff5dd; color: var(--warn); border-left: 4px solid var(--gold); }
.alerts li.danger { background: #fbe6e5; color: var(--danger); border-left: 4px solid var(--danger); }
.alerts li.ok { background: var(--green-100); color: var(--green-700); border-left: 4px solid var(--green-600); }

.card h3 { color: var(--green-800); font-size: 1.35rem; margin-bottom: 12px; }
.card h4 { color: var(--green-800); margin: 22px 0 10px; font-size: 1rem; }
.eq-chosen { background: var(--green-100); border-radius: 14px; padding: 18px; border-left: 5px solid var(--green-600); }
.eq-chosen .eq-name { font-weight: 700; font-size: 1.1rem; color: var(--green-800); }
.eq-chosen .eq-formula { font-family: Consolas, monospace; font-size: .85rem; background: var(--white); padding: 8px 12px; border-radius: 8px; margin: 8px 0; display: inline-block; }
.eq-chosen p { font-size: .9rem; color: var(--gray-900); }
.table-wrap { overflow-x: auto; }
.eq-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.eq-table th { text-align: left; padding: 10px; background: var(--black); color: var(--gold-light); font-weight: 500; }
.eq-table th:first-child { border-radius: 10px 0 0 0; }
.eq-table th:last-child { border-radius: 0 10px 0 0; }
.eq-table td { padding: 10px; border-bottom: 1px solid var(--gray-300); }
.eq-table tr.chosen td { background: var(--green-100); font-weight: 600; }
.eq-table tr.chosen td:first-child::before { content: '★ '; color: var(--gold); }
.eq-table tr.na td { color: #9aa49e; }

.promo-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 26px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--green-800), var(--green-700)); color: var(--white);
}
.promo-inline p { max-width: 620px; }
.promo-inline strong { color: var(--gold-light); }

/* ============ CIÊNCIA ============ */
.science h2 { color: var(--green-800); margin-bottom: 20px; font-size: 1.6rem; }
.sci-item { padding: 18px; border-radius: 14px; background: var(--gray-100); border-top: 3px solid var(--gold); }
.sci-item h4 { margin: 0 0 6px; color: var(--green-800); font-size: .98rem; }
.sci-item p { font-size: .86rem; color: var(--gray-600); }
.refs { margin-top: 10px; }
.refs summary { cursor: pointer; font-weight: 600; color: var(--green-700); padding: 8px 0; }
.refs ol { padding-left: 22px; font-size: .8rem; color: var(--gray-600); display: flex; flex-direction: column; gap: 4px; }
.disclaimer { margin-top: 16px; font-size: .8rem; color: var(--gray-600); font-style: italic; }

/* ============ RODAPÉ ============ */
.footer {
  background: linear-gradient(180deg, var(--black), #050706);
  color: var(--white); padding-top: 60px; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--gold), var(--green-600));
  background-size: 200% 100%; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% 0; } }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-bottom: 40px; }
.pro-card {
  display: flex; gap: 22px; align-items: center;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(23,120,75,.25), rgba(201,162,39,.08));
  border: 1px solid rgba(201,162,39,.3);
  transition: transform .15s ease-out, box-shadow .3s;
  transform-style: preserve-3d;
}
.pro-card:hover { box-shadow: 0 20px 50px rgba(201,162,39,.15); }
.pro-avatar {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  padding: 3px; background: conic-gradient(var(--gold), var(--green-500), var(--gold));
  animation: spin 8s linear infinite;
}
.pro-avatar img {
  width: 100%; height: 100%; border-radius: 50%; display: block;
  object-fit: cover; object-position: center 12%;
  border: 3px solid var(--black); background: var(--green-900);
  animation: spin 8s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pro-info h3 { font-size: 1.7rem; }
.pro-role { color: var(--gold-light); font-size: .9rem; margin-bottom: 8px; }
.pro-bio { color: #b8c7bf; font-size: .88rem; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.2); transition: all .25s;
}
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social:hover { background: var(--gold); color: var(--black); border-color: var(--gold); transform: translateY(-3px); }
.footer-cta h3 { font-size: 1.8rem; margin-bottom: 14px; }
.benefits { list-style: none; margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.benefits li { color: #c4d3cb; font-size: .92rem; padding-left: 26px; position: relative; }
.benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: .8rem; color: #7f8f86; }

/* Botão flutuante */
.float-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--green-700); color: var(--white);
  border: 2px solid var(--gold); border-radius: 999px; padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: all .3s; opacity: 0; transform: translateY(20px); pointer-events: none;
}
.float-btn.show { opacity: 1; transform: none; pointer-events: auto; }
.float-icon { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 12%; display: block; }
.float-btn { padding: 4px; }
.float-text { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s; font-size: .88rem; font-weight: 500; }
.float-btn:hover .float-text { max-width: 160px; padding-right: 6px; }

/* Animação de entrada ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-ex { grid-template-columns: 1fr 1fr; }
  .grid-ex .field:first-child { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; }
  .goal-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav a:not(.nav-cta) { display: none; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .grid-ex { grid-template-columns: 1fr 1fr; }
  .field-btn { grid-column: 1 / -1; }
  .field-btn .btn { width: 100%; }
  .card { padding: 22px 18px; }
  .hero { padding: 60px 0 110px; }
  .hero-stats { gap: 26px; }
  .pro-card { flex-direction: column; text-align: center; }
  .socials { justify-content: center; }
  .result-cards { grid-template-columns: 1fr 1fr; }
  .r-card strong { font-size: 1.6rem; }
}

/* ============ PÁGINA SOBRE ============ */
.nav a.active { color: var(--gold-light); }
.btn-outline { border: 1.5px solid var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--black); }

.hero-sobre { text-align: left; padding: 70px 0 110px; }
.sobre-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.sobre-texto h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 20px 0 10px; }
.sobre-texto > p { color: #c4d3cb; font-size: 1.02rem; margin: 0 0 14px; max-width: 560px; }
.sobre-texto strong { color: var(--white); }
.digitando-linha { font-size: 1.2rem !important; color: var(--white) !important; min-height: 1.6em; }
.digitando { color: var(--gold-light); font-weight: 600; border-right: 2px solid var(--gold); padding-right: 3px; animation: cursor .8s steps(1) infinite; }
@keyframes cursor { 50% { border-color: transparent; } }
.hero-botoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.sobre-foto { position: relative; max-width: 380px; justify-self: center; width: 100%; }
.foto-moldura {
  border-radius: 24px; overflow: hidden; padding: 4px;
  background: linear-gradient(140deg, var(--gold), var(--green-500) 50%, var(--gold-light));
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  transition: transform .15s ease-out;
}
.foto-moldura img { width: 100%; height: auto; display: block; border-radius: 20px; }
.foto-selo {
  position: absolute; display: flex; flex-direction: column; line-height: 1.25;
  background: rgba(11,13,12,.88); backdrop-filter: blur(8px);
  border: 1px solid rgba(201,162,39,.45); border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.35); animation: flutuar 4s ease-in-out infinite;
}
.foto-selo strong { color: var(--gold-light); font-size: .9rem; }
.foto-selo span { color: #c4d3cb; font-size: .76rem; }
.selo-a { top: 12%; left: -40px; }
.selo-b { bottom: 10%; right: -40px; animation-delay: -2s; }
@keyframes flutuar { 50% { transform: translateY(-8px); } }

.sobre-main { margin-top: -60px; gap: 60px; }
.numeros {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--gray-300); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.numeros div { background: var(--white); padding: 26px 18px; text-align: center; display: flex; flex-direction: column; }
.numeros strong { font: 700 2.4rem 'Playfair Display', serif; color: var(--green-700); }
.numeros span { font-size: .84rem; color: var(--gray-600); }

.bloco-head { text-align: center; margin-bottom: 30px; }
.bloco-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--green-800); margin-top: 6px; }
.rotulo { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.pilares { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pilar {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow);
  border-bottom: 3px solid transparent; transition: transform .25s, border-color .25s;
}
.pilar:hover { transform: translateY(-6px); border-color: var(--gold); }
.pilar-icone {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--green-100); margin-bottom: 14px;
}
.pilar h3 { font-size: 1.12rem; color: var(--green-800); margin-bottom: 6px; }
.pilar p { font-size: .88rem; color: var(--gray-600); }

.desafio {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 34px 40px; border-radius: var(--radius); color: var(--white);
  background:
    radial-gradient(circle at 90% 50%, rgba(201,162,39,.3), transparent 50%),
    linear-gradient(120deg, var(--black), var(--green-800));
  border: 1px solid rgba(201,162,39,.4);
}
.desafio h2 { font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--gold-light); }
.desafio p { color: #c4d3cb; }
.desafio strong { color: var(--white); }

.timeline { list-style: none; position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--gold), var(--green-500));
}
.timeline li {
  position: relative; background: var(--white); border-radius: 16px; padding: 18px 22px;
  margin-bottom: 16px; box-shadow: var(--shadow); transition: transform .25s;
}
.timeline li.visible:hover { transform: translateX(6px); }
.timeline li::before {
  content: ''; position: absolute; left: -32px; top: 22px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gold); box-shadow: 0 0 0 4px var(--gray-100);
}
.tl-tag {
  display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--green-100); color: var(--green-700); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px;
}
.timeline h3 { font-size: 1.1rem; color: var(--green-800); }
.tl-local { font-size: .84rem; color: var(--gold); font-weight: 500; margin-bottom: 4px; }
.timeline p:not(.tl-local) { font-size: .88rem; color: var(--gray-600); }

.redes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rede-card {
  display: flex; gap: 20px; align-items: flex-start; text-decoration: none;
  padding: 28px; border-radius: var(--radius); color: var(--white);
  background: linear-gradient(145deg, var(--black), var(--green-900));
  border: 1px solid rgba(201,162,39,.25); transition: transform .25s, box-shadow .25s;
}
.rede-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6,40,26,.3); }
.rede-play {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); transition: transform .3s;
}
.rede-card:hover .rede-play { transform: scale(1.1) rotate(-8deg); }
.rede-play svg { width: 26px; height: 26px; fill: var(--black); }
.rede-card h3 { font-size: 1.3rem; margin: 4px 0 8px; }
.rede-card p { font-size: .9rem; color: #b8c7bf; margin-bottom: 12px; }
.rede-link { color: var(--gold-light); font-weight: 600; font-size: .9rem; }

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-texto { text-align: center; }
  .sobre-texto > p { margin-inline: auto; }
  .hero-botoes { justify-content: center; }
  .pilares { grid-template-columns: 1fr 1fr; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .redes-grid { grid-template-columns: 1fr; }
  .selo-a { left: -12px; }
  .selo-b { right: -12px; }
}
@media (max-width: 600px) {
  .pilares { grid-template-columns: 1fr; }
  .desafio { padding: 26px 22px; }
  .rede-card { flex-direction: column; }
}

/* Déficit máximo / meta limitada */
.goal-side .def-max { border: 1.5px dashed var(--gold); background: #fffaf0; }
.goal-card.limitado { border-color: var(--danger); }
.goal-card.limitado .def-max { border-style: solid; border-color: var(--danger); background: #fbe6e5; }
.goal-card.limitado .def-max strong { color: var(--danger); }
