/* ===== Tokens ===== */
:root{
  --verde-escuro: #1f4d2c;
  --verde: #3f8a45;
  --verde-medio: #4c8f39;
  --lima: #cbe86b;
  --laranja: #e2612c;
  --laranja-escuro: #d84315;
  --amarelo: #f2b632;
  --creme: #fdf3e2;
  --creme-2: #fff8ec;
  --azul: #2f8fb0;
  --marrom: #6b3a1f;
  --texto: #2c2416;
  --texto-claro: #5a5140;
  --branco: #ffffff;

  --font-display: "Fredoka", sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Quicksand", sans-serif;

  --radius: 26px;
  --shadow: 0 20px 45px -20px rgba(31, 77, 44, .35);
}

*,*::before,*::after{ box-sizing:border-box; }
html.lenis{ scroll-behavior:auto !important; }
html.lenis, html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior:contain; }
.lenis.lenis-stopped{ overflow:hidden; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--texto);
  background:var(--creme);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  color:var(--verde-escuro);
}
h1{ font-size:clamp(2.1rem, 4.2vw, 3.4rem); }
h2{ font-size:clamp(1.9rem, 3.6vw, 2.8rem); }
h3{ font-size:1.35rem; }
p{ margin:0 0 1em; }

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.text-orange{ color:var(--laranja); }
.text-white{ color:var(--branco); }
.text-light{ color:rgba(255,255,255,.94); }
.text-cream{ color:rgba(255,255,255,.94); }

/* ===== Icons ===== */
.icon{
  width:1em; height:1em;
  flex-shrink:0;
}
.icon--inline{
  width:1.1em; height:1.1em;
  vertical-align:-0.18em;
  margin-right:.15em;
}

/* ===== Buttons & tags ===== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding:14px 28px;
  border-radius:100px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:1rem;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-3px); }
.btn--primary{
  background:var(--laranja);
  color:var(--branco);
  box-shadow:0 14px 30px -10px rgba(226,97,44,.55);
}
.btn--primary:hover{ background:var(--laranja-escuro); }
.btn--outline{
  background:transparent;
  border-color:var(--verde-escuro);
  color:var(--verde-escuro);
}
.btn--outline:hover{ background:var(--verde-escuro); color:var(--branco); }
.btn--outline-light{
  background:transparent;
  border-color:rgba(255,255,255,.8);
  color:var(--branco);
}
.btn--outline-light:hover{ background:rgba(255,255,255,.15); }
.btn--light{
  background:var(--branco);
  color:var(--azul);
}
.btn--light:hover{ background:var(--creme); }
.btn--small{ padding:10px 20px; font-size:.9rem; }

.script-accent{
  display:block;
  font-family:var(--font-script);
  font-size:0.72em;
  color:var(--laranja);
  font-weight:700;
  line-height:1;
  margin-bottom:.1em;
}
.script-accent--light{ color:var(--lima); }
.script-accent--cream{ color:var(--amarelo); }

/* ===== Topbar / Header ===== */
.topbar{
  background:var(--verde-escuro);
  color:var(--creme);
  text-align:center;
  font-size:.85rem;
  padding:8px 16px;
  font-weight:600;
}

.header{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(31,77,44,.08);
  transition:box-shadow .3s ease;
  isolation:isolate;
}
.header::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:rgba(253,243,226,.9);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.header.is-scrolled{ box-shadow:0 8px 24px -18px rgba(0,0,0,.35); }

.header__inner{
  display:flex;
  align-items:center;
  gap:24px;
  padding:12px 24px;
}
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand__logo{ width:52px; height:52px; object-fit:contain; }
.brand__text{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.05rem;
  line-height:1.05;
  color:var(--verde-escuro);
}

.nav-desktop{ display:flex; gap:28px; }
.nav-desktop a{
  font-weight:600;
  font-size:.96rem;
  color:var(--texto);
  position:relative;
  padding:6px 0;
}
.nav-desktop a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--laranja);
  transition:width .25s ease;
}
.nav-desktop a:hover::after{ width:100%; }

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  width:42px;
  height:42px;
  background:none;
  border:none;
  border-radius:50%;
  cursor:pointer;
  transition:background .25s ease;
}
.hamburger:hover{ background:rgba(31,77,44,.06); }
.hamburger span{
  width:20px; height:2.5px;
  background:var(--verde-escuro);
  border-radius:3px;
  transition:transform .3s cubic-bezier(.6,.2,.2,1), opacity .2s ease, width .3s ease;
}
.hamburger.is-open span:nth-child(1){ transform:translateY(8.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity:0; transform:scaleX(0); }
.hamburger.is-open span:nth-child(3){ transform:translateY(-8.5px) rotate(-45deg); }

/* ===== Mobile side drawer ===== */
.nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(31,77,44,.35);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  z-index:190;
  opacity:0;
  pointer-events:none;
  transition:opacity .35s ease;
}
body.nav-open .nav-backdrop{ opacity:1; pointer-events:auto; }

