/* ===========================================================
   Notelet Brasil — Design System
   Paleta: azul tecnológico (primário), verde (CTA), cinza/branco
   Tipografia: Inter (fallback system-ui)
   Acessibilidade: contraste >= 4.5:1, foco visível, áreas táteis 44x44
   =========================================================== */

:root {
  /* ================ Notelet Brasil — Tema DARK FUTURISTA ================
     Fundo preto/grafite profundo, superfícies elevadas em tom carvão,
     azul elétrico como cor de tecnologia, menta como acento.
  */
  --color-bg: #07090e;              /* preto azulado profundo */
  --color-surface: #0d1117;         /* seções */
  --color-surface-2: #161c26;       /* cards / superfícies elevadas */
  --color-surface-3: #1d2531;       /* hover / inputs */
  --color-border: #232c3b;          /* bordas sutis */
  --color-border-strong: #2f3a4c;
  --color-text: #f1f5f9;            /* texto principal claro */
  --color-text-muted: #aab4c4;
  --color-text-soft: #6b7686;

  --color-primary: #3b82f6;         /* Azul Elétrico (mais luminoso no escuro) */
  --color-primary-strong: #2563eb;
  --color-primary-soft: #12203a;    /* fundo azul escuro translúcido */

  --color-cta: #3b82f6;
  --color-cta-strong: #2563eb;

  --color-accent: #2dd4bf;          /* Verde menta/ciano — brilho tech */
  --color-danger: #f87171;
  --color-info: #60a5fa;

  --glow-primary: 0 0 24px rgba(59, 130, 246, .35);
  --glow-accent: 0 0 24px rgba(45, 212, 191, .3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .6);

  --container: 1180px;
  --header-h: 72px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* Espaço para a navbar flutuante (14px topo + ~60px altura + respiro). */
  padding-top: 90px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background-color: #05070b;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Camada de fundo decorativa: aurora + grid com profundidade.
   Fica fixa atrás de tudo, com z-index negativo. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    /* aurora azul no topo */
    radial-gradient(70% 55% at 50% -10%, rgba(59, 130, 246, .18), transparent 70%),
    /* brilho ciano discreto à esquerda */
    radial-gradient(40% 40% at 8% 25%, rgba(45, 212, 191, .10), transparent 70%),
    /* brilho azul à direita */
    radial-gradient(45% 45% at 95% 70%, rgba(37, 99, 235, .12), transparent 70%),
    /* base escura */
    linear-gradient(180deg, #070a10 0%, #05070b 60%, #04060a 100%);
}

/* Grid fino com fade radial (mais visível no centro, some nas bordas) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 160, 220, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 220, .05) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 85%);
}

img, svg { max-width: 100%; display: block; }

/* Garante que o conteúdo fique acima do canvas de efeito de grid (#grid-fx) */
.site-header, main, .site-footer, .wa-float, .lgpd-banner { position: relative; z-index: 1; }
#grid-fx { z-index: 0; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  color: var(--color-text);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: -.005em; }

p { margin: 0 0 1em; }

/* Acessibilidade: skip link */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { top: 0; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(13, 18, 28, .82) 0%, rgba(9, 12, 19, .72) 100%);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, .22);
  box-shadow: 0 1px 0 rgba(59, 130, 246, .15), 0 8px 30px rgba(0, 0, 0, .45);
}

