/* =========================================================
   Litos Produtos Hospitalares
   Conceito: embalagem estéril (papel grau cirúrgico + filme),
   linha de ECG, cápsula e prancheta de checklist.
   ========================================================= */

:root {
  --teal: #0B6D6C;
  --teal-600: #095958;
  --teal-800: #064241;
  --teal-900: #043130;
  --teal-50: #EEF7F6;
  --teal-100: #D8EDEB;
  --amber: #F4B860;
  --amber-600: #E09A32;
  --ink: #12302F;
  --muted: #4F6665;
  --white: #FFFFFF;
  --paper: #FBFDFC;
  --line: #D5E5E3;

  --header-h: 84px;
  --radius: 22px;
  --shadow: 0 24px 60px -28px rgba(4, 49, 48, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);

  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--teal-900); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--amber-600); outline-offset: 3px; border-radius: 6px; }

/* ---------- Ícones SVG de traço ---------- */
svg path, svg circle, svg rect { vector-effect: non-scaling-stroke; }
.btn svg, .link-arrow svg, .linha-icon svg, .capsula-icon svg, .check svg,
.etiqueta-list svg, .footer-social svg, .pouch-seal svg, .wa-float svg {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 .97rem/1 var(--f-sans); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 12px 26px -14px rgba(11,109,108,.7); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.btn-ghost { background: rgba(11,109,108,.08); color: var(--teal-800); border-color: rgba(11,109,108,.55); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover, .btn-light:focus-visible { background: var(--amber); color: var(--teal-900); border-color: var(--amber); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(4,49,48,.35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 56px; height: 56px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.32rem; color: var(--teal); letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 10px 14px;
  text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink);
  border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--teal); background: var(--teal-50); }
.nav a.active { color: var(--teal); }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px;
  margin-left: -3px; border-radius: 50%; background: var(--amber-600);
}
.nav ul li { flex-shrink: 0; }
.nav a:not(.btn) { white-space: nowrap; }
.nav a.nav-vitrine {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 4px;
  color: var(--teal-800); background: var(--teal-50); box-shadow: inset 0 0 0 1.5px rgba(11,109,108,.4);
}
.nav a.nav-vitrine svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav a.nav-vitrine:hover, .nav a.nav-vitrine.active { color: #fff; background: var(--teal); box-shadow: none; }
.nav a.nav-vitrine.active::after { display: none; }
.nav-cta-mobile { display: none; }
.header-cta { flex: none; min-height: 46px; padding: 0 20px; }

.header-pulse {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 14px;
  fill: none; stroke: var(--teal); stroke-width: 1.5; opacity: .5;
}

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 14px;
  background: var(--teal-50); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--teal-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: clamp(48px, 7vw, 96px) 0 clamp(96px, 10vw, 130px);
  background: var(--teal-50);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/bg/luvas-coracao.webp') 70% 50% / cover no-repeat;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(238,247,246,.94) 0%, rgba(238,247,246,.82) 42%, rgba(11,109,108,.18) 100%);
}
.hero-wrap { position: relative; z-index: 1; }

