/* =========================================================
   OABeiros · PRÁTICA PENAL — Tema do curso
   Identidade visual baseada na capa do livro Editora Mizuno
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root{
  --red-deep: #5a0a0a;
  --red-dark: #8b0e0e;
  --red:      #c8102e;
  --red-bright:#e51b25;
  --red-light:#ff2a36;
  --black:    #0e0e10;
  --white:    #ffffff;
  --bone:     #f5f1ec;
  --gold:     #d4a548;
}
html { min-height: 100%; }
body{
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--white);
  background: var(--red-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--red-light); }

/* ============ TRIANGULAR PATTERN BACKGROUND ============ */
.geo-bg{
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    linear-gradient(135deg, var(--red-deep) 0%, var(--red-dark) 30%, var(--red) 60%, var(--red-bright) 100%);
}
.geo-bg svg{
  position:absolute; inset:0; width:100%; height:100%;
  opacity:.85;
  mix-blend-mode: screen;
}
.geo-bg::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,80,80,.35), transparent 55%),
              radial-gradient(ellipse at 80% 90%, rgba(0,0,0,.55), transparent 60%);
  pointer-events:none;
}

/* ============ NAVBAR ============ */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 50;
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 48px;
  background: linear-gradient(180deg, rgba(14,14,16,.85), rgba(14,14,16,0));
  backdrop-filter: blur(8px);
}
.nav .brand{
  font-family:'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: .12em;
  color: var(--white);
}
.nav .brand span{ color: var(--red-light); }
.nav ul{ list-style:none; display:flex; gap: 32px; }
.nav ul a{
  font-size: 13px; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  color: rgba(255,255,255,.85); transition: color .2s;
}
.nav ul a:hover{ color: var(--white); }
.nav .cta{
  padding: 11px 22px; border:1px solid var(--white); border-radius: 999px;
  font-size: 12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  transition: all .25s ease;
}
.nav .cta:hover{ background:var(--white); color: var(--red-deep); }

/* ============ HERO ============ */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex; align-items:center;
  padding: 120px 48px 80px;
  isolation: isolate;
}
.hero-inner{
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items:center;
}

.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 16px; background: var(--white); color: var(--black);
  border-radius: 4px; font-family:'Barlow Condensed', sans-serif;
  font-weight:700; letter-spacing:.18em; text-transform:uppercase; font-size:13px;
}
.badge .dot{ width:8px; height:8px; background: var(--red-bright); border-radius:50%; }

.hand-script{
  font-family:'Caveat', cursive; font-size: 38px; color: var(--white);
  margin: 22px 0 -8px; line-height:1;
  transform: rotate(-3deg);
  text-shadow: 2px 4px 0 rgba(0,0,0,.25);
}

.title-stack{ margin-top: 10px; }
.title-stack .pratica{
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: clamp(64px, 9vw, 130px);
  line-height: .85;
  letter-spacing: -.02em;
  color: var(--white);
  text-shadow: 4px 6px 0 rgba(0,0,0,.18);
}
.title-stack .penal{
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(110px, 18vw, 240px);
  line-height: .82;
  letter-spacing: -.04em;
  color: var(--white);
  text-shadow: 6px 8px 0 rgba(0,0,0,.22);
  margin-top: -6px;
}
.title-stack .course-sub{
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .35em;
  color: var(--white);
  margin-top: 14px; padding-top: 14px;
  border-top: 2px solid rgba(255,255,255,.55);
  display: inline-block;
}

.hero-lead{
  font-family:'Inter', sans-serif; font-weight: 300;
  font-size: 18px; line-height: 1.6; max-width: 560px;
  color: rgba(255,255,255,.92);
  margin-top: 22px;
}
.hero-lead b{ font-weight: 600; color: var(--white); }

.meta-row{
  display:flex; flex-wrap:wrap; align-items:center; gap: 18px 28px;
  margin-top: 28px;
  font-family:'Barlow Condensed', sans-serif;
}
.edition-stamp{
  width: 110px; height: 110px;
  border: 2px solid var(--white); border-radius: 50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; transform: rotate(-7deg);
  background: rgba(0,0,0,.18);
}
.edition-stamp .num{
  font-family:'Barlow Condensed', sans-serif; font-weight:900; font-size: 36px; line-height:1;
}
.edition-stamp .label{
  font-size: 11px; letter-spacing:.18em; text-transform:uppercase; margin-top:4px;
}
.edition-stamp .sub{
  font-size: 8px; letter-spacing:.18em; opacity:.85; margin-top:6px; max-width:90px;
}
.authors{
  display:flex; flex-direction:column; gap: 4px; padding-left: 24px;
  border-left: 2px solid var(--white);
}
.authors .org{
  font-size: 12px; letter-spacing:.25em; text-transform:uppercase;
  color: var(--white); opacity:.85; font-family:'Inter', sans-serif; font-weight:500;
}
.authors .org-name{
  font-family:'Barlow Condensed', sans-serif; font-weight:700; font-size: 26px; color: var(--white);
}
.authors .list{
  font-family:'Inter', sans-serif; font-weight:300; font-size: 14px; line-height:1.55;
  color: rgba(255,255,255,.92); margin-top:4px;
}
.authors .list b{ font-weight:600; }

.hero-cta-row{ display:flex; gap:14px; margin-top: 36px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 16px 28px; border-radius: 6px;
  font-family:'Barlow Condensed', sans-serif; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; font-size:14px;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  border: none;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--white); color: var(--red-deep);
  box-shadow: 0 6px 0 rgba(0,0,0,.25);
}
.btn-primary:hover{ box-shadow: 0 9px 0 rgba(0,0,0,.25); }
.btn-ghost{
  background: transparent; color: var(--white); border: 2px solid var(--white);
}
.btn-ghost:hover{ background: var(--white); color: var(--red-deep); }
.btn-lg{ padding: 22px 38px; font-size: 16px; }

.hero-microproof{
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,.75);
}
.hero-microproof span:first-child{ color: var(--gold); letter-spacing: 2px; }
.hero-microproof b{ color: var(--white); font-weight: 600; }