/* Logo no header (vidro escuro): texto claro, notebook azul */
.site-header .brand-logo__word { color: #f1f5f9; }
.site-header .brand-logo__nb { color: #3b82f6; }
.site-header .brand-logo__sub { color: rgba(241, 245, 249, .55); }

/* ---- Navbar flutuante (pill destacada das bordas) ---- */
.site-header--floating {
  top: 14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1280px;
  border: 1px solid rgba(59, 130, 246, .25);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.site-header--floating .site-header__inner {
  height: 60px;
  padding: 0 16px 0 20px;
  gap: 14px;
}
.site-header--floating .nav { flex: 1 1 auto; }
.site-header--floating .header-cta { margin-left: 14px; }
@media (max-width: 960px) {
  .site-header--floating { top: 8px; width: calc(100% - 16px); border-radius: 18px; }
}

/* Ícones nos itens do nav */
.nav__ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav__ico svg { display: block; width: 18px; height: 18px; opacity: .95; }
.site-header .nav__ico svg { color: #cbd8ea; }
.site-header .nav a:hover .nav__ico svg,
.site-header .nav a[aria-current="page"] .nav__ico svg { color: #fff; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__label { white-space: nowrap; }
/* Navbar flutuante: ícone + texto compactos para caber sem invadir logo/botão */
.site-header--floating .nav { gap: 2px; justify-content: center; min-width: 0; overflow: visible; padding-inline: 4px; flex-wrap: nowrap; }
.site-header--floating .nav a {
  gap: 6px;
  padding: 7px 8px;
  font-size: .85rem;
}
.site-header--floating .nav__ico { width: 16px; height: 16px; }
.site-header--floating .nav__ico svg { width: 16px; height: 16px; }
/* Telas médias: esconde rótulos (só ícones, nome no tooltip) */
@media (min-width: 961px) and (max-width: 1340px) {
  .site-header--floating .nav__label { display: none; }
  .site-header--floating .nav a { gap: 0; padding: 9px 9px; }
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.15rem;
  letter-spacing: -.01em;
}

.brand { flex-shrink: 0; margin-right: 18px; }

/* ---- Logotipo Notelet (NOTE [notebook] LET / BRASIL) ---- */
.brand, .brand:hover { text-decoration: none; }
.brand-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 600px) {
  .brand-img { height: 28px; }
}

/* ---- Logotipo Notelet v3 (elegante, inline) ---- */
.logo2 {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 4px;
}
.logo2__main {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}
.logo2__word {
  font-family: 'Manrope', var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: .2em;
  text-indent: .2em;
  color: #fff;
}
.logo2__nb {
  width: 34px;
  height: 23px;
  color: #fff;
  flex-shrink: 0;
  display: block;
  margin-top: 1px;
  margin-left: -5px;
  margin-right: -4px;
}
.logo2__sub {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  justify-content: center;
}
.logo2__line {
  height: 1px;
  width: 26px;
  background: rgba(255,255,255,.45);
}
.logo2__subtext {
  font-family: 'Manrope', var(--font-display);
  font-weight: 500;
  font-size: .52rem;
  letter-spacing: .5em;
  text-indent: .5em;
  color: rgba(255,255,255,.8);
}
@media (max-width: 600px) {
  .logo2__word { font-size: 1.15rem; letter-spacing: .2em; text-indent: .2em; }
  .logo2__nb { width: 24px; height: 17px; }
  .logo2__line { width: 16px; }
  .logo2__subtext { font-size: .45rem; letter-spacing: .38em; text-indent: .38em; }
}
.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo__row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.brand-logo__word {
  font-family: 'Orbitron', var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-indent: .04em;
  color: var(--color-text);
  flex-shrink: 0;
  line-height: 1;
}
.brand-logo__nb {
  width: 32px;
  height: 23px;
  display: block;
  align-self: center;
  margin-top: 0;
  flex-shrink: 0;        /* impede o flexbox de colapsar o notebook */
  overflow: visible;
}
.brand-logo__sub {
  font-family: 'Orbitron', var(--font-display);
  font-weight: 500;
  font-size: .52rem;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--color-text-soft);
  margin-top: 4px;
}
@media (max-width: 600px) {
  .brand-logo__word { font-size: 1.15rem; }
  .brand-logo__nb { width: 27px; height: 19px; }
  .brand-logo__sub { font-size: .46rem; letter-spacing: .35em; text-indent: .35em; }
}

/* Logo no footer (fundo escuro) */
.brand-logo--footer .brand-logo__word { color: #fff; }
.brand-logo--footer .brand-logo__nb { color: #3b82f6; }
.brand-logo--footer .brand-logo__sub { color: #64748b; }
.brand__logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}
.nav { display: flex; gap: 4px; flex: 1; justify-content: center; align-items: center; }
.nav a {
  color: rgba(241, 245, 249, .8);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: .95rem;
  line-height: 1;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: rgba(59, 130, 246, .14); color: #fff; text-decoration: none; }
.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(59, 130, 246, .22);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .4);
  border-radius: 12px;
}
.header-cta { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
/* Botão "Área do cliente" sobre o header de vidro escuro */
.site-header .btn--ghost {
  color: #cbd8ea;
  border-color: rgba(59, 130, 246, .45);
  background: transparent;
}
.site-header .btn--ghost:hover {
  background: rgba(59, 130, 246, .14);
  border-color: var(--color-primary);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, .45);
  color: #cbd8ea;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  min-height: 44px; min-width: 44px;
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(13, 18, 28, .97);
    backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 16px;
    padding: 10px;
    display: none;
    gap: 2px;
    box-shadow: 0 16px 40px rgba(0,0,0,.55);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; min-height: 44px; width: auto; height: auto; display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
  .site-header--floating .nav a { width: auto; height: auto; padding: 12px 14px; gap: 10px; justify-content: flex-start; }
  .site-header--floating .nav__label { display: inline; }
  .header-cta .btn--ghost { display: none; }
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .04s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 1px 2px rgba(37, 99, 235, .15);
}
.btn--primary:hover { background: var(--color-primary-strong); border-color: var(--color-primary-strong); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.btn--cta {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .3), 0 0 20px rgba(59, 130, 246, .25);
}
.btn--cta:hover { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(59, 130, 246, .5); }
/* Botão WhatsApp — verde da marca, reconhecível */
.btn--wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .3);
}
.btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(37, 211, 102, .4); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover { background: var(--color-primary-soft); }
.btn--outline {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover { border-color: var(--color-text); }
.btn--lg { padding: 14px 24px; font-size: 1rem; }
.btn--sm { padding: 8px 14px; min-height: 36px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, .25) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 191, .15) 0%, transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .25), 0 0 12px rgba(45, 212, 191, .8);
}
.hero__title { margin-bottom: 20px; }
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.6;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2563eb 100%);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, .4), 0 0 0 1px rgba(37, 99, 235, .2);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
}
.hero__visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(96, 165, 250, .25), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(16, 185, 129, .12), transparent 55%),
    linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, .04) 50%, transparent 70%);
}
.hero__visual-stack {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px;
}
.hero__visual-stack svg { margin: 0 auto 16px; opacity: .95; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .3)); }
.hero__visual-icon { display: block; width: 76px !important; height: 76px !important; max-width: 76px; }
.hero__visual h3 { color: #fff; margin-bottom: 4px; font-size: 1.25rem; }
.hero__visual p { color: rgba(255,255,255,.85); margin: 0; font-size: .95rem; }

@media (max-width: 880px) {
  .hero { padding: 48px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===========================================================
   Sections
   =========================================================== */
section { padding: 64px 0; }
section.bg-surface { background: var(--color-surface); }
section.bg-primary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2563eb 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
section.bg-primary::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(96, 165, 250, .2) 0%, transparent 60%);
  pointer-events: none;
}
section.bg-primary > .container { position: relative; z-index: 1; }
section.bg-primary h2,
section.bg-primary h3 { color: #fff; }
section.bg-primary p { color: rgba(255,255,255,.9); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0;
}
.section-head--left { text-align: left; margin-left: 0; }

/* ===========================================================
   Cards e Grids
   =========================================================== */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md), var(--glow-primary); border-color: var(--color-primary); transform: translateY(-2px); }
