* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rosa-principal: #cf4e56;
    /*--rosa-claro: #c08081;*/
    --rosa-claro: #cf4e56;
    --rosa-escuro: #960018;
    --cinza-claro: #cccccc;
    --branco: #ffffff;
    --texto-escuro: #333333;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--texto-escuro);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--branco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo-image {
    height: 0px; /* AJUSTAR ALTURA DA LOGO AQUI */
    width: auto;
    max-width: 120px; /* AJUSTAR LARGURA MÁXIMA AQUI */
    object-fit: contain;
}

.logo-image {
    height: 120px; /* ← Ajustar altura aqui */
    max-width: 160px; /* ← Ajustar largura máxima aqui */
}

@media (max-width: 768px) {
    .logo-image {
        height: 35px; /* ← Tamanho menor em mobile */
    }
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rosa-escuro);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--texto-escuro);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--rosa-principal);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--rosa-principal);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-principal));
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--branco);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: white;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--branco);
    color: var(--rosa-principal);
}

.btn-primary:hover {
    background: var(--cinza-claro);
}

.btn-secondary {
    background: transparent;
    color: var(--branco);
    border-color: var(--branco);
}

.btn-secondary:hover {
    background: var(--branco);
    color: var(--rosa-principal);
}

.hero-cards {
    display: grid;
    gap: 1.5rem;
}

.hero-card {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
    width: 100%;
    align-content: center;
}

main section div{
    width: 100%;
    align-content: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rosa-escuro);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--texto-escuro);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.card {
    background: var;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    font: black;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h3 {
    color: var(--rosa-escuro);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Tips Sections */
.tips-section {
    background: linear-gradient(135deg, var(--rosa-claro));
    color: var(--branco);
}

.tips-interactive {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.tip-toggle {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--branco);
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    transition: 0.3s;
}

.tip-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.tip-content {
    display: none;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    margin-top: 0.5rem;
    border-radius: 10px;
}

.tip-content.active {
    display: block;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--rosa-escuro);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--cinza-claro);
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--rosa-principal);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--branco);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 25rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
/* Additional testimonials styling */
.additional-testimonial {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.additional-testimonial.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.additional-testimonial {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.additional-testimonial.show {
    opacity: 1;
    transform: translateY(0);
}



/* Container principal */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  background: #f5f5f5;
  font-family: 'Inter', sans-serif;
}

/* Caixa central */
.login-box {
  display: flex;
  width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  background: white;
}

/* Coluna esquerda (formulário) */
.login-left {
  flex: 1;
  padding: 40px;
  background: #fff;
}

.login-left h2 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.login-left label {
  display: block;
  margin: 15px 0 5px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.login-left input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.login-left button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-principal));
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.login-left button:hover {
  opacity: 0.9;
}

.login-options {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.9rem;
}

.login-options a {
  text-decoration: none;
  color: var(--rosa-principal);
  font-weight: 500;
}

/* Coluna direita (mensagem) */
.login-right {
  flex: 1;
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-principal));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.login-right h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.signup-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border-radius: 25px;
  background: white;
  color: var(--rosa-principal);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.signup-btn:hover {
  background: var(--rosa-claro);
  color: white;
}
/* ======= Seção Sobre Nós - Missão, Visão e Valores ======= */
.sobre-nos {
  background-color: #f5f5f5;
  text-align: center;
  padding: 6rem 0;
}

.sobre-nos .section-title {
  color: var(--rosa-escuro);
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 4rem;
  letter-spacing: 1px;
}

.sobre-nos .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.card-sobre {
  background-color: #fff;
  border-radius: 20px;
  padding: 3rem 2.5rem;          /* aumenta o espaçamento interno */
  width: 100%;
  max-width: 380px;              /* limita a largura máxima */
  min-height: 350px;             /* aumenta a altura mínima */
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card-sobre:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-sobre .icone {
  width: 90px;                    /* ícone maior */
  height: 90px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-principal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-sobre .icone i {
  color: white;
  font-size: 2.3rem;             /* ícone mais visível */
}

.card-sobre h3 {
  color: var(--rosa-escuro);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.card-sobre p {
  font-size: 1.05rem;
  color: var(--texto-escuro);
  line-height: 1.6;
  max-width: 95%;
  margin: 0 auto;
}

/* ===== Seção da Equipe ===== */
.team-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--rosa-escuro);
  margin-bottom: 40px;
}

.team-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-cards {
  display: flex;
  gap: 40px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 80%;
}

.team-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.team-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #a80202;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 18px;
  color: #a80202;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 14px;
  color: #555;
}

