/*------------- 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%;
  padding-top: 0;
  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;
}

/*------------- TÍTULO DO MAIN -------------*/
main h1 {
  text-align: left;
  font-family: var(--font-secondary);
  max-width: 1100px;
  margin-bottom: 25px;
  border-left: 4px solid #00AED9;
  padding-left: 12px;
  color: var(--color-secondary-dark);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/*------------- PARÁGRAFOS INFORMATIVOS -------------*/
.info {
  max-width: 1100px;
  margin: 0 auto 40px auto;
  text-align: left;
  color: var(--color-text);
}

.info p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
  text-align: justify;
}

/* ----------- CONTAINER DE CARDS ----------- */
.container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; 
  align-items: start;
}

.card {
  background: var(--color-white);
  border: 2px solid #dcdcdc;
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 42px;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--color-text);
}

.card-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 12px auto 0 auto;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 6px;
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.card-badge.aio {
  background: #eb7100;
  color: #ffffff;
}

.card p {
  font-size: 14px;
  text-align: center;
  color: #666;
  margin-bottom: 22px;
}

.download-btn {
  background: linear-gradient(var(--color-primary), var(--color-primary-light));
  width: fit-content;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  margin: 12px auto 0 auto;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.download-btn i {
  font-size: 16px;
}

.download-btn:hover {
  background: linear-gradient(var(--color-secondary-dark), var(--color-secondary));
  color: var(--color-white);
  transform: scale(1.06);
}

/* ---------------- 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%;
  }

  main h1 {
    font-size: 2.2rem;
  }

  .container {
    gap: 18px;
  }

  .card {
    padding: 28px 18px;
  }
}

@media(max-width:768px){
  main, .container {
    padding: 3rem 1rem;
  }

  .smarthead {
    height: 220px;
  }

  .smarthead .edu-content {
    padding-left: 5%;
    padding-top: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 90%;
  }

  main h1 {
    font-size: 2rem;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .card {
    max-width: 300px;
    width: 100%;
    padding: 24px 16px;
  }

  .card h2 {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
  }
}

@media(max-width:480px){
  main, .container {
    padding: 2rem 0.8rem;
  }

  .smarthead {
    height: 180px;
  }

  .smarthead .edu-content {
    padding-left: 3%;
    padding-top: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 95%;
  }

  main h1 {
    font-size: 1.8rem;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .card {
    max-width: 95%;
    width: 100%;
    padding: 20px 12px;
  }

  .card h2 {
    font-size: 15px;
  }

  .card p {
    font-size: 12px;
  }

  .download-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}
