/* === Gestação / DPP — visual exclusivo === */
.gesta-page .gesta-app { padding: 20px; }

.gesta-input-card { background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%); border: 2px solid #fbcfe8; border-radius: 14px; padding: 22px; margin-bottom: 22px; text-align: center; }
.gesta-input-card label { display: block; }
.gesta-input-label { display: block; font-size: 14px; font-weight: 700; color: #831843; margin-bottom: 10px; }
.gesta-input-date { font-size: 22px; padding: 14px 20px; border: 2px solid #f9a8d4; border-radius: 12px; font-weight: 700; color: #831843; text-align: center; background: #fff; cursor: pointer; }
.gesta-input-date:focus { outline: 2px solid #ec4899; outline-offset: 2px; border-color: #ec4899; }
.gesta-input-help { font-size: 12.5px; color: #9d174d; margin: 10px 0 0; line-height: 1.5; }

/* Resultado destaque */
.gesta-result-hero { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); color: #fff; border-radius: 18px; padding: 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: center; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(236,72,153,0.25); }
.gesta-result-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; font-weight: 600; }
.gesta-result-value { font-size: 44px; font-weight: 900; line-height: 1.1; margin: 4px 0; letter-spacing: -1px; }
.gesta-result-sub { font-size: 15px; opacity: 0.92; }
.gesta-result-baby { text-align: center; background: rgba(255,255,255,0.15); border-radius: 14px; padding: 16px; }
.gesta-baby-icon { font-size: 56px; line-height: 1; transition: transform .3s; }
.gesta-baby-size { font-size: 13px; margin-top: 6px; opacity: 0.95; }

/* DPP card */
.gesta-dpp-card { background: #fff; border: 2px solid #fce7f3; border-radius: 14px; padding: 18px 22px; display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.gesta-dpp-icon { font-size: 38px; }
.gesta-dpp-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gesta-dpp-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; color: #831843; font-weight: 700; }
.gesta-dpp-value { font-size: 26px; font-weight: 800; color: #be185d; }
.gesta-dpp-sub { font-size: 13px; color: #9d174d; }

/* Timeline */
.gesta-timeline-wrap { margin-bottom: 22px; }
.gesta-timeline-wrap h3, .gesta-marcos-wrap h3, .gesta-details-wrap h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; color: #0f172a; }
.gesta-timeline { position: relative; display: flex; height: 56px; border-radius: 999px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); margin-top: 38px; }
.gesta-timeline-tri { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.gesta-timeline-tri span { font-size: 13px; }
.gesta-timeline-tri small { font-size: 10px; opacity: 0.9; }
.tri-1 { flex: 13; background: linear-gradient(90deg, #fbcfe8, #f9a8d4); }
.tri-2 { flex: 14; background: linear-gradient(90deg, #f472b6, #ec4899); }
.tri-3 { flex: 13; background: linear-gradient(90deg, #db2777, #be185d); }

.gesta-timeline-marker { position: absolute; top: -32px; transform: translateX(-50%); pointer-events: none; transition: left .5s cubic-bezier(.4,0,.2,1); text-align: center; }
.gesta-marker-pin { display: inline-block; font-size: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.gesta-marker-label { display: block; font-size: 11px; font-weight: 800; color: #831843; background: #fff; padding: 2px 8px; border-radius: 999px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); margin-top: 2px; white-space: nowrap; }
.gesta-marker-pin::after { content: ''; display: block; width: 3px; height: 22px; background: #831843; margin: 4px auto 0; border-radius: 2px; }

.gesta-timeline-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: #94a3b8; font-weight: 600; padding: 0 4px; }

/* Marcos */
.gesta-marcos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gesta-marco { background: #fff; border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px; transition: all .25s; }
.gesta-marco.passou { border-color: #16a34a; background: #f0fdf4; }
.gesta-marco.passou .gesta-marco-status { color: #16a34a; }
.gesta-marco.atual { border-color: #ec4899; background: #fdf2f8; box-shadow: 0 6px 16px rgba(236,72,153,0.18); }
.gesta-marco.atual .gesta-marco-status { color: #ec4899; }
.gesta-marco.futuro { opacity: 0.65; }
.gesta-marco.futuro .gesta-marco-status { color: #94a3b8; }
.gesta-marco-icon { font-size: 24px; }
.gesta-marco-week { font-size: 12px; color: #64748b; font-weight: 700; margin-top: 4px; }
.gesta-marco-title { font-size: 13.5px; font-weight: 700; color: #0f172a; margin-top: 2px; }
.gesta-marco-desc { font-size: 12px; color: #475569; line-height: 1.45; margin-top: 4px; }
.gesta-marco-status { font-size: 11px; font-weight: 700; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.3px; }

/* Details table */
.gesta-details-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.gesta-details-table td { padding: 12px 14px; border-top: 1px solid #f1f5f9; font-size: 14px; }
.gesta-details-table td:first-child { color: #475569; }
.gesta-details-table td:last-child { text-align: right; font-weight: 700; color: #0f172a; }
.gesta-details-table tr:first-child td { border-top: 0; }

.gesta-content { margin-top: 20px; }
.gesta-content h2 { margin-top: 0; }
.gesta-content p { color: #475569; line-height: 1.7; margin: 0 0 14px; }

@media (max-width: 820px) {
  .gesta-result-hero { grid-template-columns: 1fr; padding: 22px; text-align: center; }
  .gesta-result-value { font-size: 32px; }
  .gesta-baby-icon { font-size: 48px; }
  .gesta-dpp-card { flex-direction: column; text-align: center; gap: 8px; padding: 16px; }
  .gesta-dpp-value { font-size: 22px; }
  .gesta-timeline-tri span { font-size: 11px; }
  .gesta-timeline-tri small { display: none; }
  .gesta-timeline-scale span:nth-child(odd) { display: none; }
}
