
/* ===== RESET & BASE ===== */
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif;background:#f5f4f0;color:#0D1F3C;line-height:1.65;}

/* ===== TOKENS (idênticos ao Manual v3 / demais páginas) ===== */
:root{
  --navy:#0D1F3C;
  --navy2:#081629;
  --navy-mid:#162847;
  --gold:#C9A84C;
  --gold-light:#E8D5A3;
  --white:#FFFFFF;
  --gray-bg:#F4F5F7;
  --gray-border:#E2E4E8;
  --gray-text:#3D3D3D;
  --gray-muted:#6b7a8d;
}

/* ===== DROPDOWN (necessário para o header) ===== */
.dropdown{position:relative;}
.dropdown::after{content:"";position:absolute;top:100%;left:0;width:100%;height:10px;}
.dropdown-menu{
  position:absolute;top:100%;left:0;margin-top:10px;
  background:#0a1628;border:1px solid rgba(201,168,76,.2);border-radius:6px;
  min-width:240px;padding:.4rem 0;z-index:200;
  opacity:0;visibility:hidden;transform:translateY(5px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0);}
.dropdown-menu a{display:block;padding:.6rem 1.25rem;font-size:12px;color:#b0bcd0;text-decoration:none;}
.dropdown-menu a:hover{color:#c9a84c;background:rgba(201,168,76,.06);}

/* ===== HEADER ===== */
.hdr{
  background:var(--navy);padding:0 2.5rem;display:flex;align-items:center;justify-content:space-between;
  height:72px;border-bottom:1px solid rgba(201,168,76,.2);position:sticky;top:0;z-index:100;
}
.logo-wrap{display:flex;align-items:center;gap:13px;text-decoration:none;}
.logo-text{display:flex;flex-direction:column;}
.logo-name{font-family:'Cormorant Garamond',serif;font-size:20px;font-weight:600;color:var(--white);letter-spacing:0.03em;line-height:1.1;}
.logo-slogan{font-family:'Inter',sans-serif;font-size:8px;font-weight:400;letter-spacing:0.18em;color:var(--gold);text-transform:uppercase;margin-top:3px;}
.nav{display:flex;gap:2rem;align-items:center;}
.nav a{font-size:13px;color:rgba(255,255,255,0.6);text-decoration:none;letter-spacing:.02em;transition:color .2s;}
.nav a:hover,.nav a.ativo{color:var(--gold);}
.cta-h{background:var(--gold);color:var(--navy);font-size:12px;font-weight:600;padding:10px 22px;border-radius:4px;cursor:pointer;border:none;font-family:'Inter',sans-serif;letter-spacing:.04em;transition:opacity .2s;}
.cta-h:hover{opacity:.88;}
.menu-toggle{display:none;}
.mobile-menu-overlay{display:none;}
.mobile-menu{display:none;}

/* ===== HERO ===== */
.hero{position:relative;min-height:520px;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:var(--navy);overflow:hidden;}
.hero-img{position:relative;background-image:url('https://primepublica.com.br/wp-content/uploads/2026/06/escolapublica8.png');background-size:cover;background-position:center top;min-height:520px;}
.hero-img::before{content:'';position:absolute;inset:0;background:linear-gradient(to right, rgba(13,31,60,.45) 0%, rgba(13,31,60,.02) 100%);}
.hero-cnt{position:relative;z-index:2;padding:4.5rem 4rem;display:flex;flex-direction:column;justify-content:center;order:-1;}
.hero h1{font-family:'Cormorant Garamond',serif;font-size:48px;font-weight:600;color:var(--white);line-height:1.15;margin-bottom:1.5rem;letter-spacing:-.01em;}
.hero p{font-size:16px;color:rgba(255,255,255,.72);line-height:1.85;margin-bottom:2.5rem;max-width:520px;}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap;align-items:center;}
.btn-gold{background:var(--gold);color:var(--navy);font-size:13px;font-weight:600;padding:14px 28px;border-radius:4px;border:none;cursor:pointer;font-family:'Inter',sans-serif;letter-spacing:.03em;transition:opacity .2s;}
.btn-gold:hover{opacity:.88;}
.btn-outline-wh{background:transparent;color:var(--white);font-size:13px;font-weight:500;padding:13px 26px;border-radius:4px;border:1px solid rgba(255,255,255,.35);cursor:pointer;font-family:'Inter',sans-serif;letter-spacing:.03em;transition:border-color .2s,color .2s;}
.btn-outline-wh:hover{border-color:var(--gold);color:var(--gold);}
.hero-line{position:absolute;left:0;bottom:0;width:100%;height:3px;background:var(--gold);z-index:3;}

/* ===== SEÇÕES BASE ===== */
.sec{padding:5.5rem 4rem;}
.sec-dark{background:var(--navy);padding:5.5rem 4rem;}
.sec-gray{background:var(--gray-bg);padding:5.5rem 4rem;}
.sec-white{background:var(--white);padding:5.5rem 4rem;}

/* ===== EYEBROW / TITLE ===== */
.eyebrow{font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);display:flex;align-items:center;gap:12px;margin-bottom:1rem;}
.eyebrow-line{flex:none;width:32px;height:1px;background:var(--gold);}
.sec-title{font-family:'Cormorant Garamond',serif;font-size:36px;font-weight:600;color:var(--navy);line-height:1.2;margin-bottom:.5rem;}
.sec-title.lt{color:var(--white);}
.gold-bar{width:40px;height:2px;background:var(--gold);margin:.8rem 0 2.5rem;}
.sec-sub{font-size:15px;color:var(--gray-muted);line-height:1.78;max-width:640px;margin-bottom:3rem;}
.sec-sub.lt{color:rgba(255,255,255,.6);}
.text-center{text-align:center;}
.mx-auto{margin-left:auto;margin-right:auto;}

