:root {
  --blue: #2b6edc;
  --blue-dark: #1e4f9b;
  --green: #5d8b57;
  --green-soft: #dfeee0;
  --bg: #f7f5f0;
  --text: #222;
  --text-light: #555;
  --white: #ffffff;
  --radius-lg: 18px;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.header {
  background: #ffffffdd;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.brand-title {
  font-size: 1rem;
  color: #1f2933;
  margin: 0;
  font-weight: 600;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: #607196;
  margin: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav a {
  color: #364152;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #111827;
  font-size: 1.1rem;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
}

/* Hero */

.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top, #f0f6ff 0, #f7f5f0 60%);
  overflow: hidden;
}

.hero-bg-folhas {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 10% 0, rgba(93, 139, 87, 0.22) 0, transparent 48%),
    radial-gradient(circle at 90% 100%, rgba(93, 139, 87, 0.22) 0, transparent 50%);
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
  color: #1b2e4b;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: #4b5563;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.hero-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #1b2e4b;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}

/* Seções gerais */

.section {
  padding: 3rem 0;
  background: transparent;
}

.section-alt {
  background: #ffffff;
}

.section-title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 1.6rem;
  color: #1b2e4b;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #4b5563;
}

/* Folhagens nas seções */

.section-folhagem {
  position: relative;
  overflow: hidden;
}

.section-folhagem::before,
.section-folhagem::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 0 0, rgba(93, 139, 87, 0.15) 0, transparent 60%);
  z-index: -1;
}

.section-folhagem::before {
  top: -40px;
  left: -40px;
}

.section-folhagem::after {
  bottom: -40px;
  right: -40px;
}

/* Grid e cards */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.grid-media {
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card,
.info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.section-alt .card,
.section-alt .info-card {
  background: #fdfbf6;
}

.card h3,
.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #1b2e4b;
}

.card p,
.info-card p,
.section p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.info-card strong {
  color: var(--text);
}

.info-inline {
  margin-top: 1.5rem;
}

.list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-unstyled li {
  margin-bottom: 0.45rem;
  color: var(--text-light);
}

/* Imagens junto do texto */

.media-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

/* Galeria */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #ffffff;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}


/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: #46653f;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.26);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.section .btn-outline:hover {
  background: rgba(93, 139, 87, 0.06);
}

/* Rodapé */

.footer {
  background: #ffffff;
  color: #4b5563;
  padding: 1.6rem 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.footer-inner {
  text-align: center;
}

.footer-small {
  margin-top: 0.3rem;
  color: #9ca3af;
}

/* Utilidades */

.center {
  text-align: center;
}

.mt-lg {
  margin-top: 2rem;
}

/* Responsivo */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner {
    align-items: center;
  }

  .nav {
    position: absolute;
    inset: 56px 0 auto 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.7rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.75rem;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Lightbox (imagem ampliada) */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  touch-action: none; /* ajuda a evitar conflito de gesto no mobile */
}


.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 90%;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

