/* ============================================================
   servico.css — Páginas individuais de serviços em altura
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  overflow-x: hidden;
}

:root {
  --green: #1abc9c;
  --dark: #101010;
  --gray: #f9f9f9;
  --white: #ffffff;
  --muted: #666;
  --border: #e0e0e0;
}

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

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* ── HERO ───────────────────────────────────────────────────── */
.s-hero {
  position: relative;
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 60px;
}

.s-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 40%, rgba(0, 0, 0, .2) 100%);
}

.s-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
}

.s-breadcrumb {
  font-size: 13px;
  opacity: .7;
  margin-bottom: 12px;
}

.s-breadcrumb a {
  color: var(--white);
  text-decoration: underline;
}

.s-hero-content h1 {
  font-size: clamp(26px, 3.8vw, 50px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 14px;
}

.s-hero-content p {
  font-size: clamp(15px, 1.6vw, 19px);
  opacity: .88;
  margin-bottom: 32px;
  line-height: 1.6;
}

.s-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BOTÕES GLOBAIS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}

.btn img {
  width: 18px;
}

.btn-wpp {
  background: var(--green);
  color: var(--white);
}

.btn-wpp:hover {
  background: #16a085;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: #16a085;
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.btn-outline-dark:hover {
  background: var(--green);
  color: var(--white);
}

/* ── SOBRE O SERVIÇO ────────────────────────────────────────── */
.s-about {
  padding: 90px 20px;
  background: var(--white);
}

.s-about-wrap {
  display: flex;
  gap: 70px;
  align-items: center;
  flex-wrap: wrap;
}

.s-about-text {
  flex: 1;
  min-width: 280px;
}

.s-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.s-about-text h2 {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}

.s-about-text>p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.s-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.s-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.s-benefits li img {
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.s-about-img {
  flex: 1;
  min-width: 280px;
}

.s-about-img img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 440px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

/* ── COMO FUNCIONA ──────────────────────────────────────────── */
.s-como {
  padding: 90px 20px;
  background: var(--gray);
}

.s-section-title {
  text-align: center;
  margin-bottom: 52px;
}

.s-section-title h2 {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}

.s-section-title p {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  margin: auto;
}

.s-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: auto;
  counter-reset: steps;
}

.s-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: .3s;
}

.s-step:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}

.s-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  font-size: 15px;
}

.s-step p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

/* ── POR QUE LPTA ───────────────────────────────────────────── */
.s-why {
  padding: 90px 20px;
  background: var(--dark);
}

.s-why .s-section-title h2 {
  color: var(--white);
}

.s-why .s-section-title p {
  color: #aaa;
  max-width: 640px;
  margin: auto 0 auto;
  text-align: left;
}

.s-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.s-why-item {
  background: #1c1c1c;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border-left: 4px solid var(--green);
  transition: .3s;
}

.s-why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
}

.s-why-icon {
  background: var(--green);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-why-icon img {
  width: 26px;
  filter: brightness(0) invert(1);
}

.s-why-item h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
}

.s-why-item p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.s-faq {
  padding: 90px 20px;
  background: var(--gray);
}

.s-faq-container {
  max-width: 800px;
  margin: auto;
}

.s-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: .2s;
}

.faq-question:hover {
  color: var(--green);
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
  color: var(--green);
  transition: .3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA FINAL ──────────────────────────────────────────────── */
.s-cta {
  background: linear-gradient(135deg, var(--green) 0%, #16a085 100%);
  padding: 100px 20px;
  text-align: center;
}

.s-cta-content {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.s-cta-content h2 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
  color: var(--white);
}

.s-cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.7;
}

.s-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.s-cta .btn-wpp {
  background: var(--dark);
}

.s-cta .btn-wpp:hover {
  background: #222;
}

.s-cta .btn-outline-dark {
  border-color: var(--white);
  color: var(--white);
}

.s-cta .btn-outline-dark:hover {
  background: rgba(255, 255, 255, .15);
}

/* ── OUTROS SERVIÇOS ─────────────────────────────────────────── */
.s-outros {
  padding: 90px 20px;
  background: var(--white);
}

.s-outros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.s-outro-card {
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
  transition: .3s;
}

.s-outro-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.s-outro-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.s-outro-card span {
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  background: var(--white);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.s-outro-card:hover span {
  color: var(--green);
}

/* ── BOTÃO TOPO ─────────────────────────────────────────────── */
#btnTopo {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
  transition: .3s;
}

#btnTopo:hover {
  background: #16a085;
  transform: translateY(-3px);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 60px;
}

.footer-container {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px 40px;
}

.footer-col {
  flex: 1;
  min-width: 160px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 15px;
}

.footer-col p {
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-size: 13px;
  transition: .3s;
}

.footer-col a img {
  width: 22px;
  height: 22px;
}

.footer-col a:hover {
  opacity: .7;
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 120px;
}

.logo-footer img {
  width: 100%;
  max-width: 240px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, .2);
  font-size: 12px;
}

.footer-bottom a {
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

.footer-bottom a:hover {
  color: #ff3131;
}

/* ── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .s-hero {
    padding: 40px 20px;
    min-height: 60vh;
  }

  .s-about-wrap {
    flex-direction: column;
  }

  .s-hero-btns {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .s-otros-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .socials {
    align-items: center;
  }

  .footer-col a {
    justify-content: center;
  }

  .logo-footer img {
    margin: auto;
  }

  .s-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .s-outros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}