/* ==========================================================================
   ESTILOS DO HEADER (Fundo Branco)
   ========================================================================== */

   @import "../sobre/sobre.css";

/* Aplica o fundo branco e a sombra ao header */
.navbar-static-white {
    background-color: var(--cor-branca) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    margin-bottom: 0 !important; /* Remove o margin-bottom do index.css */
    z-index: 1030;
    position: relative;
}

/* Garante que o logo fique no tamanho correto no header branco */
.navbar-static-white .navbar-logo {
    width: clamp(55px, 10vw, 70px);
    height: auto;
}

/* Garante que o ícone do hamburger seja escuro no fundo branco */
.navbar-static-white .hamburger .line {
    stroke: var(--cor-cinza-texto);
}

/* Estilo do hamburger quando o menu está aberto */
.navbar-static-white .hamburger[aria-expanded="true"] svg .line {
    stroke: var(--cor-vermelho);
}

/* Estilos para os links do menu desktop (copiado do header.css do chat) */
.navbar-static-white .nav-link {
    font-weight: bold !important;
    cursor: pointer;
    position: relative;
    padding: 10px 15px;
    transition: color 0.3s ease;
    font-size: 1.5rem !important;
    white-space: nowrap;
}

.navbar-static-white .navlink {
    color: var(--cor-cinza-texto);
}
.navbar-static-white .navlink::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background: var(--cor-rosa-escuro);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.navbar-static-white .navlink:hover,
.navbar-static-white .navlink:focus {
    color: var(--cor-rosa-escuro) !important;
}
.navbar-static-white .navlink:hover::after,
.navbar-static-white .navlink:focus::after {
    transform: scaleX(1);
}

.navbar-static-white .loginlink {
    color: var(--cor-vermelho) !important;
    position: relative;
}
.navbar-static-white .loginlink::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background: var(--cor-vermelho);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.navbar-static-white .loginlink:hover,
.navbar-static-white .loginlink:focus {
    color: var(--cor-vermelho);
}
.navbar-static-white .loginlink:hover::after,
.navbar-static-white .loginlink:focus::after {
    transform: scaleX(1);
}

/* Estilos para o link de perfil no desktop */
.navbar-static-white .profile-info-link {
    text-decoration: none;
}
.navbar-static-white .profile-info-link .profile-icon {
    font-size: 2.2rem;
    color: var(--cor-vermelho);
}
.navbar-static-white .profile-info-link .profile-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--cor-vermelho);
}


/* ==========================================================================
   SEÇÃO COMO ADOTAR (Seu CSS original)
   ========================================================================== */

.como-adotar-section {
  /* MELHORIA: Alterado de 'padding: 8rem' para valores
     separados, o que é mais flexível e responsivo.
     'var(--container-padding)' vem do seu 'variables.css'.
   */
  padding: 4rem var(--container-padding);
  overflow-x: hidden; /* Garante que nada vaze lateralmente */
}

/* Títulos da Seção */
.section-title-kawaii {
  font-family: "Kawaii RT", sans-serif; /* */
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--cor-vermelho); /* */
  line-height: 1.2;
}

.section-subtitle-poppins {
  font-family: "Poppins", sans-serif; /* */
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--cor-cinza-texto); /* */
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
}

/* Lista de Passos */
.adoption-steps {
  list-style: none;
  padding: 0;
  position: relative; /* Contexto para a linha pontilhada */
  margin-top: 2rem;
}

/* A Linha Pontilhada (CSS Mágico) */
.adoption-steps::before {
  content: '';
  position: absolute;
  /* Alinha no centro do ícone (80px / 2 = 40px) */
  left: 40px; 
  top: 40px;    /* Começa no centro do primeiro ícone */
  bottom: 40px; /* Termina no centro do último ícone */
  width: 3px;

  /* Cria o efeito pontilhado usando gradiente */
  background-image: linear-gradient(
    var(--cor-rosa-pastel) 60%, 
    rgba(255, 255, 255, 0) 0%
  );
  background-position: left;
  background-size: 100% 20px; /* Tamanho de cada "ponto" */
  background-repeat: repeat-y;
  z-index: 1; /* Fica atrás dos ícones */
}

.step-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative; /* Para que o z-index funcione */
}

.step-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-color: var(--cor-vermelho); /* */
  color: var(--cor-branca); /* */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  margin-right: 1.5rem;
  border: 4px solid var(--cor-branca); /* */
  box-shadow: 0 4px 12px rgba(155, 0, 0, 0.2);
  z-index: 2; /* Fica na frente da linha pontilhada */
}

.step-content {
  background-color: var(--cor-branca); /* */
  padding: 1rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  flex-grow: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Microinteração para UI/UX */
.step-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-content h3 {
  font-family: "Poppins", sans-serif; /* */
  font-weight: 700;
  font-size: clamp(1.2rem, 4vw, 1.4rem);
  color: var(--cor-vermelho); /* */
  margin-bottom: 0.25rem;
}

.step-content p {
  font-family: "Poppins", sans-serif; /* */
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--cor-cinza-texto); /* */
  margin-bottom: 0;
  opacity: 0.8;
}

.adoption-illustration img {
width: 550px;
  max-width: 550px; /* Limita o tamanho da ilustração */
  height: auto;
}

/* ==========================================================================
   RESPONSIVIDADE (Mobile-First)
   ========================================================================== */

/* Estilos para Telas Pequenas (Mobile) */
@media (max-width: 991.98px) {
  .como-adotar-section {
    padding: 3rem var(--container-padding);
  }

  .adoption-illustration {
    /* A ilustração (order-1) fica no topo em telas < lg */
    margin-bottom: 1rem;
  }

  .adoption-steps {
    margin-top: 1rem;
  }

  /* Ajusta a linha e ícones para mobile */
  .adoption-steps::before {
    left: 35px; /* (70px / 2) */
    top: 35px;
    bottom: 35px;
  }

  .step-icon-wrapper {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
    .step-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-right: 1rem;
    border-width: 3px;
  }

  .adoption-steps::before {
    left: 30px; /* (60px / 2) */
    top: 30px;
    bottom: 30px;
  }

  .step-content {
    padding: 0.75rem 1.25rem;
  }

  .section-title-kawaii {
    font-size: 2.2rem;
  }

  .section-subtitle-poppins {
    font-size: 1rem;
  }
}