/* =========================================================
   NOVEL | Marketing Médico — estilos (mobile-first)
   ========================================================= */
:root {
  --white: #FFFFFF;
  --offwhite: #F7F9FC;
  --mist: #EEF3FA;
  --line: #E1E7F0;
  --navy: #102D70;
  --navy-deep: #0B1F4F;
  --blue: #1764D8;
  --brand-sky: #31A4DA;    /* azul claro do símbolo oficial */
  --green: #467D75;        /* Mars Green */
  --green-soft: #E8F1EF;
  --gold: #C9A34E;
  --ink: #1B2333;
  --muted: #5A6578;
  --wa: #1FA855;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 45, 112, .06), 0 2px 8px rgba(16, 45, 112, .04);
  --shadow: 0 2px 6px rgba(16, 45, 112, .05), 0 18px 40px -18px rgba(16, 45, 112, .22);
  --shadow-lg: 0 30px 70px -30px rgba(16, 45, 112, .45);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.section { padding: 72px 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.06rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 700 .98rem/1.2 var(--font); text-decoration: none; text-align: center;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(16, 45, 112, .7); }
.btn-primary:hover { background: var(--blue); box-shadow: 0 14px 30px -12px rgba(23, 100, 216, .65); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 12px 28px; font-size: 1rem; }
.ico-wa { width: 20px; height: 20px; flex: none; }
.btn-light .ico-wa { color: var(--wa); }
.btn-primary .ico-wa { color: #6EE29A; }
.cta-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; max-width: 440px; }
.cta-note.light { color: rgba(255, 255, 255, .72); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 45, 112, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img, .brand .brand-logo { width: auto; height: 50px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .14em; line-height: 1; display: flex; flex-direction: column; }
.brand-name small { font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.main-nav { display: none; }
.site-header .btn-sm { display: none; }


.ico-arrow { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 36px 0 0; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, #E3EEFC 0%, transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--offwhite) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke-width: 1.4; }
.hero-lines path:first-child { stroke: rgba(49, 164, 218, .35); }
.hero-lines path:last-child { stroke: rgba(23, 100, 216, .18); }
.hero-grid { position: relative; display: grid; gap: 36px; }
.hero-copy { padding-bottom: 8px; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.05rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; margin-bottom: 20px; }
.h1-accent {
  display: block; margin-top: .1em;
  background: linear-gradient(90deg, var(--blue), var(--brand-sky) 60%, var(--blue));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.06rem; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-cta .btn { width: 100%; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.hero-trust svg { width: 22px; height: 22px; color: var(--blue); }

.hero-visual { position: relative; align-self: end; margin: 0 -20px; }
.hero-blob { display: none;
  position: absolute; right: -8%; top: 8%; width: 82%; height: 92%;
  border-radius: 48px 48px 0 140px;
  background: linear-gradient(160deg, var(--brand-sky) 0%, var(--blue) 55%, var(--navy) 100%);
  opacity: .92;
}
.hero-photo {
  position: relative; width: 100%; height: auto; aspect-ratio: 1079 / 976; object-fit: cover; object-position: 50% 0%;
  border-radius: 0 0 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
  mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.hero-card {
  position: absolute; right: 14px; bottom: 30px; z-index: 2;
  display: grid; gap: 4px; padding: 10px; min-width: 168px;
  border-radius: 18px; background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-card li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; font-size: .84rem; font-weight: 700; color: var(--navy); }
.hc-ico { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #E7F0FD; color: var(--blue); }
.hc-ico svg { width: 18px; height: 18px; }
@media (max-width: 599px) {
  .hero-card { position: relative; left: auto; right: auto; bottom: auto; margin: -40px 16px 8px; grid-template-columns: repeat(2, 1fr); min-width: 0; }
  .hero-card li { padding: 4px 6px; font-size: .8rem; }
}

/* ---------- Seções em duas colunas ---------- */
.split { display: grid; gap: 44px; align-items: center; }
.dif-copy p:not(.kicker), .sobre-copy p:not(.kicker) { color: var(--muted); }
.dif-copy strong { color: var(--navy); }

/* ---------- Diferenciais + vídeo ---------- */
.diferenciais { background: linear-gradient(180deg, var(--offwhite), #fff); }
.dif-media { position: relative; display: grid; place-items: center; padding: 40px 0 56px; isolation: isolate; }
/* Palco do vídeo: forma em degradê, malha de pontos e anel */
.stage-bg {
  position: absolute; z-index: -2; inset: 12% 6% 4% 6%; border-radius: 40px;
  background: linear-gradient(140deg, #5ED3C4 0%, var(--brand-sky) 45%, var(--blue) 100%);
  transform: rotate(-6deg); opacity: .9;
  box-shadow: 0 40px 80px -40px rgba(23, 100, 216, .6);
}
.stage-bg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(70% 50% at 30% 10%, rgba(255, 255, 255, .45), transparent 70%);
}
.stage-dots {
  position: absolute; z-index: -3; left: -2%; top: 0; width: 46%; height: 40%;
  background-image: radial-gradient(rgba(23, 100, 216, .28) 1.4px, transparent 1.6px);
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at 30% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 30%, transparent 75%);
}
.stage-ring {
  position: absolute; z-index: -3; right: -4%; bottom: 2%; width: 180px; height: 180px; border-radius: 50%;
  border: 2px dashed rgba(201, 163, 78, .55);
}
.player-frame {
  position: relative; z-index: 1; width: min(72%, 320px);
  padding: 8px; border-radius: 30px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.player { position: relative; aspect-ratio: 9 / 16; border-radius: 23px; overflow: hidden; background: var(--navy-deep); }
.player video { width: 100%; height: 100%; object-fit: cover; background: var(--navy-deep); }
.player.is-static { aspect-ratio: 9 / 16; }
.player-cover, .player-static {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 18px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; align-items: stretch;
  color: #fff; font: 600 .82rem/1.3 var(--font); text-align: left; overflow: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.player-cover {
  background:
    linear-gradient(180deg, rgba(11, 31, 79, .45) 0%, rgba(11, 31, 79, 0) 26%, rgba(11, 31, 79, .05) 55%, rgba(11, 31, 79, .75) 100%),
    url("../img/video-poster.webp") center / cover no-repeat;
}
.player-static {
  cursor: default;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(49, 164, 218, .45), transparent 60%),
    radial-gradient(90% 50% at 10% 100%, rgba(70, 125, 117, .55), transparent 60%),
    linear-gradient(180deg, #14347F 0%, #0B1F4F 100%);
}
.player-static[hidden] { display: none; }
.player-cover.is-hidden { opacity: 0; visibility: hidden; }
.cover-top { position: relative; display: flex; white-space: nowrap; font-size: .76rem; align-items: center; gap: 10px; letter-spacing: .04em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.cover-top img { width: 26px; height: 26px; }
.cover-bottom { position: relative; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.play-btn {
  position: absolute; left: 50%; top: 50%; margin: -38px 0 0 -38px;
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .95); color: var(--navy);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .2), 0 18px 40px -10px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease);
}
.play-btn svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.player-cover:hover .play-btn { transform: scale(1.07); }
.static-mark { position: relative; align-self: center; width: 96px; height: auto; opacity: .92; }


.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 18px 40px -18px rgba(16, 45, 112, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .76rem; font-weight: 700; line-height: 1.25; color: var(--navy); white-space: nowrap;
}
.fc-ico {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; color: #fff;
  background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: 0 8px 16px -8px var(--c2);
}
.fc-ico svg { width: 19px; height: 19px; }
.fc-1 { left: 0; top: 14%; }
.fc-2 { right: 0; top: 42%; }
.fc-3 { right: 4%; bottom: 9%; }
.dif-badges { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 26px; }
.dif-badges li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.b-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.b-ico svg { width: 20px; height: 20px; }
.b-green { background: var(--green-soft); color: var(--green); box-shadow: 0 0 0 5px rgba(70, 125, 117, .08); }
.b-gold { background: #FBF3E2; color: #B38A2E; box-shadow: 0 0 0 5px rgba(201, 163, 78, .1); }
.b-blue { background: #E7F0FD; color: var(--blue); box-shadow: 0 0 0 5px rgba(23, 100, 216, .07); }

/* ---------- Pilares (faixa azul) ---------- */
.pilares {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(49, 164, 218, .35), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(23, 100, 216, .45), transparent 60%),
    linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 50%, #1650B8 100%);
}
.pil-grid { display: grid; gap: 36px; align-items: center; }
.pil-head h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.15rem); }
.pilares .kicker { color: #9FD3F0; }
.pillar-grid { display: grid; gap: 16px; }
.pillar {
  position: relative; padding: 24px; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .7s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 45%);
}
.p-blue { background: linear-gradient(160deg, #2D7BEA, #1243A8); }
.p-green { background: linear-gradient(160deg, #3DAE8E, #24705F); }
.p-gold { background: linear-gradient(160deg, #E8B84E, #C3841F); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.pillar-top { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.num { font-size: 2.8rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); letter-spacing: -.02em; }
.pillar-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); color: #fff;
}
.pillar-ico svg { width: 24px; height: 24px; }
.pillar h3 { position: relative; color: #fff; font-size: 1.12rem; }
.pillar p { position: relative; color: rgba(255, 255, 255, .88); font-size: .93rem; margin: 0; }

/* ---------- Soluções ---------- */
.sol-head { display: grid; gap: 8px; margin-bottom: 36px; }
.sol-head h2 { margin-bottom: 0; }
.sol-head > p { color: var(--muted); margin: 0; max-width: 420px; }
.service-grid { display: grid; gap: 16px; }
.service {
  position: relative; display: grid; grid-template-columns: 56px 1fr 30px; gap: 16px; align-items: start;
  padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), opacity .7s var(--ease);
}
.service:hover { border-color: color-mix(in srgb, var(--c1) 40%, transparent); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: 0 12px 24px -12px var(--c2);
}
.service-ico svg { width: 28px; height: 28px; }
.service h3 { font-size: 1rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0; }
.service-go {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c1); color: #fff; transition: transform .3s var(--ease);
}
.service-go svg { width: 16px; height: 16px; }
.service:hover .service-go { transform: rotate(-45deg); }
.mid-cta {
  margin-top: 36px; padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #EAF2FD, #fff); border: 1px solid var(--line);
  display: grid; gap: 18px; justify-items: start;
}
.mid-cta p { margin: 0; color: var(--navy); font-weight: 600; max-width: 560px; }
.mid-cta .btn { width: 100%; }

/* ---------- Responsabilidade ---------- */
.responsabilidade {
  position: relative; overflow: hidden; padding: 56px 0;
  background: #EAF1FA url("../img/responsabilidade-bg.webp") right center / cover no-repeat;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 899px) {
  .responsabilidade { background-position: 85% bottom; background-size: auto 100%; }
  .responsabilidade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(240, 245, 252, .9) 55%, rgba(240, 245, 252, .35)); }
}
.resp-box { position: relative; display: grid; gap: 22px; align-items: center; }
.resp-ico {
  width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--navy);
  box-shadow: 0 0 0 8px rgba(23, 100, 216, .08), var(--shadow);
}
.resp-ico svg { width: 36px; height: 36px; }
.resp-copy h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.resp-copy p:not(.kicker) { color: var(--muted); max-width: 680px; }
.resp-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.resp-points li {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(70, 125, 117, .22);
  box-shadow: 0 8px 20px -14px rgba(16, 45, 112, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-weight: 700; color: var(--navy); font-size: .9rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.resp-points li:hover { transform: translateY(-3px); border-color: rgba(70, 125, 117, .5); box-shadow: 0 14px 26px -14px rgba(16, 45, 112, .5); }
.resp-points svg {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%; flex: none;
  background: linear-gradient(160deg, #3DAE8E, var(--green)); color: #fff;
  box-shadow: 0 0 0 4px rgba(70, 125, 117, .12);
  stroke-dasharray: 30; stroke-dashoffset: 0;
}
/* Brilho que atravessa cada selo de tempos em tempos */
.resp-points li::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .9), transparent);
  transform: skewX(-20deg); animation: chip-shine 6s ease-in-out infinite;
}
.resp-points li:nth-child(2)::after { animation-delay: .4s; }
.resp-points li:nth-child(3)::after { animation-delay: .8s; }
@keyframes chip-shine { 0%, 70% { left: -60%; } 90%, 100% { left: 130%; } }
/* Entrada: selos sobem em sequência e o check se desenha */
.resp-box.is-visible .resp-points li { animation: rise .6s var(--ease) both; }
.resp-box.is-visible .resp-points li:nth-child(1) { animation-delay: .35s; }
.resp-box.is-visible .resp-points li:nth-child(2) { animation-delay: .5s; }
.resp-box.is-visible .resp-points li:nth-child(3) { animation-delay: .65s; }
.resp-box.is-visible .resp-points svg { animation: check-draw .6s var(--ease) both, check-pop .5s var(--ease) both; }
.resp-box.is-visible .resp-points li:nth-child(1) svg { animation-delay: .6s; }
.resp-box.is-visible .resp-points li:nth-child(2) svg { animation-delay: .75s; }
.resp-box.is-visible .resp-points li:nth-child(3) svg { animation-delay: .9s; }
@keyframes check-draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
@keyframes check-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---------- Processo ---------- */
.steps { position: relative; display: grid; gap: 28px; padding-left: 30px; }
.steps::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--green), var(--gold), var(--brand-sky)); opacity: .5; border-radius: 2px; }
.step { position: relative; --dot: var(--blue); }
.step:nth-child(2) { --dot: var(--green); }
.step:nth-child(3) { --dot: var(--gold); }
.step:nth-child(4) { --dot: var(--brand-sky); }
.step::before {
  content: ""; position: absolute; left: -30px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--dot);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px color-mix(in srgb, var(--dot) 35%, transparent);
}
.step-num { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--dot); margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; max-width: 300px; font-size: .95rem; }

/* ---------- Sobre ---------- */
.sobre { background: var(--offwhite); }
.sobre-card {
  padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 16px; justify-items: start;
}
.sobre-card .sobre-logo { width: 190px; height: auto; }
.sobre-name { font-size: 1.6rem; font-weight: 800; letter-spacing: .16em; color: var(--navy); margin: 0; line-height: 1; display: flex; flex-direction: column; gap: 8px; }
.sobre-name span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.sobre-list { display: grid; gap: 8px; width: 100%; padding-top: 16px; border-top: 1px solid var(--line); }
.sobre-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.sobre-list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; align-items: start; }
.faq-head h2 { margin: 0; }
.accordion { display: grid; gap: 10px; }
.accordion details { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.accordion details[open] { border-color: rgba(23, 100, 216, .35); box-shadow: var(--shadow); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font-weight: 700; color: var(--navy); line-height: 1.4; min-height: 48px; font-size: .96rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before, .accordion summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px;
  background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease);
}
.accordion summary::after { transform: rotate(90deg); }
.accordion details[open] summary::after { transform: rotate(0deg); }
.accordion details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative; overflow: hidden; padding: 80px 0; color: #fff;
  background:
    radial-gradient(60% 90% at 90% 10%, rgba(49, 164, 218, .4), transparent 60%),
    linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, #1650B8 100%);
}
.final-deco { position: absolute; inset: 0; pointer-events: none; }
.final-deco svg { width: 100%; height: 100%; }
.final-deco path { fill: none; stroke-width: 1.4; }
.final-inner { position: relative; display: grid; gap: 28px; align-items: center; }
.final-cta h2 { color: #fff; }
.final-copy p { color: rgba(255, 255, 255, .84); font-size: 1.04rem; margin: 0; max-width: 520px; }
.final-action { display: grid; gap: 18px; justify-items: start; }
.final-cta .btn { width: 100%; }
.final-checks { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.final-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .9); }
.final-checks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 40px 0 96px; background: #fff; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-inner { display: grid; gap: 14px; justify-items: start; }
.brand-footer .brand-logo { width: auto; height: 46px; }
.footer-tag { margin: 0; font-weight: 600; color: var(--navy); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  color: var(--navy); background: var(--mist); border: 1px solid var(--line);
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.social a:hover, .social a:focus-visible { transform: translateY(-3px); color: #fff; border-color: transparent; }
.social a[data-social="instagram"]:hover, .social a[data-social="instagram"]:focus-visible { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.social a[data-social="facebook"]:hover, .social a[data-social="facebook"]:focus-visible { background: #1877F2; }
.social svg { width: 20px; height: 20px; }
.footer-links a, .link-btn { color: var(--muted); text-decoration: none; font: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.footer-links a:hover, .link-btn:hover { color: var(--navy); text-decoration: underline; }
.footer-copy { margin: 0; font-size: .82rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 45; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  animation: wa-in .6s var(--ease) 1.2s both;
}
.wa-circle {
  position: relative; width: 60px; height: 60px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(16, 80, 40, .6);
  transition: transform .25s var(--ease), background-color .2s;
}
.wa-circle svg { width: 32px; height: 32px; }
.wa-circle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: wa-ring 2.4s ease-out 2s infinite;
}
.wa-label {
  padding: 9px 14px; border-radius: 12px; background: #fff; color: var(--navy);
  font-size: .86rem; font-weight: 700; white-space: nowrap;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.wa-float:hover .wa-circle, .wa-float:focus-visible .wa-circle { transform: scale(1.07); background: #18934A; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Aviso de cookies ---------- */
.cookie-bar {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px;
  padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; gap: 12px; font-size: .88rem; color: var(--muted);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Entrada ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.pillar-grid .reveal:nth-child(2), .service-grid .reveal:nth-child(3n+2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.pillar-grid .reveal:nth-child(3), .service-grid .reveal:nth-child(3n), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 600px) {
  .container { padding: 0 32px; }
  .hero-cta .btn, .mid-cta .btn, .final-cta .btn { width: auto; }
  .hero-visual { margin: 0; }
  .hero-photo { height: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); padding-left: 0; padding-top: 34px; gap: 32px 24px; }
  .steps::before { left: 9px; right: 9px; top: 8px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green), var(--gold), var(--brand-sky)); }
  .step::before { left: 0; top: -34px; }
  .cookie-bar { left: auto; right: 20px; bottom: 20px; max-width: 440px; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .section { padding: 100px 0; }
  .main-nav { display: flex; gap: 28px; }
  .main-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9rem; position: relative; padding: 6px 0; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .main-nav a:hover::after { transform: scaleX(1); }
  .site-header .btn-sm { display: inline-flex; }

  /* Banner: foto ocupa o lado direito inteiro e se funde ao fundo branco */
  .hero { padding-top: 0; min-height: 620px; display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero-grid { position: static; grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; max-width: 620px; padding: 64px 0 72px; }
  .hero-visual { position: absolute; align-self: stretch; justify-self: stretch; top: 0; right: 0; bottom: 0; width: 56%; margin: 0; min-height: 0; z-index: 1; }
  .hero-photo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%;
    border-radius: 0; box-shadow: none; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 10%, #000 24%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 10%, #000 24%);
  }
  .hero-blob {
    display: none; z-index: 1; left: 34%; right: auto; top: auto; bottom: 0; width: 46%; height: 52%;
    border-radius: 40px 40px 0 0; opacity: .14; mix-blend-mode: multiply;
  }
  .hero-card { right: 4%; top: 28%; bottom: auto; padding: 12px; min-width: 186px; }

  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .dif-media { padding: 40px 0; }

  .pil-grid { grid-template-columns: .85fr 2fr; gap: 48px; }
  .pillar { padding: 26px 24px 28px; }

  .sol-head { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 40px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .mid-cta { grid-template-columns: 1fr auto; align-items: center; padding: 30px 36px; }

  .responsabilidade { padding: 84px 0; }
  .resp-box { grid-template-columns: auto 1fr; gap: 40px; padding-right: 30%; }
  .responsabilidade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240, 245, 252, .75) 0%, rgba(240, 245, 252, .55) 50%, transparent 70%); }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }

  .sobre-grid { grid-template-columns: 1.3fr .9fr; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .final-cta { padding: 96px 0; }
  .final-inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .final-action { justify-items: start; }
  .site-footer { padding-bottom: 40px; }
  .footer-inner { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px 32px; }
  .footer-copy { grid-column: 1 / -1; }
  .wa-float { right: 28px; bottom: 28px; }
}

@media (min-width: 1200px) {
  .hero { min-height: 660px; }
}

/* Entre 900 e 1099px o menu não cabe ao lado do botão: fica só o logo e o CTA */
@media (min-width: 900px) and (max-width: 1099px) {
  .main-nav { display: none; }
  .hero-copy { max-width: 500px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-visual { width: 50%; }
  .hero-card { right: 2%; min-width: 160px; }
}
.site-header .btn-sm, .main-nav a { white-space: nowrap; }

/* ---------- Animações dos componentes ---------- */
/* Hero: entrada em sequência ao abrir a página */
.hero-copy > *, .hero-visual { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-visual { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Brilho correndo na frase de destaque do título */
.h1-accent { animation: shine 6s ease-in-out 1.2s infinite; }
@keyframes shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Linhas de fundo em fluxo contínuo e lento */
.hero-lines path, .final-deco path { stroke-dasharray: 6 10; animation: flow 40s linear infinite; }
.hero-lines path:last-child, .final-deco path:nth-child(2) { animation-duration: 55s; animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -800; } }

/* Cartão de frentes no hero: entra item a item e flutua */
.hero-card { animation: bob 7s ease-in-out 1.4s infinite; }
.hero-card li { animation: rise .6s var(--ease) both; }
.hero-card li:nth-child(1) { animation-delay: .6s; }
.hero-card li:nth-child(2) { animation-delay: .72s; }
.hero-card li:nth-child(3) { animation-delay: .84s; }
.hero-card li:nth-child(4) { animation-delay: .96s; }
.hero-card li { transition: background-color .2s; }
.hero-card li:hover { background: #F1F6FE; }
.hero-blob { animation: drift 12s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, 8px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Vídeo: ícones flutuantes, brilho no painel e ponto pulsando */
.player-static::after, .player-cover::after {
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent);
  transform: skewX(-12deg); animation: sweep 7s ease-in-out 1.5s infinite;
}
@keyframes sweep { 0% { left: -60%; } 35%, 100% { left: 130%; } }
.static-mark { animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.live-dot { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 163, 78, .6); } 60% { box-shadow: 0 0 0 7px rgba(201, 163, 78, 0); } }
.play-btn { animation: ping 2.6s ease-out 1s infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45), 0 18px 40px -10px rgba(0, 0, 0, .5); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0), 0 18px 40px -10px rgba(0, 0, 0, .5); }
}
.float-card { animation: bob 6s ease-in-out infinite; }
.fc-2 { animation-duration: 7s; animation-delay: -2s; }
.fc-3 { animation-duration: 8s; animation-delay: -4s; }
.stage-bg { animation: tilt 12s ease-in-out infinite; }
@keyframes tilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-3deg) translateY(-6px); } }
.stage-ring { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dif-badges li { transition: transform .25s var(--ease); }
.dif-badges li:hover { transform: translateY(-3px); }

/* Cartões: ícones entram com leve "pop" */
.pillar.is-visible .pillar-ico, .service.is-visible .service-ico { animation: pop .6s var(--ease) .2s both; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.service-ico { transition: transform .35s var(--ease); }
.service:hover .service-ico { transform: translateY(-3px) rotate(-6deg); }

/* Responsabilidade: escudo com halo pulsando */
.resp-ico { animation: halo 3.2s ease-in-out infinite; }
@keyframes halo { 0%, 100% { box-shadow: 0 0 0 8px rgba(23, 100, 216, .08), var(--shadow); } 50% { box-shadow: 0 0 0 14px rgba(23, 100, 216, .04), var(--shadow); } }

/* Como trabalhamos: a linha do tempo se desenha ao aparecer */
.steps::before { transform-origin: top left; transition: transform 1.4s var(--ease) .2s; }
.steps[data-draw]:not(.is-visible)::before { transform: scaleY(0); }
.step.is-visible::before { animation: pop .5s var(--ease) .5s both; }
@media (min-width: 600px) {
  .steps[data-draw]:not(.is-visible)::before { transform: scaleX(0); }
}

/* Botões: brilho discreto ao passar o mouse */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 130%; }


/* Palco do vídeo no celular: cartões menores, longe do botão de play */
@media (max-width: 599px) {
  .float-card { font-size: .68rem; padding: 7px 10px 7px 7px; gap: 7px; }
  .fc-ico { width: 30px; height: 30px; border-radius: 9px; }
  .fc-ico svg { width: 16px; height: 16px; }
  .fc-1 { left: -4px; top: 12%; }
  .fc-2 { right: -4px; top: 64%; }
  .fc-3 { display: none; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
