
/* ─────────────────────────────────────────────────────────────────────────
   Estrutura e escala visual: template Pluggo (Webflow)
   Paleta e marca: Medicalsys (extraída de medicalsys.com.br)
   ───────────────────────────────────────────────────────────────────────── */
:root{
  /* base escura, construída sobre o petróleo da marca */
  --bg:#03181D;
  --bg-2:#02272F;
  --surface:#0A2F38;
  --surface-2:#10404B;
  --stroke:rgba(255,255,255,.10);
  --stroke-2:rgba(255,255,255,.18);
  /* marca */
  --teal:#23B4A7;
  --teal-bright:#3CDABF;
  --teal-deep:#189C90;
  --gold:#E3A917;
  --gold-dark:#AD851F;
  --grad-gold:linear-gradient(270deg,#AD851F 0%,#E3A917 100%);
  /* texto */
  --text:#FFFFFF;
  --text-2:rgba(255,255,255,.66);
  --text-3:rgba(255,255,255,.45);
  /* geometria (Pluggo) */
  --r-card:16px;
  --r-lg:24px;
  --r-pill:100px;
  --r-btn:56px;
  --wrap:1305px;
  --sec:140px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:'Inter',system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
section{padding:var(--sec) 0}

/* tipografia na escala do Pluggo */
h1{font-size:clamp(34px,4.7vw,64px);font-weight:500;line-height:1.1;letter-spacing:-.02em}
h2{font-size:clamp(28px,3.8vw,52px);font-weight:500;line-height:1.22;letter-spacing:-.02em}
h3{font-size:clamp(20px,2vw,26px);font-weight:500;line-height:1.3;letter-spacing:-.01em}
p{color:var(--text-2)}
.dim{color:var(--text-3)}
.ac{color:var(--teal-bright)}

/* pill de seção */
.pill{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-pill);padding:11px 18px;font-size:13px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--text-2)}
.pill i{width:6px;height:6px;border-radius:50%;background:var(--teal-bright)}