/* Botões do carrossel */
.carousel-btn {
  background-color: #fff;
  border: 2px solid #a80202;
  color: #a80202;
  font-size: 24px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background-color: #a80202;
  color: #fff;
}

/* Responsividade */
@media (max-width: 768px) {
  .team-cards {
    gap: 20px;
    width: 90%;
  }
  .team-card {
    width: 240px;
    padding: 20px;
  }
}
#acessibilidade {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 10000;
}

/* Botão principal */
#acessibilidade .toggle-btn {
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  font-size: 18px;
}

/* Efeito hover */
#acessibilidade .toggle-btn:hover {
  background-color: #f2f2f2;
}

/* Modo escuro */
body.alto-contraste {
  background-color: #121212;
  color: #fff;
}

body.alto-contraste a {
  color: #9ad1ff;
}

body.alto-contraste header,
body.alto-contraste footer,
body.alto-contraste section {
  background-color: #1e1e1e;
}

/* Ajustes no botão no modo escuro */
body.alto-contraste #acessibilidade .toggle-btn {
  background-color: #333;
  border-color: #888;
  color: #fff;
}

/* ============================
   Fullwidth section (robusta)
   ============================ */

/* Técnica segura para seções que precisam preencher toda a largura */
.fullwidth-section {
  position: relative;          /* necessário para os ajustes a seguir */
  left: 50%;
  right: 50%;
  margin-left: -50vw;         /* "puxa" a seção para a esquerda até a borda da tela */
  margin-right: -50vw;        /* "puxa" a seção para a direita até a borda da tela */
  width: 100vw;               /* garante ocupar exatamente a largura da viewport */
  box-sizing: border-box;     /* evita sobrescrita de padding */
  padding: 5rem 0;            /* preserve o espaçamento vertical */
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-principal));
  color: var(--branco);
  z-index: 1;
  overflow: hidden;           /* evita que sombras internas criem overflow */
}

/* Conteúdo interno alinhado e com limite de largura (evita que tudo fique esticado) */
.fullwidth-section .container {
  max-width: 1400px;         /* ajuste conforme desejar */
  margin: 0 auto;
  padding: 0 40px;           /* espaçamento lateral interno */
  box-sizing: border-box;
}

/* Se dentro da seção existem grids com gap, garanta que não furtem as bordas */
.fullwidth-section .grid {
  gap: 2rem;
}

/* Evitar que o header fixo sobreponha o topo da seção:
   adicione padding-top à primeira seção após o header (se necessário) */
body .section:first-of-type {
  padding-top: calc(5rem + 80px); /* 80px = altura do header fixa; ajuste se seu header for maior/menor */
}

/* Corrige possíveis barras de rolagem horizontais indesejadas:
   apenas caso apareçam, descomente ou use com cuidado */
html, body {
  /* overflow-x: hidden; */
}

/* Mobile: reduzir padding lateral */
@media (max-width: 768px) {
  .fullwidth-section {
    padding: 3rem 0;
  }
  .fullwidth-section .container {
    padding: 0 20px;
  }
}

/* Contêiner geral da grade */
.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colunas */
  gap: 30px; /* espaço entre os cards */
  justify-content: center;
  align-items: start;
  margin-top: 40px;
}

/* Cada card */
.grid-3x2 .card {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-3x2 .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Títulos dentro dos cards */
.grid-3x2 .card h3 {
  color: var(--rosa-escuro);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Responsivo: 2 colunas no tablet e 1 no celular */
@media (max-width: 992px) {
  .grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-3x2 {
    grid-template-columns: 1fr;
  }
}

/* Faz o fundo rosa preencher toda a largura da tela */
#adocao {
  width: 100vw; /* ocupa 100% da largura da viewport */
  margin-left: calc(-50vw + 50%);
  background-color: var(--rosa-claro);
  padding: 60px 0;
}

/* Centraliza o conteúdo dentro da seção */
#adocao .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ajuste visual para o texto e os botões */
#adocao h2,
#adocao p {
  text-align: center;
  color: var(--branco);
}

#adocao .accordion-item {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 12px 20px;
  margin: 10px 0;
  transition: 0.3s ease;
}

#adocao .accordion-item:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Seção de depoimentos */
#depoimentos {
  width: 100vw; /* ocupa toda a largura da tela */
  margin-left: calc(-50vw + 50%);
  background-color: var(--rosa-claro);
  padding: 60px 0;
}