/* Envelope estéril: papel (conteúdo) + filme transparente */
.pouch {
  --zig: 9px;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  max-width: 1040px;
  filter: drop-shadow(0 30px 40px rgba(4,49,48,.22));
}
.pouch::before, .pouch::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--zig);
  background-size: calc(var(--zig) * 2) calc(var(--zig) * 2);
  background-repeat: repeat-x;
}
.pouch::before {
  top: calc(var(--zig) * -1);
  background-image:
    linear-gradient(-45deg, var(--paper) calc(var(--zig) * .72), transparent 0),
    linear-gradient(45deg, var(--paper) calc(var(--zig) * .72), transparent 0);
  background-position: left bottom;
}
.pouch::after {
  bottom: calc(var(--zig) * -1);
  background-image:
    linear-gradient(-135deg, var(--paper) calc(var(--zig) * .72), transparent 0),
    linear-gradient(135deg, var(--paper) calc(var(--zig) * .72), transparent 0);
  background-position: left top;
}
.pouch-paper {
  position: relative;
  background: var(--paper);
  padding: clamp(40px, 5vw, 64px) clamp(26px, 4.5vw, 60px) clamp(36px, 4.5vw, 56px);
  background-image: radial-gradient(rgba(11,109,108,.06) 1px, transparent 1.2px);
  background-size: 6px 6px;
}
.pouch-seal {
  position: absolute; top: 14px; right: 18px; display: flex; gap: 2px; color: var(--teal); opacity: .55;
}
.pouch-seal svg { width: 20px; height: 20px; }
.pouch-film {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 45%),
    url('../images/bg/mascaras.webp') 45% 50% / cover no-repeat,
    var(--teal-50);
  border-left: 2px dashed rgba(11,109,108,.45);
  box-shadow: inset 0 0 0 10px rgba(251,253,252,.92), inset 0 0 0 11px rgba(11,109,108,.18);
}
.film-sheen {
  position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-14deg);
  animation: sheen 7s var(--ease) 1.2s infinite;
}
@keyframes sheen { 0% { left: -60%; } 35%, 100% { left: 130%; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(244,184,96,.3); }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  color: var(--teal-900); letter-spacing: -.035em; line-height: 1;
}
.hero h1 .h1-sub { display: block; font-size: .5em; font-weight: 700; color: var(--teal); letter-spacing: -.02em; margin-top: 10px; }
.hero-sub {
  margin-top: 22px; max-width: 34em;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem); font-weight: 500; line-height: 1.6; letter-spacing: 0;
  color: var(--muted);
}
.hero-slogan {
  margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--amber);
  font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; color: var(--teal-800);
}
.hero-slogan em { color: var(--teal); font-size: 1.12em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ecg {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 1;
  width: 100%; height: 90px; fill: none;
  stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.ecg-line { stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.js .ecg-line { animation: ecg 3.4s var(--ease) .5s forwards; }
html:not(.js) .ecg-line { stroke-dashoffset: 0; }
@keyframes ecg { to { stroke-dashoffset: 0; } }

/* ---------- Cabeçalho das seções ---------- */
.sec-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.sec-tag {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-800);
  font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.sec-tag-light { background: rgba(255,255,255,.12); color: #fff; }
.section h2, .compromisso h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--teal-900); }
.section h2 em, .compromisso h2 em { color: var(--teal); font-size: 1.08em; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Produtos ---------- */
.linhas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.linha {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.linha:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(4,49,48,.45); }
.linha-img {
  height: clamp(220px, 26vw, 300px);
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease);
}
.linha:hover .linha-img { transform: scale(1.04); }
.linha-body { position: relative; padding: 40px clamp(24px, 3vw, 36px) 34px; flex: 1; display: flex; flex-direction: column; background: var(--white); }
.linha-icon {
  position: absolute; top: -32px; left: clamp(24px, 3vw, 36px);
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: #fff; border: 5px solid var(--white);
}
.linha-icon svg { width: 28px; height: 28px; }
.linha h3 { font-size: 1.5rem; color: var(--teal-900); margin-top: 6px; }
.linha p { margin-top: 12px; color: var(--muted); }
.link-arrow {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  color: var(--teal); font-weight: 700; text-decoration: none;
}
.link-arrow svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--teal-900); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Vitrine (chamada) ---------- */
.vitrine { background: var(--white); padding-top: 0; }
.vitrine-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(36px, 6vw, 72px);
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(circle at 85% 20%, rgba(244,184,96,.18), transparent 45%),
    linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal) 100%);
  color: #fff; box-shadow: var(--shadow);
}
.vitrine-box::before {
  content: ""; position: absolute; inset: 14px; border-radius: calc(var(--radius) + 2px);
  border: 1.5px dashed rgba(255,255,255,.18); pointer-events: none;
}
.vitrine-text { position: relative; z-index: 1; }
.vitrine h2 { color: #fff; }
.vitrine h2 em { color: var(--amber); }
.vitrine-text p { margin-top: 18px; max-width: 34em; color: rgba(255,255,255,.86); font-size: 1.1rem; }
.vitrine-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-amber { background: var(--amber); color: var(--teal-900); border-color: var(--amber); box-shadow: 0 14px 30px -14px rgba(244,184,96,.8); }
.btn-amber:hover, .btn-amber:focus-visible { background: #fff; border-color: #fff; color: var(--teal-900); }

/* expositor de vidro */
.vitrine-case { position: relative; z-index: 1; justify-self: center; width: min(340px, 100%); }
.case-glass {
  position: relative; overflow: hidden;
  display: grid; gap: 14px; padding: 22px 20px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 2px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 40px rgba(255,255,255,.06), 0 30px 50px -30px rgba(0,0,0,.6);
}
.case-shelf {
  display: flex; align-items: flex-end; justify-content: space-around; gap: 10px;
  height: 78px; padding: 0 6px; border-bottom: 5px solid rgba(255,255,255,.5);
}
.box {
  position: relative; display: block; border-radius: 5px 5px 2px 2px;
  background: var(--white); box-shadow: 0 6px 10px -6px rgba(0,0,0,.5);
  transform: translateY(var(--y, 0)); transition: transform .5s var(--ease);
}
.box::before, .box::after { content: ""; position: absolute; left: 50%; top: 42%; background: var(--teal); border-radius: 1px; transform: translate(-50%, -50%); }
.box::before { width: 12px; height: 4px; }
.box::after { width: 4px; height: 12px; }
.box-a { width: 58px; height: 46px; }
.box-b { width: 40px; height: 62px; background: var(--teal-100); }
.box-c { width: 50px; height: 36px; background: var(--amber); }
.box-c::before, .box-c::after { background: var(--teal-900); }
.vitrine-box:hover .case-shelf .box:nth-child(2) { --y: -6px; }
.vitrine-box:hover .case-shelf:nth-child(2) .box:nth-child(1),
.vitrine-box:hover .case-shelf:nth-child(3) .box:nth-child(3) { --y: -4px; }
.case-sheen {
  position: absolute; top: -40%; bottom: -40%; left: -60%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: rotate(18deg); animation: case-sheen 5s var(--ease) 1s infinite;
}
@keyframes case-sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.case-label {
  display: block; width: max-content; margin: 14px auto 0; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.4);
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9);
}