/* ============ HERO RIGHT ============ */
.completaco-block{
  position: relative;
  background: var(--bone);
  color: var(--black);
  padding: 36px 28px 32px;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.25);
  transform: rotate(2deg);
}
.completaco-block .passe-na{
  font-family:'Caveat', cursive; font-size: 30px; color: var(--red-deep);
  transform: rotate(-3deg); display:inline-block;
}
.completaco-block .oab{
  font-family:'Bebas Neue', sans-serif; font-size: 92px; line-height:.85;
  color: var(--black); letter-spacing:-.02em; margin-top:8px;
}
.completaco-block .fase{
  display:flex; align-items:flex-end; gap: 8px;
  font-family:'Barlow Condensed', sans-serif; font-weight:700;
  font-size: 28px; letter-spacing:.12em; color: var(--black);
}
.completaco-block .fase .num{
  font-size: 36px; font-weight:900;
  background: var(--black); color: var(--white); padding: 2px 10px;
}
.completaco-block .completaco{
  margin-top: 24px;
  background: var(--red-bright); color: var(--white);
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 32px; letter-spacing:.04em;
  padding: 6px 14px;
  display:inline-block;
  box-shadow: 4px 4px 0 var(--black);
  transform: rotate(-1.5deg);
}

.quem-estuda{
  display:inline-flex; align-items:center; justify-content:center;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--white); border: 3px solid var(--black);
  text-align:center; font-family:'Barlow Condensed', sans-serif;
  font-weight: 800; line-height:1; color: var(--black);
  transform: rotate(-8deg);
  position: absolute; right: -18px; bottom: -22px;
  font-size: 13px; padding: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.quem-estuda b{ display:block; font-size: 22px; margin: 2px 0; }

/* ============ SECTIONS ============ */
section{ position: relative; padding: 110px 48px; }
.container{ max-width: 1280px; margin: 0 auto; position:relative; z-index: 2;}

.section-title{
  font-family:'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(48px, 6.5vw, 92px);
  line-height: .9; letter-spacing:-.03em; text-transform: uppercase;
}
.section-eyebrow{
  font-family:'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: .3em; text-transform:uppercase;
  color: var(--red-light); margin-bottom: 18px;
  display:flex; align-items:center; gap: 14px;
}
.section-eyebrow::before{
  content:""; width: 36px; height: 2px; background: var(--red-light); display:inline-block;
}

/* ============ PROMISE ============ */
.promise{
  background: var(--bone);
  color: var(--black);
}
.promise .section-eyebrow{ color: var(--red); }
.promise .section-eyebrow::before{ background: var(--red); }
.promise .section-title{ color: var(--black); }
.promise-grid{
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.promise-card{
  padding: 36px 32px;
  background: var(--white);
  border-radius: 4px;
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
  position: relative;
  transition: transform .3s ease;
}
.promise-card:hover{ transform: translateY(-4px); }
.promise-icon{
  font-family:'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px;
  color: var(--red); letter-spacing: .25em;
  margin-bottom: 16px;
}
.promise-card h3{
  font-family:'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 28px;
  line-height: 1.05; letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 14px; color: var(--black);
}
.promise-card p{
  font-family:'Inter', sans-serif; font-size: 15px;
  line-height: 1.65; color: #2a2a2a;
}

/* ============ FEATURES (módulos) ============ */
.features{ background: var(--black); color: var(--white); overflow:hidden; }
.features::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(60deg, transparent 49.5%, rgba(255,42,54,.07) 50%, transparent 50.5%),
    linear-gradient(120deg, transparent 49.5%, rgba(255,42,54,.05) 50%, transparent 50.5%);
  background-size: 60px 60px;
  z-index:1;
}
.features .head{ display:flex; justify-content:space-between; align-items:flex-end; gap: 32px; flex-wrap:wrap; margin-bottom: 64px;}
.features .head p{ max-width: 380px; color: rgba(255,255,255,.7); font-size: 16px; line-height:1.6; }
.features-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 32px 28px;
  border-radius: 4px;
  transition: all .3s ease;
  position: relative; overflow:hidden;
}
.feature:hover{ background: var(--red-deep); border-color: var(--red-bright); transform: translateY(-4px); }
.feature .num{
  font-family:'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing:.3em; color: var(--red-light); margin-bottom: 18px; text-transform: uppercase;
}
.feature h3{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 26px; line-height: 1.05; letter-spacing:-.01em; text-transform: uppercase;
  margin-bottom: 12px;
}
.feature p{ font-size: 14px; line-height:1.6; color: rgba(255,255,255,.65); }
.feature-highlight{
  background: var(--red-bright); border-color: var(--red-light);
}
.feature-highlight .num{ color: rgba(255,255,255,.85); }
.feature-highlight h3{ color: var(--white); }
.feature-highlight p{ color: rgba(255,255,255,.92); }

