/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: #2c3e2d;
  background: #f9f7f4;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  --green-dark: #2d4a2d;
  --green-mid:  #3d6b3d;
  --green-olive:#6b7c4d;
  --green-soft: #a8c090;
  --green-pale: #e8f0e0;
  --beige:      #f5f0e8;
  --beige-dark: #e8dfc8;
  --white:      #ffffff;
  --text-dark:  #1e2e1e;
  --text-mid:   #3d5040;
  --text-muted: #7a8f78;
  --shadow-sm:  0 2px 12px rgba(45,74,45,.08);
  --shadow-md:  0 6px 28px rgba(45,74,45,.14);
  --shadow-lg:  0 16px 60px rgba(45,74,45,.18);
  --radius:     16px;
  --radius-sm:  10px;
  --trans:      all .3s cubic-bezier(.4,0,.2,1);
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--green-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-mid); font-size: .975rem; }

.section-tag {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-olive);
  font-weight: 600;
  margin-bottom: .6rem;
}
.section-tag.light { color: var(--green-soft); }
.section-title { margin-bottom: 1rem; }
.section-sub { max-width: 540px; margin: 0 auto 2.5rem; text-align: center; }
.section-header.center { text-align: center; }

/* ===========================
   LAYOUT
   =========================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 90px 0; }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary, .btn-secondary, .btn-white, .btn-nav-cta, .btn-wa-big {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .92rem;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,74,45,.3);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,74,45,.35); }
.btn-secondary {
  background: transparent;
  border-color: var(--green-dark);
  color: var(--green-dark);
}
.btn-secondary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
}
.btn-white:hover { background: var(--beige); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-nav-cta {
  background: var(--green-dark);
  color: var(--white);
  padding: .6rem 1.4rem;
  font-size: .85rem;
}
.btn-nav-cta:hover { background: var(--green-mid); }
.btn-wa-big {
  background: #25D366;
  color: white;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
  width: 100%;
  justify-content: center;
}
.btn-wa-big:hover { background: #1fbc57; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.4); }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(249,247,244,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: .7rem 0;
}
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  transition: var(--trans);
}
.navbar.scrolled .nav-logo { color: var(--green-dark); }
.logo-leaf { font-size: 1.3rem; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.9); transition: var(--trans); }
.navbar.scrolled .nav-links a:not(.btn-nav-cta) { color: var(--text-mid); }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a:hover { color: var(--green-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
.navbar.scrolled .nav-toggle span { background: var(--green-dark); }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,46,30,.85) 0%, rgba(45,74,45,.75) 50%, rgba(30,46,30,.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 8rem 3rem 4rem 5%;
  max-width: 600px;
}
.hero-tag {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-soft); font-weight: 600; margin-bottom: 1.2rem;
}
.hero-title {
  color: var(--white); margin-bottom: 1.3rem;
}
.hero-title em { color: var(--green-soft); font-style: italic; }
.hero-subtitle {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.hero-note {
  font-size: .82rem; color: rgba(255,255,255,.6);
  font-style: italic; letter-spacing: .04em;
}
.hero-photo-col {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  height: 100vh; padding-top: 5rem;
}
.hero-img-wrap {
  width: 100%; max-width: 460px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ===========================
   SOBRE
   =========================== */
.sobre { background: var(--white); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.sobre-img-col { position: relative; }
.sobre-img-frame {
  border-radius: var(--radius);
  overflow: visible;
  position: relative;
}
.sobre-img-frame::before {
  content: '';
  position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px;
  background: var(--green-pale);
  border-radius: var(--radius);
  z-index: 0;
}
.sobre-img {
  position: relative; z-index: 1;
  border-radius: var(--radius);
  width: 100%; height: 480px;
  object-fit: cover; object-position: top center;
  box-shadow: var(--shadow-lg);
}
.sobre-badge {
  position: absolute; bottom: -12px; right: -12px; z-index: 2;
  background: var(--white);
  border: 2px solid var(--green-pale);
  border-radius: 50px;
  padding: .65rem 1.2rem;
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; color: var(--green-dark);
  box-shadow: var(--shadow-md);
}
.sobre-text-col { display: flex; flex-direction: column; gap: .8rem; }
.sobre-divider { width: 48px; height: 3px; background: var(--green-olive); border-radius: 2px; margin: .5rem 0 1rem; }
.sobre-text-col p { font-size: 1rem; }
.sobre-detail { display: flex; flex-direction: column; gap: .7rem; margin: .8rem 0 1.5rem; }
.detail-item {
  display: flex; align-items: center; gap: .8rem;
  font-size: .9rem; color: var(--text-muted);
}
.detail-item svg { color: var(--green-olive); flex-shrink: 0; }

/* ===========================
   SERVIÇOS
   =========================== */
.servicos { background: var(--beige); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(24px);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, box-shadow .3s, border-color .3s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-soft);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: .5rem; font-size: 1rem; }
.card p { font-size: .9rem; line-height: 1.6; }

