:root{
  --sand:#F3E9D2;
  --green:#3A7D44;
  --yellow:#FFC857;
  --blue:#567C8D;
  --ink:#1f2a2e;
  --card:#ffffff;
  --muted:#5e6a70;
  --shadow: 0 18px 40px rgba(31,42,46,.12);
  --radius:18px;
  --radius2:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Merriweather", serif;
  color:var(--ink);
  background:var(--sand);
}

a{color:inherit}

.container{width:min(1100px, 92vw); margin:0 auto}

.skip{position:absolute; left:-999px; top:10px; background:#fff; padding:10px 14px; border-radius:10px}
.skip:focus{left:10px; z-index:999}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(243,233,210,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31,42,46,.10);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}

.topbar__right{display:flex; align-items:center; gap:10px}

.social{display:flex; align-items:center; gap:8px}
.social__btn{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  border:1px solid rgba(31,42,46,.10);
  box-shadow: 0 14px 28px rgba(31,42,46,.08);
  transition: transform .18s ease, filter .18s ease;
}
.social__btn:hover{transform: translateY(-1px); filter: brightness(1.02)}
.social__btn:active{transform: translateY(0px) scale(.99)}
.social__btn svg{width:18px; height:18px; fill: rgba(31,42,46,.78)}

@media (max-width: 740px){
  .social{gap:6px}
  .social__btn{width:34px; height:34px; border-radius: 13px}
}

.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand__logo{
  height:38px;
  width:auto;
  display:block;
  border-radius: 10px;
}
@media (max-width: 420px){
  .brand__logo{height:32px}
}

.nav{display:flex; gap:18px; align-items:center}
.nav a{text-decoration:none; font-family:"Baloo 2", system-ui; font-weight:700; color:rgba(31,42,46,.82)}
.nav a:hover{color:rgba(31,42,46,1)}
.nav__cta{padding:10px 14px; border-radius:999px; background:#fff; box-shadow:0 10px 25px rgba(31,42,46,.10)}

.menuBtn{display:none; border:0; background:#fff; box-shadow:0 10px 25px rgba(31,42,46,.10); border-radius:14px; width:44px; height:44px}
.menuBtn__bars{display:block; width:18px; height:2px; background:var(--ink); position:relative; margin:0 auto}
.menuBtn__bars::before,.menuBtn__bars::after{content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink)}
.menuBtn__bars::before{top:-6px}
.menuBtn__bars::after{top:6px}

/* ── Banner Hero (Curso do Mês) ── */
.bannerHero{
  padding: 18px 0 0;
}
.bannerHero__wrap{
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(31,42,46,.10);
  box-shadow: 0 22px 50px rgba(31,42,46,.12);
  transition: box-shadow .3s ease;
}
.bannerHero__wrap:hover{
  box-shadow: 0 28px 60px rgba(31,42,46,.16);
}
.bannerHero__img{
  width: 100%;
  height: auto;
  display: block;
}
.bannerHero__cta{
  padding: 16px 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(31,42,46,.08);
}
@media (max-width: 640px){
  .bannerHero__cta{
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
  }
  .bannerHero__cta .btn{ width: 100%; justify-content: center; }
}

.hero{padding:48px 0 22px}
.hero__grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:28px; align-items:center}
.kicker{font-family:"Baloo 2", system-ui; font-weight:800; letter-spacing:.12em; color:rgba(31,42,46,.65); margin:0 0 8px}
.hero h1{font-family:"Baloo 2", system-ui; font-weight:900; letter-spacing:-.02em; font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height:1.02; margin:0 0 12px}
.accent{color:var(--green)}
.lead{font-size:1.03rem; color:rgba(31,42,46,.78); line-height:1.7}

