:root{
  --sidebar-w: 280px;
  --radius: 18px;
  --gap: 16px;
  --bg: #0e1d17;
  --overlay: rgba(8,16,12,.50);
  --paper: rgba(245,255,250,.75);
  --stroke: rgba(255,255,255,.12);
  --text: #0f221a;
  --muted: #3d5a4b;
  --brand: #19b36b;       /* verde coco */
  --brand-2: #ffb347;     /* laranja ensolarado */
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Inter,Arial,sans-serif;
  color:var(--text);
  background: var(--bg);
}

/* Fundo animado */
.bg{
  position:fixed; inset:0; z-index:-2; overflow:hidden;
  background: #0b1712;
}
.bg__video,.bg__gif{
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  min-width:100%; min-height:100%;
  object-fit:cover; filter:saturate(1.05) contrast(1.05) brightness(.9);
}
.bg__gif{ display:none; }
.bg__overlay{
  position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(25,179,107,.25), transparent 60%),
    linear-gradient(to bottom right, rgba(0,0,0,.35), rgba(0,0,0,.55));
}

/* Sidebar (frame) */
.sidebar{
  position:fixed; inset:0 auto 0 0; width:var(--sidebar-w);
  background:rgba(10,24,18,.6);
  border-right:1px solid var(--stroke);
  backdrop-filter: blur(8px);
  padding:24px 18px;
  display:flex; flex-direction:column; gap:18px;
  z-index:10;
}
.brand{display:grid; gap:6px}
.brand__logo{width:56px; height:56px}
.brand__title{margin:0; font-size:1.4rem; color:#eafff5}
.brand__tag{margin:0; font-size:.9rem; color:#cfeee0}

.nav{display:grid; gap:6px}
.nav__link{
  display:block; padding:10px 12px; border-radius:12px;
  color:#eafff5; text-decoration:none; border:1px solid transparent;
}
.nav__link:hover{ background:rgba(25,179,107,.12); border-color:rgba(25,179,107,.3) }
.nav__link.is-active{ background:rgba(25,179,107,.18); border-color:rgba(25,179,107,.5) }

.sidebar__footer{margin-top:auto}
.btn{
  padding:10px 14px; border-radius:12px; border:1px solid var(--stroke);
  background:rgba(250,255,252,.75); color:#123326; cursor:pointer;
}
.btn--ghost{
  background:transparent; color:#dff9ee; border-color:rgba(255,255,255,.25);
}
.hamburger{
  position:absolute; top:14px; right:-54px; width:44px; height:44px;
  border-radius:12px; border:1px solid var(--stroke); background:rgba(250,255,252,.7);
  display:none; align-items:center; justify-content:center; cursor:pointer;
}

/* Conteúdo */
.content{
  margin-left:var(--sidebar-w);
  min-height:100dvh;
  padding:32px 28px 80px;
}
.section{
  margin:0 0 42px 0;
  background:var(--paper); border:1px solid var(--stroke);
  border-radius:var(--radius); padding:22px;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.35);
}
.section__header{margin-bottom:14px}
.lead{font-size:1.1rem}
.muted{color:var(--muted)}

.card{
  background:white; border:1px solid #e6efe9; border-radius:16px; padding:16px; margin:12px 0;
}

.grid{
  display:grid; gap:var(--gap);
  grid-template-columns: repeat(12, minmax(0,1fr));
}
.grid.cards > .card{ grid-column: span 12; }
@media (min-width: 900px){
  .grid.cards > .card{ grid-column: span 4; }
}

/* Etapas */
.step{
  grid-column: span 12;
  background:white; border:1px solid #e6efe9; border-radius:16px; padding:16px;
  display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start;
}
@media (min-width: 820px){ .step{ grid-column: span 6; } }
.step__badge{
  display:inline-grid; place-items:center; width:36px; height:36px;
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:white; font-weight:700; border-radius:10px;
}

/* Galeria */
.gallery{
  display:grid; gap:var(--gap);
  grid-template-columns: repeat(12, minmax(0,1fr));
}
.gallery__item{
  grid-column: span 6; min-height:160px; border-radius:16px;
  background: linear-gradient(135deg, rgba(25,179,107,.35), rgba(255,179,71,.35));
  border:1px dashed rgba(0,0,0,.1);
}
@media (min-width: 900px){ .gallery__item{ grid-column: span 4; } }

/* Equipe */
.team{
  display:grid; gap:var(--gap);
  grid-template-columns: repeat(12, minmax(0,1fr));
}
.person{
  grid-column: span 12; background:white; border:1px solid #e6efe9; border-radius:16px; padding:16px;
}
@media (min-width: 900px){ .person{ grid-column: span 3; } }
.person__avatar{
  width:56px; height:56px; border-radius:14px; display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(25,179,107,.2), rgba(255,179,71,.2));
  margin-bottom:8px; font-size:28px;
}

/* Formulário */
.form{display:grid; gap:12px}
.field{display:grid; gap:6px}
.field input,.field textarea{
  padding:10px 12px; border-radius:12px; border:1px solid #dfeae4; background:#fff;
}

/* Downloads */
.downloads{display:grid; gap:8px; padding-left:18px}
.downloads a{ color:#0f5035 }

/* Footer */
.footer{
  text-align:center; color:#e7fff5; padding:20px; background:transparent; text-shadow:0 1px 1px rgba(0,0,0,.6);
}

/* Responsivo / Acessibilidade */
@media (max-width: 940px){
  :root{ --sidebar-w: 84vw; }
  .hamburger{ display:flex; }
  .sidebar{ transform: translateX(calc(-1 * var(--sidebar-w))); transition: transform .35s ease; }
  .sidebar.is-open{ transform: translateX(0); }
  .content{ margin-left:0; padding-top:84px }
}

/* Reduzir motion */
@media (prefers-reduced-motion: reduce){
  .bg__video{ display:none !important; }
  .bg__gif{ display:none !important; }
  .bg__overlay{ background: rgba(0,0,0,.45); }
}
