/* ═══════════════════════════════════════════════════
   Grupo Dermatis — Landing / Profile Pages
   Navy monocromo · Inter + Newsreader · Silencioso
   ═══════════════════════════════════════════════════ */

:root {
  --navy: #0B1F3A;
  --navy-90: rgba(11,31,58,.9);
  --navy-60: rgba(11,31,58,.6);
  --navy-40: rgba(11,31,58,.4);
  --navy-15: rgba(11,31,58,.15);
  --navy-08: rgba(11,31,58,.08);
  --navy-04: rgba(11,31,58,.04);
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --panel: #F7F8FA;
  --line: rgba(11,31,58,.1);
  --line-strong: rgba(11,31,58,.15);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,31,58,.06);
  --shadow-lg: 0 8px 32px rgba(11,31,58,.08);
  --max: 1080px;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ─── TOPBAR ─── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; gap: 16px; min-height: 60px;
}
.topbar__back {
  font-size: 13px; font-weight: 500; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: .01em;
}
.topbar__back:hover { opacity: .7; }
.topbar__back svg { width: 16px; height: 16px; }
.topbar__brand {
  margin-left: auto; font-size: 12px; color: var(--navy-40);
  letter-spacing: .02em;
}
.topbar__brand strong { color: var(--navy-60); font-weight: 500; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .15s ease;
  letter-spacing: .01em;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--navy); color: var(--white);
}
.btn--primary:hover { background: #162d4a; }
.btn--ghost {
  background: transparent; color: var(--navy);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--navy-04); }
.btn--ghost-dark {
  background: transparent; color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.2);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,.06); color: #fff; }
.btn--white { background: var(--white); color: var(--navy); font-weight: 600; }
.btn--white:hover { background: var(--panel); }

/* ─── PROFILE HERO ─── */
.profile-hero { padding: 56px 0 44px; }
.profile-hero__grid {
  display: grid; grid-template-columns: .38fr .62fr; gap: 48px; align-items: start;
}
.profile-hero__photo {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.profile-hero__photo img {
  width: 100%; height: auto; aspect-ratio: 3/4;
  object-fit: cover; object-position: center 20%;
}
.profile-hero__eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-40); margin-bottom: 14px;
}
.profile-hero h1 {
  font-family: var(--serif); font-size: 38px; line-height: 1.12;
  font-weight: 400; letter-spacing: -.02em; margin-bottom: 10px;
}
.profile-hero__subtitle {
  font-size: 15px; color: var(--navy-60); margin-bottom: 20px; line-height: 1.6;
}
.profile-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.tag {
  font-size: 11px; font-weight: 500;
  background: var(--navy-04); color: var(--navy-60);
  border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px;
  letter-spacing: .01em;
}
.profile-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }

/* Info rows */
.info-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--navy-40); margin-bottom: 8px;
}
.info-row svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .4; }

/* Highlight cards */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.highlight-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px; text-align: center;
}
.highlight-card__num {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: var(--navy); line-height: 1;
}
.highlight-card__label {
  font-size: 11px; color: var(--navy-40); margin-top: 6px; letter-spacing: .02em;
}

/* ─── SECTIONS ─── */
.section { padding: 56px 0; }
.section--alt {
  background: var(--panel);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section__label {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-40); margin-bottom: 12px;
}
.section__title {
  font-family: var(--serif); font-size: 26px; line-height: 1.2;
  font-weight: 400; letter-spacing: -.015em; margin-bottom: 20px;
}

/* Two column content */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.content-block h3 {
  font-size: 13px; font-weight: 600; margin-bottom: 12px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy-60);
}
.content-block p {
  font-size: 14px; color: var(--navy-60); line-height: 1.75; margin-bottom: 14px;
}
.content-block ul { padding-left: 18px; margin-bottom: 14px; }
.content-block li {
  font-size: 13.5px; color: var(--navy-60); line-height: 1.65; margin-bottom: 5px;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  position: relative; padding: 16px 0 16px 20px;
  border-bottom: 1px solid var(--line);
}
.timeline-item::before {
  content: ''; position: absolute; left: 0; top: 22px;
  width: 6px; height: 6px; border-radius: 999px;
  border: 1.5px solid var(--navy-40); background: transparent;
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-content h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.timeline-content p { font-size: 12.5px; color: var(--navy-40); line-height: 1.55; }

/* CTA banner */
.cta-banner {
  background: var(--navy); border-radius: var(--radius);
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-banner h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: white; margin-bottom: 8px; line-height: 1.25;
}
.cta-banner p { font-size: 13.5px; color: rgba(255,255,255,.5); max-width: 420px; }

/* Footer */
.footer { padding: 24px 0; border-top: 1px solid var(--line); }
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.footer__inner a { font-size: 12.5px; color: var(--navy-40); }
.footer__inner a:hover { color: var(--navy); }
.footer__inner span { font-size: 12px; color: var(--navy-40); }

/* Mobile CTA */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line); gap: 10px;
}
.mobile-cta__btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: var(--radius-sm);
  font-family: var(--sans); font-weight: 600; font-size: 13.5px;
  text-decoration: none; border: 1px solid transparent;
}
.mobile-cta__btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.mobile-cta__btn--primary { background: var(--navy); color: var(--white); }
.mobile-cta__btn--ghost {
  background: transparent; color: var(--navy);
  border-color: var(--line-strong);
}

@media (max-width: 820px) {
  .profile-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-hero__photo { max-width: 360px; }
  .profile-hero h1 { font-size: 30px; }
  .two-col { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cta-banner { flex-direction: column; padding: 32px 28px; text-align: center; }
  .cta-banner p { margin: 0 auto; }
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .highlights { grid-template-columns: 1fr 1fr 1fr; }
  .highlight-card { padding: 14px 10px; }
  .highlight-card__num { font-size: 20px; }
}
