/* ═══════════════════════════════════════════════════════════
   MudaSite — CSS Compartilhado
   Direção visual: Terra e Luz — revisada com azul da marca
   Fonte principal: Space Grotesk (tech) + DM Sans (corpo)
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── VARIÁVEIS ── */
:root {
  --cream:        #F5F0E8;
  --cream-dark:   #EDE8DF;
  --cream-card:   #FEFCF8;

  --green-900:    #0A1A05;
  --green-800:    #163309;
  --green-600:    #2C7015;
  --green-500:    #44A428; /* verde primário — extraído da logo */
  --green-400:    #5DB521;
  --green-300:    #7DCC4A;
  --green-100:    #C5EAA8;
  --green-50:     #EEF8E6;

  /* Azul da marca */
  --blue-900:     #081D33;
  --blue-700:     #1262a4;
  --blue-500:     #1A7FD4;
  --blue-300:     #5CA8E8;
  --blue-100:     #C0DEFA;
  --blue-50:      #EBF4FC;

  --text:         #1A2415;
  --muted:        #5C7A6A;
  --light:        #8FA89A;

  --white:        #FFFFFF;
  --border:       rgba(26,36,21,0.09);
  --shadow-xs:    0 1px 6px rgba(26,36,21,0.05);
  --shadow-sm:    0 2px 14px rgba(26,36,21,0.08);
  --shadow:       0 4px 28px rgba(26,36,21,0.11);
  --shadow-lg:    0 10px 60px rgba(26,36,21,0.15);

  --r:     12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-2xl: 48px;
  --r-full:999px;
}

/* ── RESET / BASE ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display:block; max-width:100%; }
a { text-decoration:none; }
ul { list-style:none; }

/* ── TIPOGRAFIA ── */
h1, h2, h3, h4, .label-text, .stat-value, .step-number,
nav a, .btn, .pill { font-family: 'Space Grotesk', sans-serif; }

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--green-800);
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-800);
}
h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-800);
}
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--muted); }
p.lead { font-size: 1.1rem; line-height: 1.7; }
strong { font-weight: 600; color: var(--text); }

/* ── LAYOUT ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}
.section     { padding: 88px 0; }
.section-sm  { padding: 56px 0; }
.section-lg  { padding: 112px 0; }

/* ── PILL LABEL ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.pill-green {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-500);
}
.pill-blue {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
}

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.72rem 1.6rem;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.22s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-green {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(45,106,79,0.25);
}
.btn-green:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,0.3);
}
.btn-blue {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(27,95,174,0.25);
}
.btn-blue:hover {
  background: var(--blue-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,95,174,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--green-500);
  border: 1.5px solid var(--green-300);
}
.btn-outline:hover {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
}
.btn-white {
  background: var(--white);
  color: var(--green-800);
  box-shadow: 0 2px 12px rgba(26,36,21,0.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,36,21,0.18);
}
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }
.btn-text {
  background: none;
  color: var(--green-500);
  padding: 0;
  font-size: 0.9rem;
}
.btn-text:hover { color: var(--green-800); }
.btn-text .arrow { transition: transform 0.2s; }
.btn-text:hover .arrow { transform: translateX(4px); }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.badge-green {
  background: var(--green-50);
  color: var(--green-500);
  border: 1px solid var(--green-100);
}
.badge-blue {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
}

/* ══════════════════════════════════
   NAVEGAÇÃO
══════════════════════════════════ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: visible;
}
.nav-logo {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  align-self: flex-start; /* ancora no topo do nav → vaza só pra baixo */
  /* Caixa protetora */
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 0 0 28px 28px; /* topo reto, base arredondada */
  padding: 17px 31px;
  box-shadow: 0 6px 28px rgba(13,31,20,0.14);
  flex-shrink: 0;
}
.nav-logo img {
  height: 104px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-500); }

/* ══════════════════════════════════
   RODAPÉ
══════════════════════════════════ */
.main-footer {
  background: var(--green-900);
  padding: 28px 5%;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer-logo img { height: 68px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-contact {
  font-size: 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(255,255,255,0.55);
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.44);
  transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover {
  border-color: rgba(68,164,40,0.5);
  color: var(--green-400);
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-dto {
  height: 18px;
  width: auto;
  fill: rgba(255,255,255,0.35);
  transition: fill 0.2s;
}
.footer-copy a:hover .logo-dto { fill: rgba(255,255,255,0.7); }

/* ══════════════════════════════════
   SEÇÃO CTA FINAL (compartilhada)
══════════════════════════════════ */
.cta-section {
  background: var(--green-800);
  text-align: center;
  padding: 96px 5%;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.cta-section .sub-note {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Space Grotesk', sans-serif;
}

/* ══════════════════════════════════
   TRUST STRIP
══════════════════════════════════ */
.trust-strip {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 5%;
}
.trust-strip .inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-item .trust-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-300);
  flex-shrink: 0;
}
.trust-item .trust-dot.blue { background: var(--blue-500); }

/* ══════════════════════════════════
   HAMBURGER — oculto no desktop
══════════════════════════════════ */
.nav-ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.nav-ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════
   RESPONSIVO GERAL
══════════════════════════════════ */
@media (max-width: 768px) {
  html { overflow-x: hidden; }

  /* NAV MOBILE */
  .main-nav {
    height: 64px;
    padding: 0 4%;
    gap: 1rem;
    position: relative;
  }
  .nav-logo {
    padding: 10px 18px;
    border-radius: 0 0 18px 18px;
  }
  .nav-logo img { height: 78px; }

  .nav-ham { display: flex; }

  /* Esconde o botão CTA da nav */
  .main-nav > .btn { display: none; }

  /* Menu mobile — painel que desliza */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 4% 20px;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(26,36,21,0.1);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--text);
  }
  .nav-links a.active { color: var(--green-500); }

  .section    { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .section-lg { padding: 64px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }

  /* Rodapé */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; }
  .footer-socials { justify-content: center; }
}