.card--link { display: block; text-decoration: none !important; color: inherit; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md), var(--glow-primary); }
.card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, rgba(59, 130, 246, .15) 100%);
  color: var(--color-primary);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  border: 1px solid rgba(59, 130, 246, .25);
}
.card__title { margin: 0 0 8px; font-size: 1.1rem; }
.card__text { color: var(--color-text-muted); margin: 0; font-size: .95rem; }

.card__icon { display: grid; place-items: center; }
.card__icon svg { width: 26px; height: 26px; }
.diferencial__icon svg { width: 22px; height: 22px; }

/* Lista de checks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: var(--color-text-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  width: 20px; height: 20px;
  background: var(--color-cta);
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  display: grid; place-items: center;
  font-weight: 700;
}

/* ===========================================================
   Steps (Como funciona)
   =========================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
.step {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}
.step h4 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--color-text-muted); font-size: .95rem; }

/* ===========================================================
   Plano cards (página /planos)
   =========================================================== */
.plano-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plano-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md), 0 0 28px rgba(59, 130, 246, .35);
}
.plano-card--featured {
  border-color: var(--color-border-strong);
  position: relative;
}
.plano-card--featured::before {
  content: 'Mais procurado';
  position: absolute;
  top: -12px; left: 24px;
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .3);
}
.plano-card__name { font-size: 1.25rem; margin: 0; }
.plano-card__publico {
  display: inline-block;
  font-size: .8rem;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  width: max-content;
}
.plano-card__price {
  display: flex; align-items: baseline; gap: 6px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.plano-card__price-from { font-size: .8rem; color: var(--color-text-soft); }
.plano-card__price-value { font-size: 1.6rem; font-weight: 800; color: var(--color-text); }
.plano-card__price-unit { color: var(--color-text-muted); font-size: .9rem; }
.plano-card__price--sob-medida { font-size: 1rem; color: var(--color-text-muted); padding: 16px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* Filtro de planos */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}
.filter-bar button {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 500;
  font-size: .9rem;
  min-height: 44px;
  color: var(--color-text-muted);
  transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.filter-bar button:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(59, 130, 246, .25);
}
.filter-bar button[aria-pressed="true"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 18px rgba(59, 130, 246, .45);
}

/* ===========================================================
   Catálogo
   =========================================================== */
.catalogo-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}
@media (max-width: 880px) {
  .catalogo-layout { grid-template-columns: 1fr; }
}
.catalogo-aside {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.catalogo-aside h3 { font-size: 1rem; margin: 16px 0 8px; }
.catalogo-aside h3:first-child { margin-top: 0; }
.catalogo-aside label {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-size: .9rem;
  color: var(--color-text-muted);
  cursor: pointer;
}
.catalogo-search {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  margin-bottom: 16px;
  background: var(--color-surface-2);
  color: var(--color-text);
}
.catalogo-search::placeholder { color: var(--color-text-soft); }
.catalogo-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}
.equip-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.equip-card:hover { box-shadow: var(--shadow-md), 0 0 24px rgba(59, 130, 246, .3); transform: translateY(-2px); border-color: var(--color-primary); }
.equip-card__photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-surface-3), var(--color-surface-2));
  display: grid;
  place-items: center;
  color: var(--color-text-soft);
  font-size: 3rem;
}
.equip-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.equip-card__cat {
  font-size: .75rem;
  text-transform: uppercase;
  color: var(--color-text-soft);
  letter-spacing: .05em;
  font-weight: 600;
}
.equip-card__title { margin: 0; font-size: 1.05rem; }
.equip-card__specs { color: var(--color-text-muted); font-size: .85rem; margin: 0; flex: 1; }
.equip-card__footer { display: flex; gap: 8px; flex-wrap: wrap; }

