* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: grid;
  gap: 100px;
  line-height: 1.5;
  max-height: 12000px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

.logo-position {
  width: 150px;
  top: 0;
  left: 0;
}

.logo {
  display: block;
  padding: 7px;
  max-width: 100%;
  margin: 15px;
}

body,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

header {
  padding: 10px 0;
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav>span {
  width: 150px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav a {
  text-decoration: none;
  background: #007bff;
  color: #ffffff;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #0d4c8f;
  color: #ffffff;
}

nav li {
  margin: 0 10px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
}

.fisioterapia-section {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  width: 100%;
  max-width: 1800px;
  border-radius: 8px;
}

.container {
  text-align: center;
  margin-bottom: 40px;
}

.fisioterapia-title {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 20px;
}

.fisioterapia-description {
  font-size: 25px;
  line-height: 1.6;
  color: #555;
  margin: 0 20px;
}

.step {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.step-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 20px;
}

.step {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step h2 {
  font-size: 35px;
  color: #007bff;
  margin-bottom: 10px;
}

.step p {
  font-size: 25px;
  color: #555;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .step-container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .step {
    flex: 1;
    margin-right: 20px;
  }

  .step:last-child {
    margin-right: 0;
  }
}

.conteudo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 0 auto;
  padding: 20px 0;
  max-width: 1200px;
}

.imagem2, .imagem3 {
  flex: 1;
  background: #f7f7f7;
  border: solid #f7f7f7;
  border-radius: 14px;
  padding: 20px;
  max-width: 1000px;
  text-align: center;
}

.imagem2 img, .imagem3 img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.conteudo h1 {
  padding: 20px;
  font-size: 45px;
  text-align: center;
}

.conteudo p {
  font-size: 25px;
  text-align: justify;
}

.imagem2 {
  background: #f7f7f7;
  border: solid #f7f7f7;
  border-radius: 14px;
  padding-bottom: 50px;
}

.imagem3 {
  grid-column: 2;
  background: #f7f7f7;
  border: solid #f7f7f7;
  border-radius: 14px;
  padding-bottom: 50px;
}

.imagem1:hover {
  border: solid #007bff;
}

.imagem2:hover {
  border: solid #007bff;
}

.imagem3:hover {
  border: solid #007bff;
}

.encontre {
  text-align: center;
  padding: 50px;
  font-size: 20px;
  background: #fff;
}

.encontre p {
  padding: 0px 50px 30px;
}

.encontre a {
  text-decoration: none;
  background: #00a2ff;
  font-size: 20px;
  padding: 10px 20px;
  color: #fff;
  border-radius: 5px;
}

.encontre a:hover {
  background: #0088d6;
}

.footer {
  background-color: #1dbeb6;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-button img {
  width: 30px;
  height: 30px;
}

.whatsapp-button:hover {
  background-color: #128C7E;
}

.contact-section {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}

.contact-details {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.contact-details h3 {
  margin-top: 0;
}

.contact-details p {
  margin: 5px 0;
}

.contact-extra {
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
  border: 2px solid #ddd;
}

.contact-extra p {
  margin: 5px 0;
}

.contact-extra a {
  color: #007BFF;
  text-decoration: none;
}

.contact-extra a:hover {
  text-decoration: underline;
}

.maps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.map-container {
  flex: 1;
  max-width: 100%;
}

.map-container h4 {
  text-align: center;
  margin-bottom: 10px;
}

/* Media Queries */

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .conteudo {
    flex-direction: column;
  }

  .imagem2, .imagem3 {
    max-width: 100%;
    padding: 10px;
  }

  .fisioterapia-title {
    font-size: 30px;
  }

  .fisioterapia-description {
    font-size: 20px;
    margin: 0 10px;
  }

  .step-container {
    flex-direction: column;
  }

  .step {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .contact-info {
    flex-direction: column;
  }

  .contact-details {
    margin-bottom: 20px;
  }

  .maps {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .fisioterapia-title {
    font-size: 24px;
  }

  .fisioterapia-description {
    font-size: 18px;
  }

  .conteudo h1 {
    font-size: 36px;
  }

  .conteudo p {
    font-size: 20px;
  }

  .step h2 {
    font-size: 28px;
  }

  .step p {
    font-size: 20px;
  }

  .encontre {
    padding: 20px;
    font-size: 16px;
  }

  .encontre p {
    padding: 0px 20px 20px;
  }

  .encontre a {
    font-size: 16px;
    padding: 8px 16px;
  }

  .footer {
    font-size: 12px;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button img {
    width: 25px;
    height: 25px;
  }
}