/* =========================================================
   COT Prime – LP Ortopedia
   Cores: Azul #00255a · Amarelo #ffa700
   ========================================================= */
:root {
  --navy: #00255a;
  --navy-900: #001534;
  --navy-800: #001b44;
  --navy-700: #0a3272;
  --amber: #ffa700;
  --amber-600: #f09a00;
  --amber-100: #fff3db;
  --ink: #0d1b33;
  --muted: #5a6780;
  --line: #e3e8f2;
  --bg-light: #f4f7fc;
  --white: #fff;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(0, 37, 90, .25);
  --shadow-lg: 0 30px 60px -20px rgba(0, 37, 90, .35);

  --sp-section: 44px;
  --sp-head: 28px;
  --gutter: 20px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.section__lead, .hero__lead, .final__lead, .pain-card p, .tech-card p, .step p, .bento__item p, .note, .footer p { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { width: 1em; height: 1em; flex-shrink: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.center { display: flex; justify-content: center; margin-top: 28px; }
.hl {
  color: var(--amber);
  background: linear-gradient(90deg, var(--amber), #ffc94d, var(--amber));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* ---------- Progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--amber), #ffd166); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; max-width: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 15px 22px; font-size: 15px; }
.js-phone, .header .btn { white-space: nowrap; }
.btn--block { width: 100%; }
.btn--amber { background: var(--amber); color: var(--navy-900); box-shadow: 0 10px 30px -8px rgba(255, 167, 0, .6); }
.btn--amber:hover { background: #ffb32a; box-shadow: 0 16px 36px -8px rgba(255, 167, 0, .75); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 37, 90, .6); }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.6s var(--ease) infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--amber-100); border: 1px solid rgba(255, 167, 0, .35);
}
.eyebrow--dark { color: #ffd27a; background: rgba(255, 167, 0, .1); border-color: rgba(255, 167, 0, .3); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* ---------- Header ---------- */
.header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 12px; transition: top .3s var(--ease); }
.header__inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(0, 21, 52, .35); border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.header.is-scrolled .header__inner { background: rgba(0, 27, 68, .88); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .12); }
.header__logo img { height: 40px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__phone { display: none; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.header__phone:hover { background: rgba(255, 255, 255, .08); }
.header__phone svg { width: 16px; height: 16px; color: var(--amber); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #003a85 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: #fff;
  padding: 88px 0 32px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.glow--a { width: 420px; height: 420px; background: #ffa700; top: -160px; right: -120px; opacity: .28; animation: drift 14s ease-in-out infinite alternate; }
.glow--b { width: 480px; height: 480px; background: #1c6dff; bottom: -220px; left: -160px; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__arc { position: absolute; width: 140%; left: -20%; bottom: 0; height: 60%; fill: none; stroke: rgba(255, 167, 0, .35); stroke-width: 1.5; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__wrap { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__wrap > * { min-width: 0; }
/* Mobile: selo, foto, título, subtítulo, botões */
.hero__content { display: contents; }
.hero__content .eyebrow { order: 0; }
.hero__visual { order: 1; }
.hero__title { order: 2; }
.hero__lead { order: 3; }
.hero__content .hero__ctas { order: 4; }
.hero__trust { order: 5; }
.hero__title { font-size: clamp(25px, 7vw, 52px); font-weight: 800; margin-top: 6px; }
.hero__lead { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .8); max-width: 54ch; }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; width: 100%; max-width: 420px; }
.hero__ctas .btn { width: 100%; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero__trust svg { width: 16px; height: 16px; color: var(--amber); }

.hero__visual { position: relative; width: 100%; max-width: 330px; margin: 12px auto 4px; aspect-ratio: 963 / 899; display: grid; place-items: center; isolation: isolate; }
.hero__team { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 24px 34px rgba(0, 10, 30, .45)); }

/* Luz por trás da foto */
.hero__light { position: absolute; inset: -14% -18% -6%; z-index: 0; pointer-events: none; }
.light-halo { position: absolute; inset: 8% 10% 14%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(255, 167, 0, .55) 0%, rgba(255, 167, 0, .22) 32%, rgba(28, 109, 255, .18) 55%, transparent 70%); filter: blur(18px); }
.light-core { position: absolute; left: 50%; top: 40%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 190, .55), rgba(255, 167, 0, .25) 45%, transparent 70%); filter: blur(10px); }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); }
.orbit--1 { inset: 6% 12% 10%; animation: spin 60s linear infinite; }
.orbit--2 { inset: 14% 20% 18%; border: 1px solid rgba(255, 167, 0, .3); animation: spin 22s linear infinite reverse; }
.orbit--2 span { position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px 4px rgba(255, 167, 0, .7); }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px 6px 6px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
  font-size: 10px; line-height: 1.2; text-align: left;
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 11px; color: var(--navy); white-space: nowrap; }
.float-card small { color: var(--muted); font-size: 9.5px; white-space: nowrap; }
.float-card--a { left: 0; bottom: 4%; }
.float-card--b { right: 0; bottom: 8%; animation-delay: -2s; }
.float-card--c { display: none; }
@keyframes bob { 50% { translate: 0 -10px; } }
.ico-amber { width: 20px; height: 20px; color: var(--amber-600); }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -7px; }
.avatars img:first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 8px; font-weight: 700; }

