/* ========================================
   servicos.css — Filtro Angola Services Page
   ======================================== */

/* ── Active nav link ── */
.active-nav-link {
  color: var(--accent) !important;
  font-weight: 700;
}

/* ── HERO ── */
.srv-hero {
  position: relative;
  background: white;

  display: flex;
  align-items: center;
  padding: 12rem 0 0rem;
  overflow: hidden;
}





.srv-hero__content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}


.srv-hero__content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #001A33;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.srv-hero__accent {
  color: #00B4D8;
  background: #00B4D8;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.srv-hero__content p {
  font-size: 1.1rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.srv-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(12px);
  margin-top: 0.5rem;
}

.srv-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.srv-hero__stat strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: #00D4FF;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.srv-hero__stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.srv-hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.srv-hero__scroll-hint {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  animation: bounceDown 2s infinite;
  z-index: 2;
  transition: opacity 0.4s;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── TABS NAV ── */
.srv-tabs-nav {
  background: #f8fafc;
  border-bottom: 1px solid #e8eef4;
  position: relative;
  z-index: 9;
}

.srv-tabs-nav__inner {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.1rem 0;
}

.srv-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.75rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.srv-tab-btn i {
  font-size: 0.85rem;
  transition: color 0.25s;
}

.srv-tab-btn:hover {
  background: white;
  color: #001A33;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.srv-tab-btn--active {
  background: #001A33;
  color: white;
  box-shadow: 0 4px 18px rgba(0, 26, 51, 0.22);
}

.srv-tab-btn--active i {
  color: #00B4D8;
}

.srv-tab-btn--active::after {
  content: '';
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #00B4D8;
}

/* ── SECTIONS ── */
.srv-section {
  padding: 5rem 0;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.srv-section--active {
  display: block;
  animation: sectionFadeIn 0.5s ease forwards;
}

@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.srv-section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #eaf5fb 100%);
  border-radius: 18px;
  border-top: 3px solid #00B4D8;
  box-shadow: 0 4px 24px rgba(0, 26, 51, 0.05);
  position: relative;
  overflow: hidden;
}

/* Decorative watermark circle */
.srv-section__header::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.07);
  pointer-events: none;
}

.srv-section__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #001A33;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.5px;
}

.srv-section__header p {
  font-size: 0.97rem;
  color: #4e6080;
  line-height: 1.85;
  margin: 0;
}