/* ============ TEACHER ============ */
.teacher{
  background: var(--bone);
  color: var(--black);
}
.teacher-grid{
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center;
}
.teacher-portrait{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--red-dark), var(--red-bright));
  box-shadow: 0 30px 80px rgba(90,10,10,.45);
  overflow: hidden;
}
.teacher-portrait::after{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(135deg, transparent 49.5%, rgba(255,255,255,.08) 50%, transparent 50.5%);
  background-size: 40px 40px;
  pointer-events:none;
}
.teacher-portrait-inner{
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
}
.teacher-silhouette{
  width: 75%; height: 90%;
  background: linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.08) 100%);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  position: relative;
}
.teacher-silhouette::before{
  content: ""; position: absolute; left: 50%; top: 18%;
  transform: translateX(-50%);
  width: 38%; height: 28%;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  filter: blur(2px);
}
.teacher-stamp{
  position: absolute; right: -20px; bottom: 36px;
  width: 110px; height: 110px;
  background: var(--white); color: var(--red-deep);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  transform: rotate(-8deg);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.teacher-stamp span{ font-size: 36px; line-height: 1; }
.teacher-stamp small{ font-size: 11px; letter-spacing: .25em; margin-top: 2px; }

.teacher-copy .section-eyebrow{ color: var(--red); }
.teacher-copy .section-eyebrow::before{ background: var(--red); }
.teacher-copy .section-title{ color: var(--black); }
.teacher-lead{
  font-family:'Inter', sans-serif; font-weight: 300;
  font-size: 18px; line-height: 1.7; margin-top: 24px; color: #2a2a2a;
}
.teacher-lead b{ font-weight: 600; color: var(--black); }
.teacher-bullets{
  list-style: none; margin-top: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.teacher-bullets li{
  font-family:'Inter', sans-serif; font-size: 15px; color: #1a1a1a;
  padding-left: 22px; position: relative;
}
.teacher-bullets li::before{
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 2px; background: var(--red);
}

/* ============ AUTHORS / PROVA SOCIAL ============ */
.authors-section{ background: var(--white); color: var(--black); }
.authors-section .section-eyebrow{ color: var(--red); }
.authors-section .section-eyebrow::before{ background: var(--red); }
.authors-section .section-title{ color: var(--black); }
.authors-lead{
  font-family:'Inter', sans-serif; font-weight: 300;
  font-size: 18px; line-height: 1.65; max-width: 740px;
  margin-top: 22px; color: #2a2a2a;
}
.authors-lead em{ color: var(--red); font-style: italic; }
.authors-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.author-card{ text-align: center; position: relative; }
.author-portrait{
  aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red-bright));
  margin: 0 auto 18px; max-width: 180px;
  display:flex; align-items:flex-end; justify-content:center;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(140,15,15,.35);
  position: relative;
}
.author-portrait .silhouette{
  width: 80%; height: 92%;
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.05));
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
}
.author-portrait::after{
  content:""; position: absolute; left:0; right:0; top: 25%; height: 24%;
  background: rgba(255,255,255,.15); border-radius: 50%;
  filter: blur(2px);
}
.author-card h3{ font-family:'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; letter-spacing:.02em; }
.author-card .role{
  font-family:'Inter', sans-serif; font-size: 12px; letter-spacing:.2em; text-transform:uppercase;
  color: var(--red); margin-top: 6px;
}
.author-card-leo .author-portrait{
  border: 4px solid var(--black);
  box-shadow: 0 0 0 8px rgba(229,27,37,.15), 0 18px 40px rgba(140,15,15,.45);
}
.author-tag{
  display: inline-block; margin-top: 10px;
  background: var(--black); color: var(--white);
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .2em; padding: 4px 10px;
}

/* ============ ABOUT (livro como bônus) ============ */
.about{ background: var(--bone); color: var(--black); }
.about .grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.about .section-title{ color: var(--black); }
.about .section-eyebrow{ color: var(--red); }
.about .section-eyebrow::before{ background: var(--red); }
.about .lead{
  font-family:'Inter', sans-serif; font-weight:300;
  font-size: 17px; line-height: 1.7; margin-top: 16px;
  color: #2a2a2a;
}
.about .lead b{ font-weight: 600; color: var(--black); }
.about-bullets{ list-style:none; margin-top: 28px; display:flex; flex-direction:column; gap:14px; }
.about-bullets li{
  display:flex; gap: 14px; align-items:flex-start;
  font-size: 16px; line-height:1.5; color: #1a1a1a;
}
.about-bullets svg{ flex:none; margin-top: 4px; }

.book-card{
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--red-dark), var(--red), var(--red-bright));
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(90,10,10,.45);
  overflow: hidden;
  display:flex; flex-direction:column; justify-content:space-between;
  padding: 36px 32px;
  transform: perspective(1200px) rotateY(6deg) rotateX(2deg);
  transition: transform .6s ease;
}
.book-card:hover{ transform: perspective(1200px) rotateY(2deg) rotateX(0deg); }
.book-card::before{
  content:""; position:absolute; right:0; top:0; bottom:0; width: 16px;
  background: linear-gradient(270deg, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.book-card svg{ position:absolute; inset:0; width:100%; height:100%; opacity:.6; mix-blend-mode: screen; pointer-events:none; }
.book-card .top h4{
  font-family:'Caveat', cursive; font-size: 26px; color:#fff; margin-bottom: 4px; transform: rotate(-3deg);
}
.book-card .top h2{
  font-family:'Bebas Neue', sans-serif; font-size: 70px; color:#fff; line-height:.85; letter-spacing:-.02em;
}
.book-card .top h3{
  font-family:'Barlow Condensed', sans-serif; font-weight:700; font-size: 18px; color:#fff;
  letter-spacing:.16em; margin-top:6px;
}
.book-card .bottom h1{
  font-family:'Barlow Condensed', sans-serif; font-weight:300; font-size: 56px; color:#fff; line-height:.85;
}
.book-card .bottom h1 b{ display:block; font-weight:900; font-size: 96px; letter-spacing:-.04em; margin-top: 6px; }
.book-card .completaco{
  align-self:flex-start;
  background: var(--white); color: var(--red-deep);
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 22px; letter-spacing:.04em; padding: 4px 10px;
  box-shadow: 3px 3px 0 var(--black);
}

.book-cover-open{
  margin: 0;
  border-radius: 6px;
  background: #2a0708;
  box-shadow: 0 30px 80px rgba(90,10,10,.45);
  overflow: hidden;
  transform: perspective(1200px) rotateY(4deg) rotateX(1deg);
}
.book-cover-open img{
  display: block;
  width: 100%;
  height: auto;
}
.book-cover-open-hero{
  min-width: min(720px, 48vw);
}

/* ============ PRICING ============ */
.pricing{
  background: var(--black); color: var(--white);
  position: relative; overflow: hidden;
}
.pricing::before{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(60deg, transparent 49.5%, rgba(255,42,54,.08) 50%, transparent 50.5%);
  background-size: 60px 60px;
  z-index: 0;
}
.pricing .section-eyebrow{ color: var(--red-light); justify-content: center; }
.pricing .section-eyebrow::before{ background: var(--red-light); }
.price-card{
  margin: 56px auto 0; max-width: 580px;
  background: var(--white); color: var(--black);
  border-radius: 6px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(229,27,37,.5);
  position: relative;
}
.price-card-tag{
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--red-bright); color: var(--white);
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  padding: 8px 22px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(229,27,37,.4);
}
.price-card-title{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 38px; line-height: 1; letter-spacing: -.02em;
  text-transform: uppercase; margin-bottom: 28px;
}
.price-card-list{
  list-style: none; text-align: left;
  display: flex; flex-direction: column; gap: 12px;
  margin: 0 auto 36px; max-width: 360px;
  font-family:'Inter', sans-serif; font-size: 15px;
  color: #1a1a1a;
}
.price-card-list li{ line-height: 1.45; }
.price-amount{
  border-top: 2px solid #eee; border-bottom: 2px solid #eee;
  padding: 24px 0; margin-bottom: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.price-amount .from{
  font-family:'Inter', sans-serif; font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: #777;
}
.price-amount .value{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 86px; line-height: 1; color: var(--red);
  letter-spacing: -.04em;
}
.price-amount .value sup{
  font-size: 26px; font-weight: 700; vertical-align: super;
  color: var(--black); margin-right: 6px;
}
.price-amount .value sup:last-of-type{
  font-size: 22px; vertical-align: super; color: var(--red); margin-right: 0;
}
.price-amount .cash{
  font-family:'Inter', sans-serif; font-size: 14px;
  color: #555; margin-top: 4px;
}
.price-guarantee{
  margin-top: 18px;
  font-family:'Inter', sans-serif; font-size: 12px;
  color: #777; letter-spacing: .05em;
}

/* ============ FAQ ============ */
.faq{ background: var(--bone); color: var(--black); }
.faq .section-eyebrow{ color: var(--red); }
.faq .section-eyebrow::before{ background: var(--red); }
.faq .section-title{ color: var(--black); }
.faq-grid{
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px;
  max-width: 1080px;
}
.faq details{
  background: var(--white);
  border: 1px solid #e6e1da;
  border-radius: 4px;
  padding: 22px 26px;
  transition: border-color .3s ease;
}
.faq details[open]{ border-color: var(--red); }
.faq summary{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: .01em;
  color: var(--black); cursor: pointer; line-height: 1.3;
  list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "+"; position: absolute; right: 0; top: -2px;
  font-size: 26px; font-weight: 300; color: var(--red);
  transition: transform .3s ease;
}
.faq details[open] summary::after{ content: "−"; }
.faq details p{
  margin-top: 14px;
  font-family:'Inter', sans-serif; font-size: 15px; line-height: 1.6;
  color: #2a2a2a;
}

/* ============ CTA ============ */
.cta-band{
  background: var(--red-bright);
  color: var(--white);
  text-align:center;
  padding: 110px 48px;
  position: relative; overflow:hidden;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(60deg, rgba(0,0,0,.18) 25%, transparent 25.5%, transparent 49.5%, rgba(0,0,0,.18) 50%, rgba(0,0,0,.18) 74.5%, transparent 75%);
  background-size: 90px 90px;
  opacity:.5;
}
.cta-band > *{ position: relative; z-index:2; }
.cta-band .scribble{
  font-family:'Caveat', cursive; font-size: 36px; transform: rotate(-3deg); display:inline-block; margin-bottom: 12px;
}
.cta-band h2{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(48px, 7vw, 96px); line-height:.9; letter-spacing:-.03em; text-transform:uppercase;
  margin-bottom: 18px;
  text-shadow: 5px 6px 0 rgba(0,0,0,.18);
}
.cta-band p{ max-width: 620px; margin: 0 auto 36px; font-size: 18px; line-height:1.55; opacity:.95; }
.cta-band .btn-primary{ background: var(--black); color: var(--white); }
.cta-band .btn-primary:hover{ background: var(--white); color: var(--red-deep); }

/* ============ FOOTER ============ */
.site-footer{ background: var(--black); color: rgba(255,255,255,.7); padding: 80px 48px 40px; }
.foot-grid{ max-width: 1280px; margin: 0 auto; display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.foot-grid h4{
  font-family:'Barlow Condensed', sans-serif; font-weight:700;
  font-size: 14px; letter-spacing:.18em; text-transform:uppercase;
  color: var(--white); margin-bottom: 18px;
}
.foot-grid ul{ list-style:none; display:flex; flex-direction:column; gap:10px; font-size: 14px;}
.foot-grid a:hover{ color: var(--red-light); }
.foot-brand .logo{
  font-family:'Bebas Neue', sans-serif; font-size: 32px; letter-spacing:.04em; color: var(--white);
  margin-bottom: 12px;
}
.foot-brand .logo span{ color: var(--red-light); }
.foot-brand p{ font-size: 14px; line-height: 1.65; max-width: 320px; }
.foot-bottom{
  max-width:1280px; margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 12px;
  font-size: 12px; letter-spacing:.06em; color: rgba(255,255,255,.45);
}

/* ============ PORTAL HERO ============ */
.portal-hero{
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  padding: 140px 48px 90px;
  isolation: isolate;
}
.portal-hero-inner{
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.portal-hero-inner .badge{ margin-bottom: 22px; }
.portal-hero-inner .hand-script{
  display: inline-block;
  font-family:'Caveat', cursive; font-size: 38px; color: var(--white);
  margin-bottom: 6px; line-height:1;
  transform: rotate(-2deg);
  text-shadow: 2px 4px 0 rgba(0,0,0,.25);
}
.portal-title{ display: flex; flex-direction: column; align-items: center; line-height:.9; }
.portal-title-pre{
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 110px);
  letter-spacing: -.01em;
  color: var(--white);
}
.portal-title-main{
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(110px, 18vw, 240px);
  letter-spacing: -.04em;
  color: var(--white);
  text-shadow: 6px 8px 0 rgba(0,0,0,.22);
}
.portal-title-sub{
  font-family:'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: .35em;
  color: var(--white);
  margin-top: 14px; padding-top: 14px;
  border-top: 2px solid rgba(255,255,255,.55);
  display: inline-block;
}
.portal-lead{
  font-family:'Inter', sans-serif; font-weight: 300;
  font-size: 19px; line-height: 1.65; max-width: 720px;
  margin: 28px auto 0; color: rgba(255,255,255,.92);
}
.portal-lead em{ color: var(--white); font-style: italic; opacity: .9; }
.portal-hero-cta{
  margin-top: 40px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ============ HUB CARDS ============ */
.hub{ background: var(--bone); color: var(--black); }
.hub .section-eyebrow{ color: var(--red); }
.hub .section-eyebrow::before{ background: var(--red); }
.hub .section-title{ color: var(--black); }
.hub-grid{
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.hub-card{
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px 28px;
  background: var(--white);
  border-radius: 4px;
  border-top: 4px solid var(--red);
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
  color: inherit;
}
.hub-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.10);
  border-color: var(--red-bright);
}
.hub-card-tag{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red); margin-bottom: 4px;
}
.hub-card h3{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 30px; line-height: 1; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--black);
}
.hub-card p{
  font-family:'Inter', sans-serif; font-size: 14px; line-height: 1.6;
  color: #2a2a2a; flex: 1;
}
.hub-card-cta{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-top: 8px;
}
.hub-card-feat{
  grid-column: span 2;
  background: linear-gradient(135deg, var(--red-deep), var(--red-bright));
  border-top-color: var(--black);
  color: var(--white);
}
.hub-card-feat::before{
  content:""; position: absolute; inset: 0;
  background-image: linear-gradient(60deg, transparent 49.5%, rgba(255,255,255,.06) 50%, transparent 50.5%);
  background-size: 60px 60px;
  pointer-events: none;
}
.hub-card-feat *{ position: relative; z-index: 1; }
.hub-card-feat .hub-card-tag{ color: rgba(255,255,255,.85); }
.hub-card-feat h3{ color: var(--white); font-size: 44px; }
.hub-card-feat p{ color: rgba(255,255,255,.92); font-size: 15px; }
.hub-card-feat .hub-card-cta{ color: var(--white); }
.hub-card-aluno{
  background: var(--black); color: var(--white);
  border-top-color: var(--red-bright);
}
.hub-card-aluno h3{ color: var(--white); }
.hub-card-aluno p{ color: rgba(255,255,255,.7); }
.hub-card-aluno .hub-card-tag{ color: var(--red-light); }
.hub-card-aluno .hub-card-cta{ color: var(--red-light); }

/* ============ AGENDA / TIMELINE ============ */
.agenda{ background: var(--black); color: var(--white); }
.agenda .section-eyebrow{ color: var(--red-light); }
.agenda .section-eyebrow::before{ background: var(--red-light); }
.agenda-track{
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
.agenda-track::before{
  content:""; position: absolute; left: 24px; right: 24px; top: 32px;
  height: 2px; background: linear-gradient(90deg, var(--red-deep), var(--red-bright), var(--red-deep));
  z-index: 0;
}
.agenda-step{
  position: relative; z-index: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 32px 28px 28px;
  text-align: left;
}
.agenda-step::before{
  content:""; display: block;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--red);
  margin: -8px 0 14px;
}
.agenda-step-active{
  background: var(--red-deep);
  border-color: var(--red-bright);
}
.agenda-step-active::before{ background: var(--red-bright); border-color: var(--white); }
.agenda-date{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red-light); margin-bottom: 8px;
}
.agenda-step h3{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 28px; line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--white); margin-bottom: 10px;
}
.agenda-step p{
  font-family:'Inter', sans-serif; font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,.75);
}
.agenda-cta{ text-align: center; margin-top: 56px; }

