/* Variáveis de Cores e Fontes */
:root {
  /* Cores Principais */
  --primary-color: #0056b3; /* Azul principal */
  --primary-dark: #003d7a; /* Azul escuro */
  --primary-light: #4d8fd1; /* Azul claro */
  --secondary-color: #ffb703; /* Amarelo/Dourado */
  --secondary-dark: #e29e00; /* Amarelo escuro */

  /* Cores Neutras */
  --dark: #333333; /* Cinza escuro para textos */
  --medium-dark: #555555; /* Cinza médio para subtextos */
  --medium: #777777; /* Cinza médio */
  --light: #f5f5f5; /* Cinza claro para fundos */
  --white: #ffffff; /* Branco */

  /* Cores de Alerta */
  --success: #4caf50; /* Verde para mensagens de sucesso */
  --error: #f44336; /* Vermelho para mensagens de erro */
  --warning: #ff9800; /* Laranja para alertas */

  /* Fontes */
  --font-primary: "Montserrat", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Tamanhos */
  --container-width: 1200px;
  --container-padding: 15px;
  --border-radius: 5px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  /* Transições */
  --transition-speed: 0.3s;
}

/* Reset e Estilos Gerais */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: var(--line-height-base);
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

a:hover {
  color: var(--primary-dark);
}

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

.fechar-offcanvas {
  display: none;
}

.offcanvas-social {
  display: none;
}

.container {
  max-width: var(--container-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

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

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--medium-dark);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  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);
}

.btn-full {
  width: 100%;
}

.btn-center {
  text-align: center;
  margin-top: 2rem;
}

/* Header e Navegação */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  padding: 1.2rem 0;
}

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

.logo a {
  display: block;
}

.logo img {
  max-height: 60px;
  width: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.offcanvas-logo {
  display: none;
  margin-top: 1rem;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  align-items: center;
}

.main-nav .nav-list li {
  margin-left: 1.5rem;
}

.main-nav .nav-list a {
  color: var(--dark);
  font-weight: 500;
  transition: color var(--transition-speed);
}

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

.main-nav .nav-list a.btn {
  padding: 0.5rem 1.2rem;
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 25px;
  margin: 5px 0;
  background-color: var(--dark);
  transition: all var(--transition-speed);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-content h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--medium-dark);
}

.hero-info {
  margin-top: 1.5rem;
}

.hero-info p {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--medium-dark);
}

.hero-info i {
  margin-right: 0.5rem;
}

.status-icon {
  color: #4caf50;
  font-size: 0.7rem;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--light);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition-speed);
  box-shadow: var(--box-shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--light);
}

.sub-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

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

.service-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
}

.service-item:hover {
  transform: translateY(-8px);
}

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

.service-item h4 {
  color: var(--primary-color);
  padding: 1.25rem 1.25rem 0.5rem;
}

.service-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--medium-dark);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--white);
}

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

.about-content {
  flex: 1;
  padding-right: 2rem;
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-title::after {
  left: 0;
  transform: none;
}

.about-image {
  flex: 1;
}

/* Estilos da galeria de imagens com rolagem vertical */
.animated-masonry-container {
  display: flex;
  gap: 20px;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.masonry-column {
  flex: 1;
  min-width: 0;
}

.masonry-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.anim-scroll-up {
  animation-name: scroll-up;
  animation-duration: 90s;
}

.anim-scroll-down {
  animation-name: scroll-down;
  animation-duration: 110s;
}

@keyframes scroll-up {
  from {
    transform: translateY(0%);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes scroll-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0%);
  }
}

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

.lazy-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

.lazy-image:hover {
  transform: scale(1.05);
}

/* Ajustes responsivos para a galeria */
@media (max-width: 768px) {
  .fechar-offcanvas {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--primary-color);
    padding: 20px;
  }

  .animated-masonry-container {
    height: 350px;
    gap: 15px;
  }

  .masonry-inner {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .animated-masonry-container {
    height: 300px;
    gap: 10px;
  }

  .masonry-column {
    flex: 0 0 calc(50% - 5px);
    min-width: calc(50% - 5px);
  }

  .masonry-inner {
    gap: 10px;
  }
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: var(--light);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--white);
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  cursor: pointer;
  background-color: var(--white);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.accordion-header i {
  color: var(--primary-color);
  transition: transform var(--transition-speed);
}

.accordion-item.active .accordion-header i {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed);
}