.nav-drawer{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:4px;
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  height:100dvh;
  width:min(80vw, 320px);
  background:var(--creme-2);
  padding:96px 24px 32px;
  box-shadow:-30px 0 60px -20px rgba(31,77,44,.5);
  border-left:1px solid rgba(31,77,44,.06);
  transform:translateX(100%);
  transition:transform .45s cubic-bezier(.32,.72,.35,1);
  z-index:210;
  overflow-y:auto;
}
body.nav-open .nav-drawer{ transform:translateX(0); }

.nav-drawer a{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.05rem;
  color:var(--verde-escuro);
  padding:14px 12px;
  border-radius:12px;
  opacity:0;
  transform:translateX(16px);
  transition:opacity .35s ease, transform .35s ease, background .2s ease;
}
.nav-drawer a:hover{ background:rgba(63,138,69,.08); }
body.nav-open .nav-drawer a{ opacity:1; transform:translateX(0); }
body.nav-open .nav-drawer a:nth-child(2){ transition-delay:.08s; }
body.nav-open .nav-drawer a:nth-child(3){ transition-delay:.13s; }
body.nav-open .nav-drawer a:nth-child(4){ transition-delay:.18s; }
body.nav-open .nav-drawer a:nth-child(5){ transition-delay:.23s; }
body.nav-open .nav-drawer a:nth-child(6){ transition-delay:.28s; }
body.nav-open .nav-drawer a:nth-child(7){ transition-delay:.33s; }

.nav__close{
  display:flex;
  align-items:center;
  justify-content:center;
  position:absolute;
  top:22px;
  right:24px;
  width:38px;
  height:38px;
  border-radius:50%;
  border:none;
  background:rgba(31,77,44,.06);
  color:var(--verde-escuro);
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;
  transition:background .2s ease, transform .3s ease;
}
.nav__close:hover{ background:rgba(31,77,44,.12); transform:rotate(90deg); }

.nav__cta{
  margin-top:14px;
  justify-content:center;
}

/* ===== Hero ===== */
.hero{
  position:relative;
  padding:70px 0 130px;
  overflow:hidden;
  background:radial-gradient(circle at 85% 0%, #fff3d6 0%, var(--creme) 45%);
}
.hero__blob{
  position:absolute;
  border-radius:50%;
  filter:blur(2px);
  opacity:.55;
  z-index:0;
}
.hero__blob--yellow{
  width:260px; height:260px;
  background:var(--amarelo);
  top:-90px; left:-90px;
}
.hero__blob--orange{
  width:340px; height:340px;
  background:var(--laranja);
  top:-140px; right:-140px;
  opacity:.35;
}
.hero__leaf{
  position:absolute;
  width:70px;
  top:18%;
  right:8%;
  z-index:1;
}
.hero__inner{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}
.hero__lead{ font-size:1.12rem; color:var(--texto-claro); max-width:46ch; }
.hero__actions{ display:flex; gap:16px; flex-wrap:wrap; margin:28px 0; }
.hero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--branco);
  padding:10px 18px;
  border-radius:100px;
  font-weight:700;
  font-size:.9rem;
  color:var(--verde-escuro);
  box-shadow:var(--shadow);
}
.hero__badge-dot{
  width:9px; height:9px;
  border-radius:50%;
  background:var(--laranja);
  animation:pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(226,97,44,.5); }
  50%{ box-shadow:0 0 0 8px rgba(226,97,44,0); }
}

.hero__media{ position:relative; height:440px; }
.hero__photo{
  position:absolute;
  object-fit:cover;
  border:8px solid var(--branco);
  box-shadow:var(--shadow);
}
.hero__photo--main{
  width:78%;
  height:380px;
  top:0; right:0;
  border-radius:32px 32px 32px 6px;
  transform:rotate(3deg);
}
.hero__photo--sub{
  width:52%;
  height:210px;
  left:0; bottom:0;
  border-radius:6px 32px 32px 32px;
  transform:rotate(-6deg);
}