/* Centraliza o conteúdo dentro da seção */
#depoimentos .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Título e subtítulo da seção */
#depoimentos h2,
#depoimentos p.section-subtitle {
  text-align: center;
  color: var(--branco);
}

/* Cartões de depoimentos */
#depoimentos .card {
  background: #ffffff; /* fundo branco */
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  color: var(--texto-escuro, #333); /* texto escuro */
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Efeito ao passar o mouse */
#depoimentos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsividade opcional (para telas menores) */
@media (max-width: 768px) {
  #depoimentos .card {
    padding: 20px;
  }
}

/* Seção Sobre Nós */
#sobre {
  background-color: var(--cinza-fundo, #f7f7f7);
  padding: 60px 0;
}

#sobre .section-title {
  text-align: center;
  color: var(--vermelho, #b1001a);
  font-size: 2rem;
  margin-bottom: 40px;
}

/* Grid com 3 colunas */
#sobre .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Cards */
#sobre .card-sobre {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#sobre .card-sobre:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Ícones dentro das bolas */
#sobre .icone {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #d73a49, #b1001a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 36px;
  transition: all 0.3s ease;
}

/* Efeito hover no ícone */
#sobre .card-sobre:hover .icone {
  background: linear-gradient(145deg, #e94e5f, #b4001d);
  transform: scale(1.05);
}

/* Títulos e textos */
#sobre .card-sobre h3 {
  color: var(--vermelho, #b1001a);
  font-weight: 700;
  margin-bottom: 10px;
}

.grid-3x2 {
  align-items: stretch;
}

.grid-3x2 .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}


#sobre .card-sobre p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Força os 4 cards a ficarem na mesma linha === */
#servicos .grid,
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas iguais */
  gap: 30px; /* espaço entre os cards */
  justify-content: center;
  align-items: stretch;
}

/* Responsivo (para telas menores, quebra em 2 colunas e depois 1) */
@media (max-width: 992px) {
  #servicos .grid,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #servicos .grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
/* === Fundo com brinquedos flutuantes (estilo BRAX) === */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

/* Container dos brinquedos */
.floating-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Estilo dos brinquedos flutuando */
.floating-background .toy {
  position: absolute;
  width: 80px;
  opacity: 0.08; /* sutil, igual às bolinhas da BRAX */
  animation: floatToy 18s infinite ease-in-out;
  filter: brightness(0) saturate(100%) invert(25%) sepia(40%) saturate(400%) hue-rotate(-10deg) brightness(95%);
  pointer-events: none; /* não interfere com o clique */
}

/* Posições iniciais aleatórias */
.toy1 { top: 10%; left: 15%; animation-delay: 0s; }
.toy2 { top: 35%; left: 75%; animation-delay: 4s; }
.toy3 { top: 60%; left: 30%; animation-delay: 8s; }
.toy4 { top: 75%; left: 55%; animation-delay: 12s; }
.toy5 { top: 40%; left: 85%; animation-delay: 16s; }

/* Animação de flutuação suave */
@keyframes floatToy {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.08; }
  50%  { transform: translateY(-25px) rotate(6deg); opacity: 0.12; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
}

/* Conteúdo principal sempre acima */
.hero-content {
  position: relative;
  z-index: 2;
}

/* ======== BLOCO SOBRE NÓS ======== */
.sobre-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.sobre-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: justify;
  gap: 3rem;
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.sobre-texto {
  flex: 1 1 500px;
}

.sobre-texto h2 {
  color: var(--rosa-escuro);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.sobre-texto p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sobre-imagem {
  flex: 1 1 500px;
  text-align: center;
}

.sobre-imagem img {
  max-width: 350px;
  width: 100%;
  max-height: 350px;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Responsivo */
@media (max-width: 900px) {
  .sobre-content {
    flex-direction: column;
    text-align: center;
  }

  .sobre-imagem img {
    max-width: 280px;
  }
}

.carrossel {
  width: 100%;
  max-width: 1100px; /* largura máxima do carrossel */
  margin: 40px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  background-color: #fff;
}

.carrossel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carrossel-slide {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.carrossel-slide img {
  width: 100%;
  height: 450px; /* altura fixa e equilibrada */
  object-fit: cover; /* corta suavemente sem distorcer */
  flex-shrink: 0;
  border-radius: 20px;
}

/* Botões de navegação */
.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 10;
}

.carrossel-btn:hover {
  background-color: rgba(0,0,0,0.7);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* Responsivo */
@media (max-width: 768px) {
  .carrossel-slide img {
    height: 250px; /* reduz altura em telas pequenas */
  }

  .carrossel-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
  }
}


/* Estilos específicos para a seção de adoção */
#adocao .grid .card {
  background-color: #ffffff; /* fundo branco */
  color: #000000; /* texto preto */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#adocao .grid .card h3 {
  color: #a30b00; /* título preto */
  margin-bottom: 10px;
}

#adocao .grid .card p {
  color: #333333; /* texto em tom escuro */
  line-height: 1.5;
  text-align: justify;
}

/* Efeito hover sutil apenas nessa seção */
#adocao .grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.logout-btn {
    padding: 10px 18px;
    background: #c62828;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #b71c1c;
}
/* =========================
   BOTÃO DE ACESSIBILIDADE
   (cole no final do seu CSS)
   ========================= */