.accordion-item.active .accordion-content {
  padding: 0 1.25rem 1.25rem;
  max-height: 500px;
}

/* Contact Section */

/* Página de Contato */
.page-banner {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 4rem 0 3rem;
  margin-bottom: 3rem;
}

.page-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.page-banner p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.contact-page-section {
  padding: 2rem 0 5rem;
}

.contact-page-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.contact-page-info {
  flex: 1;
  min-width: 300px;
}

.contact-page-info .info-items {
  margin: 2rem 0;
}

.contact-social {
  margin-top: 2rem;
}

.contact-social h4 {
  margin-bottom: 1rem;
}

.contact-page-info h3 {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-page-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .contact-page-container {
    flex-direction: column;
  }
  
  .page-banner {
    padding: 3rem 0 2rem;
  }
  
  .page-banner h2 {
    font-size: 2rem;
  }
}
.contact {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info {
  flex: 1 1 300px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 2rem;
  text-align: center;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.info-item p {
  margin: 0;
  color: var(--medium-dark);
}

.contact-form {
  flex: 1 1 500px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--medium-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.contact-whatsapp {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgb(0, 86, 179, 0.1);
  border-radius: var(--border-radius);
}

.map {
  margin-top: 3rem;
}

.map h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.map iframe {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 1 1 300px;
  margin-bottom: 2rem;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links,
.footer-services,
.footer-social {
  flex: 1 1 200px;
  margin-bottom: 2rem;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

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

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul li a {
  color: #ccc;
  transition: color var(--transition-speed);
}

.footer ul li a:hover {
  color: var(--white);
}

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

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

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--dark);
}

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

.footer-bottom p {
  margin: 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 1200px) {
  :root {
    --container-width: 992px;
  }
}

@media (max-width: 992px) {
  :root {
    --container-width: 768px;
    --font-size-base: 15px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero .container,
  .about .container {
    flex-direction: column;
  }

  .hero-content,
  .about-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .hero {
    padding: 1rem 0;
  }

  .logo img {
    max-height: 50px;
    width: auto;
  }
  .about-content .section-title {
    text-align: center;
  }

  .about-content .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-logo {
    flex: 1 1 10px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: 100%;
    --container-padding: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 30px 20px 20px;
    transition: right var(--transition-speed);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
  }

  /* Estilo para logo no menu offcanvas */

  .offcanvas-logo {
    height: 50px;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }

  .offcanvas-logo img {
    max-width: 180px;
    height: auto;
  }

  /* Ícones de redes sociais */
  .offcanvas-social {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .offcanvas-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--white) !important;
  }

  .offcanvas-social a:hover {
    transform: translateY(-5px);
    background-color: var(--primary-dark);
    color: var(--white);
  }

  .nav-list.show {
    right: 0;
  }

  .main-nav .nav-list li {
    margin: 0 0 20px;
    width: 100%;
    text-align: center;
  }

  .main-nav .nav-list li a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .main-nav .nav-list li a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
  }

  .main-nav .nav-list li a i {
    margin-right: 8px;
  }

  .main-nav .nav-list a.btn {
    display: inline-block;
    margin-top: 10px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

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

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

@media (max-width: 576px) {
  :root {
    --font-size-base: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  /* Ajustes para botões no mobile */
  .btn {
    padding: 0.8rem 1.2rem;
    width: 100%;
    margin-bottom: 0.8rem;
    display: block;
    text-align: center;
  }

  .hero-content {
    width: 100%;
    padding: 1.5rem 0;
  }

  .hero-content .btn {
    margin-right: 0;
  }

  /* Ajuste para espaçamento da seção de informações do hero */
  .hero-info {
    margin-top: 1.5rem;
    padding: 1rem;
  }

  .hero-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
  }

  /* Ajustes para a seção de contato no WhatsApp */
  .contact-whatsapp {
    padding: 1.5rem;
  }

  .contact-whatsapp h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .contact-whatsapp p {
    margin-bottom: 1.2rem;
    text-align: center;
  }

  /* Outros ajustes de espaçamento */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .map {
    margin-top: 2rem;
  }

  .map h3 {
    margin-bottom: 1rem;
  }

  .animated-masonry-container {
    height: 250px;
  }
}
