@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');
/* ============ VARIÁVEIS ============ */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #fff;
  --black: #000;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --gray-light: #f5f5f5;
  --gray-medium: #e0e0e0;
  --gray-dark: #bdbdbd;
  --header-height: 6rem;
}

/* ============ RESET E BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.section-padding {
  padding: 5rem 0;
}

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

/* ============ BOTÕES ============ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

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

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.cta-btn i {
  margin-right: 0.5rem;
  font-size: 1rem;
  display: inline-block;
}

/* ============ HEADER ============ */
.header {
  position: relative;
  align-content: center;
  background-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.3rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.logo img {
  height: auto;
  transition: all 0.3s ease;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-left: 2rem;
  position: relative;
}

.nav-list a {
  text-decoration: none;
  color: var(--gray-light);
  font-weight: 600;
  font-size: 17px;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
}

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

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

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translateX(-50%); /* Centraliza em relação ao pai */
  background: linear-gradient(to bottom, var(--white), var(--gray-light));
  border: 1px solid var(--gray-medium);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 12.5rem;
  max-width: 15rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 0.3rem 0.5rem;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Divisória sutil */
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  color: var(--text-color);
  font-weight: 400;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.dropdown-menu a::before {
  content: '\f054'; /* Font Awesome chevron-right */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--secondary-color);
  margin-right: 0.5rem;
  display: inline-block;
}

.dropdown-menu a:hover {
  color: var(--secondary-color);
  background-color: rgba(52, 152, 219, 0.1);
  transform: translateX(5px);
}

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

.dropdown-menu a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-light);
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle i {
  display: inline-block;
}

/* ============ CARROSSEL ============ */
.carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-top: 0;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.carousel-item.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 30px;
  z-index: 10;
  pointer-events: auto;
}

.carousel-caption h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
  color: var(--white);
}

.carousel-caption p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease;
}

.carousel-caption .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
}

.carousel-caption .btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.carousel-caption .btn-large {
  padding: 15px 30px;
  font-size: 1.2rem;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-control i {
  display: inline-block;
}

.carousel-control:hover {
  background-color: var(--secondary-color);
}

.carousel-control.prev {
  left: 30px;
}

.carousel-control.next {
  right: 30px;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: var(--white);
  transform: scale(1.2);
}

/* Animações do Carrossel */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

/* ============ SEÇÃO SERVIÇOS ============ */
.services-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

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

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  align-content: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-icon i::after {
  content: '[Ícone]';
  display: none;
  font-size: 0.8rem;
  color: var(--text-color);
}

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

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link i {
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--primary-color);
}

.service-link:hover i {
  transform: translateX(0.3rem);
}

.shuffle-btn {
  display: block;
  margin: 3rem auto 0;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.shuffle-btn i {
  margin-right: 0.5rem;
  display: inline-block;
  font-size: 1rem;
}

.shuffle-btn i::after {
  content: '';
  display: none;
  font-size: 0.8rem;
}

.shuffle-btn i:not(.fa-solid)::after {
  display: none;
}

.shuffle-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

/* ============ SEÇÃO CTA ============ */
.cta-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(41, 128, 185, 0.9));
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--white);
  color: var(--secondary-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background-color: var(--primary-color);
  color: var(--white);
}

/* ============ SEÇÃO DEPOIMENTOS ============ */
.testimonials-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 5rem;
  color: rgba(52, 152, 219, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial .rating {
  color: #f1c40f;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.client-info {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

.client-name {
  font-weight: 700;
  color: var(--primary-color);
}

.client-company {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============ PÁGINA SOBRE NÓS ============ */
.about-hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../img/slide1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 9rem 0 6rem;
  text-align: center;
  margin-top: 0;
}

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

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-content {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}

.about-grid .service-card {
    margin: 0 auto;
    max-width: 20rem;
    padding: 1.5rem; 
}

.about-text h2 {
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
  font-size: 1.8rem;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.values-list {
  list-style: none;
  margin-top: 1.5rem;
}

.values-list li {
  margin-bottom: 0.5rem;
  align-items: center;
}

.values-list i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

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

.team-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  margin-bottom: 0.3rem;
}

.team-info p {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

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

/* ============ PÁGINA CONTATO ============ */
.contact-hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url(../img/slide3.jpg);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 9rem 0 6rem;
  text-align: center;
  margin-top: 0;
}

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

.contact-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.contact-content {
  padding: 5rem 0;
}

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

.contact-info h2,
.contact-map h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 1rem;
}

.contact-info h2::after,
.contact-map h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.5rem;
  height: 3px;
  background-color: var(--secondary-color);
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-list i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 1.5rem;
  margin-top: 0.3rem;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.social-section {
  margin-top: 2.5rem;
}

.social-section h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-wpp {
  width: 100%;
  align-self: center;
  justify-self: center;
  max-width: 500px;
}

.map-container {
  height: 28rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============ PÁGINAS DE SERVIÇOS ============ */
.service-detail-page {
  padding-top: 0;
}

.service-hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url(../img/slide2.jpg);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 7rem 0 5rem;
  text-align: center;
}

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

.service-hero p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.service-content {
  padding: 5rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 2rem;
}

.service-main {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-main h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.service-main h3 {
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
}

.service-main p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.benefits-list {
  list-style: none;
  margin: 1.5rem 0;
}

.benefits-list li {
  margin-bottom: 0.8rem;
}

.benefits-list i {
  color: var(--secondary-color);
  margin-right: 0.6rem;
  margin-top: 0.2rem;
  display: inline-block;
}

.benefits-list i::after {
  content: '[Check]';
  display: none;
  font-size: 0.8rem;
}

.benefits-list i:not(.fa-solid)::after {
  display: inline-block;
}

.service-cta {
  margin-top: 2.5rem;
}

/* Sidebar */
.service-sidebar {
  position: relative;
}

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

.sidebar-widget h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.service-links li {
  margin-bottom: 0.6rem;
}

.service-links a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.service-links a:hover {
  color: var(--secondary-color);
  transform: translateX(0.3rem);
}

.service-links i {
  margin-right: 0.6rem;
  color: var(--secondary-color);
  font-size: 0.8rem;
  display: inline-block;
}

.service-links i::after {
  content: '[Link]';
  display: none;
  font-size: 0.8rem;
}

.service-links i:not(.fa-solid)::after {
  display: inline-block;
}

/* ============ FOOTER ============ */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  justify-items: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
  justify-content: center;
}

.footer-col {
  text-align: left;
}

.footer-col-logo {
  justify-items: center;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
  color: var(--white);
}

.footer-logo {
  margin-bottom: 0rem;
}

.footer-about p {
  font-family: 'Allura', cursive;
  font-size: 29px;
  margin-bottom: 1.5rem;
  line-height: 1.1 !important; 
  opacity: 0.8;
  margin-top: 1.5rem;
  text-align: center;
  max-width: 350px;
  line-height: 1.3;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 80px;
  flex-direction: row;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s ease;
}

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

.social-links-contact {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}

.social-links-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.social-links-contact a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-0.2rem);
}

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