/* ============ HERO COMPACT (subpáginas) ============ */
.hero-compact{
  min-height: 60vh;
  padding: 130px 48px 60px;
}
.hero-single{
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 920px; margin: 0 auto;
}
.hero-single .badge{ margin: 0 auto; }
.hero-single .title-stack{ margin: 18px auto 0; }
.hero-single .title-stack .pratica{
  font-size: clamp(48px, 7vw, 92px);
}
.hero-single .title-stack .penal{
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: clamp(52px, 9vw, 118px);
  line-height: .9;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  letter-spacing: 0;
}
.hero-single .hero-lead{ margin: 22px auto 0; max-width: 640px; }

/* ============ LEADMAGNET ============ */
.leadmagnet{ background: var(--bone); color: var(--black); }
.leadmagnet-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.leadmagnet-copy .section-eyebrow{ color: var(--red); }
.leadmagnet-copy .section-eyebrow::before{ background: var(--red); }
.leadmagnet-copy .section-title{ color: var(--black); }
.leadmagnet-card{
  background: var(--black); color: var(--white);
  border-radius: 6px;
  padding: 44px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(229,27,37,.45);
  position: relative;
}
.leadmagnet-card-tag{
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--red-bright); color: var(--white);
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  padding: 8px 22px; border-radius: 999px;
}
.leadmagnet-card h3{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 36px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  margin-bottom: 12px; text-align: center;
}
.leadmagnet-card > p{
  font-family:'Inter', sans-serif; font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,.8); text-align: center; margin-bottom: 28px;
}
.leadmagnet-fields{ display: flex; flex-direction: column; gap: 14px; }
.leadmagnet-fields label{ display: flex; flex-direction: column; gap: 6px; }
.leadmagnet-fields label span{
  font-family:'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.leadmagnet-fields input{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px; padding: 14px 16px;
  color: var(--white); font-family:'Inter', sans-serif; font-size: 15px;
  transition: border-color .2s;
}
.leadmagnet-fields input:focus{ outline: none; border-color: var(--red-bright); }
.leadmagnet-fields .btn{ justify-content: center; margin-top: 6px; }
.leadmagnet-disclaimer{
  margin-top: 14px;
  font-family:'Inter', sans-serif; font-size: 11px; letter-spacing: .04em;
  color: rgba(255,255,255,.5); text-align: center;
}