.wave{ position:absolute; bottom:-2px; left:0; width:100%; height:90px; z-index:3; }

/* ===== Generic section ===== */
.section{ position:relative; padding:110px 0; overflow:hidden; }
.section--dark{ background:var(--verde-escuro); padding-top:60px; }

.floaty{ animation:floaty 5s ease-in-out infinite; }
@keyframes floaty{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-14px) rotate(4deg); }
}

/* ===== Sobre ===== */
.deco--trail{
  position:absolute;
  width:200px;
  bottom:10%;
  left:2%;
}
.about{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}
.about__text p{ color:rgba(253,243,226,.85); font-size:1.05rem; }
.about__text h2{ color:var(--branco); }
.callout{
  background:#889e3f;
  border-radius:20px;
  padding:22px 26px;
  color:#3d5a1e;
  font-weight:600;
  margin-top:20px;
}
.callout p{ margin:0; }
.ring-photo{
  position:relative;
  width:min(420px, 90%);
  aspect-ratio:1/1;
  margin:0 auto;
  border-radius:50%;
  padding:14px;
  border:6px solid var(--laranja);
}
.ring-photo img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:50%;
}

/* ===== Sede ===== */
.section--sede{
  background:linear-gradient(160deg, var(--azul) 0%, #256f8a 100%);
}
.deco--rays{
  position:absolute;
  width:150px;
  top:6%;
  right:4%;
}
.sede{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:60px;
  align-items:center;
}
.sede__text p{ font-size:1.05rem; max-width:48ch; }
.sede__gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.sede__img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:22px;
  border:5px solid var(--lima);
  box-shadow:var(--shadow);
}
.sede__img--1{ grid-column:1; grid-row:1 / span 2; height:100%; min-height:340px; }
.sede__img--2{ grid-column:2; grid-row:1; height:160px; }
.sede__img--3{ grid-column:2; grid-row:2; height:160px; }

/* ===== Itinerante ===== */
.section--itinerante{
  background:linear-gradient(150deg, var(--laranja) 0%, var(--laranja-escuro) 100%);
  padding-bottom:150px;
}
.itinerante{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.itinerante__media{ position:relative; }
.itinerante__img{
  width:100%;
  border-radius:26px;
  border:8px solid var(--branco);
  box-shadow:var(--shadow);
  transform:rotate(-2deg);
}
.deco--leaves-fly{
  position:absolute;
  width:130px;
  top:-40px;
  right:-30px;
}
.itinerante__text p{ font-size:1.05rem; max-width:46ch; }
.check-list{ margin:22px 0 30px; display:flex; flex-direction:column; gap:12px; }
.check-list li{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--branco);
  font-weight:600;
}
.check-list li::before{
  content:"✓";
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px; height:24px;
  border-radius:50%;
  background:var(--branco);
  color:var(--laranja-escuro);
  font-size:.8rem;
  flex-shrink:0;
}

/* ===== Oficinas intro ===== */
.section--oficinas-intro{
  background:var(--verde-escuro);
  padding:90px 0 60px;
}
.oficinas-intro{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center;
}
.oficinas-intro__text p{ color:rgba(253,243,226,.85); font-size:1.05rem; max-width:52ch; }
.oficinas-intro__highlight{
  font-weight:700;
  color:var(--amarelo);
  font-size:1.1rem;
}
.oficinas-intro__deco{ width:100%; max-width:320px; justify-self:center; }

