/* ========================================
   PROJETO COMPOSTAR — Landing Page CSS
   Mobile-first, alta conversão — v2
   ======================================== */

/* ---- VARIÁVEIS DE MARCA ---- */
:root {
  --green-dark:   #2d6a2d;
  --green-mid:    #3d8c3d;
  --green-light:  #6ab04c;
  --green-pale:   #e8f5e3;
  --brown-dark:   #5c3317;
  --brown-mid:    #8b5e3c;
  --brown-light:  #c4956a;
  --brown-pale:   #f5ede4;
  --cream:        #faf7f2;
  --white:        #ffffff;
  --text-dark:    #1e1e1e;
  --text-mid:     #4a4a4a;
  --text-light:   #7a7a7a;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --shadow-sm:    0 2px 10px rgba(0,0,0,.07);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.14);
  --transition:   .25s ease;
  --max-w:        880px;
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-white   { color: var(--white); }
.text-white-muted { color: rgba(255,255,255,.8); }
.mt-md  { margin-top: 1.25rem; }
.mt-lg  { margin-top: 2rem; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Títulos de seção — maiores no mobile */
.section-title {
  font-size: clamp(1.65rem, 5.5vw, 2.4rem);
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: .4rem;
  line-height: 1.2;
}
.section-sub {
  font-size: clamp(.95rem, 3vw, 1.1rem);
  color: var(--text-mid);
  margin-bottom: 1.75rem;
}

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
  text-align: center;
  line-height: 1.2;
  width: 100%;        /* full-width no mobile */
}
@media (min-width: 600px) {
  .btn { width: auto; }
}
.btn-sm  { padding: .65rem 1.4rem; font-size: .9rem;  width: auto; }
.btn-lg  { padding: 1rem 2rem;     font-size: 1.1rem; }
.btn-xl  { padding: 1.15rem 2rem;  font-size: 1.2rem; }

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(61,140,61,.35);
}
.btn-primary:hover, .btn-primary:active {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(61,140,61,.45);
}
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0   rgba(61,140,61,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(61,140,61,0);  }
  100% { box-shadow: 0 0 0 0   rgba(61,140,61,0);  }
}
.pulse-btn { animation: pulse-ring 2s infinite; }

/* ---- NAVEGAÇÃO ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: .6rem 1rem;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.nav-cta { flex-shrink: 0; }

/* ---- HERO ---- */
#hero {
  padding: 2.5rem 1rem 2.5rem;
  background: linear-gradient(160deg, #eaf6e4 0%, #faf7f2 60%, #f5ede4 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(106,176,76,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(196,149,106,.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.badge-local {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .85rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  border: 1px solid rgba(45,106,45,.2);
}
.hero-headline {
  font-size: clamp(1.85rem, 6.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--brown-dark);
  margin-bottom: .75rem;
}
.hero-headline .highlight { color: var(--green-dark); }
.hero-sub {
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-note {
  margin-top: .85rem;
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.hero-note i { color: var(--green-mid); }

/* ---- IMPACT STRIP ---- */
#impact-strip {
  background: var(--green-dark);
  padding: 1.25rem 1rem;
}
.strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: .5rem;
}
.impact-item {
  text-align: center;
  color: var(--white);
  flex: 1;
}
.impact-item p {
  font-size: .72rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .1rem;
}
.impact-number {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}
.impact-plus, .impact-unit {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: super;
}
.impact-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}

/* ---- VÍDEO ---- */
#video-section {
  padding: 2.5rem 1rem;
  background: var(--white);
}
#video-section .section-title { color: var(--brown-dark); }
.video-wrapper {
  display: flex;
  justify-content: center;
}
.vertical-video {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
@media (min-width: 600px) {
  .vertical-video { max-width: 360px; }
}

/* ---- COMO FUNCIONA ---- */
#how-it-works {
  padding: 2.5rem 1rem;
  background: var(--cream);
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}
.step-connector {
  text-align: center;
  color: var(--green-mid);
  font-size: 1rem;
  padding: .3rem 0;
  opacity: .5;
}
.step-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--brown-light);
}
.step-card--highlight {
  border-left-color: var(--green-mid);
  background: var(--green-pale);
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brown-mid);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.step-number--green { background: var(--green-dark); }
.step-body { flex: 1; }
.step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: .3rem;
}
.step-body p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.step-img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: contain;
  max-height: 220px;
  margin-top: .75rem;
}

