/* =========================================================
   LP Klayton Oliveira – Engenheiro Ambiental
   Identidade visual (extraída do manual de logos):
   - Verde símbolo  #3A7A2F
   - Verde nome     #276B1D
   - Papel creme    #EDE4DB (com textura de papel original)
   - Tipografia     Belleza (títulos, próxima ao logotipo) + Inter (texto)
   ========================================================= */
:root {
  --brand: #3a7a2f;          /* verde do símbolo */
  --brand-dark: #276b1d;     /* verde do nome */
  --paper: #ede4db;          /* papel creme */
  --paper-light: #f6f1eb;
  --brand-light: #e7f0e2;    /* verde claro (tom suave do verde do símbolo) */
  --white: #ffffff;
  --ink: #23301f;
  --muted: #5e6658;
  --line: rgba(39, 107, 29, .16);
  --tint: rgba(58, 122, 47, .1);

  --font-head: "Belleza", "Optima", "Candara", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(25, 60, 20, .35);
  --header-h: 116px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--brand-dark); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

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

/* ---------- Utilitários ---------- */
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--paper); opacity: .9; }
.eyebrow .num { font-family: var(--font-body); letter-spacing: .08em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: .03em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
/* Linhas "neon": a de cima acende no hover, a de baixo fica visível e esmaece */
.btn { position: relative; }
.btn::before, .btn::after {
  content: ""; position: absolute; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
  pointer-events: none; transition: opacity .5s ease-in-out;
}
.btn::before { top: 0; opacity: 0; }
.btn::after { bottom: -1px; }
.btn:hover::before { opacity: 1; }
.btn:hover::after { opacity: .3; }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); border-color: rgba(231, 240, 226, .5); }
.btn--ghost { border-color: rgba(255,255,255,.65); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: .6rem 1.2rem; font-size: .95rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--brand-dark); font-weight: 600; text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section__head p:last-child { color: var(--muted); }
.section__head--light h2 { color: var(--white); }
.section__head--left { text-align: left; margin: 0; }

/* ---------- Header (sempre claro: logo aparece como no original) ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: var(--paper) url("../img/papel.jpg") center/1200px repeat;
  color: var(--brand-dark);
  transition: height .3s var(--ease), box-shadow .3s;
}
.header.is-scrolled { height: 84px; box-shadow: 0 6px 24px -12px rgba(25, 60, 20, .35); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: block; height: 80%; }
.logo img { height: 100%; width: auto; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) {
  font-family: var(--font-head); font-size: 1.05rem; text-decoration: none;
  position: relative; padding: .25rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: currentColor; transition: width .25s var(--ease);
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--white);
  padding: calc(var(--header-h) + 48px) 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 50, 15, .9) 0%, rgba(39, 107, 29, .62) 55%, rgba(39, 107, 29, .25) 100%),
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?w=2000&q=75&auto=format&fit=crop") center/cover;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { position: relative; }
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  max-width: 17ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: .12em;
  text-underline-offset: .14em;
}
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 560px; opacity: .9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 3.2rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--white); border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sobre ---------- */
.about { background: var(--paper-light); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; width: 100%; height: auto; box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: -18px; bottom: 32px;
  background: var(--brand-dark); color: var(--white);
  padding: 1rem 1.3rem; border-radius: 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.2;
}
.about__badge strong { font-family: var(--font-head); font-weight: 400; letter-spacing: .18em; font-size: .8rem; color: var(--paper); }
.about__badge span { font-family: var(--font-body); font-size: 1.15rem; font-weight: 500; }
.about__text p { color: var(--muted); }
.about__text p strong { color: var(--brand-dark); font-weight: 600; }

.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a7a2f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---------- Serviços ---------- */
.services { background: var(--paper-light); }
.service {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.service + .service { margin-top: clamp(56px, 8vw, 104px); }
.service--reverse .service__media { order: 2; }
.service__media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.service__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__num { font-family: var(--font-head); font-size: .95rem; letter-spacing: .2em; color: var(--brand); }
.service__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--brand-dark); margin-top: .5rem; }
.service__body > p { color: var(--muted); }

.tags { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  font-size: .86rem; padding: .4rem .85rem; border-radius: 999px;
  background: var(--brand); color: var(--white);
}

/* ---------- Processo ---------- */
.process { background: var(--paper-light); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 1px; background: var(--line); }
.step { text-align: center; position: relative; }
.step h3 { color: var(--brand-dark); }
.step__n {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 1.3rem;
  border-radius: 50%; background: var(--paper-light); border: 1.5px solid var(--brand);
  font-family: var(--font-head); font-size: 1.25rem; color: var(--brand-dark);
  position: relative;
}
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--brand-light); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { margin: 0; background: rgba(255,255,255,.75); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 1.5rem; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.quote figcaption strong { color: var(--brand-dark); }
.quote figcaption span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-light); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__grid .section__head p:last-child a { color: var(--brand-dark); font-weight: 600; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font-family: var(--font-head); font-size: 1.2rem; color: var(--brand-dark);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-size: 1.6rem; font-weight: 300; color: var(--brand); transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; max-width: 60ch; }

/* ---------- Contato ---------- */
.contact { position: relative; color: var(--white); overflow: hidden; }
.contact h2 { color: var(--white); }
.contact__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(25, 70, 18, .9), rgba(25, 70, 18, .93)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=2000&q=70&auto=format&fit=crop") center/cover;
}
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.contact__grid > *, .form label, .form__row > * { min-width: 0; }
.contact__list a { overflow-wrap: anywhere; }
.contact__info > p { opacity: .88; max-width: 46ch; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: .9rem; font-size: 1.05rem; }
.contact__list svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255,255,255,.1); fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--paper); text-decoration: underline; }

.form { background: var(--brand-light); color: var(--ink); padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); display: grid; gap: 1rem; }
.form h3 { font-size: 1.6rem; color: var(--brand-dark); margin-bottom: .2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px var(--tint); }
.form .is-invalid { border-color: #b4472f; }
.form__note { font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--paper) url("../img/papel.jpg") center/1200px repeat; color: var(--muted); padding: 2.4rem 0; font-size: .88rem; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; }
.footer__logo { height: 84px; width: auto; }
.footer p { margin: 0; }
.social { display: flex; gap: .6rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--brand-dark); transition: background .25s, color .25s; }
.social a:hover { background: var(--brand); color: var(--white); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: var(--white);
  box-shadow: 0 10px 25px -6px rgba(0,0,0,.35);
  transition: transform .25s var(--ease), opacity .3s;
  opacity: 0; transform: scale(.7); pointer-events: none;
}
.whats-float.is-visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.8rem; }
  .steps::before { display: none; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 88px; }
  .header.is-scrolled { height: 72px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--paper) url("../img/papel.jpg") center/1200px repeat;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a:not(.btn) { font-size: 1.5rem; }
  .header.nav-open .nav { opacity: 1; visibility: visible; }
  .header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .logo { position: relative; z-index: 2; }

  .about__grid, .service, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .service--reverse .service__media { order: 0; }
  .about__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .about__badge { right: 12px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
}