/* botões */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:54px;padding:0 28px;border:0;border-radius:var(--r-btn);font-family:inherit;font-size:15.5px;font-weight:500;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;white-space:nowrap}
.btn-gold{background:var(--grad-gold);color:#fff;box-shadow:0 8px 24px rgba(227,169,23,.26)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(227,169,23,.38)}
.btn-line{background:transparent;color:var(--text);border:1px solid var(--stroke-2)}
.btn-line:hover{background:var(--surface);border-color:var(--teal)}
.btn-sm{height:44px;padding:0 20px;font-size:14px}

/* ── NAV ──────────────────────────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:60;background:rgba(3,24,29,.82);backdrop-filter:blur(14px);border-bottom:1px solid var(--stroke)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;height:82px}
.brand{display:flex;align-items:center;gap:11px}
.brand img{width:40px;height:40px;border-radius:12px}
.brand b{font-size:21px;font-weight:600;letter-spacing:-.02em}
.brand b i{font-style:normal;font-weight:400;color:var(--teal-bright)}
.menu{display:flex;align-items:center;gap:4px;background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-pill);padding:5px}
.menu a{padding:9px 17px;border-radius:var(--r-pill);font-size:14.5px;color:var(--text-2);transition:.18s}
.menu a:hover{color:var(--text)}
.menu a.on{background:var(--bg-2);color:var(--text);border:1px solid var(--stroke)}
.nav-r{display:flex;align-items:center;gap:10px}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero{position:relative;text-align:center;padding:96px 0 0;overflow:hidden}
.hero::before{content:"";position:absolute;top:-320px;left:50%;transform:translateX(-50%);width:1100px;height:760px;background:radial-gradient(closest-side,rgba(35,180,167,.24),transparent 72%);pointer-events:none}
.hero .wrap{position:relative;z-index:1}
.hero h1{max-width:20ch;margin:26px auto 0;font-size:clamp(31px,4vw,54px)}
.hero .sub{max-width:620px;margin:24px auto 0;font-size:17px}
/* ── Formulário progressivo do hero (card branco) ─────────────────────── */
.lead{max-width:520px;margin:38px auto 0;background:#fff;color:var(--ink,#02272F);border-radius:22px;
  padding:26px 26px 20px;text-align:left;box-shadow:0 0 0 6px rgba(35,180,167,.16),0 26px 60px rgba(0,0,0,.5)}
.lead-top{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.lead-count{flex:0 0 auto;font-size:12.5px;font-weight:500;color:#5E7278;white-space:nowrap}
.lead-count b{color:#02272F;font-weight:700}
.lead-bar{flex:1;height:6px;border-radius:99px;background:#E6EAEB;overflow:hidden}
.lead-bar i{display:block;height:100%;width:16.66%;border-radius:99px;background:linear-gradient(90deg,#189C90,#3CDABF);transition:width .32s cubic-bezier(.4,0,.2,1)}
.lead-stage{position:relative;min-height:122px}
.q{display:none;animation:qIn .28s cubic-bezier(.2,.7,.3,1)}
.q.is-on{display:block}
@keyframes qIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
.q label{display:block;font-size:18px;font-weight:600;color:#02272F;line-height:1.35;margin-bottom:14px;letter-spacing:-.01em}
.q input,.q select{width:100%;height:56px;background:#F4F7F7;border:1.5px solid #D3DCDE;border-radius:12px;
  padding:0 18px;font-family:inherit;font-size:16px;color:#02272F;outline:0;transition:border-color .18s,box-shadow .18s,background .18s}
.q input::placeholder{color:#8A9BA0}
.q input:hover,.q select:hover{border-color:#B4C2C5}
.q input:focus,.q select:focus{background:#fff;border-color:#189C90;box-shadow:0 0 0 4px rgba(24,156,144,.16)}
.q select{appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23677D82' stroke-width='2.4'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 16px center;background-size:20px;padding-right:46px}
.lead-err{min-height:20px;margin-top:9px;font-size:13px;color:#C2410C;font-weight:500}
.lead-foot{display:flex;align-items:center;gap:12px;margin-top:6px}
.lead-back{flex:0 0 auto;height:54px;padding:0 18px;background:transparent;border:0;border-radius:var(--r-btn);
  font-family:inherit;font-size:14.5px;font-weight:500;color:#5E7278;cursor:pointer;transition:color .18s,background .18s}
.lead-back:hover{color:#02272F;background:#F4F7F7}
.lead-next{flex:1}
.lead-fine{margin-top:14px;font-size:11.5px;line-height:1.55;color:#8A9BA0;text-align:center}
.lead-ok{text-align:center;padding:12px 4px}
.lead-ok-ic{width:52px;height:52px;margin:0 auto 16px;border-radius:50%;background:#E9F7F4;color:#189C90;display:grid;place-items:center;font-size:25px;font-weight:700}
.lead-ok h3{font-size:20px;color:#02272F;font-weight:600}
.lead-ok p{margin-top:10px;font-size:14.5px;color:#5E7278;line-height:1.6}
.hero .fine{margin-top:16px;font-size:13px;color:var(--text-3)}
.trust{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 26px;margin-top:34px;font-size:13.5px;color:var(--text-2)}
.trust span{display:inline-flex;align-items:center;gap:7px}
.trust svg{width:15px;height:15px;stroke:var(--teal-bright);stroke-width:2.6;fill:none}
/* screenshot encostado na borda inferior, como no Pluggo */
.hero-shot{margin-top:72px;position:relative}
.hero-shot .frame{max-width:1080px;margin:0 auto;background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-lg) var(--r-lg) 0 0;padding:12px 12px 0;box-shadow:0 -1px 80px rgba(35,180,167,.14)}
.bar{display:flex;align-items:center;gap:7px;padding:6px 4px 12px}
.bar i{width:10px;height:10px;border-radius:50%;background:var(--stroke-2);display:block}
.bar span{margin-left:10px;font-size:11.5px;color:var(--text-3)}
.hero-shot img{width:100%;height:auto;border-radius:12px 12px 0 0;border:1px solid var(--stroke);border-bottom:0}

/* ── LOGOS ────────────────────────────────────────────────────────────── */
.logos{padding:60px 0;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);background:var(--bg-2)}
.logos p{text-align:center;font-size:13px;color:var(--text-3);margin-bottom:26px}
.logos-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:46px}
.logos-row img{height:56px;width:auto;opacity:.5;filter:brightness(0) invert(1);transition:opacity .2s}
.logos-row img:hover{opacity:.85}

/* ── CABEÇALHO DE SEÇÃO (h2 à esquerda, texto à direita) ──────────────── */
.sec-head{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:end;margin-bottom:60px}
.sec-head p{font-size:16.5px;padding-bottom:6px}
.sec-head.center{grid-template-columns:1fr;text-align:center;justify-items:center;max-width:760px;margin-left:auto;margin-right:auto}
.sec-head.center p{padding-bottom:0;margin-top:20px}

/* ── DORES (3 itens + card) ───────────────────────────────────────────── */
.split{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:center}
.items{display:grid;gap:26px}
.item{display:grid;grid-template-columns:46px 1fr;gap:18px;align-items:center}
.item .ic{width:46px;height:46px;border-radius:13px;background:var(--surface);border:1px solid var(--stroke);display:grid;place-items:center;font-size:19px}
.item h3{font-size:21px}
.item p{margin-top:8px;font-size:14.5px;line-height:1.65}
.shot{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-lg);padding:14px;box-shadow:0 24px 70px rgba(0,0,0,.4)}
.shot img{border-radius:12px}
.shot figcaption{font-size:12.5px;color:var(--text-3);text-align:center;padding:12px 6px 4px}

/* ── BENTO (recursos) ─────────────────────────────────────────────────── */
.bento{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.bento .card{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-lg);overflow:hidden;position:relative;transition:border-color .2s,transform .2s}
.bento .card:hover{border-color:var(--stroke-2);transform:translateY(-3px)}
.bento .card .art{position:relative;height:210px;background:radial-gradient(120% 110% at 50% 0%,rgba(35,180,167,.20),transparent 62%),var(--bg-2);overflow:hidden;border-bottom:1px solid var(--stroke)}
.bento .card .art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.bento .card .art.contain img{object-fit:contain;object-position:center;padding:18px}
.bento .card .txt{padding:28px}
.bento .card h3{font-size:22px}
.bento .card p{margin-top:10px;font-size:14.5px;line-height:1.65}
.bento-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.bento-3 .card{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-lg);padding:28px;transition:border-color .2s,transform .2s}
.bento-3 .card:hover{border-color:var(--stroke-2);transform:translateY(-3px)}
.bento-3 .ic{width:44px;height:44px;border-radius:12px;background:var(--bg-2);border:1px solid var(--stroke);display:grid;place-items:center;font-size:18px;margin-bottom:18px}
.bento-3 h3{font-size:19px}
.bento-3 p{margin-top:9px;font-size:14px;line-height:1.62}

/* ── NÚCLEO (suporte) ─────────────────────────────────────────────────── */
.core{margin-top:18px;background:linear-gradient(120deg,var(--teal-deep),#12545C 62%,var(--bg-2));border:1px solid var(--stroke);border-radius:var(--r-lg);padding:52px;display:grid;grid-template-columns:1fr .9fr;gap:52px;align-items:center}
.core h3{font-size:clamp(24px,2.6vw,32px)}
.core p{margin-top:16px;color:rgba(255,255,255,.82);font-size:15.5px;line-height:1.72}
.core p b{color:#fff;font-weight:600}
.core img{border-radius:var(--r-card)}


/* ── MÉTODO ───────────────────────────────────────────────────────────── */
.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.stepc{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-lg);padding:34px;position:relative}
.stepc .n{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-bright);font-weight:500}
.stepc h3{margin-top:14px;font-size:23px}
.stepc p{margin-top:12px;font-size:14.5px;line-height:1.68}

/* ── CTA INTERMEDIÁRIO ────────────────────────────────────────────────── */
.midcta{background:var(--bg-2);border:1px solid var(--stroke);border-radius:var(--r-lg);padding:56px;display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center}
.midcta p{margin-top:18px;font-size:16px}
.midcta .btn{margin-top:30px}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq{max-width:880px;margin:0 auto;display:grid;gap:12px}
.faq details{background:var(--surface);border:1px solid var(--stroke);border-radius:var(--r-card);overflow:hidden;transition:border-color .2s}
.faq details[open]{border-color:var(--stroke-2)}
.faq summary{cursor:pointer;list-style:none;padding:26px 30px;font-size:17px;font-weight:500;display:flex;justify-content:space-between;align-items:center;gap:20px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .pm{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--bg-2);border:1px solid var(--stroke);color:var(--teal-bright);display:grid;place-items:center;font-size:17px;transition:transform .24s}
.faq details[open] summary .pm{transform:rotate(45deg)}
.faq .ans{padding:0 30px 28px;color:var(--text-2);font-size:15px;line-height:1.75}

/* ── CTA FINAL ────────────────────────────────────────────────────────── */
.final{position:relative;text-align:center;overflow:hidden}
.final::before{content:"";position:absolute;bottom:-380px;left:50%;transform:translateX(-50%);width:1200px;height:820px;background:radial-gradient(closest-side,rgba(35,180,167,.26),transparent 70%);pointer-events:none}
.final .wrap{position:relative;z-index:1}
.final h2{max-width:17ch;margin:24px auto 0}
.final p{max-width:600px;margin:22px auto 0;font-size:17px}
.final form{max-width:560px;margin:38px auto 0;display:grid;gap:10px}
.final .row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.final input,.final select{width:100%;height:54px;background:rgba(255,255,255,.09);border:1.5px solid rgba(255,255,255,.40);border-radius:var(--r-btn);padding:0 22px;color:#fff;font-family:inherit;font-size:15.5px;outline:0;transition:border-color .2s,background .2s,box-shadow .2s}
.final input:hover,.final select:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.42)}
.final select{appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.5' stroke-width='2.4'><path d='M6 9l6 6 6-6'/></svg>");background-repeat:no-repeat;background-position:right 20px center;background-size:18px;padding-right:48px;color:var(--text)}
.final select option{background:var(--bg-2);color:var(--text)}
.final input::placeholder{color:rgba(255,255,255,.72)}
.final input:focus,.final select:focus{background:rgba(255,255,255,.13);border-color:var(--teal-bright);box-shadow:0 0 0 4px rgba(60,218,191,.20)}
.final .fine{margin-top:18px;font-size:12.5px;color:var(--text-3);max-width:520px;margin-left:auto;margin-right:auto;line-height:1.6}

/* ── FOOTER ───────────────────────────────────────────────────────────── */
footer{background:var(--bg-2);border-top:1px solid var(--stroke);padding:64px 0 32px;font-size:14px;color:var(--text-3)}
.f-top{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:52px;padding-bottom:40px;border-bottom:1px solid var(--stroke)}
.f-top p{margin-top:18px;max-width:340px;font-size:14px;line-height:1.7;color:var(--text-3)}
footer h4{color:var(--text);font-size:13px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;margin-bottom:16px}
footer li{list-style:none;margin-bottom:10px}
footer a:hover{color:var(--teal-bright)}
.f-bot{padding-top:26px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:13px}

/* ── RESPONSIVO ───────────────────────────────────────────────────────── */
@media (max-width:1080px){
  :root{--sec:96px}
  .sec-head,.split,.core,.midcta,.f-top{grid-template-columns:1fr;gap:34px}
  .sec-head{align-items:start}
  .sec-head p{padding-bottom:0}
  .bento,.steps{grid-template-columns:1fr}
  .bento-3{grid-template-columns:1fr}
    .menu{display:none}
  .core,.midcta{padding:34px}
}
@media (max-width:640px){
  :root{--sec:72px}
  .wrap{padding:0 18px}
  .nav .wrap{height:70px}
  .brand b{font-size:18px}
  .brand img{width:36px;height:36px}
  .nav-r .btn-line{display:none}
  .hero{padding:26px 0 0}
  .hero h1{max-width:none;font-size:27px;line-height:1.16}
  .hero .pill{padding:8px 14px;font-size:10.5px;letter-spacing:.08em}
  .hero .sub{font-size:14.5px;line-height:1.55;margin-top:16px;max-width:36ch}
  .lead{margin-top:30px;padding:20px 18px 16px;border-radius:20px;box-shadow:0 0 0 5px rgba(35,180,167,.16),0 18px 40px rgba(0,0,0,.5)}
  .lead-top{gap:10px;margin-bottom:16px}
  .lead-count{font-size:11.5px}
  .lead-stage{min-height:130px}
  .q label{font-size:16.5px;margin-bottom:11px}
  .q input,.q select{height:54px;font-size:16px}
  .lead-foot{gap:8px}
  .lead-back{padding:0 14px;font-size:14px}
  .lead-fine{font-size:11px}
  .hero-shot{margin-top:48px}
  .hero-shot .frame{padding:8px 8px 0}
  .stepc,.core,.midcta{padding:26px}
  .faq summary{padding:20px 22px;font-size:15.5px}
  .faq .ans{padding:0 22px 22px;font-size:14.5px}
  .final .row{grid-template-columns:1fr}
  .logos-row{gap:30px}
  .logos-row img{height:40px}
  .btn{width:100%}
  .nav-r .btn{width:auto}
}
