:root {
  --primary-color: #1980e6;
  --text-dark: #333333;
  --text-muted: #666666;
  --bg-light: #eaf3fc;
  --card-border-radius: 20px;
  --blue-color: #1980e6;
  --green-color: #158841;
  --yellow-color: #e6b436;
  --purple-color: #921fb4;
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fffaf7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; 
}

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

.hero-section {
  text-align: center;
  padding: 30px 0 40px;
  max-width: 800px;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  background-color: #fffaf7;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.logo {
  width: 90px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar a {
  text-decoration: none;
  color: black;
  font-size: 0.75rem;
  font-weight: 500;
}

.nav:hover {
  text-decoration: underline;
  color: #fcc02a;
  font-weight: 600;
}

nav a {
  color: #6b6661;
  text-decoration: none;
}

nav a:hover {
  color: #fcc02a;
}

nav a.selecionado {
  color: #fcc02a;
  font-weight: bold;
  border-bottom: solid 2px #fcc02a;
}

.conectese a {
  color: white;
  font-weight: 600;
}

.conectese {
  background: linear-gradient(
    to bottom,
    rgba(252, 192, 42, 1),
    rgba(252, 192, 42, 0.5)
  );
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.menu-hamburguer {
  display: none;
  border: none;
  background: none;
  font-size: 2rem;
  cursor: pointer;
  color: #1980e6;
}

.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  color: black;
}

.dropdown-btn:hover {
  color: #fcc02a;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 170px;
  overflow: hidden;
  z-index: 999;
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.dropdown-menu.ativo {
  display: block;
}

.hero-section h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-color);
  margin-bottom: 25px;
  text-transform: uppercase;
}

.hero-section h1 span {
  color: var(--green-color);
}

.hero-section p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.support-section {
  padding: 20px 0 60px;
}

.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #333333;
}

.section-title img.title-icon {
  width: 45px;
  height: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: #ffffff;
  border-radius: var(--card-border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #efefef;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
}

.card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 25px;
  height: 25px;
}

.card-blue {
  border-left: 5px solid var(--blue-color);
  border-top: 5px solid var(--blue-color);
}

.card-blue h3 {
  color: var(--blue-color);
}

.card-blue .card-icon {
  background-color: #e8f2fc;
}

.card-green {
  border-left: 5px solid var(--green-color);
  border-top: 5px solid var(--green-color);
}

.card-green h3 {
  color: var(--green-color);
}

.card-green .card-icon {
  background-color: #e7f3ec;
}

.card-yellow {
  border-left: 5px solid var(--yellow-color);
  border-top: 5px solid var(--yellow-color);
}

.card-yellow h3 {
  color: var(--yellow-color);
}

.card-yellow .card-icon {
  background-color: #fdf7e7;
}

.card-purple {
  border-left: 5px solid var(--purple-color);
  border-top: 5px solid var(--purple-color);
}

.card-purple h3 {
  color: var(--purple-color);
}

.card-purple .card-icon {
  background-color: #f4e8f7;
}

.contact-section {
  background-color: var(--bg-light);
  border-radius: 24px;
  padding: 45px 50px;
  margin: 30px auto 30px;
}

.contact-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.contact-header h2 {
  color: #164c83;
  font-size: 22px;
  font-weight: 700;
}

.contact-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #333333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aec0;
}

.full-width {
  margin-bottom: 25px;
}

.form-actions {
  display: flex;
  justify-content: center;
}

.btn-submit {
  background-color: #128c4b;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: #0e6f3b;
}

.send-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-container{
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr 1.5fr;
  justify-content: center;
  align-items: start;
  gap: 40px;
  padding: 50px 20px;
  background-color: #D9D9D9;
  max-width: 1200px; 
  margin: 0 auto;
}

footer {
  background-color: #D9D9D9;
  width: 100%;
  margin-top: auto; 
}
.titulo-footer{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.maos{
  width: 20px;
}

.texto-footer{
  font-size: 0.875rem;
  color: #6B6661;
  line-height: 22px;
}

.conectando{
  width: 100%;
  max-width: 250px 
}

.links{
  display: flex;
  flex-direction: column;
}

.links a{
  text-decoration: none;
  color: #6B6661;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.links a:hover{
  text-decoration: underline;
}

.contatos{
  display: flex;
  flex-direction: column;
}

.loc, .tel, .email{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.loc p, .tel p, .email p{
  color: #6B6661;
  font-size: 0.875rem;
}

.redes-sociais{
  display: flex;
  flex-direction: column;
}

.icones{
  display: flex;
  gap: 12px;
}

.icones img{
  width: 42px;
  cursor: pointer;
}
 
@media (max-width: 1210px) {
  .header-container {
    padding: 0 20px;
  }

  .container {
    max-width: 100%;
    padding: 0 25px;
  }

  .hero-section {
    padding: 70px 0 30px;
  }

  .card-grid {
    gap: 20px;
  }

  .contact-section {
    padding: 40px 35px;
  }

  .form-grid {
    gap: 15px;
  }
}

@media (max-width: 990px) {
  .header {
    justify-content: center;
  }

  .header-container {
    padding: 0 20px;
  }

  .navbar {
    gap: 18px;
  }

  .navbar a {
    font-size: 0.7rem;
  }

  .conectese {
    padding: 10px 16px;
  }

  .hero-section {
    max-width: 700px;
    padding: 60px 0 35px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  .card-grid {
    gap: 20px;
  }

  .card {
    padding: 25px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card-body p {
    font-size: 0.9rem;
  }

  .contact-section {
    padding: 35px 30px;
  }

  .contact-header h2 {
    font-size: 1.25rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-group.full-width {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .header-container {
    padding: 20px;
    position: relative;
  }

  .menu-hamburguer {
    display: block;
  }

  .navbar {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFAF7;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
  }

  .navbar.ativo {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: white;
    width: 100%;
  }

  .conectese {
    width: 220px;
  }

  main {
    margin-top: 120px;
  }

  .hero-section {
    padding: 40px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-header {
    flex-direction: column;
    text-align: center;
  }

  .contact-header h2 {
    font-size: 1.3rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  #userwayAccessibilityIcon,
  div[class*='userway'],
  div[id*='userway'],
  .uai {
    right: 8px !important;
    bottom: 120px !important;
    transform: scale(0.9);
    transform-origin: bottom right;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 15px;
  }

  .logo {
    width: 70px;
  }

  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 20px 0 25px;
  }

  .hero-section h1 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .hero-section p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }

  .section-title img {
    width: 35px;
  }

  .card {
    padding: 20px;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card-body p {
    text-align: center;
    font-size: 0.9rem;
  }

  .contact-section {
    padding: 25px 18px;
    border-radius: 18px;
  }

  .contact-header h2 {
    font-size: 1.1rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input, .form-group textarea {
    font-size: 0.9rem;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }


  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 40px 20px;
  }

  .conectando {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .titulo-footer,
  .loc,
  .email,
  .icones {
    justify-content: center;
  }
}