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

/* Variáveis de cores */
:root {
  --primary: #0d47a1;
  /* Azul profundo para a identidade principal */
  --secondary: #d32f2f;
  /* Vermelho intenso para destaques e ações */
  --dark: #212121;
  /* Preto suave para textos importantes */
  --light: #e3f2fd;
  /* Azul claro para fundos */
  --accent: #b71c1c;
  /* Vermelho escuro para alertas ou elementos importantes */
  --text: #263238;
  /* Azul acinzentado para textos comuns */
  --background: #f5f5f5;
  /* Cinza muito claro para o fundo */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--background);
}

html {
  scroll-behavior: smooth;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Utilitários */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.hide-on-mobile {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .mobile-only {
    display: block;
  }
}

/* Header */
header {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  background-color: var(--dark);
}

.contact-info {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.contact-info i {
  margin-right: 6px;
  color: var(--secondary);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  color: white;
  transition: color 0.3s;
}

.social-icons i {
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: var(--secondary);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
}

.logo span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--secondary);
}

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

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.mobile-cta {
  background-color: var(--secondary);
  color: white !important;
  padding: 10px 15px;
  border-radius: 4px;
  margin-top: 10px;
  display: inline-block;
  text-align: center;
  font-weight: 600;
}

.mobile-cta:hover {
  background-color: #e69009;
}

.menu-btn {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.menu-btn:hover {
  background-color: #e69009;
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.897), rgba(7, 0, 37, 0.493)), url('images/sobre-nos-equipe.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-button {
  background-color: var(--secondary);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
  background-color: #e69009;
  transform: translateY(-3px);
}

.secondary-button {
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  transition: background-color 0.3s, transform 0.3s;
}

.secondary-button:hover {
  background-color: #152a6a;
  transform: translateY(-3px);
}

/* Services Section */
.services {
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--light);
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 48px;
  max-width: 700px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  justify-content: center;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 32px 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
  background-color: var(--primary);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

.service-title {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--dark);
}

.service-description {
  color: #6b7280;
  margin-bottom: 20px;
}

.learn-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.learn-more:hover {
  color: var(--secondary);
}

.learn-more i {
  margin-left: 8px;
  font-size: 14px;
}

/* About Section */
.about {
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--dark);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text);
}

.about-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.feature i {
  color: var(--secondary);
  margin-right: 12px;
  font-size: 20px;
}

.about-mission-vision {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission,
.vision {
  background-color: var(--light);
  border-radius: 8px;
  padding: 20px;
}

.mission h3,
.vision h3 {
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.mission h3 i,
.vision h3 i {
  margin-right: 10px;
  color: var(--secondary);
}

/* Why Choose Us Section */
.why-choose {
  padding: 80px 5%;
  text-align: center;
  background-color: var(--light);
}

.why-choose .section-subtitle {
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 100vw;
  text-align: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.stat-box {
  background-color: white;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text);
  font-weight: 500;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
}

.benefit-item i {
  font-size: 40px;
  color: var(--secondary);
  margin-bottom: 20px;
}

.benefit-item h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.benefit-item p {
  color: var(--text);
}

/* Gallery Section */
.gallery {
  padding: 80px 5%;
  text-align: center;
}

.gallery .section-subtitle {
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 100vw;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  justify-content: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-title {
  font-weight: 600;
  font-size: 18px;
}

/* Testimonials */
.testimonials {
  padding: 80px 5%;
  text-align: center;
  background-color: var(--light);
}

.testimonials .section-subtitle {
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 100vw;
  text-align: center;
}

.testimonial-container {
  display: flex;
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background-color: white;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex: 1;
}

.testimonial-text {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 48px;
  color: var(--secondary);
  opacity: 0.2;
  position: absolute;
}

.testimonial-text::before {
  top: -20px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -40px;
  right: -10px;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 16px;
}

.client-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-details h4 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 4px;
}

.client-details p {
  color: #6b7280;
  font-size: 14px;
}

/* Blog Section (Dicas) */
.blog {
  padding: 80px 5%;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

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

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-date {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--dark);
}

.blog .section-subtitle {
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 100vw;
  text-align: center;
}

.blog-excerpt {
  color: var(--text);
  margin-bottom: 15px;
}

/* Brands Section */
.brands {
  padding: 50px 5%;
  text-align: center;
  background-color: white;
}

.brands .section-subtitle {
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 100vw;
  text-align: center;
}

.brands-slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.brand-item {
  flex: 1;
  min-width: 150px;
  padding: 0 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
  max-width: 100%;
}

.brand-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Appointment Section */
.appointment {
  padding: 80px 5%;
  background-color: var(--light);
}

.appointment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.appointment-form {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.appointment-form h2 {
  margin-bottom: 15px;
  color: var(--dark);
}

.appointment-form p {
  margin-bottom: 30px;
  color: var(--text);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

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

.submit-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  font-size: 16px;
}

.submit-btn:hover {
  background-color: #152a6a;
}

.appointment-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-map img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.contact-details {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-details h3 {
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-details ul {
  list-style: none;
  margin-bottom: 25px;
}

.contact-details li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-details i {
  color: var(--primary);
  margin-right: 12px;
  margin-top: 4px;
}

.contact-buttons {
  display: flex;
  gap: 15px;
}

.whatsapp-btn,
.call-btn {
  flex: 1;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

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

.whatsapp-btn:hover,
.call-btn:hover {
  transform: translateY(-5px);
}

.whatsapp-btn i,
.call-btn i {
  margin-right: 8px;
}

/* Call to Action */
.cta {
  background-color: var(--primary);
  padding: 80px 5%;
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

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

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

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
  color: white;
  text-decoration: none;
}

.footer-logo span {
  color: var(--secondary);
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}

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

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

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
}

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

.footer-links i {
  margin-right: 8px;
  font-size: 14px;
}

.footer-contact li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 12px;
  color: var(--secondary);
  margin-top: 4px;
}

.footer-contact span {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--light);
  text-decoration: none;
  font-weight: bold;
  font-size: larger;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary);
}

/* Animation styles */
.service-card,
.stat-box,
.benefit-item,
.gallery-item,
.blog-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.show,
.stat-box.show,
.benefit-item.show,
.gallery-item.show,
.blog-card.show {
  opacity: 1;
  transform: translateY(0);
}

.about {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.about.show {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-container {
    flex-direction: column;
  }

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

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

@media (max-width: 768px) {
  .nav-container {
    padding: 10px 4%;
    text-transform: uppercase;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 100;
  }

  nav ul.show {
    display: flex;
  }

  nav li {
    margin-bottom: 16px;
  }

  nav li:last-child {
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .mobile-menu {
    display: block;
  }

  .top-bar {
    flex-direction: column;
    gap: 12px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero {
    height: 500px;
  }

  .section-title {
    font-size: 30px;
  }

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

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

@media (max-width: 576px) {
  .top-bar {
    display: none;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .services-grid,
  .stats-container,
  .benefits,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

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

  .contact-buttons {
    flex-direction: column;
  }

  .contact-map img {
    width: 100%;
    height: 200px;
  }

  .gallery-item {
    height: 200px;
  }
}