.scan { position: relative; width: 26px; height: 32px; border-radius: 8px; background: var(--navy); overflow: hidden; display: grid; place-items: center; }
.scan svg { width: 18px; height: 25px; }
.scan .bone { fill: none; stroke: #9fc2ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scan__line { position: absolute; left: 0; right: 0; height: 2px; background: var(--amber); box-shadow: 0 0 10px 2px var(--amber); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 88%; } }

.scroll-hint { display: none; position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--amber); color: var(--navy-900); overflow: hidden; padding: 16px 0; position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.ticker span { font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ticker i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--navy); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--sp-section) 0; }
.section--light { background: var(--bg-light); }
.section--dark { background: radial-gradient(100% 70% at 50% 0%, #003a85 0%, var(--navy) 50%, var(--navy-900) 100%); color: #fff; overflow: hidden; }
.section--flush { padding-bottom: calc(var(--sp-section) - 10px); }
.section__head { text-align: center; max-width: 1000px; margin: 0 auto var(--sp-head); display: flex; flex-direction: column; align-items: center; }
.section__title { margin-top: 12px; font-size: clamp(21px, 5.6vw, 38px); font-weight: 800; color: var(--navy); }
.section--dark .section__title { color: #fff; }
.section__lead { margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 62ch; }
.section--dark .section__lead { color: rgba(255, 255, 255, .75); }
.note { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }

.deco-plus {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
}

/* ---------- Pain cards ---------- */
.pain-grid { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
.pain-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  text-align: center;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255, 167, 0, .6); }
.pain-card__img { position: relative; aspect-ratio: 16 / 8.7; overflow: hidden; }
.pain-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pain-card:hover .pain-card__img img { transform: scale(1.07); }
.pain-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 37, 90, .25)); }
.pain-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.pain-card h3 { font-size: 21px; color: var(--navy); }
.pain-card p { color: var(--muted); font-size: 15px; }
.pain-card__doc { font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--amber-100); padding: 5px 12px; border-radius: 999px; }
.pain-card__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--amber-600); }
.pain-card__cta svg { transition: transform .3s var(--ease); }
.pain-card:hover .pain-card__cta svg { transform: translateX(5px); }

