/*
 * FAS LOGTECH — Design System v3
 * Acessível (WCAG AA), escalável, daltonismo-safe
 * Adicionar produto: copiar .product-card e criar nova página em /pt/
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Mono:wght@400;500&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --gold:        #FFD700;
  --gold-dim:    rgba(255,215,0,0.10);
  --gold-border: rgba(255,215,0,0.22);

  /* Backgrounds */
  --bg:    #0a0a0a;
  --bg1:   #111111;
  --bg2:   #171717;
  --bg3:   #1e1e1e;

  /* Borders */
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);

  /* Text — contraste garantido WCAG AA */
  --text:   #ebebeb;   /* 14.5:1 sobre --bg  */
  --text2:  #aaaaaa;   /* 5.3:1  sobre --bg  */
  --text3:  #666666;   /* 3.1:1  — só ornamental */

  /* Product accents — todos testados para daltonismo */
  --farol-accent:   #FFD700;   /* amarelo — distinguível por todos */
  --outpost-accent: #E07B39;
  --outpost-bg:     #2C3B22;
  --outpost-mid:    #4A5E3A;
  --outpost-sand:   #C8B89A;
  --guardcam-accent: #FFD700;   /* azul elétrico — distinguível por todos */

  /* Semantic — NUNCA só cor, sempre acompanha ícone/label */
  --ok:   #1db37a;
  --warn: #c98a14;
  --err:  #d94f4f;

  /* Spacing */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── BASE ───────────────────────────────────────────────── */