.features-light{ background: var(--bone); color: var(--black); }
.features-light::before{ display: none; }
.features-light .head h2{ color: var(--black); }
.features-light .head p{ color: #2a2a2a; }
.features-light .feature{
  background: var(--white);
  border: 1px solid #e6e1da;
  color: var(--black);
}
.features-light .feature h3{ color: var(--black); }
.features-light .feature p{ color: #2a2a2a; }
.features-light .feature .num{ color: var(--red); }
.features-light .feature:hover{
  background: var(--red-deep); border-color: var(--red-bright); color: var(--white);
}
.features-light .feature:hover h3{ color: var(--white); }
.features-light .feature:hover p{ color: rgba(255,255,255,.92); }
.features-light .feature:hover .num{ color: var(--red-light); }
.feature-cta{
  display: inline-block; margin-top: 12px;
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
}
.section-eyebrow-light{ color: var(--red) !important; }
.section-eyebrow-light::before{ background: var(--red) !important; }

/* ============ FICHA TÉCNICA ============ */
.ficha-grid{
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.ficha-item{
  padding: 22px 24px;
  background: var(--white);
  border-radius: 4px;
  border-left: 3px solid var(--red);
}
.ficha-label{
  font-family:'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px;
}
.ficha-value{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 18px; line-height: 1.3; color: var(--black);
}

/* ============ PEÇA INDIVIDUAL ============ */
.peca-content{ background: var(--bone); color: var(--black); }
.peca-content-grid{ display: grid; grid-template-columns: 1.5fr .8fr; gap: 56px; align-items: start; }
.peca-body{
  background: var(--white);
  border-radius: 4px;
  padding: 56px 52px;
  font-family:'Inter', sans-serif; font-size: 17.5px; line-height: 1.82;
  color: #1a1a1a;
  box-shadow: 0 18px 60px rgba(35, 16, 16, .08);
}
.peca-body h2{
  position: relative;
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(30px, 4vw, 42px); line-height: .95; letter-spacing: 0; text-transform: uppercase;
  margin: 46px 0 22px; color: var(--black);
  padding: 0 0 16px 18px;
  border-bottom: 1px solid #eadfda;
}
.peca-body h2::before{
  content:"";
  position: absolute;
  left: 0;
  top: 3px;
  width: 6px;
  height: calc(100% - 20px);
  min-height: 28px;
  background: var(--red);
  border-radius: 999px;
}
.peca-body h3{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 24px; line-height: 1.1; letter-spacing: 0;
  margin: 32px 0 12px; color: var(--red);
}
.peca-body p{
  margin: 0 0 18px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}
.peca-body h2 + p,
.peca-body h3 + p{
  margin-top: 0;
}
.peca-body ul,
.peca-body ol{
  margin: 22px 0 24px;
  padding: 20px 24px 18px 34px;
  background: #fbf8f5;
  border-left: 4px solid var(--red);
  border-radius: 4px;
}
.peca-body li{
  margin-bottom: 10px;
  padding-left: 4px;
  text-align: justify;
  hyphens: auto;
}
.peca-body li::marker{ color: var(--red); font-weight: 800; }
.peca-body strong{
  color: var(--black);
  font-weight: 800;
  background: linear-gradient(180deg, transparent 58%, rgba(237, 28, 36, .18) 58%);
  padding: 0 .08em;
}
.peca-body em{ color: var(--red-deep); font-style: italic; font-weight: 600; }

.legal-ref{
  display: inline-block;
  vertical-align: baseline;
  padding: 0 .38em;
  margin: 0 .05em;
  border: 1px solid rgba(198, 16, 46, .22);
  border-radius: 4px;
  background: #fff1f1;
  color: #8e1020;
  font-weight: 800;
  font-size: .92em;
  line-height: 1.45;
  white-space: nowrap;
}

.editorial-marker{
  display: inline-block;
  margin-right: .4em;
  padding: .12em .48em;
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
  font-family:'Barlow Condensed', sans-serif;
  font-size: 1.12em;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.update-note{
  margin: 34px 0;
  padding: 26px 28px;
  border-left: 5px solid var(--red);
  background: linear-gradient(135deg, #fff7f7, #fffdfb);
  box-shadow: inset 0 0 0 1px rgba(198,16,46,.08);
  color: #241010;
  border-radius: 4px;
}
.update-note h2{ margin-top: 0; }

.peca-zone-free{ position: relative; }
.peca-zone-locked-wrap{
  position: relative; margin-top: 32px;
  border-top: 4px solid var(--red);
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
}
.peca-zone-locked-blur{
  filter: blur(7px); opacity: .55;
  pointer-events: none; user-select: none;
  padding: 48px 44px 80px;
  background: var(--white);
  max-height: 480px; overflow: hidden;
  position: relative;
  font-family:'Inter', sans-serif; font-size: 17px; line-height: 1.7;
}
.peca-zone-locked-blur::after{
  content:""; position: absolute; left:0; right:0; bottom:0; height: 200px;
  background: linear-gradient(180deg, transparent, var(--white));
}
.peca-zone-paywall{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(245,241,236,.4), rgba(245,241,236,.95) 30%);
  z-index: 2;
}
.paywall-icon{
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 14px 40px rgba(200,16,46,.4);
}
.peca-zone-paywall h3{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 36px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--black); margin-bottom: 14px;
}
.peca-zone-paywall p{
  font-family:'Inter', sans-serif; font-size: 16px; line-height: 1.6;
  color: #2a2a2a; max-width: 520px; margin-bottom: 24px;
  text-align: center;
  hyphens: none;
}
.peca-zone-paywall p b{ color: var(--black); font-weight: 600; }
.peca-zone-paywall .btn{ margin-top: 4px; }
.paywall-disclaimer{
  margin-top: 18px !important;
  font-size: 13px !important;
  color: #777 !important;
}
.paywall-disclaimer a{ color: var(--red); font-weight: 600; }

.peca-aside{ position: sticky; top: 90px; display: flex; flex-direction: column; gap: 24px; }
.peca-aside-card{
  background: var(--black); color: var(--white);
  border-radius: 6px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.peca-aside-card h3{
  font-family:'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 28px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
  margin: 16px 0 4px;
}
.peca-aside-card .price-card-list{ color: rgba(255,255,255,.92); text-align: left; }
.peca-aside-link{
  background: var(--white);
  border-radius: 4px;
  padding: 24px;
}
.peca-aside-link h4{
  font-family:'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.peca-aside-link ul{ list-style: none; display: flex; flex-direction: column; gap: 8px; }
.peca-aside-link a{
  font-family:'Inter', sans-serif; font-size: 14px;
  color: #2a2a2a; transition: color .2s;
}
.peca-aside-link a:hover{ color: var(--red); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .hero{ padding: 110px 24px 60px; }
  .hero-inner{ grid-template-columns: 1fr; gap: 60px; }
  .completaco-block{ max-width: 380px; margin: 0 auto; }
  .nav{ padding: 14px 20px; }
  .nav ul{ display:none; }
  section{ padding: 80px 24px; }
  .promise-grid{ grid-template-columns: 1fr; }
  .features-grid{ grid-template-columns: 1fr; }
  .teacher-grid{ grid-template-columns: 1fr; gap: 48px; }
  .teacher-portrait{ max-width: 360px; margin: 0 auto; }
  .authors-grid{ grid-template-columns: repeat(2, 1fr); }
  .about .grid{ grid-template-columns: 1fr; gap: 48px; }
  .book-cover-open,
  .book-cover-open-hero{
    min-width: 0;
    transform: none;
  }
  .faq-grid{ grid-template-columns: 1fr; }
  .foot-grid{ grid-template-columns: 1fr 1fr; }
  .site-footer{ padding: 60px 24px 30px; }
  .cta-band{ padding: 80px 24px; }
  .price-card{ padding: 48px 28px; }
  .price-amount .value{ font-size: 64px; }
  .portal-hero{ padding: 110px 24px 60px; }
  .hub-grid{ grid-template-columns: 1fr; }
  .hub-card-feat{ grid-column: span 1; }
  .agenda-track{ grid-template-columns: 1fr; }
  .agenda-track::before{ display: none; }
  .leadmagnet-grid{ grid-template-columns: 1fr; gap: 40px; }
  .ficha-grid{ grid-template-columns: 1fr; }
  .peca-content-grid{ grid-template-columns: 1fr; gap: 32px; }
  .peca-aside{ position: static; }
  .peca-body{ padding: 32px 24px; }
  .legal-ref{ white-space: normal; }
}
@media (max-width: 540px){
  .authors-grid{ grid-template-columns: 1fr; }
  .foot-grid{ grid-template-columns: 1fr; }
  .meta-row{ flex-direction:column; align-items:flex-start; gap: 18px; }
  .authors{ border-left: none; padding-left: 0; border-top: 2px solid var(--white); padding-top: 14px; }
  .book-cover-open{
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 4px;
  }
}


/* =========================================================
 * POSTS — Prática Penal OAB
 * Estilos para posts (single + categoria) e blocos editoriais
 * (callouts, modelos de peça, quadros de teses).
 * ========================================================= */

.post-body {
  font-size: 17px;
  line-height: 1.72;
}

.post-body h2 {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 30px;
  letter-spacing: 0.02em;
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent, #d11116);
  color: #1a1a1a;
}

.post-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 32px 0 10px;
  color: #1a1a1a;
}

.post-body h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 24px 0 8px;
  color: var(--color-accent, #d11116);
}

.post-body p,
.post-body li {
  text-align: justify;
  hyphens: auto;
}

.post-body ul,
.post-body ol {
  margin: 14px 0 18px;
  padding-left: 1.4em;
}

.post-body ul li {
  margin-bottom: 8px;
}

.post-body strong { font-weight: 700; }
.post-body em { font-style: italic; }

/* ========== CALLOUTS ========== */
.callout {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 5px solid;
  border-radius: 4px;
  background: #fafafa;
}

.callout h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  color: inherit;
}

.callout p {
  margin: 0;
  text-align: left;
}

.callout-update  { border-color: #d11116; background: #fff5f5; color: #5a0a0e; }
.callout-warning { border-color: #d97706; background: #fffaeb; color: #6b3a00; }
.callout-note    { border-color: #2563eb; background: #eff4ff; color: #18305b; }
.callout-tip     { border-color: #059669; background: #ecfdf5; color: #064e3b; }
.callout-ref     { border-color: #7c3aed; background: #f5f3ff; color: #341b78; }

.callout-update h4::before { content: "↻ "; }
.callout-warning h4::before { content: "⚠ "; }
.callout-note h4::before { content: "ⓘ "; }
.callout-tip h4::before { content: "★ "; }
.callout-ref h4::before { content: "§ "; }

/* ========== MODELO DE PEÇA ========== */
.petition-model {
  margin: 36px 0;
  padding: 28px 32px;
  background: #fcfcfa;
  border: 1px solid #e3e0d5;
  border-radius: 6px;
  position: relative;
  font-family: 'Inter', serif;
  font-size: 15.5px;
  line-height: 1.8;
}

.petition-model::before {
  content: "PEÇA REDIGIDA";
  position: absolute;
  top: -10px;
  left: 28px;
  background: var(--color-accent, #d11116);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 2px;
}

.petition-model h2 {
  font-size: 22px;
  border-bottom: 2px solid var(--color-accent, #d11116);
  margin-top: 8px;
  margin-bottom: 18px;
}

.petition-model h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 28px 0 10px;
  color: #1a1a1a;
  border-left: 3px solid var(--color-accent, #d11116);
  padding-left: 10px;
}

.petition-model h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin: 20px 0 6px;
  color: #5a0a0e;
}

.petition-model p {
  text-align: justify;
}

/* ========== QUADRO DE TESES ========== */
.quadro-teses {
  margin: 28px 0;
  padding: 22px 24px;
  background: #f7f5ec;
  border: 1px solid #d9d2b6;
  border-radius: 6px;
}

.quadro-teses h2 {
  margin-top: 0;
  font-size: 22px;
  border-bottom: 2px solid #b88f1a;
  color: #5a3a00;
}

.quadro-teses p {
  border-left: 3px solid #cdb56e;
  padding: 8px 12px;
  background: #fff;
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.55;
}

.quadro-teses p:first-of-type {
  background: var(--color-accent, #d11116);
  color: #fff;
  border-left-color: #5a0a0e;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
}

/* ========== POST PAGINATION ========== */
.post-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 56px 0 0;
  border-top: 2px solid #e8e8e0;
  padding-top: 28px;
}

.post-pagination-link {
  display: block;
  padding: 14px 18px;
  border: 1px solid #e8e8e0;
  border-radius: 6px;
  text-decoration: none;
  background: #fafafa;
  transition: all 0.18s ease;
}

.post-pagination-link:hover {
  background: #fff;
  border-color: var(--color-accent, #d11116);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.post-pagination-link span {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-accent, #d11116);
  margin-bottom: 4px;
}

.post-pagination-link strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.25;
}

.post-pagination-link.next { text-align: right; }

/* ========== POST LIST (CATEGORY) ========== */
.post-list {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 0 24px;
}

.post-list-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid #e8e8e0;
  border-left: 5px solid var(--color-accent, #d11116);
  border-radius: 6px;
  background: #fff;
  transition: all 0.18s ease;
}

.post-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.post-list-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--color-accent, #d11116);
  line-height: 1;
}

.post-list-item h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.2;
}

.post-list-item h2 a {
  color: #1a1a1a;
  text-decoration: none;
}

.post-list-item h2 a:hover { color: var(--color-accent, #d11116); }

.post-list-excerpt {
  margin: 6px 0 12px;
  color: #444;
  font-size: 15.5px;
  line-height: 1.55;
}

.post-list-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-accent, #d11116);
  text-decoration: none;
}

.post-list-cta:hover { text-decoration: underline; }

/* ========== ASIDE EXTRA ========== */
.peca-aside-source {
  background: #fcfcfa;
  border: 1px solid #e3e0d5;
}

.peca-aside-source h3 { color: #1a1a1a; }

/* ========== UPDATE TAGS (Ciclo 46 / Pós-edital / Geral) ========== */
.oab-tag {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  margin: 0 4px 4px 0;
  border-radius: 3px;
  vertical-align: baseline;
}
.oab-tag-ciclo46 { background: #e7f4e7; color: #256029; }
.oab-tag-pos     { background: #fde7e7; color: #8a0e0e; }
.oab-tag-geral   { background: #fff3cd; color: #5a3a00; }

.oab-update-list {
  list-style: none;
  padding: 0;
}
.oab-update-list li {
  margin-bottom: 12px;
  padding: 12px 14px 12px 14px;
  border-left: 3px solid #e0e0d8;
  background: #fafaf5;
  border-radius: 4px;
  line-height: 1.55;
}
.oab-update-list li:has(.oab-tag-ciclo46) { border-left-color: #4caf50; }
.oab-update-list li:has(.oab-tag-pos)     { border-left-color: var(--color-accent, #d11116); }
.oab-update-list li:has(.oab-tag-geral)   { border-left-color: #d97706; }

/* ========== RESPONSIVE ========== */
@media (max-width: 720px) {
  .post-pagination { grid-template-columns: 1fr; }
  .post-pagination-link.next { text-align: left; }
  .post-body { font-size: 16px; }
  .petition-model { padding: 22px 18px; font-size: 15px; }
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-num { font-size: 26px; }
}


/* ============================================================
   OABeiros — Correções de acessibilidade e mobile (WCAG 2.1 AA)
   ------------------------------------------------------------
   Cole no final de:
     * theme-updates/posts.css
     * theme-updates/dashboard-cockpit.css
   (ou em main.css se preferir consolidar). Todas as regras são
   aditivas e usam seletores existentes.
   ============================================================ */

/* ------------------------------------------------------------
   1) Foco visível global (WCAG 2.4.7 e 2.4.11)
   Substitui o auto-outline de 1px (que costuma ser invisível
   sobre fundos claros e em links em vermelho).
   ------------------------------------------------------------ */
:focus-visible {
  outline: 3px solid #ffd400 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.85) !important;
  border-radius: 3px;
}

/* Em fundos vermelhos (hero, cards), inverter para amarelo + halo escuro */
.nav :focus-visible,
.hub-card-feat :focus-visible,
[class*="hero"] :focus-visible {
  outline: 3px solid #ffd400 !important;
  box-shadow: 0 0 0 3px #1a0306 !important;
}

/* Restaura outline em quem o tema removeu */
.tutor-btn-ghost:focus-visible,
.tutor-form-control:focus-visible,
.wc-block-grid__products .wc-block-grid__product-image a:focus-visible {
  outline: 3px solid #ffd400 !important;
  outline-offset: 2px !important;
}

/* ------------------------------------------------------------
   2) Skip-link "Pular para o conteúdo" (WCAG 2.4.1)
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10000;
  background: #0e0e10;
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: underline;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  top: 0;
}

/* ------------------------------------------------------------
   3) Cabeçalho/menu mobile: hambúrguer (WCAG 2.4.5, target 44px)
   Atualmente .nav ul recebe display:none abaixo de 980px e não
   há botão substituto. Esta regra:
   * mantém o ul oculto somente quando o checkbox/botão estiver
     fechado;
   * exibe o botão hambúrguer;
   * abre o menu como drawer vertical.
   Depende de marcação adicional (ver _a11y_mobile.md "Mudanças
   HTML/PHP").
   ------------------------------------------------------------ */
.nav .nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav { position: relative; flex-wrap: wrap; }
  .nav .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: transparent;
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
  }
  .nav .nav-toggle::before {
    content: "";
    width: 22px; height: 2px; background: currentColor;
    box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  }
  .nav .nav-toggle[aria-expanded="true"]::before {
    box-shadow: none;
    transform: rotate(45deg);
  }
  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: #0e0e10;
    padding: 16px 20px;
    margin: 0;
    gap: 0;
    border-top: 2px solid #d11116;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
  }
  .nav .nav-toggle[aria-expanded="true"] + ul,
  .nav ul.is-open {
    display: flex !important;
  }
  .nav ul li {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav ul a {
    display: block;
    padding: 14px 4px;
    min-height: 44px;
    color: #fff;
    font-size: 16px;
    letter-spacing: .04em;
  }
}

/* ------------------------------------------------------------
   4) Contraste — "· PENAL" no header e textos com 0.85/0.92
   #ff2a36 (vermelho claro) sobre o gradiente vermelho dá ~2.6:1.
   Trocamos por branco com underline opcional ou clareamos o
   ponto para texto branco em telas pequenas.
   ------------------------------------------------------------ */
.nav .brand span { color: #ffe7e7; }                    /* era var(--red-light) */

.nav ul a,
.nav ul a:link,
.nav ul a:visited {
  color: #ffffff;                                       /* era rgba(255,255,255,.85) */
}

/* hub-card-feat (Etapa 1 vermelho): subir alpha do parágrafo */
.hub-card-feat p,
.hub-card-feat .lead { color: #ffffff !important; }

/* ------------------------------------------------------------
   5) Links sem underline em corpo de texto (WCAG 1.4.1)
   "Abrir conteúdo →" e similares dentro de listas vão receber
   sublinhado discreto, mantendo o vermelho.
   ------------------------------------------------------------ */
.post-list-cta,
.post-list-cta:link,
.post-list-cta:visited {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post-list-cta:hover,
.post-list-cta:focus { text-decoration-thickness: 2px; }

/* Footer column links */
footer a:not(.brand):not(.btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,.35);
}
footer a:not(.brand):not(.btn):hover { text-decoration-color: #fff; }

/* ------------------------------------------------------------
   6) Touch target mínimo 44x44 (WCAG 2.5.5)
   "Abrir conteúdo →" tinha 17px de altura.
   ------------------------------------------------------------ */
.post-list-cta {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 6px;
}

/* PDF download "⤓" */
.oab-bp-pdf-dl {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 12px !important;
}

/* Fechar modal "✕" — manter 44x44 */
#oab-pdf-modal-close,
.oab-modal-close,
button[aria-label="Fechar"] {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
}

/* ------------------------------------------------------------
   7) Tabela banco-de-provas / sumulas — overflow horizontal e
   melhor leitura (WCAG 1.4.10 reflow + 1.3.1).
   Tab-able container para quem precisa rolar.
   ------------------------------------------------------------ */
@media (max-width: 640px) {
  .oab-bp-tbl,
  .oab-sumulas-tbl { font-size: 13px; }

  .oab-bp-tbl th,
  .oab-bp-tbl td,
  .oab-sumulas-tbl th,
  .oab-sumulas-tbl td { padding: 10px 8px !important; }

  /* Permite rolagem horizontal acessível com indicador de foco */
  .oab-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .oab-table-scroll:focus { outline: 3px solid #ffd400; }
  .oab-bp-tbl, .oab-sumulas-tbl { min-width: 560px; }
}

/* ------------------------------------------------------------
   8) Inputs do dashboard sem label visível — força placeholder
   visível como dica + mantém label sr-only quando necessário
   (preferível adicionar <label for=> no PHP, ver lista de
   mudanças). Aqui só damos contraste a placeholders.
   ------------------------------------------------------------ */
input::placeholder,
textarea::placeholder {
  color: #595959;            /* era #999, contraste 7:1 sobre branco */
  opacity: 1;
}

/* helper sr-only (se não existir) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------
   9) Heading "OABeiros\n      PENAL" — espaçamento
   O <h1> contém quebra com indentação que vira espaço no
   readout. Só estética visual, mas damos display para SR
   ignorar duplicação.
   ------------------------------------------------------------ */
.hero h1 br + span,
.hero h1 .visually-spacer { display: inline-block; }

/* ------------------------------------------------------------
   10) Botão "Área do aluno" (CTA): tamanho real
   No mobile chega a 50x60 com padding bom; no Desktop também.
   Apenas garantia mínima.
   ------------------------------------------------------------ */
.nav .cta {
  min-height: 44px;
  padding-block: 10px;
  display: inline-flex;
  align-items: center;
}

/* ------------------------------------------------------------
   11) Reduzir motion (WCAG 2.3.3) — usuários com prefers-reduced-motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.oab-official-pdf-reader {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 8px;
  background: #fff;
}

.oab-official-pdf-reader + .oab-official-pdf-reader {
  margin-top: 20px;
}

.oab-official-pdf-reader h2 {
  margin-top: 0;
}

.oab-official-pdf-reader iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 1px solid rgba(17, 24, 39, .18);
  border-radius: 8px;
  background: #f8fafc;
}

@media (max-width: 760px) {
  .oab-official-pdf-reader {
    padding: 14px;
  }

  .oab-official-pdf-reader iframe {
    min-height: 620px;
  }
}
