/* =========================================================
   PRISMA 2 · Landing page
   Paleta oficial: petróleo #04383D · teal #007D80 · ciano #49E0DD
   fundo #F2F7F8 · texto #12343B · bordas #D6E3E6
   ========================================================= */

/* ---------- Fontes (auto-hospedadas, subconjunto latino) ---------- */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  --petroleo: #04383D;
  --petroleo-900: #022629;
  --petroleo-800: #032F33;
  --teal: #007D80;
  --teal-700: #006669;
  --ciano: #49E0DD;
  --bg: #F2F7F8;
  --white: #FFFFFF;
  --text: #12343B;
  --muted: #4F6B72;
  --border: #D6E3E6;
  --on-dark: #E8F4F5;
  --on-dark-muted: #A9C7CA;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(4, 56, 61, .06), 0 2px 8px rgba(4, 56, 61, .05);
  --shadow: 0 2px 6px rgba(4, 56, 61, .06), 0 18px 40px -18px rgba(4, 56, 61, .28);
  --shadow-lg: 0 30px 70px -30px rgba(1, 20, 22, .65), 0 10px 24px -12px rgba(1, 20, 22, .35);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --section-y: clamp(80px, 11vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; border-radius: 6px; }
.section-white :focus-visible, .section-light :focus-visible { outline-color: var(--teal); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--petroleo); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .8; }
.eyebrow-on-dark { color: var(--ciano); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); color: var(--petroleo); }
h2.display { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.lead-on-dark { color: var(--on-dark-muted); }
.caption { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.fineprint { font-size: 14px; color: var(--muted); max-width: 72ch; margin: 28px auto 0; text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 12px;
  font-weight: 600; font-size: 16px; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-xl { min-height: 62px; padding: 0 44px; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; border-radius: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #009A9C 100%);
  color: var(--white);
  box-shadow: 0 8px 22px -10px rgba(0, 125, 128, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 125, 128, .9), inset 0 1px 0 rgba(255, 255, 255, .22); }
.section-dark .btn-primary, .hero .btn-primary, .final-cta .btn-primary, .site-header .btn-primary, .site-footer .btn-primary {
  background: linear-gradient(135deg, #2FC6C3 0%, var(--ciano) 100%);
  color: var(--petroleo-900);
  box-shadow: 0 10px 30px -12px rgba(73, 224, 221, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-video {
  color: var(--white); background: rgba(255, 255, 255, .07); border-color: rgba(255, 0, 51, .45);
  padding-left: 18px; gap: 12px;
  box-shadow: 0 0 0 0 rgba(255, 0, 51, 0), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.btn-video:hover { transform: translateY(-2px); border-color: #FF3358; background: rgba(255, 0, 51, .10); box-shadow: 0 12px 28px -14px rgba(255, 0, 51, .6); }
.yt-icon { display: inline-flex; }
.yt-icon svg { display: block; transition: transform .25s var(--ease); }
.btn-video:hover .yt-icon svg { transform: scale(1.08); }
.btn-ghost-dark { color: var(--on-dark); border-color: rgba(233, 247, 248, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost-dark:hover { border-color: var(--ciano); color: var(--white); background: rgba(73, 224, 221, .08); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(3, 40, 44, .55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(73, 224, 221, .08);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(3, 40, 44, .88); border-bottom-color: rgba(73, 224, 221, .14); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; border-radius: 8px; }
.brand img { height: 58px; width: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 10px;
  color: var(--on-dark); font-size: 15.5px; font-weight: 500; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--petroleo-900);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(0, 125, 128, .38) 0%, rgba(0, 125, 128, 0) 70%),
    radial-gradient(40% 50% at 10% 0%, rgba(73, 224, 221, .10) 0%, rgba(73, 224, 221, 0) 70%),
    linear-gradient(180deg, var(--petroleo) 0%, var(--petroleo-900) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(233, 247, 248, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(233, 247, 248, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 45%, #000 0%, transparent 75%);
}
.hero-stack { display: flex; flex-direction: column; align-items: center; }
.hero-copy { text-align: center; max-width: 1140px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); color: var(--white); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.hero h1 .h1-line { display: block; }
.hero h1 .accent { color: var(--ciano); }
.hero .lead { margin-top: 26px; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; }
.hero-facts li { font-size: 14px; color: var(--on-dark-muted); display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 0 4px rgba(73, 224, 221, .14); }

.hero-visual { position: relative; width: 100%; max-width: 1060px; margin-top: clamp(56px, 7vw, 88px); padding: 0 0 36px; }
.hero-visual::before { /* halo discreto atrás da captura */
  content: ""; position: absolute; left: 8%; right: 8%; top: 6%; bottom: 10%; z-index: -1;
  background: radial-gradient(closest-side, rgba(73, 224, 221, .22), rgba(73, 224, 221, 0)); filter: blur(30px);
}
.hero-float { position: absolute; }
.hero-float-chart { width: 42%; left: -7%; bottom: 0; }
.hero-float-index { width: 30%; right: -6%; top: 16%; }
.demo-note { margin-top: 18px; text-align: right; font-size: 12.5px; color: var(--on-dark-muted); opacity: .85; position: relative; top: 36px; }

/* ---------- Molduras de captura ---------- */
.browser {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.browser img { width: 100%; }
.browser-bar {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  background: #EAF2F3; border-bottom: 1px solid var(--border);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #C9D9DC; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-dark { border-color: rgba(73, 224, 221, .18); box-shadow: var(--shadow-lg); }
.browser-dark .browser-bar { background: #0A3D42; border-bottom-color: rgba(73, 224, 221, .14); }
.browser-dark .browser-bar span { background: rgba(233, 247, 248, .22); }
.browser-dark .browser-bar em { color: var(--on-dark-muted); }
.float-card { background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid rgba(214, 227, 230, .9); box-shadow: var(--shadow-lg); }

.zoomable { cursor: zoom-in; }
.zoom-btn { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: 0; }
.zoom-btn:focus-visible { outline-offset: -4px; }
.zoomable img { transition: transform .5s var(--ease); }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-light { background: var(--bg); }
.section-white { background: var(--white); }
.section-dark { background: linear-gradient(180deg, var(--petroleo) 0%, var(--petroleo-900) 100%); color: var(--on-dark); }
.section-dark h2, .section-teal h2 { color: var(--white); }
.section-teal { background: radial-gradient(80% 90% at 85% 50%, rgba(73, 224, 221, .14) 0%, rgba(73, 224, 221, 0) 60%), linear-gradient(135deg, var(--teal-700) 0%, var(--petroleo) 62%, var(--petroleo-900) 100%); color: var(--on-dark); }
.section-teal .lead-on-dark { color: #C4DEE0; }

.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-center { text-align: center; }
.section-head-center .lead { margin: 22px auto 0; }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }

.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-copy .lead { margin-top: 22px; }

.checklist { margin-top: 30px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; font-size: 16.5px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(73, 224, 221, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l2.8 2.8 6.2-6.4' fill='none' stroke='%2349E0DD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  border: 1px solid rgba(73, 224, 221, .3);
}
.checklist-dark li { color: var(--on-dark); }
.method-note {
  margin-top: 32px; padding: 16px 18px; border-radius: 12px;
  border: 1px solid rgba(73, 224, 221, .18); background: rgba(255, 255, 255, .03);
  font-size: 14px; line-height: 1.55; color: var(--on-dark-muted);
}

/* ---------- 4. Fotos ---------- */
.photos { overflow: hidden; }
/* Quatro vistas dentro de um painel no estilo do app */
.photo-demo { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 40px); align-items: start; margin-bottom: 48px; }
.app-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.app-panel-body { padding: 18px; background: #F4F8F9; }
.app-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 14px; border: 1px solid var(--border); border-radius: 12px;
  background: linear-gradient(90deg, #E6F4F5 0%, #F7FBFB 100%);
}
.app-card-title { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.app-card-count { font-size: 12.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.app-card-count::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1FA37A; box-shadow: 0 0 0 3px rgba(31, 163, 122, .16); }
.view-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.view-tile { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.view-tile-head { min-height: 74px; }
.view-tile-head strong { display: block; font-size: 14px; font-weight: 600; color: var(--petroleo); }
.view-tile-head span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.view-frame {
  position: relative; aspect-ratio: 442 / 920; margin-top: 10px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #E7EBEF 0%, #F0F3F7 100%); border: 1px solid #E1E9EB;
}
.view-frame img { width: 100%; height: 100%; object-fit: contain; }
.view-tile-status { margin-top: 10px; font-size: 11.5px; font-weight: 600; color: #167F62; display: flex; align-items: center; gap: 6px; }
.view-tile-status span { width: 14px; height: 14px; border-radius: 50%; background: #E3F5EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.2' fill='none' stroke='%23167F62' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.view-tile.is-missing .view-tile-status { display: none; }
.stage-text { margin-top: 20px; font-size: 15.5px; color: var(--muted); max-width: 70ch; }

/* Paciente real com marcações: imagem inteira, sem cortes */
.patient-marks { position: sticky; top: calc(var(--header-h) + 24px); }
.stage-marks-frame {
  position: relative; aspect-ratio: 355 / 483; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--petroleo); box-shadow: var(--shadow-lg); border: 1px solid rgba(4, 56, 61, .2);
}
.stage-marks-frame img { width: 100%; height: 100%; object-fit: contain; }
.patient-marks figcaption { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--teal); display: grid; gap: 4px; }
.patient-marks figcaption strong { font-size: 15px; font-weight: 600; color: var(--petroleo); }
.patient-marks figcaption span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.browser-wide { margin-top: 8px; }
.caption-note { max-width: 80ch; }
.scroll-hint { display: none; font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.benefit, .card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 28px 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.benefit:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #BFD6DA; }
.benefit-kicker, .card-kicker { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--teal); letter-spacing: .04em; }
.benefit h3, .card h3 { margin: 14px 0 10px; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--petroleo); }
.card h3 { font-size: 20px; letter-spacing: -.01em; text-transform: none; }
.benefit p, .card p { font-size: 15.5px; color: var(--muted); }

.callout {
  margin-top: 48px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px); border-radius: var(--radius-lg);
  background: radial-gradient(90% 140% at 100% 0%, rgba(73, 224, 221, .20) 0%, rgba(73, 224, 221, 0) 55%), linear-gradient(120deg, var(--petroleo) 0%, #075157 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--shadow);
}
.callout p { color: var(--white); font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 500; line-height: 1.3; letter-spacing: -.012em; max-width: 34ch; }
.callout .btn-primary { background: linear-gradient(135deg, #2FC6C3 0%, var(--ciano) 100%); color: var(--petroleo-900); flex-shrink: 0; }

/* ---------- Placeholders de imagens ainda não fornecidas ---------- */
.slot.is-missing img { display: none; }
.slot.is-missing .view-frame, .slot.is-missing .stage-marks-frame, .creator-photo.is-missing {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, #E8F0F2 0 12px, #E0EBEE 12px 24px);
  border: 1.5px dashed #9FBDC2;
}
.creator-photo.is-missing { background: repeating-linear-gradient(135deg, #0A474D 0 12px, #083F44 12px 24px); border-color: rgba(73, 224, 221, .4); }
.patient-marks.is-missing .stage-marks-frame { background: repeating-linear-gradient(135deg, #0A474D 0 12px, #083F44 12px 24px); border-color: rgba(73, 224, 221, .4); }
.creator-photo.is-missing::after { position: static; background: none; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
.slot.is-missing .view-frame::after, .slot.is-missing .stage-marks-frame::after, .creator-photo.is-missing::after {
  content: "IMAGEM PENDENTE\A" attr(data-expected);
  white-space: pre-wrap; padding: 16px; max-width: 100%;
  font-family: var(--mono); font-size: 12px; line-height: 1.6; color: #3E6167; word-break: break-all;
}
.patient-marks.is-missing .stage-marks-frame::after, .creator-photo.is-missing::after { color: #B5E6E6; }

/* ---------- Demonstração em vídeo ---------- */
.video-section { overflow: hidden; }
.video-section::before {
  content: ""; position: absolute; left: 50%; top: 38%; width: min(1100px, 90vw); height: 60%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 125, 128, .40), rgba(0, 125, 128, 0)); pointer-events: none;
}
.video-player {
  position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--petroleo-900); border: 1px solid rgba(73, 224, 221, .22); box-shadow: var(--shadow-lg);
}
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--white); overflow: hidden; }
.video-poster { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); max-width: none; object-fit: cover; object-position: top center; filter: blur(5px) saturate(.85); transition: transform .8s var(--ease); }
.video-shade { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(4, 56, 61, .72) 0%, rgba(2, 38, 41, .92) 100%); }
.video-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 26px); padding: 16px; }
.video-logo { width: clamp(150px, 24vw, 250px); height: auto; }
.video-play { display: block; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); transition: transform .3s var(--ease); }
.video-play svg { width: clamp(64px, 8vw, 92px); height: auto; display: block; }
.video-label {
  font-size: 15px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; color: var(--white);
  padding: 8px 16px; border-radius: 999px; background: rgba(4, 56, 61, .7); border: 1px solid rgba(73, 224, 221, .25);
}
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { transform: scale(1.08); }
.video-facade:hover .video-poster { transform: scale(1.04); }
.video-facade:focus-visible { outline: 3px solid var(--ciano); outline-offset: -3px; }
.video-player.is-pending .video-play { filter: grayscale(1) opacity(.55); }
.video-player.is-pending .video-facade { cursor: default; }
.video-foot { max-width: 1040px; margin: 28px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.video-foot p { color: var(--on-dark-muted); font-size: 16px; max-width: 52ch; }
.video-foot-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.video-yt-link { color: var(--on-dark); font-size: 14.5px; font-weight: 500; }
.video-yt-link:hover { color: var(--ciano); }

/* ---------- 5. Como funciona ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: calc(16.66% + 12px); right: calc(16.66% + 12px); height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--ciano) 50%, var(--teal) 100%); opacity: .5;
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  font-family: var(--mono); font-weight: 600; font-size: 18px; color: var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--petroleo) 100%);
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--border), 0 12px 24px -10px rgba(0, 125, 128, .6);
}
.step-label { margin-top: 26px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.step h3 { margin-top: 8px; font-size: 22px; color: var(--petroleo); }
.step p:last-child { margin: 12px auto 0; font-size: 15.5px; color: var(--muted); max-width: 32ch; }

/* ---------- 6. Projeção ---------- */
.split-visual { box-shadow: var(--shadow-lg); border-color: rgba(73, 224, 221, .16); }

/* ---------- 7. Conduta ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.conduct-stage { position: relative; margin-top: 56px; padding-bottom: 8%; }
.conduct-back { width: 74%; opacity: .96; }
.conduct-front { position: absolute; width: 64%; right: 0; bottom: 0; box-shadow: var(--shadow-lg); }
.note-box {
  margin: 40px auto 0; max-width: 820px; text-align: center; padding: 22px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--teal);
  font-size: 16px; color: var(--text); box-shadow: var(--shadow-sm);
}

/* ---------- 8. Funcionalidades ---------- */
.feature-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-group { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 26px 14px; }
.group-title { display: flex; align-items: center; gap: 12px; font-size: 22px; color: var(--petroleo); margin-bottom: 18px; }
.group-title span { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--white); background: var(--teal); border-radius: 8px; padding: 3px 8px; letter-spacing: .02em; }
.feature-group li { padding: 16px 0; border-top: 1px solid var(--border); }
.feature-group h4 { font-size: 16.5px; font-weight: 600; color: var(--text); letter-spacing: -.005em; }
.feature-group p { margin-top: 4px; font-size: 14.8px; color: var(--muted); line-height: 1.5; }

.tour { margin-top: clamp(56px, 7vw, 88px); }
.tour-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.tour-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 28px; padding: 6px; width: fit-content; max-width: 100%;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
}
.tour-tabs button {
  border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 14.5px;
  padding: 10px 16px; border-radius: 10px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.tour-tabs button:hover { color: var(--petroleo); }
.tour-tabs button[aria-selected="true"] { background: var(--white); color: var(--teal); box-shadow: var(--shadow-sm); }
.tour-panels { max-width: 1040px; margin: 0 auto; }
.tour-panel { animation: panelIn .45s var(--ease); }
.tour .caption { text-align: center; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 9. Relatórios ---------- */
.sheets { position: relative; padding: 0 0 12% 14%; }
.sheet { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); padding: 3.5%; }
.sheet-front { position: relative; z-index: 2; width: 78%; }
.sheet-back { position: absolute; z-index: 1; width: 70%; right: 0; bottom: 0; opacity: .92; transform: rotate(2.5deg); }

/* ---------- 10. Criadores ---------- */
.creator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin: 0 auto; }
.creator { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.creator-photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #0A4A50 0%, var(--petroleo) 100%); overflow: hidden; }
.creator-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.creator-photo::before { /* sobreposição petróleo: não altera o rosto, apenas unifica o fundo */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 56, 61, 0) 55%, rgba(4, 56, 61, .55) 100%);
}
.creator-photo::after { /* fundo em petróleo nas bordas; o centro (rosto) fica intocado */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #0B5157 0%, var(--petroleo) 100%);
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(62% 58% at 50% 42%, transparent 55%, #000 100%);
  mask-image: radial-gradient(62% 58% at 50% 42%, transparent 55%, #000 100%);
}
.creator-photo.is-missing::before { display: none; }
.creator-body { padding: 26px 30px 28px; text-align: center; }
.creator-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--petroleo); }
.creator-role { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.creators-sign { margin-top: 56px; text-align: center; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 500; color: var(--petroleo); letter-spacing: -.012em; }
.creators-sign::before { content: ""; display: block; width: 44px; height: 2px; margin: 0 auto 24px; background: var(--teal); border-radius: 2px; }

/* ---------- 11. CTA final ---------- */
.final-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 12vw, 160px) 0; background: var(--petroleo-900); color: var(--on-dark); text-align: center; }
.final-cta-bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 70% at 50% 45%, rgba(0, 125, 128, .45) 0%, rgba(0, 125, 128, 0) 70%), linear-gradient(180deg, var(--petroleo) 0%, var(--petroleo-900) 100%);
}
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta-logo { width: min(300px, 70vw); margin-bottom: 28px; }
.final-cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); color: var(--white); max-width: 18ch; }
.final-cta .lead { margin: 22px auto 40px; }

/* ---------- 12. FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; transition: background-color .2s, border-color .2s; }
.faq-item[open] { background: var(--white); border-color: #BFD6DA; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-size: 17px; font-weight: 600; color: var(--petroleo); border-radius: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 9.5l4 4 4-4' fill='none' stroke='%23007D80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
  border: 1px solid var(--border); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { font-size: 16px; color: var(--muted); max-width: 70ch; }

/* ---------- 13. Rodapé ---------- */
.site-footer { background: var(--petroleo-900); color: var(--on-dark-muted); padding: 72px 0 32px; border-top: 1px solid rgba(73, 224, 221, .1); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; max-width: 46ch; }
.footer-title { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ciano); margin-bottom: 16px; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a, .footer-legal a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--ciano); text-decoration: underline; }
.footer-legal { margin-top: 20px; display: grid; gap: 8px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(233, 247, 248, .1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1280px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); overflow: auto; }
.lightbox::backdrop { background: rgba(2, 24, 27, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox-close {
  position: sticky; top: 10px; float: right; margin: 10px 10px -52px 0; z-index: 2;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .95); color: var(--petroleo);
  font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
}

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Hero: anima só com CSS (não depende do JS nem atrasa a primeira pintura) */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn .9s var(--ease) both; }
.js .hero .hero-copy > .reveal:nth-child(2) { animation-delay: .06s; }
.js .hero .hero-copy > .reveal:nth-child(3) { animation-delay: .14s; }
.js .hero .hero-copy > .reveal:nth-child(4) { animation-delay: .22s; }
.js .hero .hero-copy > .reveal:nth-child(5) { animation-delay: .28s; }
.js .hero .hero-visual.reveal { animation-name: heroVisualIn; animation-duration: 1.1s; animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroVisualIn { from { opacity: .001; transform: translateY(34px) scale(.985); } to { opacity: 1; transform: none; } }

@media (hover: hover) {
  .zoomable:hover img { transform: scale(1.012); }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1200px) {
  .hero-float-chart { left: -2%; }
  .hero-float-index { right: -1%; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
    border: 1px solid rgba(233, 247, 248, .22); background: rgba(255, 255, 255, .04);
  }
  .menu-toggle-bar { width: 18px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #03282C; border-bottom: 1px solid rgba(73, 224, 221, .14); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .7);
    padding: 12px var(--gutter) 22px; display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid rgba(233, 247, 248, .06); border-radius: 8px; }

  .split-5-7, .section-head-split { grid-template-columns: minmax(0, 1fr); }
  .photo-demo { grid-template-columns: minmax(0, 1fr); }
  .patient-marks { position: static; max-width: 420px; margin: 8px auto 0; }
  .hero-visual { padding-bottom: 56px; }
  .hero-float-chart { width: 50%; left: 0; bottom: 0; }
  .hero-float-index { width: 38%; right: 0; top: auto; bottom: 18%; }

  .benefits, .cards-3, .feature-groups { grid-template-columns: minmax(0, 1fr); }
  .callout { flex-direction: column; align-items: flex-start; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 520px; margin: 0 auto; }
  .steps::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal), var(--ciano), var(--teal)); }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 22px; text-align: left; padding: 0; }
  .step-num { grid-row: span 3; }
  .step-label { margin-top: 4px; }
  .step p:last-child { margin: 10px 0 0; }

  .conduct-stage { padding-bottom: 0; }
  .conduct-back { display: none; }
  .conduct-front { position: static; width: 100%; }

  .sheets { padding: 0 0 18% 6%; max-width: 620px; }
  .tour-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tabs button { flex: 0 0 auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .creator-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
}

@media (max-width: 700px) {
  /* captura larga: rolagem horizontal para manter os números legíveis */
  .browser-wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .browser-wide .browser-bar { position: sticky; left: 0; width: 100%; min-width: 900px; }
  .browser-wide img { width: 900px; max-width: none; }
  .scroll-hint { display: block; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header-actions .btn-sm { padding: 0 14px; font-size: 14.5px; min-height: 40px; }
  .brand img { height: 40px; }
  .hero-actions .btn { width: 100%; }
  .hero-copy { text-align: left; align-items: flex-start; }
  .hero-actions, .hero-facts { justify-content: flex-start; }
  .hero-facts { flex-direction: column; gap: 10px; }
  .hero-float-index { display: none; }
  .hero-float-chart { position: relative; width: 80%; margin: -34px 0 0 auto; }
  .demo-note { top: 0; margin-top: 16px; text-align: left; }
  .hero-visual { padding-bottom: 0; }
  .app-panel-body { padding: 12px; }
  .view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .view-tile { padding: 10px; }
  .view-tile-head { min-height: 0; }
  .view-tile-head span { display: none; }
  .browser-bar { height: 30px; }
  .browser-bar em { font-size: 11px; }
  .callout .btn { width: 100%; }
  .video-label { font-size: 13px; padding: 6px 12px; }
  .video-foot { flex-direction: column; align-items: stretch; }
  .video-foot-actions .btn { width: 100%; }
  .btn-xl { width: 100%; padding: 0 24px; }
  .faq-item summary { font-size: 16px; padding: 18px 54px 18px 18px; }
  .faq-answer { padding: 0 18px 20px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .hero .reveal { opacity: 1; transform: none; animation: none; }
  .hero-main { transform: none; }
  .btn:hover, .benefit:hover, .card:hover, .zoomable:hover img, .video-facade:hover .video-poster { transform: none; }
  .video-facade:hover .video-play { transform: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .menu-toggle, .lightbox { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
