/* ZionX Medical: verde-esmeralda (a cor da medicina), porcelana e um fio dourado. */
@font-face { font-family: 'Cormorant'; src: url('fontes/CormorantGaramond-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fontes/InterTight-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --noite: #052e24;
  --esmeralda: #0b6b4f;
  --jade: #12a37a;
  --menta: #bfe8d6;
  --porcelana: #f5f7f2;
  --branco: #fff;
  --tinta: #10231d;
  --fraco: #4d625b;
  --linha: #d8e2da;
  --ouro: #c7a566;
  --alerta: #9a5b00;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { background: var(--porcelana); color: var(--tinta); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-variant-numeric: lining-nums; } /* a Cormorant usa algarismos "antigos" por padrão */
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }

.larg { width: min(1140px, 100% - 40px); margin-inline: auto; position: relative; z-index: 1; }
.estreita { max-width: 780px; }
.pular { position: absolute; left: -999px; z-index: 50; background: var(--branco); padding: 10px 16px; }
.pular:focus { left: 10px; top: 10px; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.3vw, 4.1rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.sobre { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--esmeralda); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sobre::before { content: ''; width: 34px; height: 1px; background: var(--ouro); }

section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.escuro { background: var(--noite); color: var(--porcelana); overflow: hidden; }
.escuro .sobre { color: var(--menta); }

/* ── a marca-d'água ── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url('img/caduceu-verde.svg') no-repeat center / auto 86vh; opacity: .055;
}
main > section:not(.escuro) { z-index: 0; }
.agua { position: absolute; pointer-events: none; z-index: 0; user-select: none; }
.agua-heroi { height: 118%; width: auto; max-width: none; right: -4%; top: -6%; opacity: .11; }
.agua-areas { height: 105%; width: auto; max-width: none; left: -9%; top: -2%; opacity: .075; }
.agua-rodape { height: 150%; width: auto; max-width: none; right: -3%; top: -18%; opacity: .06; }

/* ── botões ── */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 99px; font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: transform .18s, background-color .18s, border-color .18s; }
.botao:hover { transform: translateY(-2px); }
.botao svg { width: 22px; height: 22px; flex: none; }
.botao-peq { min-height: 40px; padding: 0 18px; font-size: .9rem; background: var(--menta); color: var(--noite); }
.botao-zap { background: var(--jade); color: #03221a; }
.botao-zap:hover { background: #17bd8e; }
.botao-linha { border-color: rgb(191 232 214 / .4); color: var(--porcelana); }
.botao-linha:hover { border-color: var(--menta); }

/* ── topo ── */
.topo { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--porcelana); transition: background-color .25s, box-shadow .25s; }
.topo.rolou { background: rgb(5 46 36 / .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgb(199 165 102 / .35); }
.topo-linha { display: flex; align-items: center; gap: 28px; height: 72px; }
.marca { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.05rem; letter-spacing: .02em; white-space: nowrap; }
.marca b { font-weight: 800; letter-spacing: .08em; }
.marca img { border-radius: 8px; }
.topo nav { margin-left: auto; display: flex; gap: 26px; }
.topo nav a { font-size: .92rem; text-decoration: none; opacity: .82; }
.topo nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--ouro); }

/* ── abertura ── */
.heroi { padding: 150px 0 100px; background: radial-gradient(900px 600px at 78% 45%, #0d5a43 0%, transparent 70%), var(--noite); }
.heroi-grade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.heroi h1 em { font-style: normal; font-weight: 500; color: var(--menta); }
.nome { white-space: nowrap; }
.lead { font-size: 1.18rem; max-width: 34em; margin: 26px 0 34px; color: #d6e6df; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.nota { font-size: .86rem; margin-top: 22px; opacity: .72; }

/* ── o aparelho ── */
.aparelho-area { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.aneis { position: absolute; top: 160px; left: 50%; pointer-events: none; }
.aneis i { position: absolute; width: 330px; height: 330px; margin: -165px; border: 1px solid rgb(191 232 214 / .18); border-radius: 50%; }
.aneis i:nth-child(2) { width: 430px; height: 430px; margin: -215px; opacity: .65; }
.aneis i:nth-child(3) { width: 540px; height: 540px; margin: -270px; opacity: .35; }
.aparelho { position: relative; width: min(300px, 100%); padding: 18px 18px 0; border: 1px solid #3a4a45; border-radius: 30px; background: linear-gradient(160deg, #26312e, #0e1413 60%); box-shadow: 0 40px 70px -25px rgb(0 0 0 / .65), inset 0 1px 0 rgb(255 255 255 / .12); color: #f2f3f5; font-family: var(--sans); cursor: pointer; touch-action: manipulation; }
.vidro { --cor: #8a8f99; position: relative; display: flex; flex-direction: column; aspect-ratio: 1; padding: 18px; border-radius: 14px; background: #0a0b0d; text-align: center; overflow: hidden; }
.aparelho[data-estado="gravando"] .vidro { --cor: #ff5a5a; }
.aparelho[data-estado="transcrevendo"] .vidro, .aparelho[data-estado="montando"] .vidro { --cor: #a6e3f0; }
.aparelho[data-estado="pronta"] .vidro { --cor: #4adf84; }
.v-topo { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a8f99; }
.v-estado { display: flex; align-items: center; gap: 6px; color: var(--cor); }
.v-estado::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cor); }
.v-estado:empty { display: none; }
.aparelho[data-estado="gravando"] .v-estado::before { animation: pulsa 1.2s ease-in-out infinite; }
@keyframes pulsa { 50% { opacity: .25; } }
.v-grande { margin: auto 0 14px; font-size: 4.4rem; font-weight: 700; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.v-grande.texto { font-size: 2.2rem; letter-spacing: -.02em; }
.v-regua { display: block; height: 10px; background: repeating-linear-gradient(90deg, #1d2026 0 6px, transparent 6px 8px); }
.v-regua u { display: block; width: 57%; height: 100%; background: repeating-linear-gradient(90deg, var(--cor) 0 6px, transparent 6px 8px); }
.v-sub { margin-top: auto; min-height: 2.6em; font-size: .86rem; font-weight: 600; line-height: 1.3; color: #8a8f99; display: flex; align-items: flex-end; justify-content: center; }
.base { display: block; padding: 14px 0 16px; font-size: .72rem; font-weight: 800; letter-spacing: .5em; text-indent: .5em; color: #6d7c77; }
.aparelho-area figcaption { position: relative; font-size: .9rem; color: #cfe1d9; text-align: center; }

/* ── a dor ── */
.dor { text-align: center; }
.dor p { margin-top: 24px; font-size: 1.15rem; color: var(--fraco); }

.cab { max-width: 720px; margin-bottom: 56px; }
.cab p:not(.sobre) { margin-top: 18px; opacity: .85; }

/* ── passos ── */
.como { padding-top: 0; }
.passos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.passos li { border-top: 1px solid var(--linha); padding-top: 26px; position: relative; }
.passos li::before { content: ''; position: absolute; top: -1px; left: 0; width: 52px; height: 2px; background: var(--esmeralda); }
.num { display: block; font: 500 3.6rem/1 var(--serif); color: var(--ouro); margin-bottom: 14px; }
.passos p { margin-top: 10px; font-size: .97rem; color: var(--fraco); }

/* ── a ficha ── */
.ficha-sec { background: rgb(191 232 214 / .26); }
.ficha-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.ficha-texto h2 { margin-bottom: 30px; }
.marcas { list-style: none; display: grid; gap: 14px; }
.marcas li { position: relative; padding-left: 28px; }
.marcas li::before { content: ''; position: absolute; left: 2px; top: .52em; width: 12px; height: 6px; border: solid var(--jade); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.marcas.colunas { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px 28px; }

.folha { background: var(--branco); border: 1px solid var(--linha); border-radius: 18px; padding: 26px 30px 24px; box-shadow: 0 30px 60px -35px rgb(5 46 36 / .45); }
.abas { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--linha); padding-bottom: 16px; }
.abas button { border: 1px solid var(--linha); background: none; border-radius: 99px; padding: 8px 16px; font: 600 .86rem var(--sans); color: var(--fraco); cursor: pointer; }
.abas button[aria-selected="true"] { background: var(--noite); border-color: var(--noite); color: var(--porcelana); }
.selo { margin: 16px 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--alerta); }
.folha dt { margin-top: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--esmeralda); }
.folha dd { margin-top: 3px; font-size: .98rem; }
.folha .vazio-campo { color: #6b7872; font-style: italic; }
.folha dt.alerta { color: var(--alerta); }
.folha dd.alerta { background: #fdf4e3; border-left: 3px solid var(--ouro); padding: 9px 12px; margin-top: 7px; }
.folha-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--linha); justify-content: flex-end; }
.folha-acoes span { border: 1px solid var(--linha); border-radius: 8px; padding: 7px 13px; font-size: .82rem; font-weight: 600; color: var(--fraco); }
.folha-acoes .cheio { background: var(--esmeralda); border-color: var(--esmeralda); color: var(--branco); }

/* ── especialidades ── */
.especialidades { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.especialidades li { border: 1px solid rgb(191 232 214 / .28); border-radius: 99px; padding: 10px 20px; font: 500 1.32rem/1.2 var(--serif); background: rgb(5 46 36 / .55); }
.especialidades .destaque { background: var(--menta); border-color: var(--menta); color: var(--noite); font-weight: 700; }

/* ── dados e entrega ── */
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cartao { background: var(--branco); border: 1px solid var(--linha); border-top: 4px solid var(--esmeralda); border-radius: 16px; padding: 32px; }
.cartao-sai { border-top-color: var(--ouro); }
.cartao h3, .duas h3 { font: 700 1.75rem/1.2 var(--serif); margin-bottom: 20px; }
.entrega { border-block: 1px solid var(--linha); }

/* ── dúvidas ── */
details { border-bottom: 1px solid var(--linha); }
summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 400 1.6rem/1 var(--sans); color: var(--esmeralda); }
details[open] summary::after { content: '−'; }
details p { padding: 0 40px 24px 0; color: var(--fraco); }

/* ── rodapé e botão flutuante ── */
.rodape { position: relative; border-top: 1px solid rgb(199 165 102 / .45); padding: 72px 0 104px; font-size: .94rem; }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; }
.rodape-marca p { margin-top: 16px; max-width: 24em; opacity: .75; }
.rodape h2 { font: 700 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ouro); margin-bottom: 14px; }
.rodape nav a, .rodape address a { display: block; width: fit-content; max-width: 100%; padding: 5px 0; text-decoration: none; opacity: .85; overflow-wrap: anywhere; }
.rodape nav a:hover, .rodape address a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.rodape address { font-style: normal; }
.rodape-fim { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(191 232 214 / .16); font-size: .82rem; opacity: .68; }
.flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--jade); color: #03221a; box-shadow: 0 12px 28px -8px rgb(0 0 0 / .5); transition: opacity .2s, transform .2s; }
.flutuante svg { width: 32px; height: 32px; }
.flutuante:hover { transform: scale(1.07); }

/* ── entrada suave (só com JavaScript) ── */
.anima .revelar { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.anima .revelar.visto { opacity: 1; transform: none; }
.anima .passos li:nth-child(2) { transition-delay: .08s; }
.anima .passos li:nth-child(3) { transition-delay: .16s; }
.anima .passos li:nth-child(4) { transition-delay: .24s; }

/* o atalho `font` zera a variante: repete onde há número em Cormorant */
.num { font-variant-numeric: lining-nums; }

@media (max-width: 980px) {
  .topo nav { display: none; }
  .topo .botao-peq { margin-left: auto; }
  .heroi { padding-top: 120px; }
  .heroi-grade, .ficha-grade { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .passos { grid-template-columns: 1fr 1fr; }
  .agua-heroi { height: 70%; top: 2%; right: -30%; opacity: .07; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .passos, .duas, .rodape-grade { grid-template-columns: minmax(0, 1fr); }
  .acoes .botao { width: 100%; }
  .folha, .cartao { padding: 22px 18px; }
  .especialidades { gap: 8px; }
  .especialidades li { font-size: 1.1rem; padding: 7px 14px; }
  .aneis { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anima .revelar { opacity: 1; transform: none; }
}
@media print {
  body::before, .agua, .flutuante, .topo { display: none; }
}
