/* Base Styles */
:root {
  --primary-color: #514ae2;
  --secondary-color: #049c88;
  --accent-color: #fcbf44;
  --dark-color: #333f48;
  --light-color: #f8f9fa;
  --text-color: #3a3f42;
  --light-text: #6c757d;
  --background-color: #eeeeee;
  --section-bg: #f9f1e1dd;
  --border-color: #e1e4e8;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

section:nth-child(even) {
  background-color: var(--section-bg);
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button-full {
  width: 100%;
}

/* Header & Navigation */
header {
  color: var(--background-color);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  padding-top: 24px;
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.logo p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--light-text);
}

.nav-links {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* mostra hambúrguer */
    visibility: visible;
    color: var(--secondary-color);
  }
  .nav-links {
    display: none; /* esconde menu por padrão */
    flex-direction: column;
    background-color: var(--background-color);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex; /* mostra ao clicar */
  }

  .nav-links li {
    margin: 15px 0;
  }
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

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

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

.nav-links.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3)
  ); /* seu efeito bonito */
  z-index: 2;
}

.hero-content {
  position: relative;
  top: 12rem;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-text h3 {
  margin-bottom: 20px;
}

.about-text p {
  text-align: justify;
}
.about-text ul {
  margin-bottom: 20px;
}

.about-text li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.about-text li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.highlight-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary-color);
  border-left: 3px solid var(--secondary-color);
  padding-left: 15px;
  margin: 20px 0;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.service-col {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.service-img {
  color: var(--secondary-color);
  width: 3rem;
  height: 3rem;
}

.cta-container {
  text-align: center;
  margin-top: 40px;
}

.cta-container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

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

.modal-content {
  background: var(--background-color);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--light-text);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--background-color);
  color: var(--dark-color);
}

.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-header h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-body p {
  color: var(--light-text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  color: var(--light-text);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* Quote Banner */
.quote-banner {
  color: var(--primary-color);
  text-align: center;
  padding: 40px 0;
}

.quote-banner p {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

/* Testimonials Section */
.testimonials {
  text-align: center;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  height: 500px;;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  opacity: 1;
  z-index: 1;
}

.testimonial-content {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 20px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 2;
}

.testimonial-nav:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
  left: -1px;
}

.testimonial-nav.next {
  right: -1px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary-color);
}

.testimonial-dot:hover {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .testimonial-nav.prev {
    left: -10px;
  }

  .testimonial-nav.next {
    right: -10px;
  }

  .testimonial-slider {
    height: 500px;
  }
}

@media (max-width: 576px) {
  .testimonial-content p {
    font-size: 0.85rem;
  }

  .testimonial-nav {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .testimonial-nav.prev {
    left: 0;
  }

  .testimonial-nav.next {
    right: 0;
  }
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary-color);
}

/* Appointment Section */
.appointment {
  background-color: var(--light-color);
}

.appointment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.appointment-info h3 {
  margin-bottom: 20px;
}

.appointment-info ul {
  margin-top: 20px;
}

.appointment-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.appointment-info li i {
  color: var(--secondary-color);
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: space-around;
}

.social-icon {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 50px;
  background-color: #f0f2f5;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #3498db;
  color: white;
}

.social-icon i {
  font-size: 1.2rem;
  margin-right: 8px;
}

.whatsapp-link {
  display: inline-block;
  padding: 5px 12px;
  background-color: #25d366;
  color: white !important;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.whatsapp-link:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}
/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  background-color: var(--light-color);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  transition: var(--transition);
}

.faq-question.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--background-color);
}

.faq-answer.active {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background-color: var(--background-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-content {
  padding: 20px;
}

.blog-date {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.read-more {
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

.blog-cta {
  text-align: center;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 20px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
}

.contact-item:hover {
  transform: scale(1.05);
  background-color: #25d3661a; /* verde claro do WhatsApp com transparência */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  min-width: 25px;
}

.contact-item h4 {
  margin-bottom: 5px;
}

.cta-buttons {
  text-align: center;
  margin-bottom: 1rem;
}
.office-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

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

.footer-logo h3 {
  color: white;
  margin-bottom: 10px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-connect h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.newsletter h4 {
  margin-top: 20px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 20px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .appointment-container,
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links li {
    margin: 15px 0;
  }

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

  .service-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom-links {
    margin-top: 10px;
  }

  .footer-bottom-links a {
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .testimonial-content p {
    font-size: 0.75rem;
  }

  .button {
    padding: 10px 20px;
  }
}