/* ---------- Doctors ---------- */
.docs { position: relative; max-width: 1000px; margin: 0 auto; }
.docs__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.doc-tab {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 6px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center;
  transition: background .3s, border-color .3s, transform .3s var(--ease), color .3s;
}
.doc-tab img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center; border: 2px solid rgba(255, 255, 255, .2); transition: border-color .3s, transform .3s var(--ease); }
.doc-tab:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.doc-tab.is-active { background: rgba(255, 167, 0, .14); border-color: var(--amber); color: #fff; }
.doc-tab.is-active img { border-color: var(--amber); transform: scale(1.06); }

.doc-panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center;
  padding: 22px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  text-align: center;
}
.doc-panel__photo { position: relative; width: 100%; max-width: 280px; margin: 0 auto; aspect-ratio: 3 / 4; }
.doc-panel__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.doc-panel__ring { position: absolute; inset: -6px; border-radius: 27px; padding: 2px; background: conic-gradient(from var(--ang), var(--amber), transparent 30%, transparent 65%, var(--amber)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ringSpin 5s linear infinite; }
@keyframes ringSpin { to { --ang: 360deg; } }
.doc-panel__info { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.doc-panel__area { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.doc-panel__name { font-size: clamp(21px, 5.6vw, 34px); font-weight: 800; overflow-wrap: anywhere; }
.doc-panel__crm { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; }
.doc-panel__list { display: grid; gap: 10px; margin: 10px 0 14px; text-align: left; }
.doc-panel__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: rgba(255, 255, 255, .88); }
.doc-panel__list svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--navy-900); background: var(--amber); margin-top: 2px; }
.doc-panel.is-swapping .doc-panel__photo img, .doc-panel.is-swapping .doc-panel__info > * { opacity: 0; transform: translateY(10px); }
.doc-panel__photo img, .doc-panel__info > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }

/* ---------- Conditions switch ---------- */
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 340px; margin: 0 auto 22px; padding: 5px; border-radius: 999px; background: var(--bg-light); border: 1px solid var(--line); }
.switch__btn { position: relative; z-index: 1; padding: 11px 10px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .3s; }
.switch__btn.is-active { color: #fff; }
.switch__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--navy); box-shadow: 0 8px 18px -8px rgba(0, 37, 90, .7); transition: transform .4s var(--ease); }
.switch.is-right .switch__pill { transform: translateX(100%); }

.cond-panels { display: grid; }
.cond-grid { grid-area: 1 / 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; width: 100%; margin: 0 auto; align-content: start; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.cond-grid.is-active { opacity: 1; visibility: visible; transform: none; }
.cond {
  width: calc(50% - 6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  padding: 18px 10px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--navy); font-size: 14.5px; line-height: 1.3;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.cond:hover { transform: translateY(-3px); border-color: rgba(255, 167, 0, .7); box-shadow: var(--shadow); }
.cond__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--amber-100); color: var(--amber-600); flex-shrink: 0; }
.cond__ico svg { width: 21px; height: 21px; }
.cond-grid.is-active .cond { animation: popIn .5s var(--ease) both; }
.cond-grid.is-active .cond:nth-child(2) { animation-delay: .04s; } .cond-grid.is-active .cond:nth-child(3) { animation-delay: .08s; }
.cond-grid.is-active .cond:nth-child(4) { animation-delay: .12s; } .cond-grid.is-active .cond:nth-child(5) { animation-delay: .16s; }
.cond-grid.is-active .cond:nth-child(6) { animation-delay: .2s; } .cond-grid.is-active .cond:nth-child(7) { animation-delay: .24s; }
.cond-grid.is-active .cond:nth-child(8) { animation-delay: .28s; } .cond-grid.is-active .cond:nth-child(9) { animation-delay: .32s; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Tech cards ---------- */
.tech-grid { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
.tech-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; text-align: center; }
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tech-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tech-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tech-card:hover .tech-card__img img { transform: scale(1.06); }
.tag { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 37, 90, .85); color: var(--amber); font-weight: 800; font-size: 12px; letter-spacing: .08em; backdrop-filter: blur(6px); }
.tech-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.tech-card h3 { font-size: 20px; color: var(--navy); }
.tech-card p { color: var(--muted); font-size: 15px; }
.tech-card--cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px 24px; background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: #fff; border: 0; }
.tech-card--cta h3 { color: #fff; font-size: 22px; }
.tech-card--cta p { color: rgba(255, 255, 255, .75); }
.tech-card__big { width: 52px; height: 52px; color: var(--amber); animation: bob 5s ease-in-out infinite; }

/* Spotlight que segue o mouse */
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 167, 0, .14), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ---------- Stats + Bento ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 980px; margin: 0 auto 22px; }
.stat { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat small { font-size: 12px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; line-height: 1; }
.stat strong { font-size: clamp(38px, 10vw, 54px); font-weight: 800; color: var(--amber); line-height: 1.1; }
.stat > span { font-size: 13.5px; color: rgba(255, 255, 255, .78); max-width: 18ch; }

.bento { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 980px; margin: 0 auto; }
.bento__item { position: relative; overflow: hidden; padding: 28px 24px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; transition: border-color .3s, transform .3s var(--ease); }
.bento__item:hover { border-color: rgba(255, 167, 0, .5); transform: translateY(-4px); }
.bento__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--amber); color: var(--navy-900); box-shadow: 0 10px 24px -8px rgba(255, 167, 0, .7); }
.bento__ico svg { width: 26px; height: 26px; }
.bento__item h3 { font-size: 20px; }
.bento__item p { color: rgba(255, 255, 255, .75); font-size: 15.5px; max-width: 52ch; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; gap: 28px; max-width: 980px; margin: 0 auto; }
.steps__line { position: absolute; left: 50%; top: 30px; bottom: 30px; width: 2px; margin-left: -1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--amber), var(--navy)); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step__num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800; font-size: 22px; box-shadow: 0 0 0 6px var(--amber-100); }
.step h3 { font-size: 19px; color: var(--navy); margin-top: 4px; }
.step p { color: var(--muted); font-size: 15px; max-width: 34ch; }

