@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary: #00b3a4;
  --primary-dark: #009a8f;
  --secondary: #eafaf9;
  --dark: #0a0a0a;
  --text: #333;
  --gradient: linear-gradient(135deg, #00b3a4, #00d6c2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: var(--text);
}

/* 🔹 NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.navbar .container {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--dark);
}

/* 🌐 LINKS GERAIS */
a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--primary-dark);
}

/* Efeito sublinhado animado */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--primary);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* MENU HAMBÚRGUER */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
  transition: 0.3s;
  z-index: 200;
}

.menu-toggle.open {
  color: var(--primary);
}

/* 🩺 HERO */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #e6f9f8 0%, #f5ffff 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  animation: waveMove 15s linear infinite;
  opacity: 0.9;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1.2s ease-in-out;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #e8e8e8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ✨ BOTÕES GERAIS */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 179, 164, 0.4);
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(135deg, #00c6b4, #00e0ca);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 179, 164, 0.45);
}

/* 🌿 SEÇÕES */
section {
  padding: 6rem 2rem;
  text-align: center;
}

.section-subtitle {
  color: #555;
  max-width: 600px;
  margin: 0.5rem auto 2rem;
}

/* 💚 SOBRE */
.about {
  background: var(--secondary);
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.about img {
  width: 100%;
  max-width: 480px;
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* ⚕️ SERVIÇOS — cards com ícone, título e descrição */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-inline: auto;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.card i {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.card:hover i {
  color: var(--primary-dark);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 👨‍⚕️ EQUIPE */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.member {
  width: 280px;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s;
}

.member:hover {
  transform: scale(1.05);
}

.member img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.member h3 {
  margin-top: 1rem;
  color: var(--primary);
}

.member p {
  margin-bottom: 1rem;
  color: #555;
}

/* 🖼️ GALERIA */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-grid img {
  width: 100%;
  max-height: 325px;
  border-radius: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 📞 CONTATO */
.contact form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
  resize: none;
  transition: border 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* 🌙 FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--dark);
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 1rem;
}

.footer-content h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-content h3 span {
  color: #fff;
}

.footer-content p {
  color: #ddd;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 400px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.85rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* 🌀 ANIMAÇÕES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 RESPONSIVIDADE */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* 📱 MENU MOBILE */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 90px;
    right: -100%;
    background: white;
    flex-direction: column;
    width: 70%;
    height: calc(100vh - 70px);
    padding-top: 3rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 1rem 0;
  }

  .menu-toggle {
    display: block;
  }
}
