/* Reset e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
}

:root {
  --primary-color: #2c5282;
  --secondary-color: #4299e1;
  --accent-color: #63b3ed;
  --text-color: #333;
  --light-bg: #f7fafc;
  --white: #fff;
  --gray: #e2e8f0;
  --dark-gray: #718096;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
}

.section-subtitle {
  text-align: center;
  color: var(--dark-gray);
  margin-top: -2rem;
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed !important;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  transition: transform 0.3s ease;
}

.nav-links li {
  margin-left: 2rem;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  position: relative;
}

.nav-links.active {
  justify-content: center;
  gap: 1.5em;
  text-transform: uppercase;
  transform: translateX(0);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-btn {
  position: relative;
  z-index: 1001;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn i {
  position: absolute;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero {
  background: linear-gradient(rgba(44, 82, 130, 0.7), rgba(66, 153, 225, 0.7)), url('assets/hero-image.png') no-repeat center center/cover;
  color: #f0f8ff;
  /* AliceBlue for better contrast */
  text-align: center;
  padding: 250px 10px;
  text-shadow: 2px 2px 4px rgba(220, 214, 250, 0.911);
  /* Add shadow for better readability */
}

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.credentials {
  margin-top: 2rem;
}

.credentials-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.credentials-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Serviços */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(66, 153, 225, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-gray);
}

/* Depoimentos */
.testimonials {
  background-color: var(--light-bg);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 900px;
  padding: 0 15px;
  width: 100%;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  margin: 0 10px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  flex-shrink: 0;
}

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

.author-info h4 {
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Horário de Atendimento */
.schedule {
  background-color: var(--light-bg);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.schedule-content h2 {
  margin-bottom: 1.5rem;
}

.schedule-content p {
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.schedule-table th,
.schedule-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

.schedule-table th {
  font-weight: 600;
  color: var(--primary-color);
}

.schedule-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contato */
.contact {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 8px;
  height: fit-content;
}

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

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1rem;
}

.contact-text h4 {
  margin-bottom: 0.2rem;
}

.contact-text p {
  color: var(--dark-gray);
}

.contact-form {
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 8px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gray);
  border-radius: 4px;
  background-color: var(--white);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
}

@media screen and (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  .section {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: none;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1rem 0;
  }

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

  .about-grid,
  .contact-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
  }

  .testimonial-card {
    padding: 1.5rem;
    margin: 0 10px;
  }

  .testimonials-slider {
    max-width: 100%;
  }

  .mobile-menu-btn .fa-bars {
    opacity: 1;
    visibility: visible;
  }

}

@media screen and (max-width: 576px) {
  .header-container {
    padding: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Whatsapp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}