/* FABRIONE — Site institucional */
:root {
  --fb-blue-900: #0b3b6f;
  --fb-blue-700: #1453a0;
  --fb-blue-500: #2b7de9;
  --fb-orange: #f97316;
  --fb-orange-dark: #ea580c;
  --fb-gray-900: #111827;
  --fb-gray-700: #374151;
  --fb-gray-500: #6b7280;
  --fb-gray-100: #f3f4f6;
  --fb-gray-50: #f9fafb;
  --fb-white: #ffffff;
  --fb-radius: 14px;
  --fb-shadow: 0 10px 30px rgba(11, 59, 111, .10);
  --fb-max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--fb-gray-900);
  background: var(--fb-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--fb-max);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 760px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--fb-blue-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(20, 83, 160, .35);
}
.btn-primary:hover { background: var(--fb-blue-900); }
.btn-ghost { color: var(--fb-blue-700); border-color: transparent; }
.btn-ghost:hover { background: var(--fb-gray-100); }
.btn-outline { border-color: var(--fb-blue-700); color: var(--fb-blue-700); background: transparent; }
.btn-outline:hover { background: var(--fb-blue-700); color: #fff; }
.btn-cta {
  background: var(--fb-orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(249, 115, 22, .4);
}
.btn-cta:hover { background: var(--fb-orange-dark); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fb-gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo-img {
  height: 34px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--fb-blue-900);
  color: #fff;
  border-radius: 10px;
  font-size: 20px;
}
.brand-name { font-size: 18px; letter-spacing: .5px; color: var(--fb-blue-900); }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-weight: 500;
  color: var(--fb-gray-700);
  font-size: 15px;
}
.main-nav a:hover { color: var(--fb-blue-700); }

.header-actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--fb-gray-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(43, 125, 233, .12), transparent),
    linear-gradient(180deg, var(--fb-gray-50), #fff);
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(249, 115, 22, .12);
  color: var(--fb-orange-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero h1 strong { color: var(--fb-blue-700); }
.hero-sub {
  font-size: 18px;
  color: var(--fb-gray-500);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust li { font-size: 14px; color: var(--fb-gray-500); font-weight: 500; }

/* Mock visual */
.hero-visual { display: flex; justify-content: center; }
.mock-card {
  background: #fff;
  border: 1px solid var(--fb-gray-100);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow);
  padding: 26px;
  width: 100%;
  max-width: 400px;
}
.mock-title { font-weight: 700; color: var(--fb-blue-900); margin-bottom: 16px; }
.mock-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--fb-gray-100);
  font-size: 14px;
  color: var(--fb-gray-700);
}
.mock-row strong { color: var(--fb-gray-900); }
.mock-row .ok { color: #16a34a; }
.mock-row .up { color: var(--fb-blue-700); }
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 90px;
  margin-top: 18px;
}
.mock-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--fb-blue-500), var(--fb-blue-900));
  border-radius: 6px 6px 0 0;
}

/* ===== Stats ===== */
.stats { padding: 40px 0; border-top: 1px solid var(--fb-gray-100); border-bottom: 1px solid var(--fb-gray-100); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: var(--fb-blue-900);
}
.stat span { color: var(--fb-gray-500); font-size: 14px; font-weight: 500; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--fb-gray-50); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section-head p { color: var(--fb-gray-500); font-size: 17px; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light p { opacity: .85; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fb-orange);
  margin-bottom: 12px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--fb-gray-100);
  border-radius: var(--fb-radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--fb-shadow); }
.feature-icon { font-size: 34px; margin-bottom: 14px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--fb-gray-500); font-size: 15px; }

.center-cta { text-align: center; margin-top: 46px; }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.check-list { list-style: none; margin: 26px 0 34px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 16px;
  color: var(--fb-gray-700);
  font-size: 16px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(249, 115, 22, .15);
  color: var(--fb-orange-dark);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.quote-card {
  background: #fff;
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow);
  padding: 34px;
  border-left: 5px solid var(--fb-orange);
}
.quote-card p { font-size: 19px; font-weight: 600; color: var(--fb-gray-900); margin-bottom: 14px; }
.quote-card footer { color: var(--fb-gray-500); font-size: 14px; }

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps li {
  background: var(--fb-gray-50);
  border-radius: var(--fb-radius);
  padding: 30px;
  border: 1px solid var(--fb-gray-100);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--fb-blue-900);
  color: #fff;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--fb-gray-500); font-size: 15px; }

/* FAQ */
.faq-list details {
  background: #fff;
  border: 1px solid var(--fb-gray-100);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 22px;
  color: var(--fb-blue-700);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 22px 18px;
  color: var(--fb-gray-500);
  font-size: 15px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--fb-blue-900), var(--fb-blue-700));
  color: #fff;
}
.lead-form {
  background: #fff;
  color: var(--fb-gray-900);
  border-radius: var(--fb-radius);
  padding: 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--fb-gray-100);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--fb-blue-500);
}
.field input.invalid { border-color: #dc2626; }
.form-note { text-align: center; color: var(--fb-gray-500); font-size: 13px; margin-top: 14px; }

/* Footer */
.site-footer { background: var(--fb-gray-900); color: #d1d5db; padding: 50px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: #fff; }
.footer-logo-img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.footer-brand p { margin-top: 12px; font-size: 14px; color: #9ca3af; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: #d1d5db; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 20px;
  font-size: 13px;
  color: #9ca3af;
}

/* WhatsApp flutuante */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px; height: 56px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, .45);
  z-index: 60;
  transition: transform .15s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ===== Responsivo ===== */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav, .header-actions { display: none; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--fb-gray-100);
    box-shadow: var(--fb-shadow);
  }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 60px 0 50px; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-cta .btn { width: 100%; }
  .lead-form { padding: 24px; }
}
