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

:root {
  --yellow:      #FDD84C;
  --orange:      #F89D42;
  --green-lime:  #A8CF4E;
  --teal:        #60C7CE;
  --dark-green:  #26461D;
  --green-pale:  #EDF7D6;
  --off-white:   #FAFAF5;
  --cream:       #FFFCF0;
  --text-muted:  #7a9060;
  --r:    20px;
  --r-lg: 32px;
  --nav-h: 92px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-green);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, .qs { font-family: 'Quicksand', sans-serif; }

@keyframes morphBlob {
  0%,100% { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
  33%      { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%      { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RIBBON */
.ribbon { position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 1001; display: flex; }
.ribbon span { flex: 1; }
.ribbon span:nth-child(1) { background: var(--orange); }
.ribbon span:nth-child(2) { background: var(--yellow); }
.ribbon span:nth-child(3) { background: var(--green-lime); }
.ribbon span:nth-child(4) { background: var(--teal); }

/* NAV */
#site-header {
  position: fixed; top: 6px; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(38,70,29,0.1);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center;
}
.nav-inner nav { flex: 1; }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
  cursor: pointer; padding: 4px; margin-left: auto; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; height: 2px; width: 24px;
  background: var(--dark-green); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links { display: flex; justify-content: center; gap: 2.5rem; list-style: none; }

.nav-links a {
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.95rem;
  color: var(--dark-green); text-decoration: none; transition: color 0.2s; position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.2s;
}

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { transform: scaleX(1); }

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  padding-top: calc(var(--nav-h) + 6px + 2.5rem);
  padding-bottom: 8rem;
  background: var(--yellow); overflow: hidden; display: flex; align-items: center;
}

.hero-blob-orange {
  position: absolute; top: -100px; right: -160px;
  width: 500px; height: 500px; background: var(--orange);
  border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%;
  opacity: 0.6; animation: morphBlob 12s ease-in-out infinite; pointer-events: none;
}

.hero-blob-green {
  position: absolute; bottom: -120px; left: -140px;
  width: 360px; height: 360px; background: var(--green-lime);
  border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%;
  opacity: 0.55; animation: morphBlob 17s ease-in-out infinite reverse; pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.hero-logo { height: auto; width: min(480px, 90%); display: block; margin: 0 auto 2rem; }

.hero-content h1 {
  font-size: clamp(3rem, 5.5vw, 5.2rem); font-weight: 700;
  color: var(--dark-green); line-height: 1.08; margin-bottom: 1.4rem;
}

.hero-content > p {
  font-size: 1.05rem; color: rgba(38,70,29,0.68); line-height: 1.7; margin-bottom: 2.5rem;
}

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

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; background: var(--dark-green); color: #fff;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1rem;
  border-radius: 100px; text-decoration: none; transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; padding: 0.85rem 2rem;
  border: 2px solid var(--dark-green); color: var(--dark-green);
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1rem;
  border-radius: 100px; text-decoration: none; background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--dark-green); color: #fff; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.hero-pill {
  font-size: 0.78rem; font-weight: 500; padding: 0.35rem 0.9rem;
  border-radius: 100px; border: 1.5px solid currentColor;
}

.hero-pill--teal   { color: #1a8a96; }
.hero-pill--orange { color: var(--orange); }
.hero-pill--green  { color: #5a8200; }
.hero-pill--yellow { color: #7a6000; }

/* HERO PHOTO SLIDER */
.hero-slider-wrap {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: 0 28px 72px rgba(38,70,29,0.22);
}

.hero-slides { display: flex; height: 100%; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); }

/* nth-child fallback colors gerenciados via JS (CM-05) */
.hero-slide { min-width: 100%; height: 100%; background-size: cover; background-position: center; flex-shrink: 0; }

.hero-slide-dots { position: absolute; bottom: 1rem; right: 1.25rem; display: flex; gap: 0.45rem; }

.hero-slide-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45); border: none; padding: 0;
  cursor: pointer; transition: background 0.25s, transform 0.25s;
}
.hero-slide-dot.active { background: #fff; transform: scale(1.35); }

.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; pointer-events: none; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* SHARED */
.section-inner { max-width: 1280px; margin: 0 auto; padding: 5rem 2rem; }
.wave-div { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-div svg { display: block; width: 100%; }

/* NOSSO JARDIM */
#nosso-jardim { background: var(--off-white); position: relative; }

.jardim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }

.jardim-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700;
  color: var(--dark-green); line-height: 1.18; margin-bottom: 1.4rem;
}

.jardim-text p { font-size: 1rem; line-height: 1.8; color: var(--text-muted); }
.jardim-text p + p { margin-top: 1.1rem; }

.jardim-quote {
  background: var(--dark-green); border-radius: var(--r-lg);
  padding: 2.5rem 3rem; position: relative; overflow: hidden;
}

.jardim-quote-mark {
  position: absolute; top: -20px; left: 20px;
  font-size: 10rem; color: rgba(255,255,255,0.06);
  font-family: Georgia, serif; line-height: 1; pointer-events: none; user-select: none;
}

.jardim-quote blockquote {
  font-family: 'Quicksand', sans-serif; font-style: italic; font-weight: 600;
  font-size: 1.15rem; color: #fff; line-height: 1.75; position: relative; margin-bottom: 1.25rem;
}

.jardim-quote cite { font-style: normal; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.mvv-card { background: #fff; border-radius: var(--r); padding: 1.75rem; border-left: 5px solid; }
.mvv-card:nth-child(1) { border-color: var(--orange); }
.mvv-card:nth-child(2) { border-color: var(--teal); }
.mvv-card:nth-child(3) { border-color: var(--green-lime); }

.mvv-label {
  display: block; font-family: 'Quicksand', sans-serif; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.mvv-card:nth-child(1) .mvv-label { color: var(--orange); }
.mvv-card:nth-child(2) .mvv-label { color: var(--teal); }
.mvv-card:nth-child(3) .mvv-label { color: var(--green-lime); }
.mvv-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); }

/* ESPECIALIDADES */
#especialidades { background: var(--green-pale); position: relative; }

.esp-intro { text-align: center; margin-bottom: 3rem; }
.esp-intro h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--dark-green); margin-bottom: 0.5rem; }
.esp-intro p { font-size: 1rem; color: var(--text-muted); }