@media (max-width: 900px) {
  .vitrine-box { grid-template-columns: minmax(0, 1fr); }
  .vitrine-case { width: min(300px, 100%); order: -1; }
}
@media (max-width: 640px) {
  .vitrine-actions .btn { width: 100%; }
  .case-shelf { height: 64px; }
  .box-a { width: 48px; height: 38px; } .box-b { width: 34px; height: 52px; } .box-c { width: 42px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-sheen { animation: none; display: none; }
}

/* ---------- Sobre ---------- */
.sobre { background: var(--teal-50); position: relative; }
.historia {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.historia-mark { position: relative; justify-self: center; width: min(340px, 100%); aspect-ratio: 1; }
.historia-mark::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
}
.historia-mark img { position: relative; width: 100%; height: 100%; object-fit: contain; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }
.historia-text .lead { margin-top: 22px; font-size: 1.2rem; font-weight: 600; color: var(--teal-800); }
.historia-text p + p { margin-top: 16px; color: var(--muted); }

/* Cápsula: missão + visão */
.capsula {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 999px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(4,49,48,.45);
  border: 2px solid var(--teal);
}
.capsula-half { padding: clamp(36px, 4vw, 52px) clamp(40px, 7vw, 96px); }
.capsula-missao { background: var(--teal); color: #fff; padding-right: clamp(28px, 4vw, 52px); }
.capsula-visao { background: var(--white); color: var(--ink); padding-left: clamp(28px, 4vw, 52px); position: relative; }
.capsula-visao::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px;
  background: linear-gradient(var(--amber), var(--amber-600));
}
.capsula-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px; }
.capsula-missao .capsula-icon { background: rgba(255,255,255,.14); color: var(--amber); }
.capsula-visao .capsula-icon { background: var(--teal-50); color: var(--teal); }
.capsula-icon svg { width: 24px; height: 24px; }
.capsula h3 { font-size: 1.6rem; }
.capsula-missao h3 { color: #fff; }
.capsula-visao h3 { color: var(--teal-900); }
.capsula p { margin-top: 10px; }
.capsula-missao p { color: rgba(255,255,255,.9); }
.capsula-visao p { color: var(--muted); }

/* ---------- Valores ---------- */
.valores { background: var(--teal-800); color: #fff; position: relative; overflow: hidden; }
.valores::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -240px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.07); box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02);
}
.valores-wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.valores-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.valores h2 { color: #fff; }
.valores h2 em { color: var(--amber); }
.valores-intro p { margin-top: 18px; color: rgba(255,255,255,.82); }

.prancheta {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: 18px; padding: 56px clamp(22px, 3.4vw, 44px) 36px;
  box-shadow: 0 0 0 12px var(--teal-600), 0 40px 70px -20px rgba(0,0,0,.5);
  margin-top: 24px;
}
.prancheta-clip {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 150px; height: 52px; border-radius: 12px 12px 8px 8px;
  background: linear-gradient(#c8d6d5, #94a9a8);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.12), 0 6px 12px rgba(0,0,0,.25);
}
.prancheta-clip::before {
  content: ""; position: absolute; left: 50%; top: 10px; width: 48px; height: 14px; margin-left: -24px;
  border-radius: 999px; background: var(--teal-800);
}
.checklist {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px;
}
.checklist li {
  display: flex; gap: 14px; padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.checklist li:nth-last-child(-n+2) { border-bottom: 0; }
.check {
  flex: none; width: 30px; height: 30px; margin-top: 2px; border-radius: 8px;
  border: 2px solid var(--teal); display: grid; place-items: center; color: var(--teal-900);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.check svg { width: 20px; height: 20px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 0; }
.js .checklist li .check svg { stroke-dashoffset: 30; transition: stroke-dashoffset .5s var(--ease) .15s; }
.js .checklist li.checked .check { background: var(--amber); border-color: var(--amber); }
.js .checklist li.checked .check svg { stroke-dashoffset: 0; }
.checklist h3 { font-size: 1.12rem; color: var(--teal-900); letter-spacing: -.01em; }
.checklist p { margin-top: 4px; font-size: .96rem; color: var(--muted); line-height: 1.55; }

/* ---------- Compromisso (fundo fixo) ---------- */
.compromisso {
  position: relative; overflow: hidden; clip-path: inset(0);
  padding: clamp(96px, 13vw, 160px) 0; color: #fff; text-align: center;
  background: var(--teal-900);
}
.compromisso-bg {
  position: fixed; inset: 0; z-index: 0;
  background: url('../images/bg/luvas-coracao.webp') center / cover no-repeat;
}
.compromisso-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,49,48,.86), rgba(6,66,65,.8));
}
.compromisso-inner { position: relative; z-index: 1; max-width: 880px; }
.compromisso-ecg { width: 200px; height: 50px; margin: 0 auto 26px; fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compromisso h2 { color: #fff; }
.compromisso h2 em { color: var(--amber); }
.compromisso p { margin: 22px auto 34px; max-width: 40em; color: rgba(255,255,255,.88); font-size: 1.1rem; }

/* ---------- Contato ---------- */
.contato-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.contato-intro p { margin: 18px 0 30px; color: var(--muted); font-size: 1.08rem; }

/* Etiqueta com picote */
.etiqueta {
  position: relative;
  background: var(--white); border-radius: var(--radius);
  border: 2px dashed rgba(11,109,108,.5);
  padding: 10px; box-shadow: var(--shadow);
}
.etiqueta-list { position: relative; }
.etiqueta-list::before, .etiqueta-list::after {
  content: ""; position: absolute; top: -13px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); border: 2px dashed rgba(11,109,108,.5);
}
.etiqueta-list::before { left: -26px; clip-path: inset(0 0 0 50%); }
.etiqueta-list::after { right: -26px; clip-path: inset(0 50% 0 0); }
.etiqueta-head {
  display: flex; align-items: center; gap: 16px;
  background: var(--teal); color: #fff; border-radius: 14px; padding: 18px 22px;
}
.etiqueta-head img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 4px; flex: none; }
.etiqueta-head strong { display: block; font-size: 1.15rem; line-height: 1.25; }
.etiqueta-head span { font-size: .88rem; color: rgba(255,255,255,.85); }
.etiqueta-list {
  margin: 0; padding: 26px 22px 18px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px;
}
.etiqueta-list .full { grid-column: 1 / -1; padding-top: 20px; border-top: 1px dashed var(--line); }
.etiqueta-list dt {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
}
.etiqueta-list dt svg { width: 18px; height: 18px; flex: none; }
.etiqueta-list dd { margin: 6px 0 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.etiqueta-list dd a { text-decoration: none; border-bottom: 1px solid rgba(11,109,108,.35); transition: color .2s, border-color .2s; }
.etiqueta-list dd a:hover { color: var(--teal); border-color: var(--teal); }

/* ---------- Rodapé ---------- */
.footer { background: var(--teal-50); border-top: 1px solid var(--line); padding: 56px 0 40px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand img { width: 88px; height: 88px; }
.footer-slogan { font-weight: 700; color: var(--teal-800); font-size: 1.1rem; }
.footer-slogan em { color: var(--teal); font-size: 1.1em; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.footer-nav a { text-decoration: none; font-weight: 600; color: var(--muted); padding: 4px 0; }
.footer-nav a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--teal); border: 1px solid rgba(11,109,108,.4);
  transition: background-color .25s, color .25s;
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-legal { font-size: .88rem; color: var(--muted); }

/* ---------- WhatsApp flutuante (discreto, sem animação) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1FA855; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #178A45; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { width: 48px; height: 48px; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--white); padding: 18px 20px 26px;
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(4,49,48,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a:not(.btn) { padding: 13px 14px; font-size: 1.05rem; }
  .nav a.active::after { left: auto; right: 16px; top: 50%; bottom: auto; margin: -3px 0 0; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 14px; }

  .pouch { grid-template-columns: minmax(0, 1fr); }
  .pouch-film { display: none; }

  .linhas { grid-template-columns: minmax(0, 1fr); }
  .historia { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .historia-mark { width: min(240px, 70%); }

  .capsula { grid-template-columns: minmax(0, 1fr); border-radius: 48px; }
  .capsula-half { padding: 40px clamp(28px, 6vw, 48px) !important; }
  .capsula-visao::before { left: 18%; right: 18%; top: 0; bottom: auto; width: auto; height: 2px; }

  .valores-wrap { grid-template-columns: minmax(0, 1fr); }
  .valores-intro { position: static; }

  .contato-wrap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 32px); }
  .brand-text small { display: none; }
  .hero { padding-bottom: 110px; }
  .hero-actions .btn { width: 100%; }
  .ecg { height: 60px; bottom: 18px; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .checklist li:nth-last-child(2) { border-bottom: 1px dashed var(--line); }
  .prancheta { box-shadow: 0 0 0 8px var(--teal-600), 0 30px 50px -20px rgba(0,0,0,.5); }
  .etiqueta-list { grid-template-columns: minmax(0, 1fr); padding: 22px 14px 14px; }
  .etiqueta-head { padding: 16px; }
  .etiqueta-head img { width: 52px; height: 52px; }
  .contato-intro .btn { width: 100%; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* =========================================================
   Fundos com imagem nas seções (fixos: a seção vira uma janela)
   ========================================================= */
.produtos, .sobre, .valores, .contato { position: relative; clip-path: inset(0); }
.produtos { background: var(--white); }
.sobre { background: var(--teal-50); }
.valores { background: var(--teal-800); }
.contato { background: var(--white); }
.fixed-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.produtos > .wrap, .sobre > .wrap, .valores > .wrap, .contato > .wrap { position: relative; z-index: 1; }
.valores::before { z-index: 1; }
.fixed-bg-produtos {
  background:
    linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.9) 100%),
    url('../images/bg/luva.webp') 15% 40% / cover no-repeat;
}
.fixed-bg-sobre {
  background:
    linear-gradient(90deg, rgba(238,247,246,.82) 0%, rgba(238,247,246,.9) 45%, rgba(238,247,246,.95) 100%),
    url('../images/bg/algodao.webp') 30% 50% / cover no-repeat;
}
.fixed-bg-valores {
  background:
    linear-gradient(135deg, rgba(4,49,48,.92) 0%, rgba(6,66,65,.84) 60%, rgba(6,66,65,.9) 100%),
    url('../images/bg/estetoscopio.webp') 50% 50% / cover no-repeat;
}
.fixed-bg-contato {
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.72) 100%),
    url('../images/bg/mascara-branca.webp') 70% 50% / cover no-repeat;
}