.catalogo-group { margin-bottom: 40px; }
.catalogo-group h2 { margin-bottom: 16px; }

/* ===========================================================
   Form fields
   =========================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.form-grid--full > * { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-weight: 600;
  font-size: .875rem;
  color: var(--color-text);
}
.field .hint { font-size: .8rem; color: var(--color-text-soft); }
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  min-height: 44px;
  background: var(--color-surface-2);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
}
.field textarea { min-height: 120px; resize: vertical; }
.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--color-danger);
  background: rgba(248, 113, 113, .08);
}
.field__error {
  color: var(--color-danger);
  font-size: .85rem;
  display: none;
}
.field--error .field__error { display: block; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--color-text-muted);
}
.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px;
}

fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 0 0 16px;
  background: var(--color-surface-2);
}
fieldset legend {
  padding: 0 8px;
  font-weight: 600;
  font-size: .9rem;
}

/* Container do formulário de cotação: fundo opaco para o efeito de grade
   do fundo não aparecer através dos espaços do formulário. */
#form-container {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}
#form-container fieldset {
  background: var(--color-surface-2);
}
@media (max-width: 600px) {
  #form-container { padding: 16px; }
}

/* ===========================================================
   FAQ
   =========================================================== */
.faq-search {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  margin-bottom: 24px;
  background: var(--color-surface-2);
  color: var(--color-text);
}
.faq-search::placeholder { color: var(--color-text-soft); }
.faq-group { margin-bottom: 32px; }
.faq-group h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
details.faq-item {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
details.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform .15s ease;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item .faq-body {
  padding: 0 20px 20px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
details.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ===========================================================
   Depoimentos
   =========================================================== */
.depo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .depo-grid { grid-template-columns: 1fr; } }
.depo {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.depo__stars { color: var(--color-accent); margin-bottom: 12px; }
.depo__text { color: var(--color-text); font-size: 1rem; margin-bottom: 16px; font-style: italic; }
.depo__text::before { content: '“'; }
.depo__text::after { content: '”'; }
.depo__author { display: flex; align-items: center; gap: 12px; }
.depo__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.depo__name { font-weight: 600; margin: 0; }
.depo__role { color: var(--color-text-muted); font-size: .85rem; margin: 0; }

/* ===========================================================
   Diferenciais (badges)
   =========================================================== */
.diferencial {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.diferencial__icon {
  width: 40px; height: 40px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.diferencial h4 { margin: 0 0 4px; font-size: 1rem; }
.diferencial p { margin: 0; color: var(--color-text-muted); font-size: .9rem; }

/* ===========================================================
   Configurador de Kit
   =========================================================== */
.kit-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}
@media (max-width: 980px) { .kit-layout { grid-template-columns: 1fr; } }
.kit-step {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.kit-resumo {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
}
.kit-tipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 600px) { .kit-tipo-grid { grid-template-columns: repeat(2, 1fr); } }
.kit-tipo-btn {
  background: var(--color-surface-2);
  border: 2px solid var(--color-border);
  padding: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  min-height: 88px;
  color: var(--color-text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.kit-tipo-btn:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, .3);
}
.kit-tipo-btn[aria-pressed="true"] {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  box-shadow: 0 0 24px rgba(59, 130, 246, .4);
}
.kit-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.kit-item-row:last-child { border-bottom: 0; }
.kit-item-row__name { flex: 1; font-size: .95rem; }
.kit-qtd { display: flex; align-items: center; gap: 6px; }
.kit-qtd button {
  width: 34px; height: 34px;
  background: var(--color-surface-3);
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.kit-qtd button:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.kit-qtd input {
  width: 56px;
  text-align: center;
  padding: 6px;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  min-height: 36px;
  background: var(--color-surface-3);
  color: var(--color-text);
  font-weight: 700;
}
.kit-resumo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--color-border);
}
.kit-resumo-list li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: .9rem;
}
.kit-resumo-total {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  font-weight: 700;
  font-size: 1.05rem;
}
.kit-aviso {
  background: rgba(251, 191, 36, .1);
  border: 1px solid rgba(251, 191, 36, .3);
  color: #fcd34d;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  margin-bottom: 12px;
}

/* ===========================================================
   Blog
   =========================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #cbd5e1; }
.blog-card__cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  display: grid; place-items: center;
  color: #fff;
  font-size: 2rem;
}
.blog-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card__cat { font-size: .75rem; color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.blog-card__title { margin: 0; font-size: 1.1rem; }
.blog-card__title a { color: var(--color-text); text-decoration: none; }
.blog-card__title a:hover { color: var(--color-primary); }
.blog-card__resumo { color: var(--color-text-muted); font-size: .9rem; margin: 0; flex: 1; }
.blog-card__meta { font-size: .8rem; color: var(--color-text-soft); }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: #04060a;
  color: #aab4c4;
  padding: 64px 0 28px;
  margin-top: 80px;
  border-top: 1px solid var(--color-border);
}
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: .95rem; font-family: var(--font-display); }
.site-footer a { color: #cbd5e1; transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; font-size: .9rem; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #64748b;
}

/* ===========================================================
   Botão flutuante WhatsApp
   =========================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 90;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); text-decoration: none; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float__label {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-surface-2);
  color: var(--color-text);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}
.wa-float:hover .wa-float__label { opacity: 1; }
@media (max-width: 600px) {
  .wa-float__label { display: none; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ===========================================================
   Banner LGPD
   =========================================================== */
.lgpd-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  z-index: 95;
  flex-wrap: wrap;
}
.lgpd-banner p { margin: 0; flex: 1; min-width: 240px; font-size: .9rem; color: var(--color-text-muted); }
.lgpd-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lgpd-banner.is-hidden { display: none; }
@media (max-width: 600px) {
  .lgpd-banner { left: 8px; right: 8px; bottom: 84px; padding: 16px; }
}