.esp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }

.esp-card {
  background: #fff; border-radius: var(--r-lg); border-top: 5px solid transparent;
  padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease; cursor: default;
}
.esp-card:hover { transform: translateY(-7px); box-shadow: 0 16px 40px rgba(38,70,29,0.12); }
.esp-card--teal   { border-top-color: var(--teal); }
.esp-card--orange { border-top-color: var(--orange); }
.esp-card--green  { border-top-color: var(--green-lime); }
.esp-card--yellow { border-top-color: var(--yellow); }

.esp-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; }
.esp-card--teal   .esp-icon { background: rgba(96,199,206,0.15); }
.esp-card--orange .esp-icon { background: rgba(248,157,66,0.15); }
.esp-card--green  .esp-icon { background: rgba(168,207,78,0.15); }
.esp-card--yellow .esp-icon { background: rgba(253,216,76,0.18); }
.esp-icon svg { width: 26px; height: 26px; }

.esp-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark-green); margin-bottom: 0.6rem; line-height: 1.3; }
.esp-card p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }

.esp-more { font-style: italic; font-size: 0.82rem; text-decoration: none; }
.esp-card--teal   .esp-more { color: var(--teal); }
.esp-card--orange .esp-more { color: var(--orange); }
.esp-card--green  .esp-more { color: var(--green-lime); }
.esp-card--yellow .esp-more { color: #8a6f00; }

/* EQUIPE */
#equipe { background: #fff; }

.equipe-intro { text-align: center; margin-bottom: 3rem; }
.equipe-intro h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--dark-green); margin-bottom: 0.5rem; }
.equipe-intro p { font-size: 1rem; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }

.team-card {
  background: var(--cream); border-radius: var(--r-lg); padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(38,70,29,0.1); }

