/* =============================================================================
   EBRADI: Home de pós-graduações (posgraduacaoemdireito.com.br)
   Distribui o visitante para as três LPs. Usa os mesmos tokens, fonte,
   cabeçalho e rodapé das LPs para a passagem home > LP parecer o mesmo site.
   Mobile-first: a base é o celular, o desktop entra por media query.
   ============================================================================= */

:root {
  --navy-900:  #05111F;
  --navy-800:  #0D2034;
  --navy-700:  #0F1F30;

  --gold:      #CE9E58;
  --gold-2:    #E7C487;
  --gold-grad: linear-gradient(90deg, #CD9C56 0%, #E7C487 100%);

  --teal:  #5EC2D8;
  --green: #78E26F;

  --bege:     #F9F8F4;
  --gray-100: #EEEEEE;
  --gray-600: #707070;
  --blue-100: #D4E1F1;

  --footer-bot: #181F23;

  --f-h1:    clamp(2rem, 1.1rem + 2.6vw, 3.25rem);
  --f-h2:    clamp(1.55rem, 1.05rem + 2.1vw, 2.5rem);
  --f-lead:  clamp(1.02rem, 0.95rem + 0.45vw, 1.3rem);
  --f-body:  clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem);
  --f-small: clamp(0.8rem, 0.77rem + 0.15vw, 0.9375rem);

  --container: 1360px;
  --gutter: clamp(1rem, 4vw, 4rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 45px rgba(3, 12, 24, .14);
  --shadow-soft: 0 6px 20px rgba(3, 12, 24, .08);
  --header-h: 68px;
}

/* ------------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--f-body);
  line-height: 1.55;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 999;
  background: #fff; color: var(--navy-900); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ------------------------------ Layout ----------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 1080px; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--dark { background: var(--navy-900); color: #fff; }

.h2 { font-size: var(--f-h2); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .5em; }
.h2--navy  { color: var(--navy-800); }
.h2--light { color: #fff; }
.h2--center { text-align: center; }
.section__intro { text-align: center; color: var(--gray-600); max-width: 52ch; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section__intro--left { text-align: left; margin-left: 0; }

.pill {
  display: inline-block; background: var(--teal); color: #04121d;
  font-size: var(--f-small); font-weight: 600; letter-spacing: .02em;
  padding: .38em 1.15em; border-radius: 999px; margin-bottom: 1.1em;
}

/* ------------------------------ Botões ----------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  text-align: center; text-decoration: none; font-weight: 600; font-size: var(--f-small);
  line-height: 1.2; padding: .95em 1.7em; border: 0; border-radius: 999px; cursor: pointer;
  min-height: 44px; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-soft); filter: brightness(1.04); }
.btn--green { background: var(--green); color: #06210a; }
.btn--gold  { background: var(--gold-grad); color: #2a1d08; }
.btn--navy  { background: var(--navy-800); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn--sm    { padding: .65em 1.2em; }
.btn--block { width: 100%; }

/* ------------------------------ Header ----------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-700); min-height: var(--header-h);
  display: flex; align-items: center;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand__logo  { width: clamp(88px, 18vw, 124px); }
.brand__anos  { width: 30px; }
.brand__anima { width: 50px; }
.site-nav { display: none; }
.site-header__cta { font-size: .75rem; }

@media (min-width: 1024px) {
  .site-nav { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); margin-left: auto; margin-right: 1.5rem; }
  .site-nav a { color: #fff; text-decoration: none; font-size: .8125rem; font-weight: 500; }
  .site-nav a:hover { color: var(--gold-2); }
  .brand__anos  { width: 34px; }
  .brand__anima { width: 58px; }
}
@media (max-width: 400px) {
  .brand__anima { display: none; }
}

/* -------------------------------- Hero ----------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 130% at 86% 8%, #00335F 0%, #011B33 32%, #01070F 68%, #000103 100%),
    var(--navy-900);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.hero__grid { display: grid; gap: 2rem; align-items: end; }
.hero__title {
  font-size: var(--f-h1); text-transform: uppercase; letter-spacing: -.015em;
  margin-bottom: .55em; max-width: 17ch;
}
.hero__lead { font-size: var(--f-lead); font-weight: 500; color: rgba(255,255,255,.86); max-width: 40ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }

.hero__badges { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 520px; }
.hero__badges li { display: flex; flex-direction: column; gap: .25rem; padding-inline: .9rem; }
.hero__badges li:first-child { padding-left: 0; }
.hero__badges li + li { border-left: 1px solid rgba(255,255,255,.22); }
.hero__badges strong {
  font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__badges span { font-size: .75rem; color: rgba(255,255,255,.75); line-height: 1.3; }

/* Patronos em boxes separados. Mesma moldura, mesmo fundo e mesmo recorte
   (cabeça e ombros) para as três fotos parecerem da mesma série, mesmo vindo
   de ensaios diferentes. No celular ficam em linha, logo abaixo do texto. */
.patronos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.patrono {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: #fff;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(231,196,135,.35);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.patrono:hover { transform: translateY(-4px); border-color: var(--gold-2); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.patrono__foto {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: radial-gradient(90% 90% at 50% 100%, #2a4a70 0%, #0D2034 60%, #05111F 100%);
}
.patrono__foto img {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: auto; max-width: none;
}
/* Ajuste por foto: cada original tem escala diferente; aqui as cabeças
   ficam do mesmo tamanho e na mesma altura dentro do box. */
.patrono__foto--nucci img    { height: 100%; }
.patrono__foto--tartuce img  { height: 104%; }
.patrono__foto--theodoro img { height: 100%; }
.patrono__area {
  display: block; padding: .7rem .75rem 0;
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-2);
}
.patrono__nome { display: block; padding: .15rem .75rem .8rem; font-size: .75rem; font-weight: 600; line-height: 1.25; }

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
  .patrono__nome { font-size: .7rem; }
}

