:root {
  --brand: #99007C;
  --brand-dark: #7a0063;
  --text: #1f1f1f;
  --muted: #555;
  --bg: #f6f6f6;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; color: var(--muted); }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }

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

.btn-dark { background: var(--text); color: var(--white); }
.btn-dark:hover { background: var(--brand); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img {
  max-height: 56px;
  width: auto;
  display: block;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 534px;
  display: flex;
  align-items: center;
  background: images('assets\img\Farma100 - 12-05-26 - LP Computador.png');
  color: var(--white);
}
.hero-content {
  margin: 70px;
  max-width: 720px;
  padding: 4rem 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p.lead {
  color: rgba(255, 255, 255, .92);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== Section base ===== */
section { padding: 75px 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { color: var(--brand); }
.section-head p { font-size: 1.05rem; }
.divider {
  width: 70px;
  height: 4px;
  background: var(--brand);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .12);
}
.service-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card .body {
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
}
.service-card .icon {
  width: 56px;
  height: 56px;
  margin: -3rem auto .75rem;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 14px rgba(153, 0, 124, .35);
  position: relative;
  z-index: 1;
}
.service-card h3 { margin-bottom: .5rem; }
.service-card p { font-size: .95rem; margin: 0; }

.services-cta { text-align: center; }

/* ===== Contact ===== */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
}
.contact-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-card .btn { margin-top: .5rem; }

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.info-item .icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.info-item .text strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: .25rem;
}
.info-item .text,
.info-item .text a {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}
.info-item .text a:hover { color: var(--brand); }

.map-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
  border: 1px solid #e5e5e5;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===== Footer ===== */
footer {
  background: var(--black);
  color: #d8d8d8;
  padding: 75px 0 2rem;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-logo img {
  max-width: 220px;
  height: auto;
  background: #ffffff;
  padding: .75rem 1rem;
  border-radius: 10px;
}
footer h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}
footer ul li i {
  color: var(--brand);
  width: 18px;
  text-align: center;
  margin-top: 3px;
}
footer ul li a { color: #d8d8d8; }
footer ul li a:hover { color: var(--white); }

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, .09);
  margin: 2.5rem 0 1.5rem;
}
.footer-meta { text-align: center; color: #9c9c9c; line-height: 1.6; }
.footer-meta strong { color: var(--white); }
.footer-meta .cnpj {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--white);
  margin: 1rem 0;
  font-size: 1rem;
}
.footer-legal {
  font-size: .8rem;
  color: #8a8a8a;
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-legal p { color: inherit; margin: 0 0 .5rem; }
.footer-legal a { color: #bbb; text-decoration: underline; }

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .4);
  z-index: 100;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; text-align: center; margin-bottom: 1rem; }
  .footer-logo img { margin: 0 auto; }
}

@media (max-width: 768px) {
  /* base spacing */
  section { padding: 56px 0; }
  .container { padding: 0 1.25rem; }

  /* header */
  .header-inner { padding: .75rem 1rem; }
  .logo img { max-height: 30px; }
  .header-inner .btn { padding: .55rem 1rem; font-size: .82rem; }

  /* hero */
  .hero { 
    text-align: center; 
    padding-top: 0px;
  }
  .hero-content {
    margin: 0;
    padding: 2.5rem 1.25rem;
    max-width: 100%;
  }
  .hero h1 { font-size: clamp(1.75rem, 6.5vw, 2.25rem); }
  .hero p.lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: .75rem;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* section headings */
  .section-head { margin-bottom: 2.25rem; }
  .section-head p { font-size: .95rem; }

  /* services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }
  .service-card .body { padding: 1.25rem 1.25rem 1.5rem; }

  /* contact */
  .contact-grid { gap: 1.25rem; }
  .contact-card { padding: 2rem 1.25rem; }
  .contact-card h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
  .info-item { margin-bottom: 1.25rem; }
  .contact-card .btn { width: 100%; justify-content: center; }

  /* footer */
  footer { padding: 56px 0 1.5rem; font-size: .88rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
  .footer-grid ul li { justify-content: center; }
  .footer-logo { margin-bottom: .5rem; }
  .footer-divider { margin: 2rem 0 1.25rem; }
  .footer-meta .cnpj { font-size: .95rem; }

  /* floating whatsapp */
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }
}