/* Hero também com a foto parada */
.hero { clip-path: inset(0); }
.hero-bg { position: fixed; inset: 0; z-index: 0; }

@media (max-width: 900px) {
  .fixed-bg-produtos { background: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), url('../images/bg/luva.webp') 20% 50% / cover no-repeat; }
  .fixed-bg-sobre { background: linear-gradient(rgba(238,247,246,.9), rgba(238,247,246,.9)), url('../images/bg/algodao.webp') 50% 50% / cover no-repeat; }
  .fixed-bg-contato { background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)), url('../images/bg/mascara-branca.webp') 60% 50% / cover no-repeat; }
}

/* =========================================================
   Ajustes responsivos
   ========================================================= */
/* Telas grandes: container mais largo e tipografia levemente maior */
@media (min-width: 1600px) {
  .wrap { width: min(1360px, 100% - 80px); }
  body { font-size: 1.125rem; }
  .pouch { max-width: 1180px; }
  .hero h1 { font-size: 5.2rem; }
  .historia-mark { width: 380px; }
}
@media (min-width: 2200px) {
  .wrap { width: min(1520px, 100% - 120px); }
  body { font-size: 1.2rem; }
  .pouch { max-width: 1300px; }
}

/* Tablet e celular */
@media (max-width: 900px) {
  /* foto do envelope vira uma faixa abaixo do texto */
  .pouch-film {
    display: block; height: clamp(170px, 42vw, 300px);
    border-left: 0; border-top: 2px dashed rgba(11,109,108,.45);
    background-position: 0 0, 50% 45%, 0 0 !important;
  }
  .historia-text { text-align: left; }
  .historia-text .sec-tag { margin-inline: 0; }
}
@media (max-width: 380px) {
  .eyebrow { font-size: .7rem; letter-spacing: .05em; }
  .hero h1 { font-size: 2.4rem; }
  .pouch-paper { padding-inline: 20px; }
  .brand-text strong { font-size: 1.15rem; }
}

