/* ==========================================================================
   Equiliv — Áudio, vídeo e eletrônicos
   Estilos globais
   ========================================================================== */

:root {
  --navy: #0a1f3c;
  --navy-700: #0d2849;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-dark: #081a33;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 12px 32px rgba(13, 40, 73, .12);
  --container: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; }

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

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, .34); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1.5px solid var(--line); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: var(--blue); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); box-shadow: none; }
.btn--light:hover { background: #eef4ff; color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 21px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-name b { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--blue); }
.nav a.btn { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(6, 182, 212, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(37, 99, 235, .22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #dbe6f5; padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #7dd3fc;
  background: rgba(125, 211, 252, .1); border: 1px solid rgba(125, 211, 252, .25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 span { color: #7dd3fc; }
.hero p.lead { font-size: 19px; color: #b8c9e0; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; color: #9fb4d1; font-size: 14px; }
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { flex: none; }

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; backdrop-filter: blur(6px);
}
.hero-card .tile {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 22px 18px; text-align: center;
}
.hero-card .tile svg { margin: 0 auto 12px; color: #7dd3fc; }
.hero-card .tile strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.hero-card .tile span { font-size: 13px; color: #9fb4d1; }

/* Cards / categorias --------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d8f3; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e0edff, #d4f4fb); color: var(--blue); margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--muted); margin-bottom: 14px; }
.card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card ul li { font-size: 13px; color: var(--body); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }

/* Diferenciais --------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { text-align: center; padding: 8px; }
.feature .fi {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--blue); box-shadow: var(--shadow-sm);
}
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* Sobre ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(26px, 3.5vw, 34px); margin-bottom: 18px; }
.about-grid p { margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat strong { display: block; font-size: 26px; color: var(--ink); }
.stat span { font-size: 14px; color: var(--muted); }

/* Contato -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info li { list-style: none; display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ci-ic {
  flex: none; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #eef4ff; color: var(--blue);
}
.contact-info strong { display: block; color: var(--ink); font-size: 15px; }
.contact-info span, .contact-info a { color: var(--muted); font-size: 15px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; transition: border-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: #9fb4d1; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand b { color: #7dd3fc; }
.footer-about { color: #8ba3c4; max-width: 280px; font-size: 14.5px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a, .footer-col span { color: #9fb4d1; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-fiscal { font-size: 13.5px; line-height: 1.7; color: #8ba3c4; }
.footer-fiscal strong { color: #cddcf0; display: block; margin-bottom: 6px; font-size: 14px; }

.footer-bottom { padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.disclaimer { font-size: 12.5px; color: #6f87a8; line-height: 1.7; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-base .copyright { font-size: 13.5px; color: #8ba3c4; }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-links a { color: #9fb4d1; font-size: 13.5px; }
.legal-links a:hover { color: #fff; }

/* Legal pages ---------------------------------------------------------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #dbe6f5; padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.page-hero p { color: #9fb4d1; }
.legal { padding: 64px 0; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal ul li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.legal a { color: var(--blue); }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .grid-3, .feature-grid, .footer-grid, .form-row, .about-stats, .hero-card { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}