.team-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.team-card:nth-child(1) .team-avatar { background: linear-gradient(135deg, rgba(248,157,66,0.25), rgba(248,157,66,0.08)); }
.team-card:nth-child(2) .team-avatar { background: linear-gradient(135deg, rgba(96,199,206,0.25), rgba(96,199,206,0.08)); }
.team-card:nth-child(3) .team-avatar { background: linear-gradient(135deg, rgba(168,207,78,0.25), rgba(168,207,78,0.08)); }
.team-card:nth-child(4) .team-avatar { background: linear-gradient(135deg, rgba(253,216,76,0.3),  rgba(253,216,76,0.1)); }
.team-card:nth-child(5) .team-avatar { background: linear-gradient(135deg, rgba(38,70,29,0.18),   rgba(38,70,29,0.06)); }

.team-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark-green); margin-bottom: 0.2rem; }
.team-role    { font-size: 0.78rem; font-weight: 600; margin-bottom: 0.2rem; }
.team-card:nth-child(1) .team-role { color: var(--orange); }
.team-card:nth-child(2) .team-role { color: var(--teal); }
.team-card:nth-child(3) .team-role { color: var(--green-lime); }
.team-card:nth-child(4) .team-role { color: #8a6f00; }
.team-card:nth-child(5) .team-role { color: var(--dark-green); }
.team-reg  { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.85rem; }
.team-bio  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }
.team-note { text-align: center; margin-top: 2.5rem; font-size: 0.82rem; font-style: italic; color: var(--text-muted); }

/* CONTATO */
#contato { background: var(--dark-green); position: relative; overflow: hidden; }

.contato-deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.03); pointer-events: none; }
.contato-deco-1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.contato-deco-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; }

.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }

.contato-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 1.25rem; }
.contato-cta h2 em { font-style: italic; color: var(--yellow); }
.contato-cta p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 2rem; }

.btn-wa-big {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 1rem 2rem; background: #25D366; color: #fff;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.05rem;
  border-radius: 100px; text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45); transition: opacity 0.2s, transform 0.2s;
}
.btn-wa-big:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-wa-big svg { width: 22px; height: 22px; flex-shrink: 0; }

.contato-cards { display: flex; flex-direction: column; gap: 1rem; }

.info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 1.5rem;
}

.info-card-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.info-card-icon svg { width: 20px; height: 20px; }
.info-card-icon--orange { background: rgba(248,157,66,0.2); }
.info-card-icon--teal   { background: rgba(96,199,206,0.2); }
.info-card-icon--yellow { background: rgba(253,216,76,0.2); }

.info-card-title { display: block; font-family: 'Quicksand', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.3rem; }
.info-card-text { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.55; }
.info-card-text a { color: rgba(255,255,255,0.85); text-decoration: none; }
.info-card-text a:hover { color: #fff; text-decoration: underline; }

/* FOOTER */
footer { background: #1a2b17; padding: 1.75rem 2rem; }

.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo img { height: 48px; width: auto; opacity: 0.7; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); text-align: center; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.footer-social a:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }

/* SKIP LINK */
.skip-link { position: absolute; top: -50px; left: 1rem; padding: 0.5rem 1rem; background: var(--orange); color: #fff; font-weight: 700; border-radius: 0 0 8px 8px; text-decoration: none; z-index: 10000; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* FOCUS */
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* FLOATING WA */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.5); transition: transform 0.2s, box-shadow 0.2s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.65); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .esp-grid  { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-slider-wrap { aspect-ratio: 16/9; max-width: 500px; margin: 0 auto; }
  .jardim-grid      { grid-template-columns: 1fr; }
  .mvv-grid         { grid-template-columns: 1fr; }
  .contato-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  #site-header { background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 72px; }
  .nav-inner { min-height: 72px; align-items: center; padding-bottom: 0; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 1rem 1.5rem 1.5rem; gap: 0;
    box-shadow: 0 8px 24px rgba(38,70,29,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(38,70,29,0.08); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 0.85rem 0; font-size: 1rem; }
  .hero-content h1 { font-size: clamp(2.4rem, 8vw, 3.8rem); }
  .esp-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .section-inner { padding: 3.5rem 1.25rem; }
}

@media (max-width: 480px) {
  .esp-grid  { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}
