* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9f9f9;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha */
}

.header-logo img {
    height: 40px;
}

.main-image {
    display: block;
    margin: 40px auto 0 auto; /* 40px do topo, centralizada */
    max-width: 100%; /* Garante que a imagem não ultrapasse o contêiner */
    height: 500px; /* Altura padrão para telas maiores */
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
}

/* Botão hambúrguer */
.menu-toggle {
    display: none; /* Oculto por padrão */
    font-size: 28px;
    background: none;
    border: none;
    color: #2a7de1;
    cursor: pointer;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.header-nav ul li a {
    text-decoration: none;
    color: #2a7de1;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.header-nav ul li a:hover {
    color: #174f9c;
}

.Roupas {
    margin-top: -600px;
    margin-left: 200px;
}

.Avisos {
    color: #2a7de1;
    font-size: 40px;
    margin-bottom: 10px;
    margin-top: 50px;
    width: 100%;
    display: block;
    text-align: center;
}

.timeline {
    position: relative;
    margin: 40px auto;
    margin-top: 100px;
    padding-left: 40px;
    border-left: 2px solid #ccc;
    max-width: 800px;
    margin-left: 900px; /* Mantido para desktop, será ajustado em media query */
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline2 {
    position: relative;
    margin: 40px auto;
    margin-top: 100px;
    padding-left: 40px;
    border-left: 2px solid #ccc;
    max-width: 800px;
    margin-left: 200px; /* Mantido para desktop, será ajustado em media query */
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-number {
    position: absolute;
    left: -31px;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: #eee;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    color: #555;
    border: 1px solid #ccc;
}

.timeline-content {
    margin-left: 20px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-description {
    font-size: 0.95rem;
    color: #555;
    max-width: 600px;
}

.divider {
    border-bottom: 1px solid #ccc;
    margin-top: 10px;
}

/* Estilo da seção Pós Cirúrgico */
.secao-cirurgia {
    background: #4f79a4;
    padding: 50px 20px;
}

.cirurgia-container {
    max-width: 1600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cirurgia-titulo {
    text-align: center;
    font-size: 1.8rem;
    color: #1f4f78;
    margin-bottom: 30px;
    font-weight: 600;
}

.cirurgia-box {
    display: flex;
    gap: 40px;
    flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha */
    justify-content: center; /* Centraliza os itens quando houver quebra de linha */
}

.cirurgia-imagem {
    flex: 1; /* Permite que a imagem ocupe o espaço disponível */
    min-width: 280px; /* Largura mínima para a imagem */
    max-width: 400px; /* Largura máxima para a imagem */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imagem-fake {
    width: 100%; /* Ajustado para 100% para ser responsivo */
    height: 440px;
    margin-top: 100px;
    background: #ddd;
    border-radius: 6px;
    object-fit: cover; /* Garante que o conteúdo preencha a área */
}
/* Footer */
.footer {
  background-color: #2a7de1;
  color: #ffffff;
  padding: 60px 20px 40px;
  margin-top: 80px;
  text-align: center;
  width: 100%;
}

.footer-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.footer-depoimento {
  font-size: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-depoimento a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 25px;
}

.footer-social a {
  font-size: 32px;
  color: #ffffff;
  transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2);
  color: #d0e6ff;
}

.footer-copy {
  font-size: 15px;
  color: #e0e0e0;
  text-align: center;
}

   .footer-title {
    font-size: 26px;
  }

  .footer-depoimento {
    font-size: 16px;
    padding: 0 10px;
  }

  .footer-social a {
    font-size: 24px;
  }

  .footer-copy {
    font-size: 13px;
    padding: 0 10px;
  }


/* --- Media Queries para Responsividade --- */

@media (max-width: 1200px) {
    .timeline, .timeline2 {
        margin-left: auto; /* Centraliza as timelines */
        margin-right: auto;
    }

    .Roupas {
        margin-top: 0; /* Remove a margem negativa em telas menores para não sobrepor */
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .main-image {
        height: 350px; /* Ajusta a altura da imagem principal para ser menor */
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Exibe o botão hambúrguer */
    }

    .main-header {
        flex-direction: column; /* Empilha os itens do header */
        align-items: flex-start; /* Alinha à esquerda no modo coluna */
    }

    .header-nav {
        display: none; /* Oculta a navegação por padrão */
        width: 100%;
        margin-top: 10px;
    }

    .header-nav.active {
        display: block; /* Exibe a navegação quando a classe 'active' é adicionada */
    }

    .header-nav ul {
        flex-direction: column; /* Itens da navegação em coluna */
        gap: 12px;
        padding-top: 10px;
    }

    .header-nav ul li {
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        width: 100%; /* Ocupa a largura total */
        text-align: center; /* Centraliza os itens do menu */
    }

    .header-nav ul li a {
        display: block; /* Faz o link ocupar toda a largura do item da lista */
    }

    .main-image {
        height: 280px; /* **Diminuído ainda mais a altura da imagem principal** */
    }

    .Avisos {
        font-size: 30px; /* Reduz o tamanho da fonte */
    }

    .timeline, .timeline2 {
        padding-left: 20px; /* Reduz o padding esquerdo */
        margin-top: 50px; /* Ajusta a margem superior */
    }

    .timeline-number {
        left: -20px; /* Ajusta a posição do número */
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-description {
        font-size: 0.9rem;
    }

    .cirurgia-box {
        flex-direction: column; /* Empilha as caixas */
        align-items: center; /* Centraliza os itens empilhados */
    }

    .cirurgia-imagem {
        width: 100%;
        max-width: 100%;
    }

    .imagem-fake {
        margin-top: 50px; /* Ajusta a margem superior */
        height: 300px; /* Ajusta a altura da imagem fake */
    }
}

@media (max-width: 600px) {
    .main-header {
        padding: 20px 30px; 
          flex-direction: row; 
        align-items: center; 
        justify-content: space-between; 
    }

    .header-logo img {
        height: 35px; /* Reduz o tamanho do logo */
    }

    .main-image {
        height: 220px; /* **Mais um ajuste para a imagem principal** */
        margin-top: 20px;
    }

    .Avisos {
        font-size: 25px;
        margin-top: 30px;
    }

    .timeline, .timeline2 {
        padding-left: 15px;
    }

    .timeline-number {
        left: -15px;
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 0.9rem;
    }

    .timeline-content {
        margin-left: 15px;
    }

    .timeline-title {
        font-size: 1rem;
    }

    .timeline-description {
        font-size: 0.85rem;
    }

    .cirurgia-container {
        padding: 20px; /* Reduz o padding do container da cirurgia */
    }

    .cirurgia-titulo {
        font-size: 1.5rem;
    }

    .imagem-fake {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 180px; /* **Último ajuste para a imagem principal em telas muito pequenas** */
    }

    .Avisos {
        font-size: 20px;
    }

    .timeline-title {
        font-size: 0.9rem;
    }

    .timeline-description {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {
    .Roupas {
        width: 120px;
        height: auto;
        margin-top: 10px;
        margin-left: 0;
        display: block;
    }
}
@media (max-width: 480px) {
    .Roupas {
        width: 400px;
        height: auto;
    }
}