/* ===========================================================
   Alertas
   =========================================================== */
.alert {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: .95rem;
  border: 1px solid;
}
.alert--info { background: rgba(96, 165, 250, .12); color: #93c5fd; border-color: rgba(96, 165, 250, .3); }
.alert--success { background: rgba(45, 212, 191, .12); color: #5eead4; border-color: rgba(45, 212, 191, .3); }
.alert--warn { background: rgba(251, 191, 36, .12); color: #fcd34d; border-color: rgba(251, 191, 36, .3); }
.alert--error { background: rgba(248, 113, 113, .12); color: #fca5a5; border-color: rgba(248, 113, 113, .3); }

/* ===========================================================
   Sucesso da cotação
   =========================================================== */
.sucesso-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.sucesso-card__icon {
  width: 72px; height: 72px;
  background: var(--color-cta);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}
.sucesso-card__id {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--color-surface);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 8px 0 24px;
  font-size: .85rem;
}

/* ===========================================================
   Stub auth (cliente/admin)
   =========================================================== */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--color-surface);
  padding: 24px;
}
.auth-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.auth-card h1 { margin-top: 0; font-size: 1.5rem; }

/* ===========================================================
   Utilitários
   =========================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 16px; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

/* Print */
@media print {
  .site-header, .site-footer, .wa-float, .lgpd-banner { display: none !important; }
}