/* ---------- Gallery (carrossel infinito) ---------- */
.gallery { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gallery__row { overflow: hidden; }
.gallery__track { display: flex; gap: 14px; padding-right: 14px; width: max-content; animation: marquee 50s linear infinite; }
.gallery__row--reverse .gallery__track { animation-direction: reverse; animation-duration: 58s; }
.gallery__row:hover .gallery__track { animation-play-state: paused; }
.gallery__track img { width: 260px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); transition: transform .4s var(--ease), filter .4s; }
.gallery__track img:hover { transform: scale(1.04); }

/* ---------- Video + reviews (placeholders) ---------- */
.placeholder { position: relative; outline: 2px dashed rgba(255, 167, 0, .9); outline-offset: 4px; }
.placeholder__tag { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; width: max-content; max-width: calc(100% - 32px); padding: 7px 14px; border-radius: 999px; background: var(--amber); color: var(--navy-900); font-size: 12.5px; font-weight: 700; text-align: center; }
.placeholder-inline { display: inline-block; padding: 4px 12px; border: 1px dashed rgba(255, 167, 0, .8); border-radius: 8px; }

.video { max-width: 880px; margin: 0 auto 22px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 74px; height: 74px; border-radius: 50%; background: var(--amber); color: var(--navy-900); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 167, 0, .6); animation: pulseRing 2.2s infinite; }
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
@keyframes pulseRing { 70% { box-shadow: 0 0 0 22px rgba(255, 167, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 167, 0, 0); } }