/* ===== APRESENTAÇÃO / DIFERENCIAL (texto centralizado em coluna única) ===== */
.txt-block{max-width:760px;margin:0 auto;text-align:center;}
.txt-block p{font-size:15.5px;line-height:1.9;margin-bottom:1.1rem;}
.txt-block.lt p{color:rgba(255,255,255,.68);}
.txt-block:not(.lt) p{color:#4a5a6e;}
.intro-tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:1.75rem;justify-content:center;}
.intro-tag{
  background:rgba(13,31,60,.06);border:.5px solid rgba(13,31,60,.18);color:var(--navy);
  font-size:12px;padding:6px 14px;border-radius:20px;font-weight:500;letter-spacing:.01em;
  text-decoration:none;transition:background .2s,border-color .2s;
}
.intro-tag:hover{background:rgba(201,168,76,.12);border-color:var(--gold);}

/* ===== GRID DE CURSOS ===== */
.cursos-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:28px;max-width:1200px;margin:0 auto;}
.curso-card{
  background:var(--white);border:.5px solid var(--gray-border);border-radius:14px;overflow:hidden;
  display:flex;flex-direction:column;text-decoration:none;color:inherit;
  transition:transform .3s ease, box-shadow .3s ease;
}
.curso-card:hover{transform:translateY(-6px);box-shadow:0 18px 44px rgba(13,31,60,.14);}
.curso-card-img-wrap{aspect-ratio:1/1;overflow:hidden;background:var(--navy2);}
.curso-card-img-wrap img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
.curso-card:hover .curso-card-img-wrap img{transform:scale(1.045);}
.curso-card-body{padding:1.75rem 1.75rem 2rem;display:flex;flex-direction:column;flex:1;}
.curso-card-title{font-family:'Cormorant Garamond',serif;font-size:21px;font-weight:600;color:var(--navy);line-height:1.28;margin-bottom:.7rem;}
.curso-card-desc{font-size:13.5px;color:var(--gray-muted);line-height:1.7;margin-bottom:1.5rem;flex:1;}
.curso-card-link{font-size:13px;font-weight:600;color:var(--gold);letter-spacing:.02em;display:inline-flex;align-items:center;gap:6px;transition:gap .2s ease, opacity .2s ease;align-self:flex-start;}
.curso-card-link svg{width:14px;height:14px;flex-shrink:0;}
.curso-card:hover .curso-card-link{gap:10px;opacity:.85;}

/* ===== CTA FINAL ===== */
.cta-f{background:var(--gold);padding:5.5rem 4rem;text-align:center;position:relative;overflow:hidden;}
.cta-f::before{content:'';position:absolute;right:-120px;top:-120px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(13,31,60,.1);}
.cta-f h2{font-family:'Cormorant Garamond',serif;font-size:36px;font-weight:600;color:var(--navy);line-height:1.3;margin-bottom:1rem;max-width:640px;margin-left:auto;margin-right:auto;position:relative;}
.cta-f p{font-size:15px;color:rgba(13,31,60,.75);margin-bottom:2.5rem;max-width:560px;margin-left:auto;margin-right:auto;line-height:1.78;position:relative;}
.cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;position:relative;}
.btn-dk{background:var(--navy);color:var(--white);font-size:13px;font-weight:600;padding:14px 28px;border-radius:4px;border:none;cursor:pointer;font-family:'Inter',sans-serif;letter-spacing:.03em;transition:opacity .2s;}
.btn-dk:hover{opacity:.88;}