/* ---- PROVA SOCIAL ---- */
#social-proof {
  padding: 2.5rem 1rem;
  background: var(--brown-pale);
}
.proof-headline { margin-bottom: 1.5rem; }
.proof-badge {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  font-weight: 700;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-xl);
  line-height: 1.35;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.stars {
  color: #f4b942;
  font-size: 1.1rem;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.testimonial-card > p {
  font-size: clamp(.92rem, 3vw, .95rem);
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: .85rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author strong { font-size: .9rem; color: var(--text-dark); display: block; }
.testimonial-author span  { font-size: .8rem;  color: var(--text-light); }

/* Parceiros */
.partners-area { margin-top: 2rem; }
.partners-label {
  font-size: .85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  text-align: center;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  align-items: center;
}
.partner-logo-wrap {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-logo-wrap:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.partner-logo-wrap img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(25%);
  opacity: .88;
  transition: filter var(--transition), opacity var(--transition);
}
.partner-logo-wrap:hover img { filter: grayscale(0%); opacity: 1; }

/* ---- BENEFÍCIOS ---- */
#benefits {
  padding: 2.5rem 1rem;
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3a2010 100%);
}
#benefits .section-title { color: var(--white); }
#benefits .section-sub   { color: rgba(255,255,255,.75); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (max-width: 380px) {
  .benefits-grid { grid-template-columns: 1fr; }
}
.benefit-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(106,176,76,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--green-light);
  margin-bottom: .75rem;
}
.benefit-card h3 {
  font-size: clamp(.95rem, 3vw, 1.05rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
  line-height: 1.3;
}
.benefit-card p {
  font-size: clamp(.82rem, 2.5vw, .9rem);
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

/* ---- SELOS ---- */
#trust-seals {
  background: var(--green-mid);
  padding: .85rem 1rem;
}
.seals-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem .75rem;
}
@media (min-width: 600px) {
  .seals-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; }
}
.seal {
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.seal i { font-size: .9rem; flex-shrink: 0; }

/* ---- OFERTA ---- */
#offer {
  padding: 2.5rem 1rem;
  background: var(--cream);
}
.offer-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--green-mid);
}
.offer-tag {
  display: inline-block;
  background: #fff3cd;
  color: #7a5400;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: var(--radius-xl);
  letter-spacing: .04em;
  margin-bottom: .75rem;
}
.offer-title {
  font-size: clamp(1.7rem, 5.5vw, 2.3rem);
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.offer-sub {
  font-size: clamp(.95rem, 3vw, 1rem);
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.offer-checklist {
  text-align: left;
  margin: 0 auto 1.5rem;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.offer-checklist li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: clamp(.92rem, 3vw, .95rem);
  color: var(--text-dark);
  font-weight: 500;
}
.offer-checklist li i { color: var(--green-mid); flex-shrink: 0; }
.offer-disclaimer {
  margin-top: .85rem;
  font-size: .8rem;
  color: var(--text-light);
}

/* ---- FAQ ---- */
#faq {
  padding: 2.5rem 1rem;
  background: var(--white);
}
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.faq-item {
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-light);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-size: clamp(.95rem, 3.2vw, 1rem);
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  color: var(--green-mid);
  font-size: .75rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  padding: .75rem 1.1rem 1.1rem;
  font-size: clamp(.9rem, 3vw, .95rem);
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid rgba(0,0,0,.07);
}
.faq-answer p { margin-bottom: .4rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
  margin: .4rem 0 .4rem 1rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

/* ---- CTA FINAL ---- */
#cta-final {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1d451d 100%);
}
.cta-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 1.25rem;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.cta-title {
  font-size: clamp(1.65rem, 5.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .6rem;
  line-height: 1.2;
}
.cta-sub {
  font-size: clamp(.95rem, 3vw, 1.05rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-disclaimer {
  margin-top: .85rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ---- FOOTER ---- */
#site-footer {
  background: #111;
  padding: 1.5rem 1rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .65;
  object-fit: contain;
}
#site-footer p { font-size: .78rem; color: rgba(255,255,255,.4); }

/* ---- WHATSAPP FLUTUANTE ---- */
#whatsapp-float {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.15rem;
  border-radius: var(--radius-xl);
  font-size: .88rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
#whatsapp-float i { font-size: 1.3rem; }
#whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
}
#whatsapp-float.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(.95);
}
