/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #143020;
  --green:   #3DCF44;
  --mid:     #1F5C35;
  --light:   #EEF7EE;
  --white:   #FFFFFF;
  --text:    #222222;
  --muted:   #5a6b5e;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Montserrat', Arial, sans-serif;
  --radius:  14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

a { text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s;
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo img {
  filter: brightness(0) invert(1);
  transition: filter .3s;
}

.header.scrolled .logo img { filter: none; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .4px;
  color: rgba(255,255,255,.88);
  transition: color .2s;
}

.header.scrolled .nav a { color: var(--dark); }
.nav a:hover { color: var(--green) !important; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--green);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}

.btn-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,207,68,.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: background .3s, transform .3s, opacity .3s;
}

.header.scrolled .menu-toggle span { background: var(--dark); }

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61,207,68,.4);
}

.btn-ghost {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: white;
  background: rgba(255,255,255,.1);
}

.btn-outline-dark {
  border-color: var(--dark);
  color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-large { padding: 16px 44px; font-size: 16px; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8,26,14,.85) 0%, rgba(8,26,14,.6) 50%, rgba(8,26,14,.2) 100%),
    url('assets/hero.png') center center / cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.13;
  margin-bottom: 22px;
}

.hero-content h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-content > p {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}

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

.hero-scroll-line {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35));
  animation: pulse-line 2.4s ease-in-out infinite;
}

@keyframes pulse-line {
  0%,100% { opacity: .4; }
  50%      { opacity: 1; }
}

/* === SECTIONS === */
.section { padding: 96px 0; }
.section-alt  { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.section-dark .section-header p { color: rgba(255,255,255,.6); }

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: 0 2px 18px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(20,48,32,.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--green);
  margin-bottom: 20px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* === CATALOG === */
.catalog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--dark);
  background: transparent;
  color: var(--dark);
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: all .2s;
}

.filter-btn.active,
.filter-btn:hover { background: var(--dark); color: var(--white); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.catalog-cta {
  margin-top: 80px;
  text-align: center;
  padding: 80px 48px;
  background: linear-gradient(135deg, #0d2218 0%, #143020 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catalog-cta h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 20px;
}

.catalog-cta p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.plant-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s, opacity .3s;
}

.plant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(20,48,32,.14);
}

.plant-card.hidden { display: none; }

.plant-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.plant-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.plant-info { padding: 22px; }

.plant-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
}

.plant-info h4 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 7px;
}

.plant-info p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }

.btn-plant {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}

.btn-plant:hover { background: var(--green); transform: translateY(-1px); }

/* === PORTFOLIO === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item--large {
  grid-column: 1 / 3;
}

.portfolio-img {
  width: 100%;
  min-height: 260px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .35s;
}

.portfolio-item:hover .portfolio-img { transform: scale(1.04); }

.portfolio-item--large .portfolio-img { min-height: 360px; }

.portfolio-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(8,24,16,.92), transparent);
  color: var(--white);
}

.portfolio-caption strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.portfolio-caption span   { font-size: 12.5px; opacity: .75; }

.album-badge {
  position: absolute;
  top: 12px; right: 12px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(8,24,16,.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  pointer-events: none;
  letter-spacing: .3px;
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4,14,8,.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 16px;
}

.lightbox[hidden] { display: none; }

.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100vh - 160px);
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
}

.lightbox-counter {
  position: absolute;
  bottom: -28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 12px;
  white-space: nowrap;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 42px;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 10;
  line-height: 1;
}
.lightbox-nav:hover { background: rgba(61,207,68,.25); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #3DCF44 transparent;
}

.lightbox-thumb {
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  opacity: .5;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.lightbox-thumb.active,
.lightbox-thumb:hover { opacity: 1; border-color: #3DCF44; }

.section-cta-link { text-align: center; }

/* === SOBRE === */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.sobre-text h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 42px);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.25;
}

.sobre-text p {
  color: rgba(255,255,255,.72);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.sobre-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
}

.value-item span { color: var(--green); font-size: 17px; font-weight: 700; }

.sobre-symbol-wrap { display: flex; align-items: center; justify-content: center; }

.sobre-symbol {
  width: 200px;
  opacity: .15;
  filter: brightness(0) invert(1);
}

/* === ÁREA DE ATUAÇÃO === */
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--dark);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.city-item svg { color: var(--green); flex-shrink: 0; }

/* === CTA === */
.section-cta {
  background: var(--dark);
  padding: 120px 0;
}

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

.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner > p {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  margin-bottom: 44px;
}

.cta-phone {
  margin-top: 22px !important;
  font-size: 15px !important;
  color: rgba(255,255,255,.4) !important;
  margin-bottom: 0 !important;
}

/* === FOOTER === */
.footer {
  background: #091710;
  padding: 64px 0 0;
  color: rgba(255,255,255,.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-logo {
  filter: brightness(0) invert(1);
  opacity: .75;
  margin-bottom: 14px;
}

.footer-brand p { font-size: 14px; max-width: 240px; line-height: 1.6; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h5 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-col a, .footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 12.5px;
}

/* === WHATSAPP FLOAT === */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sobre-symbol-wrap { display: none; }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-item--large {
    grid-column: 1 / 3;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / 3;
  }
}

@media (max-width: 680px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--dark);
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 150;
  }

  .nav.open a {
    font-size: 22px;
    color: var(--white);
    font-family: var(--serif);
  }

  .section { padding: 72px 0; }
  .section-cta { padding: 88px 0; }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-item--large { grid-column: 1; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