/* ===== FOOTER ===== */
.ftr{background:#060e1c;padding:3.5rem 4rem 2rem;}
.ftr-g{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-bottom:2.5rem;}
.ftr h4{font-size:11px;font-weight:700;color:var(--gold);margin-bottom:1.1rem;letter-spacing:.1em;text-transform:uppercase;}
.ftr ul{list-style:none;}
.ftr li{font-size:13px;color:rgba(255,255,255,.5);padding:5px 0;cursor:pointer;transition:color .2s;}
.ftr li:hover{color:var(--gold);}
.ftr a{color:#c7c7c7;text-decoration:none;transition:.2s;}
.ftr a:hover{color:#ffffff;}
.ftr-divider{border:none;border-top:.5px solid rgba(255,255,255,.08);margin-bottom:1.5rem;}
.ftr-bot{display:flex;align-items:center;justify-content:space-between;}
.ftr-logo{display:flex;align-items:center;gap:12px;}
.ftr-logo-text{display:flex;flex-direction:column;}
.ftr-logo-name{font-family:'Cormorant Garamond',serif;font-size:15px;font-weight:600;color:rgba(255,255,255,.7);line-height:1.1;}
.ftr-logo-slogan{font-size:8px;font-weight:600;letter-spacing:.14em;color:var(--gold);text-transform:uppercase;margin-top:3px;}
.ftr-copy{font-size:11px;color:rgba(255,255,255,.25);letter-spacing:.05em;}

/* ===== SVG LOGO SYMBOL ===== */
.sym{display:block;}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .hero{grid-template-columns:1fr; min-height:auto;}
  .hero-img{min-height:280px;}
  .hero-cnt{padding:3rem 2rem;}
  .ftr-g{grid-template-columns:1fr 1fr;}
  .hero h1{font-size:34px;}
  .sec,.sec-dark,.sec-gray,.sec-white{padding:3.5rem 2rem;}
  .hdr{padding:0 1.5rem;}
  .cursos-grid{gap:20px;}
  .cta-f{padding:3.5rem 2rem;}
  .ftr{padding:3rem 1.5rem 1.5rem;}
  .ftr-bot{flex-direction:column;gap:1.25rem;align-items:flex-start;}

  /* Menu hambúrguer ativa aqui (900px), mesmo padrão das demais páginas do site */
  .nav{display:none;}
  .cta-h{display:none;}
  .menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:5px;width:32px;height:32px;background:none;border:none;cursor:pointer;padding:0;flex-shrink:0;}
  .menu-toggle span{display:block;width:24px;height:2px;background:var(--gold);border-radius:2px;transition:transform .25s ease,opacity .2s ease;}
  .menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .menu-toggle.open span:nth-child(2){opacity:0;}
  .menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
  .mobile-menu-overlay{display:block;position:fixed;top:72px;left:0;right:0;bottom:0;background:rgba(6,14,28,.6);z-index:998;opacity:0;pointer-events:none;transition:opacity .3s ease;}
  .mobile-menu-overlay.open{opacity:1;pointer-events:auto;}
  .mobile-menu{display:flex;flex-direction:column;position:fixed;top:72px;right:0;height:calc(100% - 72px);width:80%;max-width:320px;background:var(--navy2);z-index:999;padding:1.25rem 1.5rem 2rem;overflow-y:auto;transform:translateX(100%);visibility:hidden;transition:transform .3s ease,visibility 0s linear .3s;box-shadow:-12px 0 32px rgba(0,0,0,.35);}
  .mobile-menu.open{transform:translateX(0);visibility:visible;transition:transform .3s ease,visibility 0s linear 0s;}
  .mobile-menu a,.mobile-menu .mm-toggle{display:block;width:100%;text-align:left;background:none;border:none;color:rgba(255,255,255,.85);font-family:'Inter',sans-serif;font-size:15px;padding:14px 2px;border-bottom:1px solid rgba(255,255,255,.08);text-decoration:none;cursor:pointer;}
  .mobile-menu .mm-toggle{display:flex;align-items:center;justify-content:space-between;}
  .mm-caret{color:var(--gold);font-size:12px;transition:transform .2s ease;}
  .mm-group.open .mm-caret{transform:rotate(180deg);}
  .mm-submenu{max-height:0;overflow:hidden;transition:max-height .25s ease;}
  .mm-group.open .mm-submenu{max-height:260px;}
  .mm-submenu a{padding-left:1rem;font-size:13.5px;color:rgba(255,255,255,.6);border-bottom:none;}
  .mobile-menu .mm-cta{margin-top:auto;margin-bottom:0;background:var(--gold)!important;color:var(--navy)!important;text-align:center;font-weight:600;border-radius:6px;padding:16px 20px!important;border-bottom:none!important;letter-spacing:.02em;}
}
@media(max-width:480px){
  .hdr{padding:0 1.125rem;height:68px;}
  .logo-wrap{max-width:260px;gap:10px;}
  .logo-wrap svg{width:22px;height:auto;flex-shrink:0;}
  .logo-text{min-width:0;}
  .logo-name{font-size:16px;}
  .logo-slogan{font-size:7px;letter-spacing:.12em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
  .mobile-menu-overlay,.mobile-menu{top:68px;}
  .mobile-menu{height:calc(100% - 68px);}
}
@media(max-width:560px){
  .ftr-g{grid-template-columns:1fr;gap:1.75rem;}
  .hero h1{font-size:29px;}
  .cta-f h2{font-size:27px;}
}
@media(prefers-reduced-motion:reduce){
  *{transition:none!important;transform:none!important;}
}