.reviews { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--bg-light); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.stars { display: flex; gap: 3px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; color: var(--ink); font-size: 15.5px; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.review__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; padding: var(--sp-section) 0; background: radial-gradient(120% 80% at 50% 100%, #003a85 0%, var(--navy) 45%, var(--navy-900) 100%); color: #fff; }
.final__bg { position: absolute; inset: 0; pointer-events: none; }
.final__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.final__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final__title { margin-top: 12px; font-size: clamp(25px, 6.8vw, 46px); font-weight: 800; }
.final__lead { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .78); max-width: 46ch; }
.final__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 22px; width: 100%; max-width: 420px; }
.final__actions .hero__ctas { margin-top: 0; max-width: none; }
.address { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 12px; border-radius: 999px; white-space: nowrap; font-size: clamp(10.5px, 3vw, 14px) !important; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; text-align: left; transition: background .2s; }
.address:hover { background: rgba(255, 255, 255, .12); }
.address svg { width: 18px; height: 18px; color: var(--amber); }
.final__map { width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); box-shadow: var(--shadow-lg); }
.final__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 36px 0 110px; text-align: center; font-size: 13.5px; }
.footer__wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer img { height: 56px; width: auto; }
.footer__rt { color: #ffd27a; font-weight: 600; }
.footer__small { font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---------- Sticky / floating CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(0, 21, 52, .9); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, .1); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.wa-float { display: none; position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); animation: pulseWa 2.4s infinite; transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes pulseWa { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
/* Hero anima só com CSS: aparece imediatamente, sem depender do JS */
.hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: heroIn .9s var(--ease) both; animation-delay: var(--d, 0s); }
.hero [data-reveal="zoom"] { animation-name: heroZoom; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes heroZoom { from { opacity: 0; transform: scale(.92); } }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 520px) {
  .hero__ctas { flex-direction: row; max-width: none; justify-content: center; }
  .hero__ctas .btn { width: auto; }
  .final__actions { width: auto; max-width: 100%; }
  .docs__tabs { grid-template-columns: repeat(3, 1fr); }
  .gallery__track img { width: 320px; }
}

@media (min-width: 720px) {
  :root { --sp-section: 56px; --sp-head: 34px; --gutter: 28px; }
  .pain-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .cond { flex-direction: row; justify-content: flex-start; text-align: left; padding: 14px 18px; font-size: 15.5px; gap: 14px; }
  .section__lead, .hero__lead, .final__lead { font-size: 16.5px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__item--wide { grid-column: span 2; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .header__phone { display: inline-flex; }
  .float-card { padding: 8px 12px 8px 8px; }
  .float-card strong { font-size: 12.5px; }
  .float-card small { font-size: 10.5px; }
  .avatars img, .avatars span { width: 26px; height: 26px; }
  .scan { width: 30px; height: 36px; }
}

@media (min-width: 900px) {
  .docs__tabs { grid-template-columns: repeat(6, 1fr); }
  .doc-panel { grid-template-columns: 300px 1fr; gap: 44px; padding: 30px; text-align: left; }
  .doc-panel__info { align-items: flex-start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps__line { left: 15%; right: 15%; top: 53px; bottom: auto; width: auto; height: 2px; margin: 0; }
  .steps__line span { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .step { background: transparent; border: 0; box-shadow: none; padding-top: 26px; }
  .cond { width: calc(33.333% - 8px); }
}

@media (min-width: 1024px) {
  .hero { padding: 96px 0 36px; }
  .hero__wrap { display: grid; grid-template-columns: 1.12fr 1fr; gap: 28px; align-items: center; text-align: left; }
  .hero__content { display: flex; flex-direction: column; align-items: flex-start; }
  .hero__title { margin-top: 20px; font-size: clamp(36px, 3.5vw, 48px); }
  .hero__visual { max-width: 540px; margin: 0 auto; }
  .hero__ctas { justify-content: flex-start; }
  .hero__trust { justify-content: flex-start; flex-wrap: nowrap; gap: 8px 14px; font-size: 12.5px; }
  .pain-grid, .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .final__wrap { grid-template-columns: 1fr 1fr; gap: 56px; }
  .final__content { text-align: left; align-items: flex-start; }
  .final .hero__ctas { justify-content: flex-start; }
  .gallery__track img { width: 380px; }
  .sticky-cta { display: none; }
  .wa-float { display: grid; }
  .footer { padding-bottom: 44px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker__track, .gallery__track { animation: none !important; }
}

/* ---------- v4: ondas de choque, card em destaque, CTA em largura total ---------- */
.tech-card__img--placeholder { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #eef2f9 0 12px, #e4eaf5 12px 24px); outline: 2px dashed rgba(255, 167, 0, .9); outline-offset: -8px; }
.tech-card__img--placeholder .placeholder__tag { position: static; translate: none; }
.tech-card--cta { grid-column: 1 / -1; }
.tech-card--featured { border: 2px solid var(--amber); box-shadow: 0 18px 40px -16px rgba(255, 167, 0, .55); }
.tech-card--featured .tag { background: var(--amber); color: var(--navy-900); }
.tech-card__badge { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 700; }
