/* ============================================
   INSTITUTO AMPARO AMIGO - Estilos CSS
   Design: Humanista Caloroso
   Cores: Coral (#F76DA5), Azul Morno (#6B8DD6), Verde Menta (#7DD3C0)
   ============================================ */

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

:root {
  --color-coral: #F76DA5;
  --color-blue-warm: #6B8DD6;
  --color-mint: #7DD3C0;
  --color-beige: #F5F1E8;
  --color-gray-warm: #8B8680;
  --color-dark: #2C2C2C;
  --color-light: #FFFFFF;
  --color-gray-light: #F8F8F8;
  --color-gray-border: #E5E5E5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

a {
  color: var(--color-coral);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-blue-warm);
}

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--color-gray-warm);
  font-size: 1.1rem;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-dark);
}

.logo-text p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--color-gray-warm);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-coral);
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  margin-top: 80px;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(232, 116, 107, 0.05) 0%, rgba(125, 211, 192, 0.05) 100%);
}

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

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.hero-text h1 .gradient {
  background: linear-gradient(135deg, var(--color-coral), var(--color-blue-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--color-gray-warm);
  margin-bottom: 2rem;
}

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

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--color-coral);
  color: var(--color-light);
}

.btn-primary:hover {
  background-color: #F16AA2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232, 116, 107, 0.3);
}

.btn-outline {
  border: 2px solid var(--color-coral);
  color: var(--color-coral);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-coral);
  color: var(--color-light);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

/* ============================================
   SEÇÕES DE CONTEÚDO
   ============================================ */

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

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.about-text h2 {
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.highlight-box {
  background-color: rgba(232, 116, 107, 0.1);
  border-left: 4px solid var(--color-coral);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
}

.highlight-box p {
  color: var(--color-dark);
  font-weight: 600;
  margin: 0;
}

/* ============================================
   CARDS DE SERVIÇOS
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--color-light);
  border: 1px solid var(--color-gray-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-card-icon.coral {
  background-color: rgba(232, 116, 107, 0.1);
  color: var(--color-coral);
}

.service-card-icon.blue {
  background-color: rgba(107, 141, 214, 0.1);
  color: var(--color-blue-warm);
}

.service-card-icon.mint {
  background-color: rgba(125, 211, 192, 0.1);
  color: var(--color-mint);
}

.service-card h3 {
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-gray-warm);
  font-size: 0.95rem;
}

/* ============================================
   SEÇÃO DE HORÁRIOS
   ============================================ */

.schedule-section {
  background-color: var(--color-gray-light);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.schedule-card {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--color-coral);
  text-align: center;
}

.schedule-card h3 {
  color: var(--color-coral);
  margin-bottom: 1rem;
}

.schedule-card p {
  color: var(--color-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.schedule-card .time {
  color: var(--color-gray-warm);
  font-size: 0.95rem;
}

/* ============================================
   SEÇÃO DE EQUIPE
   ============================================ */

.team-section {
  background-color: var(--color-gray-light);
}

.team-image {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.team-image img {
  max-width: 60%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-description {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-gray-warm);
  font-size: 1.05rem;
}

/* ============================================
   SEÇÃO DE CONTATO
   ============================================ */

.contact-section {
  background: linear-gradient(135deg, rgba(232, 116, 107, 0.05) 0%, rgba(125, 211, 192, 0.05) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background-color: var(--color-light);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid var(--color-gray-border);
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.contact-icon.coral {
  background-color: rgba(232, 116, 107, 0.1);
  color: var(--color-coral);
}

.contact-icon.blue {
  background-color: rgba(107, 141, 214, 0.1);
  color: var(--color-blue-warm);
}

.contact-icon.mint {
  background-color: rgba(125, 211, 192, 0.1);
  color: var(--color-mint);
}

.contact-card h3 {
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--color-gray-warm);
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--color-coral);
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--color-light);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: var(--color-coral);
}

/* ============================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 1.75rem;
}

.whatsapp-btn:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-light);
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .nav-links.active li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-border);
  }

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

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

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .section {
    padding: 2rem 0;
  }

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

  .hero-text p {
    font-size: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .schedule-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}
