/* ===== PW Tecnologia — site institucional ===== */

:root {
  --orange: #FEAD00;
  --black: #0A0A0A;
  --dark: #161616;
  --slate: #4F5D6B;
  --slate-light: #7A8794;
  --bg-soft: #F7F7F5;
  --card-soft: #FAFAFA;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1160px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 12px; color: var(--slate); }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.eyebrow-dark { color: #B97E00; }

.section-intro {
  max-width: 620px;
  font-size: 1.02rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(254,173,0,.4); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border-color: #DDD; width: 100%; justify-content: center; }
.btn-outline:hover { border-color: var(--black); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #EFEFEF;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { height: 34px; width: auto; }
.brand-name { font-weight: 600; font-size: 1.05rem; }
.brand-name strong { font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: .95rem;
  color: var(--dark);
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .2s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.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(--black); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background: var(--orange);
  padding: 70px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-slides { min-height: 400px; }
.hero-slide .eyebrow { color: var(--black); opacity: .65; }
.hero h1 { color: var(--black); margin-bottom: 18px; }
.hero-sub {
  color: #2B2200;
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-sub strong { color: var(--black); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note {
  font-size: .82rem;
  color: #3A2E00;
  max-width: 460px;
  opacity: .85;
  margin-bottom: 22px;
}
.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge img {
  width: min(280px, 70%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.25));
}

/* ---------- hero carousel ---------- */
.hero-slide {
  display: none;
}
.hero-slide.is-active {
  display: block;
  animation: heroFadeIn .55s ease;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-dots {
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-dot:hover { background: rgba(0,0,0,.45); }
.hero-dot.is-active { background: var(--black); transform: scale(1.25); }

/* ---------- about ---------- */
.about { padding: 90px 0; }
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
}
.about-grid h2 { max-width: 320px; }
.about-text p { font-size: 1.03rem; color: var(--dark); }
.about-text strong { color: var(--black); }

/* ---------- services ---------- */
.services { padding: 90px 0; background: var(--bg-soft); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 46px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-head {
  background: var(--orange);
  padding: 26px 30px;
}
.service-head h3 { color: var(--black); margin-bottom: 4px; }
.service-head p { color: #3A2E00; margin: 0; font-weight: 500; font-size: .92rem; }
.service-card ul { padding: 26px 30px 30px; }
.service-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--slate);
  font-size: .96rem;
}
.service-card li:last-child { margin-bottom: 0; }
.service-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- how it works ---------- */
.how { padding: 90px 0; background: var(--black); }
.how .eyebrow { color: var(--orange); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin: 46px 0 40px;
}
.step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 10px;
}
.step h3 { color: var(--white); margin-bottom: 10px; font-size: 1.05rem; }
.step p { color: #B7BEC4; font-size: .92rem; margin: 0; }

.notice {
  background: rgba(254,173,0,.1);
  border: 1px solid rgba(254,173,0,.3);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  color: #E9E9E9;
  font-size: .92rem;
  max-width: 800px;
  margin: 0 auto;
}
.notice strong { color: var(--orange); }

/* ---------- diferenciais ---------- */
.diff { padding: 90px 0; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
}
.diff-card {
  background: #FFF6E4;
  border-radius: var(--radius);
  padding: 30px 26px;
  border-top: 4px solid var(--orange);
}
.diff-card h3 { margin-bottom: 12px; }
.diff-card p { margin: 0; font-size: .95rem; }

/* ---------- plans ---------- */
.plans { padding: 90px 0; background: var(--bg-soft); }
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 46px;
  align-items: stretch;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.plan-card--highlight {
  background: var(--black);
  color: var(--white);
}
.plan-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.plan-card h3 { margin-bottom: 20px; }
.plan-card--highlight h3 { color: var(--white); }
.plan-card ul { flex: 1; margin-bottom: 26px; }
.plan-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: .95rem;
  color: var(--slate);
}
.plan-card--highlight li { color: #D8D8D8; }
.plan-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.plan-card--highlight .btn-outline { background: var(--orange); color: var(--black); border-color: var(--orange); }

/* ---------- clientes ---------- */
.clients { padding: 90px 0; background: var(--white); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border-radius: var(--radius);
  padding: 18px;
  aspect-ratio: 8 / 5;
  transition: transform .18s ease, box-shadow .18s ease;
}
.client-logo:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.client-logo img {
  max-height: 65%;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.clients-note {
  text-align: center;
  margin-top: 36px;
  font-style: italic;
  color: var(--slate);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--orange);
  padding: 70px 0;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { color: var(--black); margin-bottom: 14px; }
.cta p { color: #2B2200; margin-bottom: 26px; font-size: 1.05rem; }

/* ---------- footer ---------- */
.footer { background: var(--black); color: #C8C8C8; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-mark { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: #9AA0A6; font-size: .9rem; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; }
.footer-contact p, .footer-links p { margin-bottom: 10px; font-size: .92rem; }
.footer-contact a:hover, .footer-links a:hover { color: var(--orange); }
.footer-bottom {
  padding: 22px 24px;
  text-align: center;
  font-size: .82rem;
  color: #7A7A7A;
}

/* ---------- whatsapp fab ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { order: -1; }
  .hero-badge img { width: 160px; }
  .hero-slides { min-height: 460px; }
  .about-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid #EFEFEF;
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
