/* =============================================
   ARISSA KAMADA — Baby Sitter & Enfermeira
   Palette:
     Cream bg:      #F8F5F0
     Sage green:    #7B9E7E
     Dark green:    #4A6741
     Light green:   #EBF2EA
     Accent text:   #5C7A58
     White:         #FFFFFF
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:        #F8F5F0;
  --sage:         #7B9E7E;
  --sage-dark:    #4A6741;
  --sage-light:   #EBF2EA;
  --sage-medium:  #5C7A58;
  --white:        #FFFFFF;
  --text:         #3A3A3A;
  --text-light:   #6B6B6B;
  --wa-green:     #25D366;
  --wa-dark:      #128C7E;
  --radius:       16px;
  --shadow:       0 4px 24px rgba(74, 103, 65, 0.10);
  --shadow-lg:    0 8px 40px rgba(74, 103, 65, 0.15);
  --transition:   0.3s ease;
  --max-w:        1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--sage-dark); }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-light); }
a { text-decoration: none; color: inherit; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-sub { max-width: 540px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-lg { padding: 15px 30px; font-size: 1rem; }

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
}
.btn-whatsapp:hover { background: var(--wa-dark); border-color: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35); }

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}
.btn-outline:hover { background: var(--sage-dark); color: var(--white); transform: translateY(-2px); }

.mt-1 { margin-top: 24px; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 158, 126, 0.15);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(74, 103, 65, 0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-brand { display: flex; flex-direction: column; gap: 2px; }
.nav-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--sage-dark); }
.nav-tagline { font-size: 0.75rem; color: var(--sage-medium); letter-spacing: 0.04em; }
.nav-cta { padding: 10px 20px; font-size: 0.88rem; }

/* ============================================
   HERO
   ============================================ */
#hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--cream) 60%, var(--sage-light) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

/* --- Hero photo --- */
.hero-photo-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }

.photo-placeholder {
  width: 320px;
  height: 400px;
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
  border-radius: var(--radius) var(--radius) 120px var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.photo-placeholder span {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.9;
}
.photo-hint {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 0 16px;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.5;
}

.hero-photo-wrap img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius) var(--radius) 120px var(--radius);
  box-shadow: var(--shadow-lg);
}

.coren-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--sage-light);
  border-radius: 50px;
  padding: 10px 18px;
  margin-top: 20px;
  box-shadow: var(--shadow);
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.coren-badge i { font-size: 1.4rem; color: var(--sage); }
.coren-badge div { display: flex; flex-direction: column; }
.coren-badge strong { font-size: 0.82rem; color: var(--sage-dark); font-weight: 700; }
.coren-badge span { font-size: 0.75rem; color: var(--sage-medium); }

/* --- Hero text --- */
.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-desc { font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: fit-content;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1rem; font-weight: 700; color: var(--sage-dark); }
.stat span { font-size: 0.75rem; color: var(--text-light); }
.stat-divider { width: 1px; height: 36px; background: var(--sage-light); }

/* ============================================
   SOBRE
   ============================================ */
#sobre {
  padding: 96px 0;
  background: var(--white);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-text h2 { margin-bottom: 20px; }
.sobre-text p { margin-bottom: 16px; font-size: 1.02rem; }

/* Baby photo */
.baby-photo-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.baby-photo-frame img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 6px solid var(--sage-light);
  box-shadow: var(--shadow-lg);
  filter: saturate(0.9) brightness(1.05);
}

.baby-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--sage-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: -24px;
  max-width: 300px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.baby-caption i { color: var(--sage); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.baby-caption span { font-size: 0.82rem; color: var(--sage-medium); font-style: italic; line-height: 1.5; }

/* ============================================
   SERVIÇOS
   ============================================ */
#servicos {
  padding: 96px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  border: 1.5px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}
