:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-soft: #f1f7f3;
  --surface-alt: #eef6f1;

  --text: #1e2a23;
  --muted: #5f6f66;
  --line: #dbe7df;

  --primary: #1f7a4c;
  --primary-dark: #145a38;
  --primary-light: #2e9d63;
  --primary-soft: #e8f5ee;

  --accent: #cfe9dc;
  --accent-strong: #0f5132;

  --shadow-sm: 0 4px 10px rgba(31, 122, 76, 0.08);
  --shadow-md: 0 10px 25px rgba(31, 122, 76, 0.12);
  --shadow-lg: 0 18px 45px rgba(31, 122, 76, 0.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1440px;

  --form-bg: #f1f7f3;
  --form-input: #ffffff;
  --form-label: #1f7a4c;

  --footer-bg: #1f7a4c;
  --footer-bg-dark: #145a38;
  --footer-accent: #d8f0e2;
  --footer-text: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.82);
  --footer-soft: rgba(255, 255, 255, 0.14);

  --whatsapp: #25d366;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid transparent;
  background: var(--form-input);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input::placeholder,
textarea::placeholder {
  color: #7f8f86;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31, 122, 76, 0.22);
  box-shadow: 0 0 0 4px rgba(31, 122, 76, 0.08);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 250, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 231, 223, 0.9);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-badge {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  /* display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-md); */
}

.logo strong {
  display: block;
  font-size: 1rem;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.nav > a,
.dropdown-toggle {
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
}

.nav > a:hover,
.dropdown-toggle:hover {
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-arrow {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-md);
  display: none;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.desktop-cta {
  white-space: nowrap;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

/* TAGS */
.tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 18px;
}

/* HERO MODELO 2 */
.hero-flat,
.hero {
  padding: 72px 0 36px;
}

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

.hero-text h1 {
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin-bottom: 16px;
}

.hero-text p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* BANNER */
.banner-flat {
  padding: 8px 0 24px;
}

.banner-box {
  background: var(--primary);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.banner-box p {
  font-weight: 800;
  font-size: 1.08rem;
}

/* SECTIONS */
.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section h2,
.contact-card-head h2,
.final-cta-box h2 {
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-head p,
.text-block p {
  color: var(--muted);
}

.text-block p + p {
  margin-top: 14px;
}

/* HISTORY MODEL 2 */
.history-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.history-text {
  padding: 34px;
}

.history-text h2 {
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.history-text p {
  color: var(--muted);
}

.history-text p + p {
  margin-top: 14px;
}

.history-img {
  min-height: 100%;
  background: var(--surface-soft);
}

.history-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* GRID CARDS */
.grid-3,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-flat,
.feature-card,
.level-card {
  background: var(--surface);
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.card-flat h3,
.feature-card h3,
.level-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card-flat p,
.feature-card p,
.level-card p {
  color: var(--muted);
}

.icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--primary-soft);
  margin-bottom: 16px;
}

/* DEFAULT TWO COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.placeholder-image {
  min-height: 340px;
  border-radius: var(--radius-xl);
  border: 2px dashed #d6e5db;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #6f8578;
  font-weight: 800;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 76, 0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(46, 157, 99, 0.08), transparent 36%),
    #f9fcfa;
}

/* PROMO */
.promo-section {
  padding-top: 8px;
}

.promo-only {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.promo-only img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 120px;
  max-height: 220px;
}

/* LISTS */
.custom-list {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.custom-list.compact {
  gap: 8px;
  margin-top: 10px;
}

.custom-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
}

.custom-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

/* GALERIA 6+ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

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

.gallery-item {
  min-height: 220px;
  border-radius: 18px;
  border: 2px dashed #d6e5db;
  display: grid;
  place-items: center;
  background: #fff;
  color: #789082;
  font-weight: 800;
}

/* FORM SECTION */
.cta-section {
  padding: 40px 0 60px;
}

.contact-wrap {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-photo,
.contact-card {
  border-radius: 28px;
  overflow: hidden;
}

.contact-photo {
  position: relative;
  background: #eaf3ed;
  box-shadow: var(--shadow-lg);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.contact-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(10, 40, 24, 0) 0%, rgba(20, 90, 56, 0.82) 100%);
  color: #fff;
}

.contact-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-photo-overlay h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 2rem;
  line-height: 1.05;
  margin-bottom: 8px;
}

.contact-photo-overlay p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-card {
  background: var(--form-bg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.contact-card-head {
  margin-bottom: 22px;
}

.contact-card-head h2 {
  color: var(--form-label);
  margin-bottom: 8px;
}

.contact-card-head p {
  color: #6f7f75;
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field label {
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--form-label);
}

.contact-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.02rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

/* FINAL CTA */
.final-cta {
  padding: 0 0 90px;
}

.final-cta-box {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 40px 28px;
  box-shadow: var(--shadow-lg);
}

.final-cta-box p {
  font-size: 1.1rem;
  opacity: 0.96;
}

/* FOOTER */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 40px;
  padding: 78px 0 56px;
}

.footer-brand {
  max-width: 320px;
}

.footer-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 18px;
  font-family: "Baloo 2", sans-serif;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-brand h3,
.footer-column h4 {
  font-family: "Baloo 2", sans-serif;
}

.footer-brand h3 {
  font-size: 2rem;
  line-height: 1.05;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--footer-muted);
  font-size: 1.08rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--footer-soft);
  display: grid;
  place-items: center;
}

.footer-column h4 {
  color: var(--footer-accent);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.footer-column ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-text);
  font-size: 1.08rem;
}

.footer-bottom {
  background: var(--footer-bg-dark);
  text-align: center;
  padding: 18px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

/* WHATS FLOAT */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.24);
  z-index: 1100;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.3);
}

/* ANIMAÇÕES */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 1.5rem;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px 18px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-weight: 700;
  }

  .hero-grid,
  .history-card,
  .two-col,
  .footer-grid,
  .grid-3,
  .cards-grid,
  .cards-grid-4,
  .gallery-grid,
  .contact-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-image img,
  .history-img img,
  .contact-photo img {
    min-height: 340px;
  }

  .contact-card {
    padding: 28px 22px;
  }
}

@media (max-width: 768px) {
  .hero-flat,
  .hero {
    padding-top: 54px;
  }

  .section {
    padding: 72px 0;
  }

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

  .gallery {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .gallery::-webkit-scrollbar {
    height: 8px;
  }

  .gallery::-webkit-scrollbar-thumb {
    background: rgba(31, 122, 76, 0.2);
    border-radius: 999px;
  }

  .gallery img {
    min-width: 82%;
    height: 240px;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .final-cta-box {
    padding: 32px 20px;
  }

  .footer-brand h3 {
    font-size: 1.8rem;
  }

  .footer-column h4 {
    font-size: 1.5rem;
  }
}