/* ===== Cards grid ===== */
.section--cards{
  background:var(--verde-escuro);
  padding-top:0;
  padding-bottom:100px;
}
.cards-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:26px;
}
.card{
  border-radius:24px;
  padding:34px 26px;
  color:var(--branco);
  box-shadow:0 20px 40px -22px rgba(0,0,0,.45);
  transition:transform .3s ease, box-shadow .3s ease;
}
.card:hover{ transform:translateY(-8px); box-shadow:0 26px 48px -20px rgba(0,0,0,.5); }
.card h3{ color:var(--branco); margin-bottom:.4em; }
.card p{ color:rgba(255,255,255,.88); font-size:.96rem; margin:0; }
.card--blue{ background:linear-gradient(160deg,#2f8fb0,#20657f); }
.card--green{ background:linear-gradient(160deg,#5aa544,#3c7a2f); }
.card--brown{ background:linear-gradient(160deg,#8a5225,#6b3a1f); }
.card--red{ background:linear-gradient(160deg,#e2542c,#c23f1c); }

/* ===== Diferenciais ===== */
.section--diferenciais{ background:var(--creme); padding:90px 0; }
.diferenciais{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:30px;
  text-align:center;
}
.diferencial{
  background:var(--branco);
  border-radius:22px;
  padding:34px 22px;
  box-shadow:0 16px 34px -22px rgba(31,77,44,.25);
  transition:transform .3s ease;
}
.diferencial:hover{ transform:translateY(-6px); }
.diferencial__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px; height:56px;
  margin:0 auto 16px;
  border-radius:16px;
  background:rgba(63,138,69,.1);
  color:var(--verde);
  font-size:1.7rem;
}
.diferencial h4{
  font-family:var(--font-display);
  color:var(--verde-escuro);
  margin:0 0 .4em;
  font-size:1.05rem;
}
.diferencial p{ font-size:.9rem; color:var(--texto-claro); margin:0; }

/* ===== CTA final ===== */
.section--cta{
  background:linear-gradient(180deg,#bfe4f2 0%, #8fcde3 100%);
  text-align:center;
  padding:120px 0 170px;
}
.cta h2{ max-width:20ch; margin-left:auto; margin-right:auto; color:var(--verde-escuro); }
.cta p{ font-size:1.1rem; color:#215a72; max-width:44ch; margin:0 auto 30px; }
.cta__actions{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.bush-border{
  position:absolute;
  bottom:0; left:0; right:0;
  height:70px;
  background:
    radial-gradient(circle at 10% 100%, #2c6b34 0 40px, transparent 41px),
    radial-gradient(circle at 30% 100%, #327a3b 0 50px, transparent 51px),
    radial-gradient(circle at 50% 100%, #2c6b34 0 45px, transparent 46px),
    radial-gradient(circle at 70% 100%, #327a3b 0 55px, transparent 56px),
    radial-gradient(circle at 90% 100%, #2c6b34 0 40px, transparent 41px);
}

/* ===== Footer ===== */
.footer{ background:var(--verde-escuro); color:rgba(253,243,226,.8); padding-top:50px; }
.footer__inner{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer__logo{ width:64px; margin-bottom:14px; }
.footer__brand p{ font-size:.92rem; max-width:36ch; }
.footer h5{
  font-family:var(--font-display);
  color:var(--branco);
  margin-bottom:16px;
  font-size:1rem;
}
.footer__links, .footer__contact{ display:flex; flex-direction:column; gap:10px; }
.footer__links a, .footer__contact a{ font-size:.92rem; }
.footer__links a:hover, .footer__contact a:hover{ color:var(--amarelo); }
.footer__bottom{
  text-align:center;
  padding:22px 0;
  font-size:.82rem;
  color:rgba(253,243,226,.55);
}

/* ===== Floating button ===== */
.float-btn{
  position:fixed;
  bottom:24px; right:24px;
  width:56px; height:56px;
  border-radius:50%;
  background:var(--laranja);
  color:var(--branco);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
  box-shadow:0 14px 30px -10px rgba(226,97,44,.6);
  z-index:200;
  transition:transform .25s ease;
}
.float-btn:hover{ transform:scale(1.08); }

.btn .icon{ vertical-align:-0.15em; }

/* ===== Reveal on scroll ===== */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .header__cta{ display:none; }
  .nav-desktop{ display:none; }
  .hamburger{ display:flex; }

  .hero__inner, .about, .sede, .itinerante, .oficinas-intro{
    grid-template-columns:1fr;
  }
  .hero__media{ height:340px; order:-1; }
  .about__media{ order:-1; }
  .oficinas-intro__deco{ order:-1; max-width:220px; }

  .cards-grid{ grid-template-columns:1fr 1fr; }
  .diferenciais{ grid-template-columns:1fr 1fr; }
  .footer__inner{ grid-template-columns:1fr; }
}

/* ===== Focus states ===== */
a:focus-visible,
button:focus-visible{
  outline:3px solid var(--azul);
  outline-offset:3px;
  border-radius:8px;
}
.hamburger:focus-visible{ outline-offset:0; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{ opacity:1; transform:none; }
}

@media (max-width: 600px){
  .section{ padding:80px 0; }
  .cards-grid{ grid-template-columns:1fr; }
  .diferenciais{ grid-template-columns:1fr; }
  .sede__img--1{ min-height:200px; }
  .brand__text{ font-size:.92rem; }
  .topbar p{ font-size:.75rem; }
}
