/* Vigilleo 2026 — modern editorial layer. Content remains in index.html. */

:root,
[data-theme='light'] {
  --modern-ink: #102828;
  --modern-teal: #01696f;
  --modern-deep: #073f43;
  --modern-mint: #bfe0dc;
  --modern-paper: #f7f5f0;
  --modern-line: rgba(12, 78, 84, 0.14);
  --modern-glow: rgba(92, 177, 179, 0.22);
}

html { scroll-padding-top: 92px; }
body {
  background:
    radial-gradient(circle at 8% 6%, rgba(92,177,179,.10), transparent 24rem),
    var(--modern-paper);
}
main { display: flex; flex-direction: column; }
#topo { order: 0; }
#solucoes { order: 1; }
#seguranca { order: 2; }
#quem-somos { order: 3; }
#parcerias { order: 4; }
#origem { order: 5; }
#missao { order: 6; }
#clinicas { order: 7; }

.container { width: min(1240px, calc(100% - 48px)); }
.section { padding-block: clamp(72px, 9vw, 132px); }

/* Glass navigation */
.header {
  top: 14px;
  width: min(1240px, calc(100% - 28px));
  margin-inline: auto;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 22px;
  background: rgba(247,245,240,.82);
  box-shadow: 0 12px 45px rgba(7,63,67,.10);
  backdrop-filter: blur(20px) saturate(145%);
}
.header-inner { min-height: 74px; padding-inline: 20px; }
.brand-logo { width: 205px; height: 58px; }
.nav-links { gap: 4px; }
.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.nav-links a:hover { background: rgba(1,105,111,.08); }
.theme-toggle { border-radius: 999px; }
.btn { border-radius: 999px; min-height: 48px; padding-inline: 24px; }
.btn-sm { min-height: 42px; }

