/* ==========================================================================
   assets/css/theme.css
   ========================================================================== */

:root {
  --verde-escuro: #0F321E;
  --verde-medio: #1A5233;
  --verde-claro: #2E7D52;
  --verde-brilho: #3DAA6E;
  --laranja: #FF6900;
  --laranja-claro: #FF8533;
  --laranja-fundo: #FFF3EA;
  --creme: #F8F5EF;
  --cinza-claro: #F2F0EC;
  --cinza-texto: #5A5A4A;
  --cinza-borda: #E0DDD5;
  --branco: #FFFFFF;
  --texto-escuro: #1A1A0F;
  --sombra-card: 0 4px 24px rgba(15,50,30,0.10);
  --sombra-hover: 0 12px 40px rgba(15,50,30,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--creme);
  color: var(--texto-escuro);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(15, 50, 30, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--laranja);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; fill: white; }
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; color: white; }
.logo-text span { color: var(--laranja); }
footer {
  background: var(--texto-escuro); color: rgba(255,255,255,0.75);
  padding: 50px 5% 30px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo-text { font-size: 1.3rem; }
.footer-brand p {
  font-size: 0.85rem; line-height: 1.7;
  margin: 1rem 0; max-width: 260px;
}
.footer-socials {
  display: flex; gap: 10px; margin-top: 1rem;
}
.footer-social {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75); text-decoration: none;
  transition: var(--transition);
}
.footer-social:hover {
  background: var(--laranja);
  color: white;
}
.footer-social svg {
  width: 16px;
}
.footer-col h4 {
  font-family: 'Sora', sans-serif; font-weight: 700;
  color: white; font-size: 0.9rem; margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.footer-col ul {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.85rem; transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--laranja);
}
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
}
.navbar-nav { display: flex; gap: 2rem; }
.navbar-nav a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.navbar-nav a:hover { color: var(--laranja); }
.nav-cta {
  background: var(--laranja); color: white !important;
  padding: 8px 20px; border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--laranja-claro) !important; color: white !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; margin: 5px 0; border-radius: 2px;
  transition: var(--transition);
}

/* --- UI ELEMENTS GLOBAIS --- */
section { padding: 80px 5%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  background: var(--laranja-fundo);
  color: var(--laranja); border-radius: 50px;
  padding: 4px 16px; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.section-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--verde-escuro);
  line-height: 1.2; margin-bottom: 0.8rem;
}
.section-header p {
  color: var(--cinza-texto); font-size: 1.05rem;
  max-width: 520px; margin: 0 auto;
}

.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--cinza-borda);
  border-top-color: var(--verde-claro);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}
@keyframes spin { to { transform: rotate(3600deg); } }

.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: var(--verde-escuro); color: white;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  display: flex; align-items: center; gap: 10px;
  transform: translateY(80px); opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 18px; flex-shrink: 0; }

/* --- ANIMATIONS & RESPONSIVE GLOBAL --- */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .navbar-nav { display: none; flex-direction: column; gap: 0; }
  .navbar-nav.open {
    display: flex; position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--verde-escuro);
    padding: 1rem 5%; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .navbar-nav.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .hamburger { display: block; }
  section { padding: 60px 5%; }
}