/* Celular deitado / telas baixas */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 62px; }
  .brand img { width: 42px; height: 42px; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero { min-height: 0; padding-top: 36px; }
  .nav { max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
}

/* =========================================================
   Efeitos
   ========================================================= */

/* Barra de leitura no header */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}

/* Bip percorrendo a linha do header */
.header-pulse .pulse-blip {
  stroke: var(--amber-600); stroke-width: 2.4; opacity: 1;
  stroke-dasharray: 60 2400; stroke-dashoffset: 60;
  animation: blip 5s linear infinite;
}
@keyframes blip { to { stroke-dashoffset: -2400; } }

/* Hero: entrada do envelope + conteúdo escalonado */
.js .pouch { animation: pouchIn 1.1s var(--ease) .1s both; }
@keyframes pouchIn {
  from { opacity: 0; transform: translateY(40px) scale(.97); clip-path: inset(-60px -60px 100% -60px); }
  to { opacity: 1; transform: none; clip-path: inset(-60px -60px -60px -60px); }
}
.js .hi { opacity: 0; animation: hiIn .9s var(--ease) both; animation-delay: calc(.55s + var(--i, 0) * .13s); }
@keyframes hiIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.h1-main { display: inline-block; }
.h1-letter { display: inline-block; }
.js .h1-letter { opacity: 0; transform: translateY(.5em) rotate(6deg); animation: letterIn .7s var(--ease) both; animation-delay: calc(.75s + var(--l) * .07s); }
@keyframes letterIn { to { opacity: 1; transform: none; } }

