/*------------- 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;
}

@media(max-width:1024px){
  .smarthead {
    height: 280px;
  }
  .smarthead .edu-content {
    padding-left: 10%;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ---------------- CONTACTO ---------------- */
.contacto-info {
  text-align: justify;
  max-width: 1100px;
  margin-top: auto;
  margin-bottom: 70px;
  padding: 0 20px;
  font-family: var(--font-primary);
}

.contacto-info p {
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.contacto-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.contactos,
.localizacao,
.formulario {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  flex: 1 1 300px;
  font-family: var(--font-primary);
}

h2 {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  text-align: left;
  padding: 10px 20px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-primary-dark);
  border-radius: 10px;
}

.contacto-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: center;
}

.contacto-item i {
  color: var(--color-primary);
  min-width: 26px;
  text-align: center;
}

.contact-text p {
  color: var(--color-secondary-dark);
  font-size: 0.95rem;
}

.map-container {
  overflow: hidden;
  border-radius: 10px;
}

iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-primary);
  color: var(--color-text);
}

input,
textarea {
  padding: 0.7rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-family: var(--font-primary);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0,174,217,0.2);
}

button {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-secondary);
  transition: 0.3s ease;
}

button:hover {
  background: var(--color-secondary-dark);
}

/* ---------------- RESPONSIVO ---------------- */
@media(max-width:1024px){
  .contacto-cards {
    flex-direction: column;
  }
  .smarthead {
    height: 280px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: var(--color-white);
  margin: 15% auto;
  padding: 2.5rem;
  border-radius: 14px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: var(--font-primary);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-content p {
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 1rem;
}

.modal-content a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 100px;
  color: var(--color-white);
  border: 6px solid var(--color-primary-light);
  background: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.modal-content a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 22px;
  font-weight: bold;
  color: var(--color-white);
  cursor: pointer;
  transition: 0.3s ease;
}

.close:hover {
  color: var(--color-primary);
}

/* ---------------- RESPONSIVIDADE ---------------- */
@media(max-width:1024px){
  .smarthead .edu-content {
    padding-left: 10%;
    padding-top: 10%;  
    top: 50%;           
    transform: translateY(-50%);
    max-width: 90%;     
  }

  .smarthead {
    height: 280px;
  }

  .contacto-cards {
    flex-direction: column;
  }
}

/* ------------------ 768px (tablets pequenos) ------------------ */
@media(max-width:768px){
  main {
    padding: 3rem 1rem;
  }

  .smarthead .edu-content {
    padding-left: 5%;   
    padding-top: 10%;
    max-width: 90%;
  }

  .smarthead {
    height: 220px;
  }

  .smarthead h1 {
    font-size: clamp(24px, 6vw, 40px);
  }

  .smarthead .edu-eyebrow,
  .smarthead .edu-breadcrumb {
    font-size: 12px;
  }

  .contacto-cards {
    gap: 1.2rem;
  }

  .contactos, .localizacao, .formulario {
    padding: 1.5rem;
  }

  .contacto-info {
    padding: 0 15px;
    font-size: 0.95rem;
  }

  iframe {
    height: 200px;
  }

  button {
    padding: 0.7rem;
    font-size: 0.95rem;
  }

  .modal-content {
    margin: 20% auto;
    padding: 2rem;
  }

  .modal-content p {
    font-size: 0.95rem;
  }
}

/* ------------------ 480px (celulares) ------------------ */
@media(max-width:480px){
  main {
    padding: 2rem 0.8rem;
  }

  .smarthead .edu-content {
    padding-left: 3%;   
    padding-top: 10%;
    max-width: 95%;     
  }

  .smarthead {
    height: 180px;
  }

  .smarthead h1 {
    font-size: clamp(20px, 7vw, 32px);
  }

  .smarthead .edu-eyebrow,
  .smarthead .edu-breadcrumb {
    font-size: 11px;
  }

  .contactos, .localizacao, .formulario {
    padding: 1rem;
  }

  .contacto-info {
    padding: 0 10px;
    font-size: 0.9rem;
  }

  iframe {
    height: 150px;
  }

  button {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .modal-content {
    margin: 25% auto;
    padding: 1.8rem;
  }

  .modal-content p {
    font-size: 0.9rem;
  }
}

