@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

@font-face {
  font-family: 'Nohemi';
  src: url('./fontes/Nohemi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Nohemi';
  src: url('./fontes/Nohemi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* RESET E BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html,
body {
  height: 100%;
  background: linear-gradient(180deg, #7b91c7 0%, #e6eaff 40%, #fff 100%);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}



/* MAIN CONTENT */
.main-content {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
}

.hero-section {
  text-align: center;
  margin-bottom: 4rem;
}

.hero-title {
  font-family: 'Nohemi', sans-serif;
  font-weight: 900;
  margin-bottom: 18px;
  color: #111;
}

.hero-img {
  width: 20em;
  margin-bottom: -15px;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.white-blur {
  width: 250px;
  height: 80px;
  margin: -50px auto 24px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 60%, rgba(123, 145, 199, 0.15) 100%);
  filter: blur(18px);
  border-radius: 50px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 1050px;
  margin-inline: auto;
  color: #000;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: transparent;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 6px solid #6d7dfc;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #6d7dfc;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.card-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info a {
  color: #6b73ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #6b73ff 0%, #9b59b6 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  display: block;
  text-align: center;
}

.contact-btn:hover {
  transform: scale(1.02);
}

.contact-form-section {
  background: transparent;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  border: 6px solid #6d7dfc;
}

.form-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.form-title i {
  color: #4456db;
  margin-left: 8px;
}

.form-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #a8b8e8;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6b73ff;
  box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #6b73ff 0%, #9b59b6 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s;
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: scale(1.02);
}

.hours-section {
  background: transparent;
  border-radius: 16px;
  padding: 2rem;
  border: 6px solid #6d7dfc;
}

.hours-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hours-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.hours-item {
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 6px solid #6d7dfc;
}

.hours-item h4 {
  color: #2563eb;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hours-item p {
  color: #666;
  margin: 0.5rem 0;
}

/* FOOTER */
footer {
  width: 100%;
  background: #f4f8ff;
  box-shadow: 0 -2px 12px rgba(213, 220, 236, 0.185);
  padding: 14px 0 4px;
}

.footer-content {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-footer img {
  height: 36px;
}

.footer-termo a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
}

.footer-termo a:hover {
  text-decoration: underline;
}

.social-icons a {
  margin: 0 8px;
  color: #333;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: #6d7dfc;
}

.copyright {
  font-size: 13px;
  color: #555;
}

/* HEADER DINAMICO - deu certo no teste, entao manter e dar uma melhorada,
pra depois ser implementado em todas as paginas de forma funcional */

.usuario-logado {
  display: flex;
  align-items: center;
  gap: 10px;
}

.usuario-perfil-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 6px 12px 6px 6px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s;
}

.usuario-perfil-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* avatar circular com inicial */
.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #6d7dfc;
  border: 2px solid #fff;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-avatar-inicial {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.header-avatar-sm {
  width: 28px;
  height: 28px;
}

.usuario-nome {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.btn-sair {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #000;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-sair:hover {
  background: #6d7dfc;
  border-color: #6d7dfc;
  color: #fff;
}

/* RESPONSIVIDADE */
/* mobile portrait */
@media (max-width: 767px) {
  header {
    padding: 16px 24px;
  }

  .logo img {
    height: 36px;
  }

  .desktop-nav,
  .auth-buttons {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    top: 70px;
  }

  .main-content {
    padding: 2rem 1.5rem;
    margin-top: 20px;
  }

  .hero-section {
    margin-bottom: 3rem;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero-img {
    width: 15em;
  }

  .white-blur {
    width: 200px;
    height: 60px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .contact-form-section {
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
  }

  .form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

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

  .hours-section {
    padding: 1.5rem;
  }

  .hours-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .hours-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-content {
    padding: 0 24px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .logo-footer img {
    height: 32px;
  }

  .footer-termo a {
    font-size: 14px;
  }

  .copyright {
    font-size: 12px;
  }
}

/* mobile landscape */
@media (max-height: 500px) and (orientation: landscape) {
  header {
    padding: 12px 20px;
  }

  .logo img {
    height: 36px;
  }

  .desktop-nav,
  .auth-buttons {
    display: none !important;
  }

  .mobile-menu {
    display: block !important;
  }

  .hamburger {
    display: flex !important;
  }

  .main-content {
    padding: 1.5rem 1rem;
    margin-top: 10px;
  }

  .hero-img {
    width: 140px;
  }

  .white-blur {
    width: 150px;
    height: 50px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  .contact-form-section {
    padding: 1.5rem 1rem;
  }

  .hours-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* tablet portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  header {
    padding: 20px 30px;
  }

  .desktop-nav,
  .auth-buttons {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-img {
    width: 18em;
  }

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

/* tablet landscape */
@media (min-width: 768px) and (max-width: 1279px) and (orientation: landscape) {
  header {
    padding: 18px 24px;
  }

  .logo img {
    height: 38px;
  }

  .desktop-nav {
    display: flex;
    gap: 2.5rem;
  }

  .desktop-nav a {
    font-size: 14px;
    padding: 6px 0;
  }

  .auth-buttons {
    display: flex;
  }

  .auth-buttons button {
    padding: 10px 18px;
    font-size: 14px;
    margin-left: 8px;
  }

  .mobile-menu,
  .hamburger {
    display: none;
  }

  .main-content {
    padding: 2.5rem 2rem;
    margin-top: 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-img {
    width: 18em;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .hours-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* tablet landscape agrande */
@media (min-width: 1024px) and (max-width: 1279px) and (orientation: landscape) {
  .desktop-nav {
    gap: 3.5rem;
  }

  .desktop-nav a {
    font-size: 15px;
  }

  .auth-buttons button {
    padding: 11px 20px;
    font-size: 15px;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* desktop (1280px ou mais) */
@media (min-width: 1280px) {
  .mobile-menu,
  .hamburger {
    display: none;
  }

  .desktop-nav,
  .auth-buttons {
    display: flex;
  }
}

/* mobile menro */
@media (max-width: 480px) {
  header {
    padding: 12px 16px;
  }

  .logo img {
    height: 36px;
  }

  .mobile-nav {
    right: 10px;
    min-width: 200px;
    padding: 16px;
  }

  .main-content {
    padding: 1.5rem 1rem;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero-img {
    width: 12em;
  }

  .white-blur {
    width: 150px;
    height: 50px;
  }

  .hero-subtitle {
    font-size: 14px;
    padding: 0 5px;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-description {
    font-size: 13px;
  }

  .contact-form-section {
    padding: 1.5rem 1rem;
  }

  .form-title {
    font-size: 1.3rem;
  }

  .hours-section {
    padding: 1rem;
  }

  .hours-title {
    font-size: 1.1rem;
  }

  .footer-content {
    padding: 0 16px;
    gap: 12px;
  }

  .social-icons a {
    margin: 0 6px;
  }
}

/* mobile menor ainda - teste */
@media (max-width: 320px) {
  .hero-title {
    font-size: 20px;
  }

  .hero-img {
    width: 10em;
  }

  .contact-card {
    padding: 1rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  .contact-form-section,
  .hours-section {
    padding: 1rem 0.8rem;
  }

  .main-content {
    padding: 1rem 0.8rem;
  }
}