body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  padding-top: 72px;
  padding-bottom: 72px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background sutil — apenas gradiente dourado no topo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(255,215,0,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ─── CONTAINER ──────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ─────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

header .container {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 100%; gap: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 32px; }

nav { display: flex; align-items: center; gap: 2px; }

nav a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

nav a.nav-cta {
  background: var(--gold);
  color: #000;
  font-weight: 600;
  margin-left: 8px;
}
nav a.nav-cta:hover {
  background: #fff;
  box-shadow: 0 0 20px rgba(255,215,0,0.25);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: none; border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: all 0.25s;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  z-index: 1000;
}

footer .container {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 56px; gap: 16px; flex-wrap: wrap;
}

footer p { color: var(--text3); font-size: 0.78rem; margin: 0; }
footer a { color: var(--text2); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; align-items: center; }
.footer-sep { color: var(--border2); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
h4 { font-size: 0.9rem; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: 0.06em; }

p { color: var(--text2); font-size: 0.95rem; line-height: 1.75; margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

.highlight { color: var(--gold); }
.mono { font-family: 'Roboto Mono', monospace; }

/* ─── EYEBROW ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.3; transform:scale(0.7); }
}

.eyebrow.outpost { background: rgba(224,123,57,0.10); border-color: rgba(224,123,57,0.22); color: var(--outpost-accent); }
.eyebrow.outpost .pulse { background: var(--outpost-accent); }
.eyebrow.guardcam { background: rgba(74,158,255,0.10); border-color: rgba(74,158,255,0.22); color: var(--guardcam-accent); }
.eyebrow.guardcam .pulse { background: var(--guardcam-accent); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r-sm);
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,215,0,0.2); color: #000; text-decoration: none; }

.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

.btn-outpost { background: var(--outpost-accent); color: #fff; }
.btn-outpost:hover { background: #c56928; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(224,123,57,0.25); color: #fff; text-decoration: none; }

.btn-guardcam { background: var(--guardcam-accent); color: #000; }
.btn-guardcam:hover { background: #6ab8ff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(74,158,255,0.25); color: #000; text-decoration: none; }

.btn-sm { padding: 7px 16px; font-size: 0.8rem; }

.btn-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-group.center { justify-content: center; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 72px 20px 56px;
}
.hero p { max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ─── SECTION ────────────────────────────────────────────── */
section { margin-bottom: 64px; }
.section-header { margin-bottom: 32px; }

/* ─── CARD BASE ──────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--border2); }

/* ─── PRODUCT CARDS (homepage) ───────────────────────────── */
/*
 * PARA ADICIONAR UM NOVO PRODUTO:
 * 1. Copie um .product-card abaixo
 * 2. Troque a classe de cor (.pc-farol/.pc-outpost/.pc-guardcam)
 * 3. Adicione .pc-seuProduto no CSS com a cor do produto
 * 4. Crie pt/seuproduto.html
 * 5. Adicione link no nav
 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.product-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}
.product-card:hover { transform: translateY(-3px); }

/* Faixa de cor no topo — identifica o produto visualmente */
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.pc-farol::before   { background: linear-gradient(90deg, var(--farol-accent), transparent); }
.pc-outpost::before { background: linear-gradient(90deg, var(--outpost-accent), transparent); }
.product-card.pc-outpost { background: #1a2614; border-color: rgba(74,94,58,0.4); }
.product-card.pc-outpost:hover { background: #1e2e18; border-color: rgba(224,123,57,0.35); }
.pc-guardcam::before{ background: linear-gradient(90deg, #FFD700, transparent); }
.product-card.pc-guardcam { background: #0d0d0d; border-color: rgba(255,215,0,0.15); }
.product-card.pc-guardcam:hover { border-color: rgba(255,215,0,0.35); }

.pc-farol:hover   { border-color: rgba(255,215,0,0.3); }
.pc-outpost:hover { border-color: rgba(224,123,57,0.3); }
.pc-guardcam:hover{ border-color: rgba(255,215,0,0.3); }

.product-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 6px;
  margin-bottom: 16px; width: fit-content;
}
.pl-farol   { background: var(--gold-dim); color: var(--farol-accent); border: 1px solid var(--gold-border); }
.pl-outpost { background: rgba(44,59,34,0.8); color: var(--outpost-sand, #C8B89A); border: 1px solid rgba(74,94,58,0.5); }
.pl-guardcam{ background: rgba(255,215,0,0.08); color: #FFD700; border: 1px solid rgba(255,215,0,0.22); }

.product-name {
  font-family: 'Roboto', sans-serif;
  font-size: 1.65rem; font-weight: 800;
  color: #fff; margin-bottom: 6px; line-height: 1;
}
.product-tagline { font-size: 0.85rem; color: var(--text3); margin-bottom: 20px; line-height: 1.5; }

.product-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 6px; margin-bottom: 28px; flex: 1;
}
.product-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.83rem; color: var(--text2);
  padding: 0; border: none;
}
.product-features li::before { content: none; }

/* Ícone de check acessível — forma + cor */
.feat-check {
  width: 16px; height: 16px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; font-size: 9px;
}
.fc-farol   { background: var(--gold-dim); color: var(--farol-accent); }
.fc-outpost { background: rgba(224,123,57,0.12); color: var(--outpost-accent); }
.fc-guardcam{ background: rgba(255,215,0,0.08); color: #FFD700; }

/* Badge "EM BREVE" — para produtos futuros */
.product-card.coming-soon {
  opacity: 0.55;
  cursor: default;
}
.product-card.coming-soon:hover { transform: none; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg3); border: 1px solid var(--border2);
  color: var(--text3); font-size: 0.68rem; font-weight: 600;
  padding: 3px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── FEATURE GRID (páginas de produto) ──────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  margin-top: 24px;
}
.feature-card {
  background: var(--bg2);
  padding: 28px 24px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg3); }
.feature-card img { width: 100%; border-radius: 8px; margin-bottom: 14px; opacity: 0.9; }
.feature-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }

/* ─── STATS ROW ──────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  margin: 36px 0;
}
.stat-item { background: var(--bg2); padding: 24px 20px; text-align: center; }
.stat-value {
  font-family: 'Roboto', sans-serif; font-size: 1.8rem;
  font-weight: 800; line-height: 1; display: block;
}
.stat-label { font-size: 0.72rem; color: var(--text3); margin-top: 4px; display: block; }

/* ─── FLOW STEPS ─────────────────────────────────────────── */
.flow-steps {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  margin-top: 24px;
}
.flow-step {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px 24px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.flow-step:last-child { border-bottom: none; }
.flow-num {
  width: 28px; height: 28px; border-radius: 8px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.75rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fn-farol   { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); }
.fn-outpost { background: rgba(224,123,57,0.10); color: var(--outpost-accent); border: 1px solid rgba(224,123,57,0.22); }
.fn-guardcam{ background: rgba(74,158,255,0.10); color: var(--guardcam-accent); border: 1px solid rgba(74,158,255,0.22); }
.flow-label { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.flow-desc  { font-size: 0.83rem; color: var(--text2); margin: 0; }

/* ─── BENEFITS LIST ──────────────────────────────────────── */
.benefits-list { list-style: none; padding: 0; }
.benefits-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text2); font-size: 0.9rem;
}
.benefits-list li:last-child { border-bottom: none; }
.benefits-list li::before { content: none; }
.benefit-icon {
  font-size: 1.1rem; flex-shrink: 0; margin-top: 1px;
  width: 28px; text-align: center;
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  border-radius: var(--r-xl);
  padding: 52px 40px;
  text-align: center;
}
.cta-banner.outpost-banner {
  border-color: rgba(224,123,57,0.22);
  background: rgba(224,123,57,0.06);
}
.cta-banner.guardcam-banner {
  border-color: rgba(74,158,255,0.22);
  background: rgba(74,158,255,0.06);
}
.cta-banner p { max-width: 500px; margin: 0 auto 28px; }

/* ─── PRICING TABLE ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 24px;
}
.pricing-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--guardcam-accent);
  background: rgba(74,158,255,0.04);
}
.pricing-tier { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); margin-bottom: 10px; }
.pricing-price { font-family: 'Roboto', sans-serif; font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.pricing-period { font-size: 0.8rem; color: var(--text3); margin-top: 2px; margin-bottom: 16px; }
.pricing-features { list-style: none; padding: 0; flex: 1; }
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.83rem; color: var(--text2);
  padding: 6px 0; border-bottom: 1px solid var(--border);
  border: none;
}
.pricing-features li::before { content: none; }
.pricing-features li + li { border-top: 1px solid var(--border); }
.pf-check { font-size: 0.75rem; flex-shrink: 0; }

/* ─── COMPARE TABLE ──────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 0.875rem; }
.compare-table th {
  text-align: left; padding: 12px 16px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--text3); text-transform: uppercase;
  letter-spacing: 0.06em; border-bottom: 1px solid var(--border);
}
.compare-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .col-highlight { color: var(--guardcam-accent); font-weight: 600; }
/* Acessível: usa ícone + texto, não só cor */
.check-yes  { color: var(--ok); }
.check-no   { color: var(--text3); }
.check-part { color: var(--warn); }

/* ─── FORM ───────────────────────────────────────────────── */
.form-wrapper {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px;
}
label {
  display: block; font-size: 0.72rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 6px; margin-top: 18px;
}
input, textarea, select {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  background: var(--bg3); color: var(--text);
  font-family: 'Roboto', sans-serif; font-size: 0.875rem;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--gold);
  background: rgba(255,215,0,0.02);
}
input::placeholder, textarea::placeholder { color: var(--text3); }

/* Fix dropdown options */
select option {
  background: #1e1e1e;
  color: #ebebeb;
}
select { color: var(--text); }
button[type="submit"] {
  width: 100%; padding: 13px;
  background: var(--gold); color: #000;
  border: none; border-radius: var(--r-sm);
  font-family: 'Roboto', sans-serif; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; margin-top: 20px;
  transition: all 0.2s;
}
button[type="submit"]:hover { background: #fff; transform: translateY(-1px); }

/* ─── DIVIDER ────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ─── PILOT BADGE ────────────────────────────────────────── */
.pilot-number {
  font-family: 'Roboto', sans-serif; font-size: 3.5rem;
  font-weight: 800; color: var(--gold); line-height: 1;
  display: block; margin: 12px 0;
}

/* ─── PAGE HERO (produto) ────────────────────────────────── */
.product-hero {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

/* ─── TWO-COL ────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ─── INFO BOX ───────────────────────────────────────────── */
.info-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px 22px;
}
.info-box + .info-box { margin-top: 12px; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  body { padding-top: 64px; padding-bottom: 64px; }

  header { height: 64px; }
  header .container { height: 64px; }

  nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 12px 16px 20px; gap: 4px;
  }
  nav.open { display: flex; }
  nav a { padding: 10px 12px; width: 100%; }
  nav a.nav-cta { margin-left: 0; margin-top: 8px; }

  .nav-toggle { display: flex; }

  .hero { padding: 48px 0 36px; }
  .hero p { font-size: 0.95rem; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 28px 22px; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }

  .cta-banner { padding: 36px 22px; }
  .form-wrapper { padding: 24px 20px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }

  footer .container { height: auto; padding: 12px 24px; flex-direction: column; text-align: center; }

  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2) { display: none; } /* esconde coluna no mobile */
}