.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius:999px; padding:12px 16px; text-decoration:none; font-family:"Baloo 2", system-ui; font-weight:800; border:1px solid transparent; cursor:pointer; transition: transform .18s ease, filter .18s ease, box-shadow .18s ease}
.btn:active{transform: translateY(1px) scale(.99)}
.btn--primary{background:var(--green); color:#fff; box-shadow:0 18px 32px rgba(58,125,68,.22)}
.btn--primary:hover{filter:brightness(1.03); transform: translateY(-1px)}
.btn--ghost{background:rgba(255,255,255,.7); border-color: rgba(31,42,46,.12)}
.btn--ghost:hover{transform: translateY(-1px)}

.fine{margin:12px 0 0; font-size:.86rem; color:rgba(31,42,46,.60); line-height:1.6}

.hero__visual{position:relative}
.heroLogo{
  width:min(420px, 100%);
  margin-left:auto;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(31,42,46,.10);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.heroLogo img{width:100%; height:auto; display:block}

.hero__badge{
  position:absolute; bottom:-10px; right:6px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(31,42,46,.10);
  padding:10px 12px;
  border-radius:999px;
  display:flex; gap:10px; align-items:center;
  box-shadow:0 18px 35px rgba(31,42,46,.12);
  font-family:"Baloo 2", system-ui; font-weight:800;
}
.dot{width:10px; height:10px; background:var(--yellow); border-radius:50%; box-shadow: 0 0 0 6px rgba(255,200,87,.22)}

.section{padding:54px 0}
.section--alt{background:rgba(255,255,255,.35); border-top:1px solid rgba(31,42,46,.08); border-bottom:1px solid rgba(31,42,46,.08)}

h2{font-family:"Baloo 2", system-ui; font-weight:900; letter-spacing:-.02em; font-size:2rem; margin:0 0 18px}

.twoCol{display:grid; grid-template-columns:1fr 1fr; gap:16px}

.card{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(31,42,46,.10);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 14px 30px rgba(31,42,46,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover{transform: translateY(-2px); box-shadow: 0 18px 36px rgba(31,42,46,.10)}
.card--muted{background:rgba(255,255,255,.52)}

h3{font-family:"Baloo 2", system-ui; font-weight:900; margin:0 0 10px}

.featuredHead{display:flex; align-items:flex-end; justify-content:space-between; gap:12px}
.featuredHead__actions{display:flex; gap:10px}
.iconBtn{
  width:44px; height:44px;
  border-radius: 16px;
  border:1px solid rgba(31,42,46,.10);
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 28px rgba(31,42,46,.08);
  font-family: "Baloo 2", system-ui;
  font-weight: 900;
  font-size: 22px;
  cursor:pointer;
}
.iconBtn:hover{filter:brightness(1.02)}

.carousel{margin-top: 14px}
.carousel__track{
  display:flex;
  gap:12px;
  overflow:auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar{height:10px}
.carousel__track::-webkit-scrollbar-thumb{background: rgba(31,42,46,.18); border-radius: 999px}
.carousel__track::-webkit-scrollbar-track{background: rgba(31,42,46,.06); border-radius: 999px}

.carouselCard{
  flex: 0 0 min(380px, 86vw);
  scroll-snap-align: start;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(31,42,46,.10);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 14px 30px rgba(31,42,46,.08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.carouselCard:hover{transform: translateY(-4px); box-shadow: 0 22px 44px rgba(31,42,46,.14)}
.carouselCard__media{
  background: rgba(255,255,255,.65);
  overflow: hidden;
}
.carouselCard__media img{
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}
.carouselCard:hover .carouselCard__media img{
  transform: scale(1.05);
}
.carouselCard__media--alt{
  height: 220px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(58,125,68,.16), rgba(86,124,141,.18));
}
.badgeBg{
  width: 120px;
  height: 120px;
  border-radius: 44px;
  display:grid;
  place-items:center;
  font-family: "Baloo 2", system-ui;
  font-weight: 900;
  font-size: 34px;
  color: rgba(31,42,46,.85);
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(31,42,46,.10);
  box-shadow: 0 18px 40px rgba(31,42,46,.12);
}

.carouselCard__body{padding: 16px 16px 18px}
.carouselCard__body h4{margin: 10px 0 4px; font-family: "Baloo 2", system-ui; font-weight: 900; font-size: 1.35rem}
.carouselCard__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 12px}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31,42,46,.10);
  background: rgba(255,255,255,.70);
  font-family: "Baloo 2", system-ui;
  font-weight: 900;
  color: rgba(31,42,46,.78);
}
.pill--hot{
  background: rgba(255,200,87,.38);
  border-color: rgba(255,200,87,.55);
  color: rgba(31,42,46,.90);
  font-weight: 900;
}

.carousel__dots{display:flex; gap:8px; justify-content:center; margin-top: 6px}
.dotBtn{
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(31,42,46,.20);
  cursor:pointer;
}
.dotBtn[aria-current="true"]{background: rgba(58,125,68,.75)}

/* Scroll reveal */
.reveal{opacity:0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1)}
.reveal.isVisible{opacity:1; transform: translateY(0)}

/* Atraso escalonado para cards dentro de grids */
.twoCol .card:nth-child(2){ transition-delay: .1s }
.partners .partner:nth-child(2){ transition-delay: .08s }
.partners .partner:nth-child(3){ transition-delay: .16s }

/* Testimonial card */
.tCard{
  flex: 0 0 min(520px, 88vw);
  scroll-snap-align: start;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(31,42,46,.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 14px 30px rgba(31,42,46,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.tCard:hover{transform: translateY(-2px); box-shadow: 0 18px 36px rgba(31,42,46,.10)}
.tCard__text{margin:0; font-size: 1.02rem; line-height: 1.8; color: rgba(31,42,46,.82)}
.tCard__meta{margin-top: 14px; display:flex; flex-direction:column; gap:4px}

.courses{
  columns: 2;
  column-gap: 26px;
  margin: 0;
  padding-left: 18px;
  line-height: 1.9;
  color: rgba(31,42,46,.82);
}

.miniCtas{display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px}

.list{margin:0; padding-left:18px; color:rgba(31,42,46,.80); line-height:1.8}
.muted{color:rgba(31,42,46,.55)}

.palette{display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; margin: 12px 0 18px}
.swatch{
  border-radius: var(--radius2);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(31,42,46,.10);
  padding:12px;
  position:relative;
  overflow:hidden;
}
.swatch::before{
  content:"";
  display:block;
  height:54px;
  border-radius: 18px;
  background: var(--sw);
  border:1px solid rgba(31,42,46,.10);
}
.swatch span{display:block; font-family:"Baloo 2", system-ui; font-weight:900; margin-top:10px}
.swatch code{color:rgba(31,42,46,.68)}

.fontDemo{margin:0 0 10px; line-height:1.6}
.fontDemo--title{font-family:"Baloo 2", system-ui; font-weight:900; font-size:1.2rem}
.fontDemo--body{font-family:"Merriweather", serif; font-weight:400}

.iconRow{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.iconTile{width:54px; height:54px; border-radius:20px; background:linear-gradient(135deg, rgba(58,125,68,.22), rgba(86,124,141,.20)); border:1px solid rgba(31,42,46,.10)}

.callout{border-left: 6px solid rgba(255,200,87,.55)}

.partners{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px}
.partner{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(31,42,46,.10);
  border-radius: 999px;
  padding:12px 14px;
  font-family:"Baloo 2", system-ui;
  font-weight:900;
  text-align:center;
  box-shadow: 0 14px 30px rgba(31,42,46,.06);
}
.partner--muted{opacity:.75}

.ceoCard{
  background: rgba(255,255,255,.62);
  border:1px solid rgba(31,42,46,.10);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 14px 30px rgba(31,42,46,.06);
}
.ceoCard img{
  width:100%;
  height: auto;
  display:block;
  border-radius: 18px;
}

.gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery__item{
  position:relative;
  display:block;
  border-radius: 20px;
  overflow:hidden;
  border:1px solid rgba(31,42,46,.10);
  box-shadow: 0 10px 24px rgba(31,42,46,.08);
  background: rgba(255,255,255,.55);
  transition: transform .28s ease, box-shadow .28s ease;
}
.gallery__item:hover{transform: translateY(-3px); box-shadow: 0 20px 38px rgba(31,42,46,.13)}
.gallery__item img{
  width:100%;
  height: 210px;
  object-fit: cover;
  display:block;
  filter:saturate(1.04) contrast(1.02);
  transition: transform .45s ease;
}
.gallery__item:hover img{ transform: scale(1.04) }
.gallery__cap{
  position:absolute;
  left:10px; bottom:10px;
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border:1px solid rgba(31,42,46,.10);
  font-family: "Baloo 2", system-ui;
  font-weight: 900;
  color: rgba(31,42,46,.78);
  box-shadow: 0 14px 30px rgba(31,42,46,.08);
}

.form{display:grid; gap:12px; margin-top:10px}
label span{display:block; font-family:"Baloo 2", system-ui; font-weight:900; margin-bottom:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(31,42,46,.16);
  background: rgba(255,255,255,.85);
  font-family: inherit;
  font-size: 1rem;
}

.footer{padding:22px 0 34px}
.footer__inner{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; border-top:1px solid rgba(31,42,46,.12); padding-top:18px}

@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr;}
  .heroLogo{margin: 10px auto 0;}
  .twoCol{grid-template-columns:1fr;}
  .palette{grid-template-columns:1fr 1fr;}
  .partners{grid-template-columns:1fr;}
  .gallery{grid-template-columns: repeat(2, 1fr);}
  .gallery__item img{height: 175px}
  .courses{columns: 1;}
}

@media (max-width: 740px){
  .featuredHead__actions{display:none}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
}

@media (max-width: 740px){
  .menuBtn{display:inline-grid; place-items:center}
  .nav{
    position:absolute;
    right:4vw;
    top:70px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(31,42,46,.10);
    border-radius: 18px;
    padding:10px;
    box-shadow:0 18px 35px rgba(31,42,46,.14);
    display:none;
    flex-direction:column;
    align-items:stretch;
    min-width: 220px;
  }
  .nav.isOpen{display:flex}
  .nav a{padding:10px 12px; border-radius: 14px}
  .nav__cta{box-shadow:none; background:rgba(58,125,68,.12)}
}
