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

:root {
  --green-deep:   #1b3a2d;
  --green-mid:    #2d6a4f;
  --green-light:  #52b788;
  --green-pale:   #b7e4c7;
  --cream:        #f5f0e8;
  --white:        #ffffff;
  --text-dark:    #1a2418;
  --text-mid:     #3d5240;
  --text-light:   #6b8f72;
  --accent:       #d4a017;
  --shadow:       0 8px 40px rgba(27,58,45,0.12);
  --radius:       16px;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===========================
   NAVBAR
=========================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6vw;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
nav.scrolled {
  background: rgba(27,58,45,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 12px 6vw;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.logo span { color: var(--green-pale); }

.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green-pale);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--green-light);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 500 !important;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--accent) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

/* Hamburguer */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: white; border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--green-deep);
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: white; font-size: 1.5rem; text-decoration: none;
  font-family: 'Playfair Display', serif;
}

/* ===========================
   HERO
=========================== */
#home {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(27,58,45,0.88) 0%, rgba(45,106,79,0.70) 60%, transparent 100%),
    url('images/back1.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  padding: 0 6vw;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute; right: -80px; top: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(82,183,136,0.20) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#home::after {
  content: '';
  position: absolute; left: -60px; bottom: 5%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(82,183,136,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { max-width: 680px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(82,183,136,0.25);
  border: 1px solid rgba(183,228,199,0.40);
  color: var(--green-pale);
  padding: 7px 16px; border-radius: 50px;
  font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green-light); border-radius: 50%;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title em { color: var(--green-pale); font-style: normal; }

.hero-desc {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 38px; max-width: 540px;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.btn-primary {
  background: var(--green-light);
  color: white; padding: 14px 32px;
  border-radius: 50px; text-decoration: none;
  font-weight: 500; font-size: 0.95rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(82,183,136,0.40);
}
.btn-primary:hover {
  background: var(--green-mid); transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(82,183,136,0.50);
}
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.50);
  color: white; padding: 14px 32px;
  border-radius: 50px; text-decoration: none;
  font-weight: 500; font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--green-pale);
  background: rgba(183,228,199,0.12);
  transform: translateY(-3px);
}

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 1px;
  animation: fadeUp 1s 1.2s both;
}
.scroll-arrow {
  width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}

/* ===========================
   SECTION BASE
=========================== */
section { padding: 100px 6vw; }
.section-tag {
  display: inline-block;
  color: var(--green-light); font-size: 0.78rem;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px; font-weight: 500;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-deep);
  line-height: 1.2; margin-bottom: 18px;
}
.section-subtitle {
  font-size: 1rem; color: var(--text-light);
  line-height: 1.8; max-width: 560px;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green-pale));
  border-radius: 2px; margin: 20px 0 40px;
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  background: var(--green-deep);
  padding: 48px 6vw;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; color: var(--green-pale);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 6px; }

/* ===========================
   QUEM SOMOS
=========================== */
#quem-somos {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.about-img-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--green-deep);
  color: white; padding: 24px 28px;
  border-radius: var(--radius);
  font-family: 'Playfair Display', serif;
  font-size: 1rem; text-align: center;
  box-shadow: var(--shadow);
  max-width: 180px;
}
.about-img-badge strong { display: block; font-size: 2.2rem; color: var(--green-pale); }

.about-features { margin-top: 36px; display: grid; gap: 16px; }
.feature-row { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.feature-text h4 { font-size: 0.95rem; font-weight: 600; color: var(--green-deep); margin-bottom: 4px; }
.feature-text p  { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===========================
   SERVIÇOS
=========================== */
#servicos { background: var(--cream); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-subtitle { margin: 0 auto; }
.services-header .divider { margin: 20px auto 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,58,45,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(27,58,45,0.14);
}
.card-img { height: 200px; overflow: hidden; position: relative; }
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .card-img img { transform: scale(1.08); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--green-deep); color: white;
  font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px;
}
.card-body { padding: 26px; }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--green-deep); margin-bottom: 10px;
}
.card-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-light); font-size: 0.85rem; font-weight: 500;
  margin-top: 16px; text-decoration: none;
  transition: gap 0.3s;
}
.card-link:hover { gap: 10px; }

/* ===========================
   POR QUE ESCOLHER
=========================== */
.why-section {
  background: var(--white);
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center;
}
.why-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.why-card {
  padding: 28px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: var(--green-light);
  margin-bottom: 8px;
}
.why-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--green-deep);
  margin-bottom: 8px;
}
.why-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===========================
   PRODUTOS
=========================== */
#produtos { background: var(--cream); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(82,183,136,0.10);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(82,183,136,0.30);
}
.product-icon {
  font-size: 2.4rem; margin-bottom: 14px;
  display: inline-flex; width: 70px; height: 70px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-pale), rgba(82,183,136,0.25));
}
.product-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--green-deep); font-size: 1.1rem; margin-bottom: 8px;
}
.product-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===========================
   PROJETOS
=========================== */
.projects-section { background: var(--white); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  height: 320px; display: block;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,58,45,0.92) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  color: white;
  transition: background var(--transition);
}
.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(27,58,45,0.95) 0%, rgba(45,106,79,0.30) 100%);
}
.project-overlay span {
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green-pale); margin-bottom: 6px;
}
.project-overlay h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
}

/* ===========================
   DEPOIMENTOS
=========================== */
.testimonial-strip {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  padding: 80px 6vw; text-align: center;
}
.testimonial-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: white; line-height: 1.55;
  max-width: 720px; margin: 0 auto 24px;
}
.testimonial-strip cite { color: var(--green-pale); font-size: 0.88rem; font-style: normal; }

/* ===========================
   CONTATO
=========================== */
#contato {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green-deep); margin-bottom: 18px;
}
.contact-info p { color: var(--text-light); line-height: 1.8; margin-bottom: 36px; }

.contact-items { display: grid; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.ci-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-pale), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.ci-text strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); }
.ci-text span { color: var(--green-deep); font-weight: 500; }

.contact-form { background: var(--cream); padding: 40px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 500;
  color: var(--text-mid); margin-bottom: 8px; letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid rgba(82,183,136,0.25);
  border-radius: 10px; background: white;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 4px rgba(82,183,136,0.12);
}
.form-group textarea { height: 130px; resize: vertical; }

.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: white; border: none; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500;
  cursor: pointer; letter-spacing: 0.3px;
  transition: opacity 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(45,106,79,0.30);
}
.btn-submit:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,106,79,0.35); }

.form-success {
  display: none; text-align: center; padding: 20px;
  color: var(--green-mid); font-weight: 500;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--green-deep);
  padding: 60px 6vw 28px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.4rem; display: block; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.8; max-width: 280px; }

.footer-col h4 {
  color: var(--green-pale); font-size: 0.82rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col ul a, .footer-col ul li {
  color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 0.88rem; transition: color 0.25s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.9rem; text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.social-links a:hover {
  border-color: var(--green-light); color: white;
  background: rgba(82,183,136,0.2);
}

/* ===========================
   WHATSAPP FLOAT
=========================== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  animation: pulse-green 2.5s infinite;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,0.70); }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  #quem-somos, #contato { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap img { height: 360px; }
  .about-img-badge { right: 0; bottom: -16px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .why-cards { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  section { padding: 72px 5vw; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