/* Immersive opening */
.hero {
  min-height: 92vh;
  margin-top: 0;
  padding-top: 126px;
  padding-bottom: 44px;
  color: #f6f3ee;
  background:
    radial-gradient(circle at 78% 34%, rgba(92,177,179,.30), transparent 25rem),
    radial-gradient(circle at 20% 105%, rgba(191,224,220,.12), transparent 32rem),
    linear-gradient(140deg, #082f33 0%, #0b5054 55%, #07383c 100%);
  border-radius: 0 0 44px 44px;
}
.hero-monitor-line { opacity: .18; }
.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
  gap: clamp(36px, 6vw, 84px);
}
.badge {
  background: rgba(255,255,255,.10);
  color: #cfe9e6;
  border-color: rgba(255,255,255,.20);
}
.hero-title {
  color: #f8f8f4;
  font-size: clamp(3rem, 6.1vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.045em;
  max-width: 11ch;
}
.hero-title em { color: #8dd0ca; }
.hero-lede {
  color: rgba(246,243,238,.76);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 620px;
}
.hero .btn-primary { background: #f6f3ee; color: #073f43; }
.hero .btn-primary:hover { background: #fff; }
.hero .btn-outline { color: #f6f3ee; border-color: rgba(255,255,255,.30); }
.hero .btn-outline:hover { background: rgba(255,255,255,.08); border-color: #8dd0ca; color: #fff; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top-color: rgba(255,255,255,.16);
  gap: 0;
}
.hero-stats > div { padding: 0 20px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stat-num { color: #8dd0ca; font-size: 14px; }
.hero-stat-label { color: rgba(246,243,238,.60); font-size: 12px; }
.hero-visual { min-height: 650px; }
.hero-visual-plate {
  width: min(520px, 94%);
  border-radius: 44% 56% 48% 52% / 58% 42% 58% 42%;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.03)),
    radial-gradient(circle at 40% 30%, rgba(191,224,220,.35), transparent 60%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 40px 90px rgba(0,0,0,.18);
}
.hero-vitinho { width: min(390px, 76%); max-height: 68vh; filter: drop-shadow(0 35px 40px rgba(0,0,0,.28)); }
.hero-visual-badge {
  position: absolute;
  z-index: 4;
  top: 15%;
  left: 4%;
  margin: 0;
  box-shadow: 0 14px 35px rgba(0,0,0,.16);
}
.hero-visual-callout {
  right: 5%; bottom: 12%; max-width: 220px;
  padding: 18px 20px;
  border-color: rgba(255,255,255,.28);
  background: rgba(247,245,240,.93);
  box-shadow: 0 24px 55px rgba(0,0,0,.20);
}

/* Shared editorial hierarchy */
.eyebrow { letter-spacing: .14em; }
.section-title {
  font-size: clamp(2.4rem, 4.5vw, 4.5rem) !important;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.section-head { margin-bottom: clamp(42px, 6vw, 72px); }

/* Focus services */
.expertise { background: transparent; }
.expertise-heading {
  grid-template-columns: 1.2fr .8fr;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--modern-line);
}
.expertise-heading .section-title { max-width: 12ch; }
.signature-service {
  position: relative;
  min-height: 430px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 34px;
  border: 0;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(7,63,67,.10);
}
.signature-service::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -110px; top: -100px;
  border-radius: 50%;
  border: 1px solid rgba(1,105,111,.14);
  box-shadow: 0 0 0 45px rgba(1,105,111,.04), 0 0 0 90px rgba(1,105,111,.025);
}
.signature-service.reverse {
  background: linear-gradient(145deg, #01696f, #08474b);
  box-shadow: 0 26px 80px rgba(1,105,111,.20);
}
.signature-service.reverse::after { border-color: rgba(255,255,255,.17); box-shadow: 0 0 0 45px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.025); }
.service-index { border: 0; background: rgba(1,105,111,.08); }
.reverse .service-index { background: rgba(255,255,255,.12); }
.service-copy, .service-note, .service-index { position: relative; z-index: 1; }
.service-copy h3 { font-size: clamp(2rem, 3.2vw, 3.4rem); max-width: 17ch; }
.service-note { align-self: end; backdrop-filter: blur(12px); }
.supporting-services { gap: 16px; }
.supporting-services > div {
  min-height: 225px;
  padding: 28px;
  border: 1px solid var(--modern-line);
  border-radius: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.supporting-services > div:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(7,63,67,.10); }
.scope-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  margin-top: 22px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 32px;
  background: linear-gradient(145deg, #e5f2ee, #f5f8f6);
  border: 1px solid rgba(1,105,111,.12);
}
.scope-panel-copy h3 {
  margin: 12px 0 16px;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}
.scope-panel-copy p { color: var(--modern-muted); }
.scope-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scope-tags li {
  padding: 11px 15px;
  border: 1px solid rgba(1,105,111,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--deep);
  font-size: .9rem;
  font-weight: 700;
}

/* Safety control-panel */
.safety {
  margin-inline: 14px;
  border-radius: 44px;
  background: #102e30;
  color: #f6f3ee;
}
.safety .eyebrow { color: #8dd0ca; }
.safety .section-title { color: #fff; max-width: 13ch; }
.safety-layout { gap: clamp(32px, 6vw, 80px); }
.safety-list { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: 28px; padding: 12px 28px; }
.safety-item { border-color: rgba(255,255,255,.10); padding-block: 26px; }
.safety-item h3 { color: #fff; }
.safety-item p { color: rgba(246,243,238,.65); }
.safety-icon { color: #8dd0ca; }
.safety-kpis { gap: 12px; }
.kpi { border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.06); border-radius: 24px; }
.kpi-num { color: #8dd0ca; }
.kpi p { color: rgba(246,243,238,.68); }
.regulatory { border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.04); }

/* Institutional bento */
#quem-somos { background: transparent; }
.about-grid { grid-template-columns: .78fr 1.22fr; align-items: stretch; }
.rt-portrait {
  position: relative;
  min-height: 680px;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: var(--deep);
  box-shadow: 0 30px 70px rgba(9, 43, 50, .18);
}
.rt-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 39, 47, .92) 100%);
  pointer-events: none;
}
.rt-portrait img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.rt-portrait-caption {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 4vw, 44px);
  right: clamp(24px, 4vw, 44px);
  bottom: clamp(24px, 4vw, 40px);
  color: white;
}
.rt-portrait-caption span,
.rt-portrait-caption small { display: block; }
.rt-portrait-caption span {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.rt-portrait-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}
.rt-portrait-caption small {
  margin-top: 12px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}
.rt-portrait-caption .rt-ai-note {
  margin-top: 8px;
  color: rgba(255,255,255,.52);
  font-size: .72rem;
}
.footer-medical-id {
  margin-top: 18px;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  line-height: 1.55;
}
.footer-contact-list { gap: 14px; }
.footer-contact-item span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.52);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-contact-item a { font-weight: 700; }
.rt-quote {
  margin: 28px 0 0;
  padding: 22px 24px;
  border: 0;
  border-left: 3px solid var(--teal);
  border-radius: 0 18px 18px 0;
  background: rgba(120,190,178,.12);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.45;
}
.about-figure-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 34px;
  background:
    radial-gradient(circle at 65% 15%, rgba(141,208,202,.48), transparent 40%),
    linear-gradient(155deg, #01696f, #073f43);
  box-shadow: 0 28px 65px rgba(7,63,67,.18);
}
.about-body .section-title { max-width: 13ch; }
.about-pillars { gap: 12px; }
.pillar { padding: 22px; border: 1px solid var(--modern-line); border-radius: 20px; background: rgba(255,255,255,.52); }

/* Partnership journey */
#parcerias { background: #e8efec; border-radius: 44px 44px 0 0; }
.timeline-intro { align-items: end; }
.timeline-step { min-height: 270px; border: 0; border-radius: 24px; box-shadow: 0 15px 35px rgba(7,63,67,.08); }
.timeline-step-num { width: 42px; height: 42px; border-radius: 14px; }

/* Story and values remain complete but quieter */
.origin { background: #f0ede6; }
.origin-word-card { border: 0; border-radius: 24px; box-shadow: 0 12px 30px rgba(7,63,67,.06); }
.origin-mark svg { filter: drop-shadow(0 24px 40px rgba(1,105,111,.14)); }
.mvv-grid { grid-template-columns: .85fr .85fr 1.3fr; }
.mvv-card { border: 0; border-radius: 28px; box-shadow: 0 14px 35px rgba(7,63,67,.07); }

/* Strong final conversion */
#clinicas { background: transparent; }
.partner-cta {
  border-radius: 38px;
  background:
    radial-gradient(circle at 85% 18%, rgba(141,208,202,.30), transparent 24rem),
    linear-gradient(145deg, #073f43, #01696f);
  box-shadow: 0 34px 90px rgba(7,63,67,.20);
}
.partner-visual img { max-height: 530px; }
.footer { margin: 0 14px 14px; border-radius: 40px; }

@media (max-width: 1050px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr 390px; }
  .hero-title { font-size: clamp(3rem, 6.5vw, 4.8rem); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, 720px); }
  .header { top: 8px; width: calc(100% - 16px); border-radius: 18px; }
  .header-inner { min-height: 68px; padding-inline: 12px; }
  .brand-logo { width: 155px; height: 50px; }
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { width: 42px; height: 42px; min-height: 42px; padding: 0; }
  .hero { min-height: auto; padding-top: 110px; border-radius: 0 0 30px 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { display: contents; }
  .hero-title { order: 1; font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero-lede { order: 2; }
  .hero-ctas { order: 3; }
  .hero-visual { order: 4; min-height: 500px; }
  .hero-stats { order: 5; }
  .hero-vitinho { max-height: 520px; }
  .hero-visual-badge { top: 10%; left: 8%; }
  .hero-visual-callout { right: 7%; bottom: 10%; }
  .expertise-heading, .about-grid, .origin-inner, .mvv-grid { grid-template-columns: 1fr; }
  .scope-panel { grid-template-columns: 1fr; }
  .about-figure { position: relative; top: auto; }
  .rt-portrait, .rt-portrait img { min-height: 560px; }
  .signature-service { grid-template-columns: 1fr; min-height: 0; }
  .service-note { align-self: auto; }
  .safety { margin-inline: 8px; border-radius: 30px; }
  .footer { margin-inline: 8px; border-radius: 28px; }
}

@media (max-width: 560px) {
  .section { padding-block: 72px; }
  .container { width: calc(100% - 28px); }
  .hero-title { font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .hero-stats > div:first-child { border-top: 0; }
  .hero-visual { min-height: 455px; }
  .hero-visual-plate { width: 100%; }
  .hero-vitinho { width: 72%; }
  .hero-visual-callout { max-width: 170px; padding: 14px; }
  .section-title { font-size: 2.55rem !important; }
  .signature-service { padding: 28px 22px; border-radius: 26px; }
  .service-copy h3 { font-size: 2rem; }
  .service-points { grid-template-columns: 1fr; }
  .supporting-services { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
