/*------------- PALETA DE CORES E FONTES -------------*/
:root {
  --color-primary: #00AED9;
  --color-primary-light: #66D4EC;
  --color-primary-dark: #008BB0;
  --color-secondary: #313E49;
  --color-secondary-light: #4A5A67;
  --color-secondary-dark: #1F2A32;
  --color-bg: #F5F7F9;
  --color-white: #FFFFFF;
  --color-text: #1F2933;
  --color-text-muted: #6B7280;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}
/* ---------------- RESET ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: var(--color-white);
  color: var(--color-text);
}

main {
  max-width: 1150px;
  margin: auto;
  padding: 4rem 1.5rem;
}

/* ---------------- SMARTHEAD ---------------- */
.smarthead {
  position: relative;
  height: 360px;
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.smarthead .edu-slides,
.smarthead .edu-slide {
  position: absolute;
  inset: 0;
}

.smarthead .edu-slide {
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  animation: smartFade 18s infinite;
}

.smarthead .s1 { animation-delay: 0s; }
.smarthead .s2 { animation-delay: 6s; }
.smarthead .s3 { animation-delay: 12s; }

@keyframes smartFade {
  0%,100% { opacity: 0.1; }
  10%,30% { opacity: 0.15; }
}

.smarthead .edu-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to right, rgba(8, 18, 30, 0.88), rgba(8, 18, 30, 0.55));
  pointer-events: none;
}

#tech-smart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
  background: transparent;
}

.smarthead .edu-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  padding-left: 22%;
  top: 60%;
  transform: translateY(-50%);
  color: #ffffff;
}

.smarthead .edu-eyebrow {
  display: block;
  font-size: 14px;
  color: #35c6ff;
  margin-bottom: auto;
}

.smarthead h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
}

.smarthead .edu-breadcrumb {
  font-size: 14px;
  color: #cbd5e1;
}

.smarthead .edu-breadcrumb a {
  margin-top:auto;
  margin-bottom:auto;
  color:#cbd5e1;
  text-decoration:none;
}

.smarthead .edu-breadcrumb a:hover {
  color: #35c6ff;
}

.smarthead .edu-breadcrumb strong {
  color: #ffffff;
  font-weight: 600;
}

/* ---------------- SERVICES AREA ---------------- */
.services-area {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.services-intro h2 {
  position: relative;
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 60px;
  padding-left: 25px;
}

.services-intro h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: var(--color-primary);
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.services-intro p {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-muted);
  text-align: justify;
  margin-bottom: 60px;
}

/* ---------------- SERVICES GRID ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  justify-items: center;
}

.service-card {
  background-color: var(--color-white);
  padding: 34px 30px 38px;
  border-radius: 18px;
  border: 4px solid #ebf8fc;
  box-shadow: 0 10px 30px rgba(31, 42, 50, 0.06);
  transition: transform 0.3s ease, box-shadow 0.35s ease;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #e0f8ff;
  box-shadow: 0 22px 48px rgba(31, 42, 50, 0.12);
}

/* ICON */
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: var(--color-secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background-color 0.35s ease;
}

.service-card .icon i {
  color: var(--color-white);
  font-size: 22px;
}

.service-card:hover .icon {
  background-color: var(--color-primary);
}

/* TEXT */
.service-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 14px;
  line-height: 1.35;
  font-family: var(--font-secondary);
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------------- RESPONSIVE ---------------- */
@media(max-width:1024px){
  .smarthead {
    height: 280px;
  }

  .smarthead .edu-content {
    padding-left: 10%;
    padding-top: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
  }

  .services-intro h2 {
    font-size: 36px;
  }

  .services-intro p {
    font-size: 15px;
  }
}

@media(max-width:768px){
  main, .services-area {
    padding: 3rem 1rem;
  }

  .smarthead {
    height: 220px;
  }

  .smarthead .edu-content {
    padding-left: 5%;
    padding-top: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
  }

  .smarthead h1 {
    font-size: clamp(24px, 6vw, 40px);
  }

  .smarthead .edu-eyebrow,
  .smarthead .edu-breadcrumb {
    font-size: 12px;
  }

  .services-intro h2 {
    font-size: 32px;
  }

  .services-intro p {
    margin-bottom: 45px;
  }

  .services-grid {
    gap: 24px;
  }
}

@media(max-width:480px){
  main, .services-area {
    padding: 2rem 0.8rem;
  }

  .smarthead {
    height: 180px;
  }

  .smarthead .edu-content {
    padding-left: 3%;
    padding-top: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 95%;
  }

  .smarthead h1 {
    font-size: clamp(20px, 7vw, 32px);
  }

  .smarthead .edu-eyebrow,
  .smarthead .edu-breadcrumb {
    font-size: 11px;
  }

  .services-intro h2 {
    font-size: 28px;
  }

  .services-intro p {
    font-size: 14px;
    margin-bottom: 35px;
  }

  .service-card {
    padding: 28px 24px 32px;
    max-width: 100%;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

