/* =========================================================
   Vitrine Certipe — design system AvvraLabs
   navy #1a1a2e · azul elétrico #4361ee · cyan #00d4ff
   ========================================================= */

:root {
  --navy:       #1a1a2e;
  --navy-deep:  #12121f;
  --navy-soft:  #232340;
  --blue:       #4361ee;
  --cyan:       #00d4ff;
  --mint:       #5effc6;
  --white:      #ffffff;
  --text:       #e7e8f5;
  --text-dim:   #a4a6c4;
  --line:       rgba(0, 212, 255, 0.18);
  --radius:     16px;
  --radius-lg:  24px;
  --maxw:       1140px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.18; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease);
  min-height: 44px;
}
.btn svg { flex-shrink: 0; }
.btn-sm  { padding: 10px 18px; font-size: .9rem; min-height: 40px; }
.btn-xl  { padding: 19px 38px; font-size: 1.12rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  color: #07122b;
  box-shadow: 0 8px 26px rgba(0, 212, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0, 212, 255, 0.5); }

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border-color: var(--line);
}
.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 10px 26px rgba(0, 212, 255, 0.25);
}

.btn-ghost {
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(0, 212, 255, 0.16); border-color: var(--cyan); }

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }

.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.pulse { animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(0, 212, 255, 0.32); }
  50%      { box-shadow: 0 8px 40px rgba(0, 212, 255, 0.6); }
}

/* ---------- Logo (SVG vetorial) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, #242444, #14141f);
  border: 1px solid rgba(0, 212, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 4px 18px rgba(0, 212, 255, 0.16);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.brand-mark { width: 26px; height: auto; display: block; }
.brand-word {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.34rem;
  letter-spacing: -.01em;
  color: var(--white);
}
.brand:hover .brand-mark-plate {
  border-color: var(--cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 6px 22px rgba(0, 212, 255, 0.34);
}
.brand--lg { gap: 14px; }
.brand--lg .brand-mark-plate { width: 56px; height: 56px; border-radius: 15px; }
.brand--lg .brand-mark { width: 34px; }
.brand--lg .brand-word { font-size: 1.72rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(18, 18, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav > a:first-child {
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s var(--ease);
}
.header-nav > a:first-child:hover { color: var(--white); }

/* ---------- Faixa de download (compacta, topo) ---------- */
.cert-bar {
  padding: 88px 0 22px;
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
}
.cert-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  background: linear-gradient(110deg, rgba(94, 255, 198, 0.09), rgba(0, 212, 255, 0.07));
  border: 1px solid rgba(94, 255, 198, 0.24);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.1);
}
.cert-bar-text {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cert-bar-text p {
  color: var(--text);
  font-size: .97rem;
  max-width: 470px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-approved {
  color: var(--mint);
  background: rgba(94, 255, 198, 0.1);
  border: 1px solid rgba(94, 255, 198, 0.32);
}

/* ---------- Soluções (hero + vitrine) ---------- */
.solutions {
  position: relative;
  overflow: hidden;
  padding: 50px 0 92px;
  background:
    radial-gradient(720px 380px at 86% -4%, rgba(67, 97, 238, 0.2), transparent 70%),
    var(--navy);
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(circle at 50% 4%, #000, transparent 66%);
  mask-image: radial-gradient(circle at 50% 4%, #000, transparent 66%);
  pointer-events: none;
}
.section-glow {
  position: absolute;
  width: 560px; height: 560px;
  left: 50%; top: 2%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 66%);
  filter: blur(22px);
  pointer-events: none;
}
.solutions .container { position: relative; z-index: 1; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }
.section-head h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.015em;
}
.section-head p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(35, 35, 64, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 26px rgba(0, 212, 255, 0.22);
}
.card-featured {
  border-color: rgba(0, 212, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(0, 212, 255, 0.08), transparent 60%),
    rgba(35, 35, 64, 0.7);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.16);
}
.featured-tag {
  position: absolute;
  top: -11px; left: 26px;
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #07122b;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  padding: 5px 12px;
  border-radius: 999px;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.price-badge {
  align-self: flex-start;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}
.price-free { color: var(--mint); background: rgba(94, 255, 198, 0.1); border-color: rgba(94, 255, 198, 0.3); }
.card-title { font-size: 1.35rem; font-weight: 700; margin: 12px 0 4px; }
.card-tag { color: var(--text-dim); font-size: .95rem; }
.card-list {
  list-style: none;
  margin: 16px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card-list li {
  position: relative;
  padding-left: 24px;
  font-size: .94rem;
  color: var(--text);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.14);
  box-shadow: inset 0 0 0 1.5px var(--cyan);
}
.card-list li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 10.5px;
  width: 3px; height: 6px;
  border: solid var(--cyan);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.card .btn { margin-top: auto; }

/* ---------- Publi ---------- */
.promo { padding: 30px 0 92px; }
.promo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(110deg, var(--blue), var(--cyan));
  border-radius: var(--radius-lg);
  padding: 48px 52px;
}
.promo-glow {
  position: absolute;
  width: 380px; height: 380px;
  right: -80px; top: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  pointer-events: none;
}
.promo-text { position: relative; z-index: 1; max-width: 620px; }
.promo-text h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  margin: 6px 0 10px;
}
.promo-text p { color: rgba(255, 255, 255, 0.92); }
.promo-card .btn { position: relative; z-index: 1; }

/* ---------- Confiança ---------- */
.trust { padding: 56px 0; background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  color: var(--white);
}
.trust-item span { color: var(--text-dim); font-size: .92rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); padding: 56px 0 26px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}
.footer-brand p { margin-top: 14px; color: var(--text-dim); font-size: .92rem; max-width: 320px; }
.footer-col h4 {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--text);
  font-size: .95rem;
  padding: 5px 0;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: .85rem;
  color: var(--text-dim);
}

a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 880px) {
  .cards-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .promo-card   { padding: 40px 34px; }
}

@media (max-width: 580px) {
  .container        { padding: 0 18px; }
  .header-nav > a:first-child { display: none; }
  .cert-bar         { padding-top: 80px; }
  .cert-bar-inner   { flex-direction: column; align-items: flex-start; }
  .cert-bar-inner .btn { width: 100%; }
  .cards-grid,
  .trust-inner,
  .footer-inner     { grid-template-columns: 1fr; }
  .btn-xl           { width: 100%; }
  .promo-card       { flex-direction: column; align-items: flex-start; }
  .promo-card .btn  { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