.pouch { transition: transform .5s var(--ease); transform-style: preserve-3d; }
.pouch-film { transition: background-position .6s var(--ease); }

/* Fundo do hero respirando */
.hero-bg { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }

/* Cruzes flutuando */
.hero-crosses { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-crosses span {
  position: absolute; left: var(--x); bottom: -40px; width: var(--s); height: var(--s);
  opacity: 0; animation: cross var(--t) linear var(--d) infinite;
}
.hero-crosses span::before, .hero-crosses span::after {
  content: ""; position: absolute; background: var(--teal); border-radius: 3px; opacity: .55;
}
.hero-crosses span::before { left: 35%; width: 30%; top: 0; bottom: 0; }
.hero-crosses span::after { top: 35%; height: 30%; left: 0; right: 0; }
.hero-crosses span:nth-child(3n)::before, .hero-crosses span:nth-child(3n)::after { background: var(--amber-600); }
@keyframes cross {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  10% { opacity: .7; }
  85% { opacity: .5; }
  100% { transform: translateY(calc(-100svh - 80px)) rotate(180deg); opacity: 0; }
}

/* ECG: bip luminoso percorrendo a linha depois do traço */
.ecg-blip {
  stroke: var(--amber); stroke-width: 3.4;
  stroke-dasharray: 90 2400; stroke-dashoffset: 90; opacity: 0;
  filter: drop-shadow(0 0 6px rgba(244,184,96,.9));
}
.js .ecg-blip { animation: ecgBlip 4.2s linear 3.6s infinite; }
@keyframes ecgBlip { 0% { stroke-dashoffset: 90; opacity: 1; } 95% { opacity: 1; } 100% { stroke-dashoffset: -2400; opacity: 0; } }

/* Direções de entrada */
.js .reveal { transition-delay: var(--rd, 0s); }
.js .reveal.reveal-left { transform: translateX(-48px); }
.js .reveal.reveal-right { transform: translateX(48px); }
.js .reveal.reveal-zoom { transform: scale(.82) rotate(-8deg); }
.js .reveal.reveal-tilt { transform: translateY(60px) rotate(-4deg); transform-origin: 50% 0; }
.js .reveal.reveal-print { transform: none; clip-path: inset(-40px -40px 100% -40px); transition: opacity .4s var(--ease), clip-path 1.2s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.reveal-print.in { clip-path: inset(-40px -40px -40px -40px); }

/* Sublinhado âmbar que se desenha nos destaques dos títulos */
.section h2 em, .compromisso h2 em {
  background: linear-gradient(var(--amber), var(--amber)) 0 92% / 0 .12em no-repeat;
  transition: background-size 1s var(--ease) .45s;
}
html:not(.js) .section h2 em, .seen h2 em, .compromisso .seen h2 em { background-size: 100% .12em; }
.valores h2 em, .compromisso h2 em { background-image: linear-gradient(rgba(244,184,96,.45), rgba(244,184,96,.45)); }

/* Tag das seções com ponto pulsando */
.sec-tag { position: relative; padding-left: 28px; }
.sec-tag::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--amber-600); animation: dot 2.2s ease-out infinite;
}
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(224,154,50,.55); } 100% { box-shadow: 0 0 0 9px rgba(224,154,50,0); } }