/* Usa suas variáveis caso existam, com fallback */
:root {
  --acc-bg: var(--rosa-escuro, #960018);
  --acc-bg-hover: var(--rosa-principal, #cf4e56);
  --acc-text: #ffffff;
  --acc-panel-bg: #ffffff;
  --acc-panel-shadow: rgba(0,0,0,0.25);
}

/* Container */
.acessibilidade {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  font-family: inherit;
}

/* Botão principal (coração) */
#botaoCoracao {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--acc-bg);
  color: var(--acc-text);
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

#botaoCoracao:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--acc-bg-hover);
}

/* Painel de ações (estilo cartão) */
#menuAcoes.menu-acoes {
  display: none; /* toggled via JS */
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 170px;
  background: var(--acc-panel-bg);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--acc-panel-shadow);
  text-align: center;
}

/* Botões dentro do painel */
#menuAcoes button {
  width: 100%;
  margin: 6px 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: var(--acc-bg);
  color: var(--acc-text);
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
  font-size: 13px;
}

#menuAcoes button:hover {
  background: var(--acc-bg-hover);
  transform: translateY(-2px);
}

/* Small label for button (optional) */
#menuAcoes button.small { padding: 6px; font-size: 12px; }

/* Animação */
@keyframes accFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
#menuAcoes.menu-acoes.show {
  display: block;
  animation: accFadeIn .18s ease;
}

/* =========================
   VARIÁVEIS / MOTORES (Fonte e Contraste)
   ========================= */

/* motor de fonte (variável global) */
:root {
  --tamanho-base: 16px;
}

/* aplicar tamanho-base por todo o site */
html { font-size: var(--tamanho-base); }

/* classes para mudar a variável */
body.fonte-grande { --tamanho-base: 20px; }
body.fonte-pequena { --tamanho-base: 14px; }

/* ALTO CONTRASTE: muda cores usando variáveis do root */
body.alto-contraste {
  --cor-fundo: #000000;
  --cor-texto: #ffffff;
  --cor-card: #111111;
  --cor-borda: #ffffff;

  /* força cores visuais */
  background: #000 !important;
  color: #fff !important;
}

/* Forçar elementos importantes a usar o contraste */
body.alto-contraste a,
body.alto-contraste p,
body.alto-contraste h1,
body.alto-contraste h2,
body.alto-contraste h3,
body.alto-contraste li,
body.alto-contraste span,
body.alto-contraste button,
body.alto-contraste input,
body.alto-contraste label {
  color: #fff !important;
  background: transparent !important;
  border-color: #fff !important;
}

/* Se houver cards/containers com backgrounds claros, force escuro */
body.alto-contraste section,
body.alto-contraste .card,
body.alto-contraste header,
body.alto-contraste footer,
body.alto-contraste .login-box {
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Inputs e botões */
body.alto-contraste input,
body.alto-contraste textarea,
body.alto-contraste select {
  background: #222 !important;
  color: #fff !important;
  border-color: #fff !important;
}

/* Evita imagens totalmente invertidas — mantenha como estão */
body.alto-contraste img {
  filter: none !important;
}

/* Pequeno ajuste para o ícone do coração quando contraste ativo */
body.alto-contraste #botaoCoracao {
  background: var(--acc-bg-hover) !important;
  color: #fff !important;
}

/* Fechar o menu em telas muito pequenas e ajustar posição */
@media (max-width: 420px) {
  .acessibilidade { right: 12px; bottom: 18px; }
  #menuAcoes.menu-acoes { right: -10px; bottom: 70px; width: 150px; }
}

