/* ==========================================================================
   JF Hardware — Design system (replicado do padrão COM PH Tecnologia)
   ========================================================================== */

:root {
  --color-brand: #4cb52e;
  --color-gold: #8fe03a;
  --color-ink: #0f1115;
  --color-line: #e8eaed;
  --color-muted: #6b7280;
  --color-soft: #f6f7f9;
  --color-text: #232730;
  --color-whatsapp: #25d366;
  --color-white: #fff;

  --font-heading: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-soft: 0 10px 30px rgba(15, 17, 21, 0.08);
  --shadow-card: 0 4px 16px rgba(15, 17, 21, 0.06);

  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; color: var(--color-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 88px 0; }
.section-soft { background: var(--color-soft); }
.section-ink { background: var(--color-ink); color: var(--color-white); }
.section-ink p { color: rgba(255,255,255,.7); }
.section-ink h2, .section-ink h3 { color: var(--color-white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-brand {
  background: var(--color-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-brand:hover { background: #429f28; }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(37,211,102,.28);
}
.btn-whatsapp:hover { background: #1fb857; }

.btn-outline {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-ink);
}
.btn-outline:hover { border-color: var(--color-brand); color: var(--color-brand); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: var(--color-white);
}
.btn-outline-light:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--color-ink); }
.brand-logo { height: 46px; width: auto; }
.brand small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--color-muted); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--color-text); }
.main-nav a:hover { color: var(--color-brand); }

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

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--color-line);
  background: var(--color-white);
  font-size: 20px; cursor: pointer;
}

/* Hero ---------------------------------------------------------------- */

.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(700px 320px at 85% -10%, rgba(76,181,46,.14), transparent 60%),
    var(--color-white);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.hero h1 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.01em; }
.hero h1 .accent { color: var(--color-brand); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.review-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 10px 16px;
  border: 1px solid var(--color-line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--color-text);
  background: var(--color-white);
}
.review-badge .stars { color: #f5a623; letter-spacing: 2px; }
.review-badge a { color: var(--color-brand); }

.hero-visual {
  border-radius: var(--radius-lg);
  width: 280px; height: 280px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  justify-self: center;
  align-self: center;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Feature grid ------------------------------------------------------------ */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(76,181,46,.12); color: var(--color-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; }
.card p { margin: 0; font-size: 14.5px; }

/* Testimonials -------------------------------------------------------- */

.testimonial-card {
  background: var(--color-white);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial-card p.quote { color: var(--color-text); font-size: 14.5px; font-style: italic; }
.testimonial-card .who { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--color-ink); }
.testimonial-card .placeholder-flag {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #b45309; background: #fef3c7; padding: 3px 9px; border-radius: 999px;
}

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

/* Steps ------------------------------------------------------------------ */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: left; }
.step .num {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--color-brand); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; }

/* Location ----------------------------------------------------------- */

.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.location-info .addr { font-family: var(--font-heading); font-size: 17px; color: var(--color-ink); font-weight: 700; margin-bottom: 8px; }
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* CTA final ---------------------------------------------------------- */

.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-final .btn { margin-top: 10px; }

/* Footer -------------------------------------------------------------- */

.site-footer { background: var(--color-ink); color: rgba(255,255,255,.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand { color: var(--color-white); font-family: var(--font-heading); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-chip { display: inline-flex; align-items: center; background: var(--color-white); padding: 8px 14px; border-radius: 10px; }
.footer-col h4 { color: var(--color-white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 8px; }
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* WhatsApp floating button ---------------------------------------------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 999px;
  background: var(--color-whatsapp); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 12px 28px rgba(37,211,102,.4);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin: 0 auto; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 900px) {
  .main-nav.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--color-white); border-bottom: 1px solid var(--color-line);
    flex-direction: column; gap: 0; padding: 8px 24px 18px;
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--color-line); }
}

.section-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
