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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background: #f0f0f5;
  color: #1a1a4b;
  text-align: center;
  scroll-behavior: smooth;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

/* HEADER */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  position: relative;
  z-index: 10;
  background: transparent;
  transition: background 0.3s, padding 0.3s;
}

header.scrolled {
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* LOGO */
.logo img { display: block; max-height: 56px; width: auto; }

/* NAV */
.nav-links { list-style: none; display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: #27305C; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #0056B3; }

/* BANNER */
.Banner { width: 100%; height: 220px; background: linear-gradient(90deg, #20203a, #0f0f0f); }

/* SEÇÕES */
.section { 
  padding: 4rem 0; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 2rem; 
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.section.visible { 
  opacity: 1; 
  transform: translateY(0);
}
.section h2 { 
  font-size: 2rem; 
  background: linear-gradient(90deg,#27305C,#0056B3); 
  background-clip: text;
  -webkit-background-clip: text; 
  color: transparent;
  -webkit-text-fill-color: transparent; 
  margin-bottom:1.5rem; 
}
.section p { 
  font-size: 1rem; 
  color:#555; 
  line-height:1.6; 
}

/* CARDS */
.cards { 
  display: flex; 
  gap: 1.5rem; 
  flex-wrap: wrap; 
  justify-content: center; 
}
.card {
  flex: 1 1 250px;
  background:#fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(50px);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; color:#27305C; }
.card p { font-size: 1rem; color:#555; line-height:1.5; }
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* CONTATO */
#contato .container {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  text-align: center;
}
.contact-form { display:flex; flex-direction:column; gap:1rem; max-width:520px; width:100%; }
.contact-form input, .contact-form textarea { padding:1rem; border:1px solid #ddd; border-radius:8px; font-size:1rem; }
.btn {
  padding:0.8rem 1.5rem; border:none; border-radius:8px;
  background:#27305C; color:#fff; font-weight:500;
  cursor:pointer; transition: all 0.3s ease;
}
.btn:hover { background:#0056B3; transform: translateY(-2px); }

/* FOOTER */
footer { padding: 2rem 0; background: #27305C; color:#fff; text-align:center; }

/* BOTÃO VOLTAR AO TOPO */
#backToTop {
  position: fixed; bottom:30px; right:30px;
  background: #27305C; color:#fff;
  border:none; padding:0.8rem 1rem; border-radius:50px;
  cursor:pointer; font-size:1.2rem; display:none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2); transition: background 0.3s, transform 0.3s; z-index:1000;
}
#backToTop:hover { background:#0056B3; transform: translateY(-3px); }

/* RESPONSIVO */
@media (max-width:768px){
  .logo img { max-height:44px; }
  .nav-links { display:none; }
  .nav-links.nav-active { display:flex; flex-direction:column; background:#fff; padding:1rem; position:absolute; right:20px; top:64px; box-shadow:0 6px 20px rgba(0,0,0,0.08); }
  .cards { flex-direction:column; gap:1rem; }
}

/* add depois aff */
.Banner {
  width: 100%;
  height: 300px;
  background-image: url('img/BannerVet.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

}


.banner-overlay {
  background: rgba(0,0,0,0.4); 
  padding: 1.5rem 2rem;
  border-radius: 10px;
  color: #fff;
  text-align: center;
}

.banner-overlay h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.banner-overlay p {
  font-size: 1rem;
}