/* Desktop: texto à esquerda, os três boxes à direita */
@media (min-width: 1024px) {
  .hero { padding-block: clamp(3rem, 5vw, 4.5rem); }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .patronos { gap: 1rem; }
  .patrono__area { padding: 1rem 1rem 0; font-size: .7rem; }
  .patrono__nome { padding: .2rem 1rem 1.1rem; font-size: .9rem; }
}

/* ------------------------------ Cursos ----------------------------------- */
.cursos { background: var(--bege); }
.cursos__grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px)  { .cursos__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cursos__grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.curso {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.curso:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(3, 12, 24, .2); }

.curso__media {
  position: relative; height: 270px; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-end;
  background: radial-gradient(90% 100% at 50% 100%, #1d3a5c 0%, #0D2034 55%, #05111F 100%);
}
.curso__media::after {   /* degradê para o nome do patrono ficar legível */
  content: ""; position: absolute; inset: auto 0 0; height: 45%;
  background: linear-gradient(to top, rgba(5,17,31,.92), transparent);
}
.curso__media img { height: 100%; width: auto; max-width: none; position: relative; z-index: 0; }
.curso__media--penal img    { height: 96%; }
.curso__media--negocial img { height: 96%; }

.curso__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--gold-grad); color: #2a1d08;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .35em .9em; border-radius: 999px;
}
.curso__patrono {
  position: absolute; left: 1.25rem; bottom: .9rem; z-index: 2; margin: 0;
  color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.25;
}
.curso__patrono span {
  display: block; font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-2);
}