/* Cartões de produto: inclinação 3D + reflexo */
.linha[data-tilt] { transform-style: preserve-3d; will-change: auto; }
.linha::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.35), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.linha:hover::after { opacity: 1; }
.linha-icon { transition: transform .5s var(--ease), background-color .3s; }
.linha:hover .linha-icon { transform: rotate(-12deg) scale(1.08); background: var(--teal-900); }

/* Logo do Sobre com anel girando */
.historia-mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(11,109,108,.4);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Cápsula: metades se encaixando */
.js .capsula .capsula-half { transition: transform 1s var(--ease) .25s, opacity .8s var(--ease) .25s; }
.js .capsula:not(.seen) .capsula-missao { transform: translateX(-70px); opacity: 0; }
.js .capsula:not(.seen) .capsula-visao { transform: translateX(70px); opacity: 0; }
.capsula { transition: box-shadow .4s var(--ease); }
.capsula:hover { box-shadow: 0 40px 70px -30px rgba(4,49,48,.6); }
.capsula-icon { transition: transform .5s var(--ease); }
.capsula-half:hover .capsula-icon { transform: scale(1.12) rotate(-10deg); }

/* Valores: círculos respirando + itens entrando */
.valores::before { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); } }
.js .checklist li { opacity: 0; transform: translateX(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .checklist li.checked { opacity: 1; transform: none; }
.checklist li { border-radius: 10px; }
.checklist li:hover h3 { color: var(--teal); }
.prancheta-clip { transition: transform .4s var(--ease); }
.prancheta:hover .prancheta-clip { transform: translateX(-50%) translateY(-3px); }

/* Compromisso: batimento */
.compromisso-ecg path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.seen .compromisso-ecg path, html:not(.js) .compromisso-ecg path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.seen .compromisso-ecg { animation: beat 1.6s ease-in-out 2s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.07); } }

