:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: red;
  --orange: #fd7e14;
  --yellow: yellow;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --black: #000;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --background-light: #f5f5f5;
  --background-dark: #343a40;
  --color-primary: #6C8EBF;
  --color-secondary: #7CB342;
  --color-tertiary: #FFD54F;
  --color-background: #F5F5F5;
  --color-text: #735240;
  --color-accent: #FFA726;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-size: 20px;
  --font-family-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-display: 'Bagel Fat One', cursive;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
  font-family: var(--font-family-sans-serif);
  font-size: var(--font-size);
  color: var(--color-text);
  background-color: var(--color-background);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background-color: var(--background-light);
  color: var(--color-text);
  padding: 1rem 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.fixed-bottom-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 5px 5px;
  background-color: #25D366;
  color: white;
  border: 2px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 100%;
}

.fixed-bottom-btn:hover {
  background-color: var(--red);
}

.logo h1 {
  font-family: var(--font-family-display);
  font-size: 2rem;
  margin: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
}

.nav-links a:hover {
  background-color: var(--color-text);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  background: url('../images/logotipo.webp') no-repeat center center/contain;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--background-dark);
}

.hero-content h2 {
  font-family: var(--font-family-display);
  font-size: 3rem;
  margin: 0;
}

.hero-content p {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.about {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--white);
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--black);
}

.about .card:hover {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
}

.about-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-cards .card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 2rem);
  text-align: center;
}

.about-cards .card h3 {
  font-size: 1.5rem;
  color: var(--white);
  background-color: var(--color-text);
  margin-bottom: 1rem;
}

.about-cards .card p {
  font-size: 1rem;
  color: var(--color-text);
}

.about img{
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: #000 1px solid;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-image img {
    max-width: 100%;
  }

  .about-cards .card {
    flex: 1 1 100%;
  }
}

.accordion {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--white);
}

.accordion-button {
  font-family: var(--font-family-sans-serif);
  font-size: 1.3rem;
  color: var(--black);
  background-color: var(--white);
  font-weight: bold;
}

.accordion-body {
  font-size: 1.3rem;
  color: var(--black);
}

.accordion-button:not(.collapsed) {
  background-color: var(--black);
  color: var(--white);
}

.articles .card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.articles h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.articles .card:hover {
  transform: translateY(-10px);
}

.articles .card-img-top {
  height: 200px;
  object-fit: cover;
}

.btn-contact {
  background-color: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.btn-contact:hover {
  background-color: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.btn-calltoaction {
  background-color: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border:#333 3px solid;
  border-radius: 5px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.btn-calltoaction:hover {
  background-color: var(--green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border:#000 3px solid;
  border-radius: 5px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.card {
  background-color: var(--white);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 5px 10px 18px #888 !important;  
  flex: 1 1 calc(33.333% - 2rem);
  text-align: center;
}

.card-title {
  font-family: var(--font-family-display);
  color: var(--color-text);
  font-size: 1.5rem;
}

.card-text {
  color: var(--color-text);
}

.faq {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--black);
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.faq-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery .grid-item {
  margin-bottom: 1rem;
}

.gallery img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.grid-item {
  margin-bottom: 1rem; /* Adiciona um espaçamento entre as imagens */
}

.grid img {
  width: 100%; /* Garante que as imagens ocupem 100% da largura do contêiner */
  height: auto; /* Mantém a proporção da imagem */
  border-radius: 10px; /* Adiciona bordas arredondadas */
  transition: transform 0.3s ease; /* Adiciona uma transição suave */
}

.grid img:hover {
  transform: scale(1.05); /* Efeito de zoom ao passar o mouse */
}

.grid h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.icon-fluid{
  height: auto;
  max-width: 100px;
  color: var(--color-primary);
}

img {
  vertical-align: middle;
  border: 0;
  transition: transform 0.5s, opacity 0.5s;
}

img:hover {
  opacity: 1;
  rotate: 360deg;
}

.img-shadow{
  box-shadow: 0px 25px 65px #888 !important;
}

.problems {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--black);
  background-color: var(--white);
  transition: transform 0.3s ease;
}

.problems h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.problem-cards {
  margin-bottom: 1rem;
}

.problem-cards p{
  text-align: justify;
}

.problems .card {
  height: 100%; /* Define que o card deve ocupar 100% da altura da coluna */
  min-height: 400px; /* Define uma altura mínima para o card (ajuste conforme necessário) */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribui o conteúdo verticalmente */
  border: 1px solid #ddd; /* Adiciona uma borda para melhor visualização */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra sutil */
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.problems .card:hover {
  transform: translateY(-10px);
  color: var(--white);
  background-color: var(--color-text);
  border: var(--white) 5px solid;
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: black;
  border-radius: 50%;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.arrow-down {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
}

@keyframes pulse {
  0% {
    background-color: black;
  }
  50% {
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    background-color: black;
  }
}

.services {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--black);
  background-color: var(--white);
  transition: transform 0.3s ease;
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.service-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.services .card {
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.services .card:hover {
  transform: translateY(-10px);
}

.testimonials .card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.testimonials .card:hover {
  transform: translateY(-10px);
}

.testimonials .card-img-top {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

footer {
  background-color: var(--color-text);
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

footer a{
  color: var(--white);
  text-decoration: none;
}

footer a:hover{
  color: var(--yellow);
  font-weight: bold;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .service-cards {
    flex-direction: column;
  }
}