.curso__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.4rem 1.6rem; }
.curso__title { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); color: var(--navy-800); text-transform: uppercase; margin-bottom: .55em; }
.curso__lead  { font-size: var(--f-small); color: #333; margin-bottom: 1.1em; }

.curso__facts { font-size: .8125rem; color: #333; margin-bottom: 1.25rem; }
.curso__facts li { position: relative; padding-left: 1.35em; margin-bottom: .4em; }
.curso__facts li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .6em; height: .6em; border-radius: 50%; background: var(--gold);
}
.curso__facts b { color: var(--navy-800); }

.curso__preco {
  display: flex; flex-direction: column; margin-top: auto; margin-bottom: 1.1rem;
  padding-top: 1rem; border-top: 1px solid var(--gray-100);
}
.curso__a-partir { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600); }
.curso__parcela  { font-size: 1rem; color: var(--navy-800); }
.curso__parcela b { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.8rem); }
.curso__vista    { font-size: .8125rem; color: var(--gray-600); }

/* O card inteiro é clicável: o link do botão se estende sobre o card */
.curso__cta::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.curso__cta:focus-visible { outline-offset: 4px; }

/* -------------------------- Qual escolher -------------------------------- */
.escolha__lista { display: grid; gap: .9rem; }
.escolha__item {
  display: grid; gap: .3rem; text-decoration: none;
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  border: 1px solid #dde3ea; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.escolha__item:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.escolha__se     { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600); }
.escolha__perfil { font-weight: 600; color: #111; }
.escolha__curso  { font-weight: 700; color: #a87a35; font-size: var(--f-small); }
.escolha__curso i { font-style: normal; display: inline-block; transition: transform .18s ease; }
.escolha__item:hover .escolha__curso i { transform: translateX(4px); }

@media (min-width: 760px) {
  .escolha__item { grid-template-columns: 9rem 1fr auto; align-items: center; gap: 1.5rem; }
  .escolha__curso { text-align: right; }
}

/* --------------------------- Por que EBRADI ------------------------------ */
.porque { background:
  radial-gradient(80% 120% at 10% 0%, #0b2a4a 0%, transparent 60%), var(--navy-900); }
.porque__grid { display: grid; gap: 1.5rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 640px)  { .porque__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .porque__grid { grid-template-columns: repeat(4, 1fr); } }
.porque__grid li { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.porque__grid strong { display: block; font-size: 1.15rem; color: var(--gold-2); margin-bottom: .4em; }
.porque__grid p { color: var(--blue-100); font-size: var(--f-small); margin: 0; }

/* ----------------------------- Consultor --------------------------------- */
.consultor { background: var(--gold-grad); padding-block: clamp(2rem, 4vw, 3rem); }
.consultor__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.consultor__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); color: var(--navy-900); text-transform: uppercase; margin-bottom: .3em; }
.consultor p { margin: 0; color: #2a1d08; max-width: 60ch; font-size: var(--f-small); }
.consultor .btn--green { background: var(--navy-900); color: #fff; }
@media (max-width: 479px) { .consultor .btn { width: 100%; } }

/* -------------------------------- Footer --------------------------------- */
.site-footer { background: var(--footer-bot); color: rgba(255,255,255,.8); padding-top: clamp(2.5rem, 6vw, 4rem); font-size: .8125rem; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 640px)  { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__brand img { margin-bottom: 1rem; }
.site-footer__brand p { margin: 0 0 .4em; color: rgba(255,255,255,.62); }
.site-footer__brand a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer__brand a:hover { color: #fff; text-decoration: underline; }
.site-footer__fone a { font-size: 1rem; font-weight: 700; color: var(--teal); }
.social { display: flex; gap: .9rem; margin-top: 1.1rem; }
.social a { color: #fff; display: grid; place-content: center; width: 32px; height: 32px; }
.social a:hover { color: var(--teal); }
.site-footer__col h2 { color: var(--teal); font-size: .9375rem; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer__col li { margin-bottom: .55rem; }
.site-footer__col a { text-decoration: none; color: rgba(255,255,255,.8); }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between;
  margin-top: clamp(2rem, 5vw, 3rem); padding-block: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; color: rgba(255,255,255,.55);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { text-decoration: underline; }