@media (max-width: 768px) {
  .srv-section__header {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

/* ── LABEL ── */
.srv-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00B4D8;
  background: rgba(0, 180, 216, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

.srv-label--white {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.srv-label--accent {
  color: #00B4D8;
  background: rgba(0, 180, 216, 0.15);
}

/* ── CARDS GRID ── */
.srv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Card de largura total (2 colunas) */
.srv-card--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
}

.srv-card--full .srv-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.srv-card__icon-wrap--right {
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SERVICE CARD ── */
.srv-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.srv-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.srv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 180, 216, 0.3);
}

.srv-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  font-size: 2rem;
  color: white;
}

.srv-card__icon-wrap--blue {
  background: linear-gradient(135deg, #0A2463, #001A33);
}

.srv-card__icon-wrap--teal {
  background: linear-gradient(135deg, #00B4D8, #0096C7);
}

.srv-card__body {
  padding: 1.75rem;
}

.srv-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001A33;
  margin-bottom: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

.srv-card__body p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.srv-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.srv-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.srv-card__list li i {
  color: #00B4D8;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── PROCESS ── */
.srv-process {
  background: linear-gradient(135deg, #001A33 0%, #0A2463 100%);
  padding: 6rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.srv-process__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.srv-process__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
  margin: 0.75rem 0 1rem;
}

.srv-process__header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

.srv-process__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.srv-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.srv-step--visible,
.srv-step.srv-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.srv-step:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
}

.srv-step__num {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(0, 180, 216, 0.6);
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

.srv-step__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00B4D8, #0096C7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

.srv-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.srv-step p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.srv-step__arrow {
  color: rgba(0, 180, 216, 0.5);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── WATER TEST ── */
.srv-water-test {
  padding: 6rem 0;
  background: #f8fafc;
}

.srv-water-test__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.srv-water-test__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #001A33;
  margin: 0.75rem 0 1rem;
}

.srv-water-test__text p {
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 550px;
}

.srv-water-test__params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.srv-param {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.srv-param:hover {
  border-color: #00B4D8;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.1);
}

.srv-param i {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00B4D8, #0096C7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.srv-param div {
  display: flex;
  flex-direction: column;
}

.srv-param strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #001A33;
  font-family: 'Montserrat', sans-serif;
}

.srv-param span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.srv-water-test__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.srv-water-test__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.srv-water-test__circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A2463, #001A33);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 20px 60px rgba(0, 26, 51, 0.35), 0 0 0 20px rgba(0, 180, 216, 0.08), 0 0 0 40px rgba(0, 180, 216, 0.04);
  position: relative;
}

.srv-water-test__circle i {
  font-size: 2.5rem;
  color: #00B4D8;
  margin-bottom: 0.5rem;
}

.srv-water-test__circle span {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: white;
  line-height: 1;
}

.srv-water-test__circle small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ── CTA FINAL ── */
.srv-cta {
  padding: 5rem 0;
  background: white;
}

.srv-cta__inner {
  background: linear-gradient(120deg, var(--dark), var(--primary));
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.srv-cta__inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: white;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.srv-cta__inner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.srv-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.srv-cta__actions .btn--primary {
  background: #00B4D8;
  color: white;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
}

.srv-cta__actions .btn--primary:hover {
  background: #0096C7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4);
}

.srv-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.srv-cta__phone:hover {
  color: #00B4D8;
}

.srv-cta__phone i {
  color: #00B4D8;
}

/* ══════════════════════════════════════
   HORIZONTAL STEPPER
══════════════════════════════════════ */
.timeline-h {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 2.5rem;
}

/* ── icon circle on top ── */
.th-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin: 0 auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.th-step:hover .th-step__icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.th-step__icon--blue {
  background: linear-gradient(145deg, #0A2463, #001A33);
}

.th-step__icon--teal {
  background: linear-gradient(145deg, #00B4D8, #0096C7);
}

/* ── horizontal connector row ── */
.th-step__dot-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 32px;
  margin: 0.65rem 0;
}

/* horizontal line spanning the full row — drawn via ::before on the container */
.timeline-h::before {
  content: '';
  position: absolute;
  top: calc(64px / 2 + 0px);
  /* vertically centred on the icon */
  left: calc(100% / 8);
  /* starts at centre of col 1 */
  right: calc(100% / 8);
  /* ends at centre of col 4 */
  height: 2px;
  background: linear-gradient(to right, #dde3ea, #00B4D8 50%, #dde3ea);
  z-index: 0;
}

/* dot marker */
.th-step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00B4D8;
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.3);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.th-step:hover .th-step__dot {
  transform: scale(1.3);
}

/* ── card below the dot ── */
.th-step__card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1.25rem;
  margin: 0 0.5rem;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  flex: 1;
}

.th-step:hover .th-step__card {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 180, 216, 0.28);
}

/* Number watermark */
.th-step__num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 26, 51, 0.05);
  line-height: 1;
  user-select: none;
}

.th-step__card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #001A33;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.th-step__card p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── tags ── */
.th-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.th-step__tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #0A2463;
  background: rgba(0, 26, 51, 0.06);
  border: 1px solid rgba(0, 26, 51, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  transition: background 0.25s, color 0.25s;
}

.th-step:hover .th-step__tags span {
  background: rgba(0, 180, 216, 0.1);
  border-color: rgba(0, 180, 216, 0.25);
  color: #00B4D8;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .timeline-h {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .timeline-h::before {
    display: none;
  }
}

@media (max-width: 540px) {
  .timeline-h {
    grid-template-columns: 1fr;
  }
}



@media (max-width: 992px) {
  .srv-hero__stats {
    flex-direction: column;
    gap: 1rem;
  }

  .srv-hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .srv-water-test__inner {
    grid-template-columns: 1fr;
  }

  .srv-water-test__visual {
    order: -1;
  }

  .srv-process__steps {
    gap: 1.5rem;
  }

  .srv-step__arrow {
    display: none;
  }

  .srv-cta__inner {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .srv-hero {
    padding: 12rem 0 1rem;
    text-align: center;
  }

  .srv-tabs-nav__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
  }

  .srv-tab-btn {
    justify-content: center;
  }

  .srv-cards-grid {
    grid-template-columns: 1fr;
  }

  .srv-water-test__params {
    grid-template-columns: 1fr;
  }

  .srv-water-test__circle {
    width: 160px;
    height: 160px;
  }

  .srv-process__steps {
    flex-direction: column;
    align-items: center;
  }

  .srv-step {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .srv-hero__stats {
    padding: 1.25rem;
  }

  .srv-cta__inner {
    padding: 1.5rem 1.5rem;
  }
}