/* Etiqueta: linhas entrando em sequência */
.js .etiqueta-list > div { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.seen .etiqueta-list > div { opacity: 1; transform: none; }
.seen .etiqueta-list > div:nth-child(1) { transition-delay: .6s; }
.seen .etiqueta-list > div:nth-child(2) { transition-delay: .72s; }
.seen .etiqueta-list > div:nth-child(3) { transition-delay: .84s; }
.seen .etiqueta-list > div:nth-child(4) { transition-delay: .96s; }
.seen .etiqueta-list > div:nth-child(5) { transition-delay: 1.08s; }
.etiqueta-list dt svg { transition: transform .4s var(--ease); }
.etiqueta-list > div:hover dt svg { transform: scale(1.2) rotate(-8deg); }

/* Botões: brilho passando + clique em onda */
.btn-shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); animation: shine 5s ease-in-out 2.5s infinite;
}
@keyframes shine { 0% { left: -80%; } 30%, 100% { left: 140%; } }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  background: rgba(255,255,255,.4); transform: scale(0); animation: ripple .65s ease-out forwards;
}
.btn-ghost .ripple { background: rgba(11,109,108,.25); }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* Rodapé */
.footer-brand img { transition: transform .8s var(--ease); }
.footer-brand:hover img { transform: rotate(360deg); }
.footer-social a { transition: background-color .25s, color .25s, transform .3s var(--ease); }
.footer-social a:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ecg-line { stroke-dashoffset: 0; }
  .js .checklist li .check svg { stroke-dashoffset: 0; }
  .js .hi, .js .h1-letter, .js .pouch, .js .checklist li, .js .etiqueta-list > div,
  .js .capsula .capsula-half { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .reveal.reveal-print { clip-path: none; }
  .compromisso-ecg path { stroke-dashoffset: 0; }
  .section h2 em, .compromisso h2 em { background-size: 100% .12em; }
  .hero-crosses, .ecg-blip, .pulse-blip { display: none; }
}