.service-card.featured {
  border-color: var(--sage);
  background: linear-gradient(135deg, var(--white) 70%, var(--sage-light));
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--sage-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: var(--sage-dark);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { font-size: 0.92rem; }

.badge-featured {
  display: inline-block;
  margin-top: 14px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
#diferenciais {
  padding: 96px 0;
  background: var(--sage-light);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.diff-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.diff-item:hover { transform: translateY(-4px); }
.diff-item > i {
  font-size: 2rem;
  color: var(--sage);
  margin-bottom: 14px;
  display: block;
}
.diff-item h4 { margin-bottom: 8px; }
.diff-item p { font-size: 0.88rem; }

/* ============================================
   DEPOIMENTOS
   ============================================ */
#depoimentos {
  padding: 96px 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid var(--sage-light);
}

.stars { color: #F5A623; font-size: 0.85rem; letter-spacing: 2px; }

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sage-light);
}
.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--sage-dark); }
.testimonial-author span { font-size: 0.78rem; color: var(--text-light); }

.testimonials-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.testimonials-note i { color: var(--sage); }

/* ============================================
   CONTATO
   ============================================ */
#contato {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage-medium) 100%);
}

.contato-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

#contato .section-label { color: rgba(255,255,255,0.7); }
#contato h2 { color: var(--white); }
.contato-text > p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: background var(--transition), transform var(--transition);
}
.contact-item:hover { background: rgba(255,255,255,0.18); transform: translateX(4px); }
.contact-item > i { font-size: 1.5rem; color: rgba(255,255,255,0.9); width: 28px; text-align: center; flex-shrink: 0; }
.contact-item div { display: flex; flex-direction: column; }
.contact-item strong { font-size: 0.85rem; color: var(--white); font-weight: 700; }
.contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.75); word-break: break-word; }
.contact-item > div { min-width: 0; }

.whatsapp-item { border-color: rgba(37, 211, 102, 0.5); }
.whatsapp-item > i { color: var(--wa-green); }

/* CTA box */
.contato-cta-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.contato-wa-icon {
  font-size: 3.5rem;
  color: var(--wa-green);
  display: block;
  margin-bottom: 16px;
}
.contato-cta-box h3 { margin-bottom: 10px; }
.contato-cta-box p { font-size: 0.92rem; margin-bottom: 24px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--sage-dark);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-inner strong { font-size: 1rem; color: var(--white); font-family: 'Playfair Display', serif; }
.footer-inner span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ============================================
   COREN CERTIFICATE THUMBNAIL & MODAL
   ============================================ */
.coren-cert-thumb {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 4px;
}
.coren-cert-thumb img {
  width: 40px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid var(--sage-light);
  display: block;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}
.coren-cert-thumb span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74,103,65,0.45);
  border-radius: 6px;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 0.65rem;
  color: var(--white);
}
.coren-cert-thumb:hover img { opacity: 1; transform: scale(1.05); }
.coren-cert-thumb:hover span { opacity: 1; }

#coren-modal {
  border: none;
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.35);
  background: var(--white);
  cursor: pointer;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: fit-content;
  max-width: min(520px, 92vw);
  max-height: 92vh;
  overflow: auto;
}
#coren-modal img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
#coren-modal::backdrop {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 2.5s infinite;
}
.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-inner,
  .sobre-inner,
  .contato-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-inner { padding-top: 20px; }

  .hero-photo-wrap {
    order: -1;
    align-items: center;
  }
  .photo-placeholder, .hero-photo-wrap img {
    width: 260px;
    height: 320px;
  }

  .hero-text { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; margin: 0 auto; }

  .sobre-inner { text-align: center; }
  .sobre-text .btn { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

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

  .contato-inner { text-align: center; }
}

@media (max-width: 600px) {
  #hero { padding: 100px 0 60px; }
  section { padding: 64px 0; }

  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 60px; height: 1px; }

  .nav-cta { display: none; }

  .floating-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.4rem; }

  .contato-cta-box { padding: 32px 24px; }
  .footer-links { flex-direction: column; gap: 8px; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }

  .photo-placeholder,
  .hero-photo-wrap img { width: 100%; max-width: 280px; height: auto; aspect-ratio: 4/5; }

  .baby-photo-frame img { width: 220px; height: 220px; }
  .baby-caption { max-width: 260px; }

  .nav-name { font-size: 1rem; }
  .nav-tagline { font-size: 0.7rem; }

  .coren-badge { padding: 8px 14px; gap: 8px; }
  .coren-badge strong { font-size: 0.78rem; }
  .coren-badge span { font-size: 0.72rem; }
}
