/* ===========================
   RESET & VARIÁVEIS
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul:    #0DC0DF;
  --amarelo: #FBDE5B;
  --preto:   #000000;
  --branco:  #FFFFFF;
  --creme:   #F5F2EC;
  --grad-ig: linear-gradient(135deg, #8B5CF6, #C850C0, #E91E8C);
  --font:    'Roboto', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--creme);
  color: var(--preto);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ===========================
   HEADER / NAV
   =========================== */
.header {
  background: var(--azul);
  padding: 14px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--branco);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.logo-badge {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav a:hover {
  background: rgba(255,255,255,0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--branco);
  min-height: 480px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--preto);
  max-width: 640px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--azul);
  line-height: 1.05;
  margin-bottom: 40px;
  text-transform: uppercase;
  max-width: 640px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.btn-cta {
  display: inline-block;
  background: var(--preto);
  color: var(--branco);
  padding: 16px 36px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.btn-cta:hover {
  opacity: 0.8;
}

/* ===========================
   SEÇÃO INSTAGRAM
   =========================== */
.instagram-section {
  background: var(--grad-ig);
  padding: 56px 32px;
  text-align: center;
}

.instagram-section h2 {
  color: var(--branco);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.instagram-section h2 img {
  width: 44px;
  height: 44px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.ig-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ig-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.ig-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ===========================
   SEÇÃO NOSSOS SERVIÇOS
   =========================== */
.services-section {
  background: var(--amarelo);
  padding: 56px 32px;
}

.services-section > h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--branco);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
  padding: 0 0 24px 0;
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--preto);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 24px 12px;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.btn-agende {
  display: block;
  background: var(--preto);
  color: var(--branco);
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 24px 20px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.btn-agende:hover {
  opacity: 0.8;
}

.service-card ul {
  list-style: none;
  padding: 0 24px;
}

.service-card li {
  color: var(--branco);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.service-card li:last-child {
  border-bottom: none;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--preto);
  padding: 36px 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info {
  color: var(--branco);
}

.footer-name {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.footer-info p:last-child {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-map {
  flex: 1;
  max-width: 560px;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 170px;
  border-radius: 10px;
}

/* ===========================
   PÁGINAS INTERNAS — LAYOUT
   =========================== */
.page-header {
  background: var(--azul);
  padding: 44px 32px;
  text-align: center;
}

.page-header h1 {
  color: var(--branco);
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 32px;
}

/* SOBRE NÓS */
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

/* REGRAS */
.rules-section {
  margin-bottom: 40px;
}

.rules-section h2 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--azul);
}

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

.rules-section li {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #333;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid #e0dcd4;
  position: relative;
}

.rules-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--azul);
  font-weight: 900;
}

.rules-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 32px;
  font-style: italic;
}

/* DAYCARE / HOSPEDAGEM */
.services-list {
  list-style: none;
}

.services-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid #e0dcd4;
  position: relative;
}

.services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--azul);
  font-weight: 900;
  font-size: 1.1rem;
}

.cta-section {
  margin-top: 40px;
  text-align: center;
}

/* ===========================
   SAIBA MAIS — CARROSSEL
   =========================== */
.carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.carousel-slide img {
  width: 100%;
  height: 560px;
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 52px;
  height: 52px;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.dot.active {
  background: var(--azul);
}

/* ===========================
   GALERIA — GRID + LIGHTBOX
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ===========================
   RESPONSIVO
   =========================== */
@media (max-width: 768px) {
  /* Header */
  .header { padding: 12px 20px; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--azul);
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .nav.open { display: flex; }
  .nav a { padding: 12px 24px; width: 100%; border-radius: 0; }
  .menu-toggle { display: block; }

  /* Hero */
  .hero { min-height: 420px; }
  .hero-content { padding: 36px 24px; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero-title { font-size: 2.8rem; }

  /* Instagram */
  .instagram-section { padding: 40px 20px; }
  .instagram-section h2 { font-size: 1.4rem; }

  /* Serviços */
  .services-grid { grid-template-columns: 1fr; }
  .services-section { padding: 40px 20px; }

  /* Footer */
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    text-align: center;
    align-items: center;
  }
  .footer-info {
    grid-column: 1;
    justify-self: center;
  }
  .footer-map {
    grid-column: 2;
    width: 100%;
    max-width: 100%;
  }
  .footer-map { justify-self: center; }
  .footer-map iframe { height: 140px; }
  .footer-social {
    grid-column: 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 14px;
  }

  /* Páginas internas */
  .page-header { padding: 30px 20px; }
  .page-header h1 { font-size: 2rem; }
  .page-content { padding: 36px 20px; }

  /* Carrossel */
  .carousel-slide img { height: 280px; }

  /* Galeria */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