.contact-list i {
  margin-right: 0.6rem;
  color: var(--secondary-color);
}

.quick-links li {
  margin-bottom: 0.6rem;
}

.quick-links a {
  color: var(--white);
  opacity: 0.8;
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: var(--secondary-color);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 1200px) {
  .container {
    width: 100%;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .about-image img {
    display: none;
  }

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

}

@media (max-width: 950px) {
  .carousel-control {
    display: none;
  }
}

@media (min-width: 601px) and (max-width: 992px) {
  .about-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image,
  .map-container {
    order: -1;
    max-width: 100%;
  }
  
  .service-sidebar {
    margin-top: 3rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-container,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid .service-card {
    max-width: 100%; /* Ocupa toda a largura em tablet */
}

}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  :root {
    --header-height: 4.5rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 55px;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-list a {
    color: var(--text-color);
  }

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

  .nav-list li {
    margin: 0.8rem 0;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    background: transparent; /* Integra ao fundo do nav-list */
    border: none;
    box-shadow: none;
    padding: 0.5rem 0; /* Sem recuo lateral */
    max-height: 50vh;
    overflow-y: auto;
    display: none;
    opacity: 0;
    height: 0;
    width: 100%; /* Ocupa toda a largura */
    transition: opacity 0.3s ease, height 0.3s ease; /* Slide vertical */
  }

  .dropdown:hover .dropdown-menu {
    transform: translateX(0) translateY(0);
  }

  .dropdown-menu.active {
    display: block;
    opacity: 1;
    height: auto; /* Ajusta à altura do conteúdo */
  }

  .dropdown-menu li {
    padding: 0.3rem 1rem; /* Mais espaço, alinhado à esquerda */
    border-bottom: 1px solid var(--gray-medium); /* Divisória sutil */
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .dropdown-menu a {
    font-size: 0.9rem; /* Levemente maior para legibilidade */
    padding: 0.3rem 0; /* Sem padding lateral extra */
    color: var(--text-color);
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:active {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.05); /* Feedback ao tocar */
  }

  .dropdown-menu a::before {
    font-size: 0.7rem; /* Ícone maior */
    margin-right: 0.5rem;
  }

  .dropdown-menu a::after {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }
  
  .carousel {
    height: 50vh;
  }
  
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  
  .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .carousel-caption .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .carousel-caption .btn-large {
    padding: 12px 24px;
    font-size: 1.1rem;
  }
  
  .services-grid,
  .testimonials-container,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }

  .logo img {
    max-width: 125px;
  }

}

@media (max-width: 600px) {
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-sidebar {
    width: 100%;
    margin-top: 2rem;
  }

  .contact-info,
  .contact-map,
  .service-main,
  .service-sidebar {
    min-width: 0;
  }

  .map-container {
    height: 20rem;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .contact-list i {
    margin-bottom: 0.5rem;
  }

  .service-main,
  .sidebar-widget {
    padding: 1.5rem;
  }

  .container {
    padding: 0 10px;
  }

  .contact-hero,
  .service-hero {
    padding: 6rem 0 4rem;
  }

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

  .contact-hero p,
  .service-hero p {
    font-size: 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .about-hero,
  .contact-hero,
  .service-hero {
    padding: 4rem 0;
  }
  
  .about-hero h1,
  .contact-hero h1,
  .service-hero h1 {
    font-size: 2.2rem;
  }

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

  .contact-list li {
    flex-direction: row;
  }
  
  .contact-list i {
    margin-bottom: 0.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-col {
    text-align: center;
  }

  .social-links {
    margin-top: 30px;
    margin-bottom: 1.5rem;
  }

  .carousel {
    height: 45vh;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption {
    padding: 1.5rem;
  }

  .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .carousel-caption .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .carousel-caption .btn-large {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .cta-section {
    padding: 2rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .about-grid .service-card {
      padding: 1rem;
  }

}