/* DESIGN SYSTEM DO SITE INSTITUCIONAL DR. MURILO OLIVEIRA
   Azuis (#89ACE1 / #6D8FC3 / #4F76A6 / #1A3E79), ameixa (#6E1244 / #7A035B), Nunito + Playwrite NG Modern (títulos em script) */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(/fonts/nunito-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url(/fonts/nunito-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/fonts/nunito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(/fonts/nunito-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Playwrite NG Modern"; font-weight: 300; font-display: swap; src: url(/fonts/playwrite-ng-modern-latin-300-normal.woff2) format("woff2"); }

:root {
  --plum: #6e1244;
  --plum-logo: #7a035b;
  --pink: #cb6b97;
  --blue-1: #89ace1;
  --blue-2: #6d8fc3;
  --blue-3: #4f76a6;
  --navy: #1a3e79;
  --navy-d: #12305f;
  --ice: #d0dff0;
  --ice-2: #eef3fa;
  --gray: #f4f4f4;
  --ink: #33373d;
  --text-blue: #285779;
  --title-blue: #324f6e;
  --white: #fff;
  --wa: #25d366;
  --radius: 28px;
  --shadow: 0 18px 50px -24px rgba(26, 62, 121, 0.45);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Playwrite NG Modern", "Nunito", cursive;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - var(--pad) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

/* ---------- tipografia ---------- */
.script { font-family: var(--script); font-weight: 300; color: var(--title-blue); letter-spacing: -0.01em; }
.h2 { font-weight: 800; color: var(--plum); font-size: clamp(25px, 4.4vw, 40px); letter-spacing: -0.015em; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-3); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-blue); font-weight: 600; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--plum); color: #ffe6f1; font-weight: 800; letter-spacing: 0.01em; text-decoration: none; padding: 14px 26px; border-radius: 100px; border: 2px solid var(--plum); font-size: 16px; transition: transform 0.25s, background 0.25s, box-shadow 0.25s; box-shadow: 0 10px 26px -12px rgba(110, 18, 68, 0.7); }
.btn:hover { background: #8a1857; border-color: #8a1857; transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 18px; }
.btn--sm { padding: 10px 18px; font-size: 15px; box-shadow: none; white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--plum); box-shadow: none; }
.btn--ghost:hover { background: var(--plum); color: #ffe6f1; }
.btn--light { background: #fff; color: var(--plum); border-color: #fff; }
.btn--light:hover { background: var(--ice-2); border-color: var(--ice-2); }

/* ---------- topo ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(137, 172, 225, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.top__logo img { width: 118px; height: auto; }
.top__nav { display: none; }
.top__nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 100px; }
.top__nav a:hover { background: rgba(255, 255, 255, 0.2); }
.top .btn--sm { background: #fff; color: var(--plum); border-color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 112px 0 64px; background: linear-gradient(180deg, var(--ice) 0%, #f4f8fd 70%, #fff 100%); overflow: hidden; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb--a { width: 520px; height: 520px; right: -180px; top: -140px; background: var(--blue-1); opacity: 0.35; }
.orb--b { width: 300px; height: 300px; left: -120px; bottom: -60px; background: var(--blue-2); opacity: 0.2; }
.orb--c { width: 560px; height: 560px; right: -220px; bottom: -260px; background: var(--blue-2); opacity: 0.35; }
.hero__grid { position: relative; display: grid; gap: 36px; }
.hero__txt { display: flex; flex-direction: column; gap: 4px; }
.hero h1 { font-size: clamp(34px, 8vw, 58px); line-height: 1.35; margin-bottom: 18px; }
.hero__lead { font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; color: var(--text-blue); line-height: 1.45; max-width: 36ch; margin-bottom: 28px; }
.hero__cta .btn { width: 100%; }
.hero__note { margin: 14px 0 0; font-size: 14.5px; color: var(--text-blue); text-align: center; font-weight: 600; }
.hero__fig { position: relative; margin: 0; width: min(440px, 88%); justify-self: center; }
.hero__fig img { position: relative; border-radius: 220px 220px 36px 36px; box-shadow: var(--shadow); aspect-ratio: 700 / 738; object-fit: cover; }
.hero__ring { position: absolute; inset: -16px -16px 38px 24px; border: 2px solid var(--blue-2); border-radius: 220px 220px 36px 36px; opacity: 0.7; }
.hero__id { position: relative; margin: -34px auto 0; width: calc(100% - 28px); background: #fff; border-radius: 22px; padding: 14px 18px; display: grid; gap: 2px; box-shadow: var(--shadow); font-size: 14px; color: var(--text-blue); }
.hero__id strong { font-size: 19px; color: var(--plum); font-weight: 800; }
.hero__id small { font-weight: 700; color: var(--blue-3); letter-spacing: 0.02em; font-size: 13px; }

/* ---------- seções ---------- */
.sec { padding: clamp(60px, 9vw, 112px) 0; position: relative; }
.sec--white { background: #fff; }
.sec--ice { background: var(--ice-2); }
.sec--blue { background: var(--navy); color: #fff; overflow: hidden; }
.sec__head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 52px); }
.sec__head--light .h2 { color: #fff; }
.sec__head--light .eyebrow { color: var(--blue-1); }
.sec__head--light .lead { color: #dbe7f8; margin-top: 18px; }

/* identificação */
.ident { display: grid; gap: 40px; align-items: center; }
.ident__main .h2 { font-size: clamp(23px, 3.6vw, 34px); line-height: 1.3; }
.ident__main .lead { margin-top: 18px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fact { background: var(--ice-2); border-radius: var(--radius); padding: 26px 28px; display: grid; gap: 10px; border: 1px solid var(--ice); }
.fact:nth-child(2) { background: var(--navy); color: #fff; border-color: var(--navy); }
.fact:nth-child(2) .fact__n { color: var(--blue-1); }
.fact__n { font-weight: 800; font-size: clamp(50px, 8vw, 72px); line-height: 1; color: var(--plum); letter-spacing: -0.03em; }
.fact__n small { font-size: 0.38em; letter-spacing: 0; margin-left: 4px; }
.fact p { margin: 0; font-weight: 600; }

/* entendendo */
.compare { display: grid; gap: 18px; margin-bottom: 26px; }
.card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--ice); box-shadow: 0 14px 40px -28px rgba(26, 62, 121, 0.5); }
.card p:last-child { margin: 0; }
.card--fiv { background: var(--plum); color: #fde8f2; border-color: var(--plum); }
.card__tag { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-3); margin-bottom: 12px; }
.card--fiv .card__tag { color: #f4b7d3; }
.note { max-width: 820px; color: var(--text-blue); font-weight: 600; }
.history { display: flex; gap: 22px; align-items: center; margin: 40px 0; padding: 22px 0; border-block: 1px solid var(--ice); }
.history p { margin: 0; max-width: 56ch; }
.history__year { font-family: var(--script); font-weight: 300; font-size: clamp(38px, 7vw, 64px); color: var(--blue-2); line-height: 1; }
.statement { margin: 0; font-family: var(--script); font-weight: 300; font-size: clamp(21px, 3.6vw, 34px); line-height: 1.55; color: var(--title-blue); max-width: 30em; }

/* indicações */
.ind { display: grid; gap: 36px; }
.ind__intro .lead { margin-block: 18px 14px; }
.ind__intro .btn { margin-top: 10px; }
.ind__list { list-style: none; counter-reset: ind; margin: 0; padding: 0; display: grid; }
.ind__list li { counter-increment: ind; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--ice); font-weight: 600; color: var(--ink); }
.ind__list li::before { content: counter(ind, decimal-leading-zero); font-weight: 800; color: var(--blue-2); font-size: 15px; padding-top: 3px; letter-spacing: 0.04em; }

/* jornada */
.sec--blue::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -240px; top: -200px; background: var(--blue-3); opacity: 0.45; }
.steps { list-style: none; margin: 0 0 clamp(48px, 7vw, 84px); padding: 0; position: relative; display: grid; gap: 30px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: rgba(255, 255, 255, 0.25); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; }
.step__n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--plum); font-weight: 800; display: grid; place-items: center; font-size: 18px; box-shadow: 0 0 0 6px var(--navy); }
.step__body { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 24px; padding: 24px 26px; }
.step h3 { font-size: clamp(20px, 3vw, 25px); font-weight: 800; margin-bottom: 10px; }
.step h3 small { font-weight: 600; font-size: 0.65em; color: var(--blue-1); }
.step p { color: #e6eefb; }
.step details { margin-top: 6px; }
.step summary { cursor: pointer; font-weight: 800; color: var(--blue-1); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.step summary::-webkit-details-marker { display: none; }
.step summary::after { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 16px; line-height: 1; }
.step details[open] summary::after { content: "–"; }
.step details p { margin-top: 12px; }
.tech { background: #fff; color: var(--ink); border-radius: 34px; padding: clamp(26px, 5vw, 52px); }
.tech__t { font-size: clamp(24px, 4vw, 34px); font-weight: 800; color: var(--plum); margin-bottom: 12px; }
.tech__lead { max-width: 70ch; color: var(--text-blue); font-weight: 600; }
.tech__list { margin: 24px 0 0; display: grid; gap: 20px; }
.tech__list > div { border-left: 3px solid var(--blue-1); padding-left: 18px; }
.tech__list dt { font-weight: 800; color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.tech__list dd { margin: 0; }

/* sobre */
.about__grid { display: grid; gap: 30px; align-items: center; }
.about__fig { width: min(380px, 80%); justify-self: center; }
.about__txt .h2 { margin-bottom: 8px; }
.about__role { font-family: var(--script); font-weight: 300; font-size: clamp(17px, 2.6vw, 22px); line-height: 1.7; color: var(--title-blue); }
.creds { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.creds li { padding-left: 24px; position: relative; font-weight: 600; }
.creds li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--plum); }
.creds b { color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chips span { background: #fff; border: 1px solid var(--blue-1); color: var(--navy); font-weight: 800; font-size: 13.5px; padding: 6px 14px; border-radius: 100px; letter-spacing: 0.03em; }
.story { display: grid; gap: 30px; margin-top: clamp(44px, 7vw, 84px); align-items: center; }
.story__fig { margin: 0; }
.story__fig img { border-radius: 34px 34px 120px 34px; box-shadow: var(--shadow); }
.story__kicker { font-family: var(--script); font-weight: 300; font-size: clamp(22px, 3.6vw, 32px); color: var(--plum); line-height: 1.5; }
.story .btn { margin-top: 8px; }

/* diferenciais */
.dif { display: grid; gap: 18px; }
.dif__i { border-radius: var(--radius); padding: 30px; background: var(--ice-2); border: 1px solid var(--ice); }
.dif__i:nth-child(2) { background: var(--plum); color: #fde8f2; border-color: var(--plum); }
.dif__i:nth-child(2) h3, .dif__i:nth-child(2) svg { color: #fff; }
.dif__i svg { width: 46px; height: 46px; color: var(--blue-3); margin-bottom: 16px; }
.dif__i h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.dif__i p { margin: 0; }

/* faq */
.faq { max-width: 860px; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--ice); border-radius: 20px; padding: 0 24px; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 800; color: var(--navy); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ice-2); color: var(--plum); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { content: "–"; background: var(--plum); color: #fff; }
.faq details[open] { border-color: var(--blue-1); box-shadow: 0 12px 34px -26px rgba(26, 62, 121, 0.7); }
.faq details p { margin: 0 0 1em; padding-right: 8px; }
.faq details p:last-child { margin-bottom: 22px; }

/* chamada final */
.final { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%); color: #fff; padding: clamp(70px, 10vw, 128px) 0; text-align: center; }
.final__in { position: relative; max-width: 760px; }
.final__t { font-size: clamp(32px, 7vw, 58px); color: #fff; line-height: 1.4; margin-bottom: 20px; }
.final__lead { font-size: clamp(18px, 2.4vw, 22px); color: #dbe7f8; font-weight: 600; margin-bottom: 30px; }
.final__note { margin: 22px 0 0; color: #dbe7f8; font-weight: 600; }
.final__note a { color: #fff; font-weight: 800; font-size: 20px; }

/* rodapé */
.foot { background: var(--navy-d); color: #cfdcf2; padding: 56px 0 28px; font-size: 15.5px; }
.foot__grid { display: grid; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.foot__brand img { width: 190px; height: auto; }
.foot h3 { color: #fff; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.foot p { margin: 0 0 8px; }
.foot a { color: #fff; text-underline-offset: 3px; }
.foot__legal { padding-top: 24px; font-size: 13.5px; line-height: 1.6; color: #b9c9e4; }
.foot__legal b { color: #fff; }

/* whatsapp flutuante + consentimento */
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; z-index: 60; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.45); transition: transform 0.25s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 82px; z-index: 70; background: #fff; border: 1px solid var(--ice); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 12px; font-size: 14px; line-height: 1.5; max-width: 620px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }

/* revelar ao rolar (leve) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } .btn, .wa-float { transition: none; } }

/* ---------- telas maiores ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .hero__cta .btn { width: auto; }
  .hero__note { text-align: left; }
  .compare { grid-template-columns: 1fr 1fr; }
  .dif { grid-template-columns: 1fr 1fr; }
  .tech__list { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
  .foot__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .consent { grid-template-columns: 1fr auto; align-items: center; left: 20px; right: auto; bottom: 20px; }
}
@media (min-width: 960px) {
  .top__nav { display: flex; gap: 4px; }
  .top__logo img { width: 150px; }
  .hero { padding: 132px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; }
  .hero__fig { width: min(480px, 100%); justify-self: end; }
  .ident { grid-template-columns: 1.25fr 0.75fr; gap: 64px; }
  .ind { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .ind__intro { position: sticky; top: 100px; }
  .steps { gap: 36px; }
  .step { grid-template-columns: 64px 1fr; gap: 28px; }
  .step__n { width: 64px; height: 64px; font-size: 24px; }
  .steps::before { left: 31px; }
  .step__body { padding: 30px 36px; }
  .about__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .about__fig { width: min(430px, 100%); }
  .story { grid-template-columns: 1fr 1fr; gap: 64px; }
  .dif { grid-template-columns: repeat(4, 1fr); }
  .dif__i { padding: 28px 24px; }
}