/* ===========================
   ATENDIMENTO
   =========================== */
.atendimento { background: var(--white); }
.atend-inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 4rem; align-items: center;
  background: var(--beige);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.atend-deco { height: 100%; min-height: 380px; overflow: hidden; }
.atend-bg-img { width: 100%; height: 100%; object-fit: cover; }
.atend-content { padding: 3.5rem 3rem 3.5rem 0; }
.atend-content h2 { margin-bottom: 1rem; }
.atend-content p { margin-bottom: 1.8rem; }
.atend-note { font-size: .78rem; color: var(--text-muted); font-style: italic; margin-top: 1rem; margin-bottom: 0; }

/* ===========================
   MENSAGEM
   =========================== */
.mensagem {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.mensagem-bg {
  position: absolute; inset: 0;
  background-image: url('images/quote_bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.mensagem-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(22,42,22,.72);
}
.mensagem-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 8rem; line-height: .8;
  color: var(--green-soft);
  opacity: .35;
  margin-bottom: -2rem;
  text-align: left;
}
.mensagem-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  color: var(--white);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.mensagem-text {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ===========================
   CONTATO
   =========================== */
.contato { background: var(--beige); }
.contato-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}
.contato-info { display: flex; flex-direction: column; gap: 1.4rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--green-pale); border: 2px solid var(--green-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
}
.ci-item strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); display: block; margin-bottom: 2px; }
.ci-item p { margin-bottom: 0; font-weight: 600; color: var(--green-dark); font-size: .98rem; }
.contato-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.contato-img-wrap {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--green-pale);
  box-shadow: var(--shadow-sm);
}
.contato-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.contato-cta h3 { font-size: 1.2rem; font-style: italic; }
.contato-cta p { font-size: .9rem; max-width: 280px; }

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 3rem 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: var(--white); font-size: 1.05rem; }
.footer-slogan { font-size: .9rem; font-style: italic; color: rgba(255,255,255,.65); }
.footer-ig {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--green-soft); font-size: .88rem; font-weight: 500;
  background: rgba(255,255,255,.08); border-radius: 50px;
  padding: .5rem 1.2rem;
  transition: var(--trans);
}
.footer-ig:hover { background: rgba(255,255,255,.15); color: var(--white); }
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,.45); max-width: 520px; line-height: 1.6; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.float-wa {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 999;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: .9rem 1.4rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  font-weight: 600; font-size: .85rem;
  transition: var(--trans);
  animation: floatPulse 3s ease-in-out infinite;
}
.float-wa:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 32px rgba(37,211,102,.55); }
.float-wa-label { display: none; }
@keyframes floatPulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 36px rgba(37,211,102,.7); }
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 100dvh; }
  .hero-photo-col { display: none; }
  .hero-content { padding: 7rem 1.5rem 4rem; max-width: 100%; }
  .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-img { height: 360px; }
  .sobre-img-frame::before { display: none; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .atend-inner { grid-template-columns: 1fr; }
  .atend-deco { min-height: 240px; }
  .atend-content { padding: 2.5rem; }
  .contato-card { grid-template-columns: 1fr; padding: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(249,247,244,.97); backdrop-filter: blur(12px); padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .float-wa-label { display: inline; }
  .float-wa { border-radius: 50px; bottom: 1.2rem; right: 1.2rem; }
  .mensagem-quote { font-size: 1.3rem; }
  .atend-inner { border-radius: 16px; }
  .contato-card { border-radius: 16px; }
}
