/* Geral */
:root {
  --primary-color: #0D1F4A;
  --secondary-color: #F4B22C;
  --accent-color: #888180;
  --background-color: #F5F7FA;
  --contact-button-color: #5bb053;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: 'Roboto', Arial, sans-serif;
  --font-accent: 'Courier New', Courier, monospace;
  --border-color: #ccc; /* Added for borders */
  --box-shadow-color: rgba(0, 0, 0, 0.2); /* Added for shadows */
    
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.125rem;  /* 18px */
  --font-size-lg: 1.25rem;   /* 20px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-xxl: 2rem;     /* 32px */
  --font-size-xxxl: 2.5rem;  /* 40px */
  --font-size-xxxxl: 3rem;   /* 48px */
  --font-size-xxxxxl: 4rem;  /* 64px */
}

html, body {
  height: 100%;
}

body {
  margin: 0 auto;
  padding: 0;
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  background-color: var(--background-color);
  color: var(--primary-color);
  box-sizing: border-box; /* Inclui padding e border no tamanho total */
  display: flex;
  flex-direction: column;
}

.content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0rem;
  flex: 1;
}

main {
  flex: 1;
}

/* Header */
header.main-header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 10px var(--box-shadow-color);
}

header .logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

header .logo-img {
  height: 40px;
  margin-right: 10px;
}

header .logo span {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-secondary);
}

/* Navegação */
nav.nav-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
}

nav.nav-bar a {
  color: white;
  text-decoration: none;
  font-size: var(--font-size-lg);
  font-family: var(--font-secondary);
  transition: color 0.3s;
}

nav.nav-bar a:hover {
  color: var(--secondary-color);
}

body {
  padding-top: 80px;
}

/* Formulário de login */
.login-container {
  max-width: 450px;
  width: 100%;
  margin: 3rem auto;
  padding: 3rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 8px 20px var(--box-shadow-color);
  border-top: 3px solid var(--secondary-color);
  font-family: var(--font-primary);
  line-height: 1.6;
  box-sizing: border-box;
}

.login-container h2 {
  text-align: center;
  font-family: var(--font-secondary);
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 0rem 0 0rem;
  font-weight: bold;
  font-family: var(--font-secondary);
}

input {
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
  font-family: var(--font-primary);
}

button {
  padding: 1rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--font-secondary);
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

button:hover {
  background-color: var(--primary-color);
}

.footer-container {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  margin-top: auto;
  box-shadow: 0 -4px 10px var(--box-shadow-color);
  font-family: var(--font-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  display: inline-flex;
  gap: 15px;
}

.footer-links li {
  display: inline;
}

.footer-links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-family: var(--font-secondary);
}

.footer-links a:hover {
  text-decoration: underline;
}

.contact-form-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 8px 20px var(--box-shadow-color);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin: 1.5rem auto;
  font-family: var(--font-primary);
  padding: 2rem;
  line-height: 0.5;
}

.three-columns {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
}

.three-columns > * {
  margin: 2rem 0;
  flex: 1;
  max-width: 33.33%;
  box-sizing: border-box;
}

.column {
  border: 1px solid var(--border-color);
  padding: 1rem 3rem;
  border-radius: 10px;
  background-color: var(--secondary-color);
  box-shadow: 0 4px 15px var(--box-shadow-color);

  h2 {
    font-family: var(--font-secondary);
    font-size: var(--font-size-xxl);
    color: var(--primary-color);
    margin-bottom: 2rem;
  }

  p {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  line-height: 1.6;
  max-width: 70ch;
  margin-bottom: 1.2em;
  text-align: justify;
  hyphens: auto;
}
}

.intro-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
}

.intro-text {
  flex: 1;
  h1 {
    font-family: var(--font-secondary);
    font-size: var(--font-size-xxxl);
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  p {
    font-family: var(--font-secondary);
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    line-height: 1.6;
    text-align: justify;
  }
}

.intro-image {
  flex: 1;
  text-align: center;
}

.intro-image img {
  max-width: 60%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px --box-shadow-color;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
ul.social-links {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 10px;
  justify-content: center;
}
ul.social-links li {
  margin-bottom: 10px; /* Espaçamento entre ícones */
}

.cta-section {
  display: block;
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  margin: 3rem auto;
  box-shadow: 0 8px 20px var(--box-shadow-color);
  max-width: 800px;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none; /* Remove o sublinhado padrão de links */
}

.cta-section:hover {
  background-color: var(--contact-button-color);
}
.cta-section h2 {
  font-size: var(--font-size-xxl);
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
}

.cta-section p {
  font-size: var(--font-size-xl);
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
}

.cta-section a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.cta-section a:hover {
  color: inherit;
}


/* Tablet optimization */
@media (max-width: 992px) {
  .three-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .three-columns > * {
    max-width: 100%;
  }

  .intro-section {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .intro-image img {
    max-width: 80%;
  }

  .intro-text h1,
  .cta-section h2 {
    font-size: var(--font-size-xxl);
  }

  .intro-text p,
  .cta-section p {
    font-size: var(--font-size-lg);
  }
  
  .login-container {
    max-width: 60%;
    padding: 2.5rem 3.5rem;
    margin: 4rem auto;
  }
  
}
/* Responsividade para celulares */
@media (max-width: 600px) {
  body {
    padding: 1rem 2rem;
    padding-top: 40%;
  }

  header.main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  nav.nav-bar {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }
  
  nav.nav-bar a {
    font-size: var(--font-size-md);
    padding: 0.5rem;
    flex-grow: 0;
    text-align: center;
  }

  .intro-image img {
    max-width: 100%; /* Full width on mobile */
  }

  /* Proportional login container for mobile */
  .login-container {
    max-width: 90%;
    padding: 1.5rem;
    margin: 2rem auto;
    font-size: var(--font-size-md);
  }

  .login-container input {
    padding: 0.75rem;
    font-size: var(--font-size-md);
  }

  .login-container button {
    padding: 1.2rem;
    font-size: var(--font-size-md);
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

}
