/* =========================================================
   Metrik Soluções TI - Landing page
   Cores extraídas da logo
   ========================================================= */
:root {
  --navy: #16426b;
  --navy-dark: #0e2c48;
  --teal: #1aa3a8;
  --teal-dark: #13878b;
  --orange: #f28c28;
  --text: #1f2a37;
  --muted: #5b6776;
  --bg: #ffffff;
  --bg-alt: #f3f7fa;
  --border: #e3e9ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 66, 107, .08);
  --shadow-lg: 0 20px 50px rgba(22, 66, 107, .14);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--muted); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(26, 163, 168, .1);
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.tag--live { display: inline-flex; align-items: center; gap: 8px; color: #b35d0b; background: rgba(242, 140, 40, .12); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 140, 40, .6); }
  100% { box-shadow: 0 0 0 10px rgba(242, 140, 40, 0); }
}

.hl {
  background: linear-gradient(90deg, var(--teal), var(--navy));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(22, 66, 107, .25); }
.btn--primary:hover { background: var(--navy-dark); }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242, 140, 40, .35); }
.btn--accent:hover { background: #e07a15; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(0, 0, 0, .04); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header__logo img { height: 62px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; color: var(--navy); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 85% 20%, rgba(26, 163, 168, .14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(242, 140, 40, .10), transparent 40%),
    linear-gradient(180deg, #fff, var(--bg-alt));
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero__text p { font-size: 1.1rem; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 12px;
  background: #0f2236; color: #fff;
}
.store svg { width: 24px; height: 24px; fill: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: .95rem; }
.store small { font-size: .62rem; font-weight: 500; opacity: .8; }


.hero__visual { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.hero__visual .float-card--a { top: 70px; right: 0; }
.hero__visual .float-card--b { bottom: 36px; left: 0; }
.phone {
  position: relative;
  width: 290px;
  margin: 0 auto;
  padding: 12px;
  background: #0f2236;
  border-radius: 44px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a4058;
}
.phone__notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 24px; border-radius: 20px; background: #0f2236; z-index: 2;
}
.phone__screen {
  background: var(--bg-alt);
  border-radius: 34px;
  padding: 54px 16px 14px;
  min-height: 540px;
  display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
}
.app__top { display: flex; justify-content: space-between; align-items: center; }
.app__top small { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.app__top strong { font-size: 1.05rem; color: var(--navy); }
.app__avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.app__card {
  border-radius: 18px; padding: 16px; color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy));
}
.app__card small { display: block; font-size: .7rem; opacity: .85; font-weight: 600; }
.app__card b { font-size: 1.15rem; }
.app__card svg { width: 100%; height: 70px; margin-top: 8px; display: block; }
.app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app__grid div {
  background: #fff; border-radius: 14px; padding: 12px;
  font-size: .76rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(22, 66, 107, .06);
}
.app__ico { width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0; }
.app__ico--teal { background: rgba(26, 163, 168, .2); }
.app__ico--orange { background: rgba(242, 140, 40, .22); }
.app__ico--navy { background: rgba(22, 66, 107, .15); }
.app__list { display: grid; gap: 8px; }
.app__list div {
  background: #fff; border-radius: 12px; padding: 11px 12px;
  font-size: .74rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.app__tabbar {
  margin-top: auto;
  display: flex; justify-content: space-around;
  background: #fff; border-radius: 16px; padding: 12px;
}
.app__tabbar i { width: 22px; height: 6px; border-radius: 4px; background: var(--border); }
.app__tabbar i.is-active { background: var(--teal); }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  animation: float 5s ease-in-out infinite;
}
.float-card--a { top: -18px; right: -10px; }
.float-card--b { bottom: -22px; left: -20px; animation-delay: -2.5s; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--ok { background: #4cd28a; box-shadow: 0 0 0 4px rgba(76, 210, 138, .2); }
.dot--warn { background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 140, 40, .2); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head p { font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { margin: 0; font-size: .95rem; }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Apps em breve */
.app-teaser {
  position: relative;
  background: #fff;
  border: 1px dashed #c9d6e2;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s;
}
.app-teaser:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-teaser h3 { margin: 14px 0 .3em; }
.app-teaser p { font-size: .93rem; margin-bottom: 20px; }
.app-teaser__icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.app-teaser__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-teaser__icon--teal { background: linear-gradient(135deg, #3cc1c5, var(--teal-dark)); }
.app-teaser__icon--orange { background: linear-gradient(135deg, #f7a95a, #e07a15); }
.app-teaser__icon--navy { background: linear-gradient(135deg, #2c6496, var(--navy-dark)); }

.badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 99px;
  color: #b35d0b; background: rgba(242, 140, 40, .14);
}
.badge--muted { color: var(--muted); background: var(--bg-alt); }
.badge--green { color: #1b8a45; background: rgba(47, 191, 99, .14); }

.progress { height: 6px; border-radius: 6px; background: var(--bg-alt); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--orange)); }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  opacity: .35;
}
.steps li { text-align: center; position: relative; }
.steps p { font-size: .93rem; margin-bottom: .6em; }
.steps__n {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 18px;
  font-weight: 800; font-size: 1.2rem; color: #fff;
  background: var(--navy);
  box-shadow: 0 0 0 8px #fff, 0 8px 20px rgba(22, 66, 107, .25);
  position: relative;
}
.steps__n svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.steps li.is-done .steps__n { background: var(--teal); }
.steps li.is-current .steps__n { background: var(--orange); box-shadow: 0 0 0 8px #fff, 0 0 0 12px rgba(242, 140, 40, .25), 0 8px 20px rgba(242, 140, 40, .35); }
.steps li:not(.is-done):not(.is-current) .steps__n { background: #fff; color: var(--navy); border: 2px dashed #b9c8d6; box-shadow: 0 0 0 8px #fff; }

/* Farol Verde (app em destaque) */
.app-feature {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.app-feature__media {
  position: relative;
  border-radius: 28px;
  padding: 18px;
  background: radial-gradient(circle at 50% 40%, rgba(76, 210, 120, .28), rgba(26, 163, 168, .08) 70%);
}
.app-feature__media img {
  width: 100%;
  border-radius: 22%;
  box-shadow: 0 18px 40px rgba(16, 80, 60, .28);
}
.app-feature__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.app-feature h3 { font-size: 2rem; font-weight: 800; margin-bottom: .3em; }
.app-feature__lead { font-size: 1.15rem; font-weight: 600; color: var(--navy) !important; }
.app-feature p { font-size: 1rem; }
.app-feature__list { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 10px; }
.app-feature__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .95rem; font-weight: 500; color: var(--text);
}
.app-feature__list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: #2fbf63 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.app-feature__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.link-arrow { font-weight: 700; font-size: .92rem; color: var(--teal-dark); }
.link-arrow:hover { text-decoration: underline; }

/* Contato */
.contact {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--teal-dark));
  padding: 88px 0;
  color: #fff;
}
.contact__head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.contact__head h2 { color: #fff; }
.contact__head p { color: rgba(255, 255, 255, .8); font-size: 1.05rem; margin: 0; }
.contact__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  background: #fff; color: var(--navy);
  border-radius: 18px; padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  transition: transform .2s, box-shadow .2s;
  flex: 0 1 auto;
  min-width: 0;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.contact-card > span:last-child { min-width: 0; }
.contact-card small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.contact-card strong { display: block; font-size: 1.08rem; overflow-wrap: break-word; }
.contact-card__icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(26, 163, 168, .12); color: var(--teal-dark);
}
.contact-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__icon--wa { background: #25d366; color: #fff; }
.contact-card__icon--wa svg { stroke: none; width: 28px; height: 28px; }

/* Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 44px; width: auto; }
.footer p { margin: 0; font-size: .88rem; }
.footer__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: .88rem; font-weight: 600; color: var(--navy); }
.footer__links a:hover { color: var(--teal-dark); text-decoration: underline; }

/* Política de privacidade */
.legal-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 85% 20%, rgba(26, 163, 168, .14), transparent 45%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  border-bottom: 1px solid var(--border);
}
.legal { max-width: 1000px; }
.legal-hero h1 { margin-bottom: .3em; }
.legal__meta { margin: 0; font-size: .95rem; }
.section--legal { padding: 56px 0 96px; }
.legal--grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }

.legal__toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--bg-alt); border-radius: var(--radius); padding: 22px;
  font-size: .88rem;
}
.legal__toc strong { display: block; color: var(--navy); margin-bottom: 10px; }
.legal__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }
.legal__toc a { color: var(--muted); font-weight: 500; }
.legal__toc a:hover { color: var(--teal-dark); }

.legal__body { max-width: 720px; }
.legal__body p,
.legal__body li { color: var(--text); font-size: 1rem; line-height: 1.75; }
.legal__body strong { color: var(--navy-dark); }
.legal__lead { font-size: 1.08rem !important; }
.legal__body h2 {
  font-size: 1.3rem;
  margin: 2.2em 0 .8em;
  padding-top: 1.4em;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.legal__body h2 span { color: var(--orange); }
.legal__body ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; display: grid; gap: 10px; }
.legal__body ul li { position: relative; padding-left: 22px; }
.legal__body ul li::before {
  content: ""; position: absolute; left: 4px; top: .7em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
.legal__body a { color: var(--teal-dark); }
.legal__note {
  border-left: 4px solid var(--orange);
  background: rgba(242, 140, 40, .07);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  margin: 1.4em 0;
}
.legal__note p { margin: 0; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .pulse { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 80px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .app-feature { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .app-feature__media { max-width: 280px; margin: 0 auto; }
  .legal--grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .header__logo img { height: 50px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .06);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
  .contact__cards { flex-direction: column; align-items: stretch; }
  .contact-card { padding: 18px; gap: 14px; }
  .contact-card__icon { width: 44px; height: 44px; }
  .contact-card strong { font-size: .98rem; }
  .app-feature { padding: 24px 20px; }
  .app-feature h3 { font-size: 1.7rem; }
  .contact { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .float-card--a { right: 0; }
  .float-card--b { left: 0; }
  .phone { width: 260px; }
  .phone__screen { min-height: 500px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { flex-direction: column; gap: 10px; }
}
