/* THEMIS DURANTE — HOME V2 — REFERENCIA 09/10/2026 */
:root{--th-ink:#172e2d;--th-teal:#008f96;--th-aqua:#0bc8c3;--th-cream:#f8f7f3;--th-line:#e6eae6}
.is-home .site-header{background:transparent;position:absolute;top:0;left:0;right:0;width:100%;z-index:25}
.is-home .header-inner{min-height:90px}
.is-home .main-nav a{color:#fff;text-shadow:0 1px 4px #10242388}
.is-home .main-nav a:hover{color:#52ded1}
.is-home .main-nav a.nav-cta{background:#008d95;color:#fff;padding:12px 20px;text-shadow:none}
.is-home .brand.brand-image{max-width:232px}
.is-home .menu-toggle{color:#fff;border-color:#ffffff77}
.themis-home{background:#fff;color:var(--th-ink);overflow:hidden}
.themis-home .container{width:min(1190px,calc(100% - 64px))}
.themis-home h1,.themis-home h2,.themis-home h3{font-family:var(--font-head);font-weight:650;letter-spacing:-.045em}
.themis-home h2{margin:0;font-size:clamp(30px,3.5vw,48px);line-height:1.13}
.themis-home h2 em{font-style:normal;color:#078f92}
.themis-home .th-overline{font-family:var(--font-body);font-weight:700;font-size:10px;line-height:1.6;letter-spacing:.23em;color:#008b8e;margin:0 0 9px}
.themis-home .th-overline-light{color:#c8f4ee}
.themis-home p{margin-top:0}
.themis-home .th-section{padding:0}
.themis-home a:focus-visible{outline:3px solid var(--th-aqua);outline-offset:4px}
/* Hero */
.themis-home .th-hero{position:relative;background:#081d1b;color:#fff;min-height:670px;isolation:isolate;overflow:visible}
.themis-home .th-hero-photo{position:absolute;inset:0;overflow:hidden;background-image:url('../images/home/hero-crianca.png');background-size:cover;background-repeat:no-repeat;background-position:70% 43%;z-index:-2}
/* Herda também a foto personalizada do CMS. O espelhamento não afeta texto ou botões. */
.themis-home .th-hero-photo::before{content:"";position:absolute;inset:0;background-image:inherit;background-size:cover;background-position:inherit;background-repeat:no-repeat;transform:scaleX(-1) scale(1.12);transform-origin:center}
.themis-home .th-hero-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,22,21,.96) 0%,rgba(6,28,26,.89) 21%,rgba(11,32,28,.35) 50%,rgba(10,27,24,.02) 88%),linear-gradient(0deg,rgba(5,24,22,.42) 0%,transparent 35%)}
.themis-home .th-hero-content{min-height:670px;padding-top:123px;padding-bottom:126px;display:flex;align-items:center;justify-content:space-between;gap:40px}
.themis-home .th-hero-copy{max-width:520px;position:relative;z-index:1}
.themis-home .th-hero-copy .th-overline{font-size:14px;letter-spacing:.24em;color:#fff;margin:0}
.themis-home .th-hero-copy h1{font-size:clamp(89px,11vw,156px);font-weight:800;line-height:.98;letter-spacing:-.078em;margin:2px 0 22px}
.themis-home .th-hero-copy h1 span{color:#14c9be}
.themis-home .th-hero-lead{font-size:23px;line-height:1.4;font-weight:600;letter-spacing:-.045em;margin-bottom:10px}
.themis-home .th-hero-intro{font-size:14px;line-height:1.7;max-width:420px;color:#f1f7f2;margin-bottom:26px}
.themis-home .th-button{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;border:0;border-radius:50px;padding:12px 23px;font:700 12px/1.4 var(--font-body);transition:background .2s,transform .2s}
.themis-home .th-button:hover,.themis-home .th-pill-link:hover{transform:translateY(-2px);background:#04676d}
.themis-home .th-button-primary{background:#009b9b;color:#fff}
.themis-home .th-button span{font-size:18px}
.themis-home .th-method-wrap{position:absolute;left:0;right:0;bottom:-23px;z-index:3}
.themis-home .th-method-bar{min-height:98px;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;border-radius:18px;background:rgba(5,29,32,.97);box-shadow:0 15px 25px #071f1d25;padding:12px 0;overflow:hidden}
.themis-home .th-method-step{padding:7px 30px;display:flex;align-items:center;gap:23px;min-height:70px}
.themis-home .th-method-step + .th-method-step{border-left:1px solid rgba(56,226,209,.38)}
.themis-home .th-method-graphic{color:#0dd2c7;font-size:42px;line-height:1;flex:0 0 46px;text-align:center;font-family:var(--font-head)}
.themis-home .th-method-step h2{font:650 24px/1.15 var(--font-head);color:#fff;letter-spacing:-.045em;margin-bottom:6px}
.themis-home .th-method-step p{font-size:11px;line-height:1.5;margin:0;color:#e5f2ef}
/* Publics */
.themis-home .th-audiences{padding:95px 0 22px}
.themis-home .th-intro-split{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;align-items:center;margin:0 0 23px}
.themis-home .th-section-side{display:flex;align-items:center;gap:22px}
.themis-home .th-section-side p{flex:1;font-size:13px;line-height:1.65;color:#52625d;margin:0}
.themis-home .th-link-outline{font-weight:700;font-size:11px;border:1px solid #058f93;color:#05767b;display:inline-flex;gap:18px;align-items:center;white-space:nowrap;border-radius:40px;padding:10px 16px}
.themis-home .th-link-outline:hover{background:#e8f8f7}
.themis-home .th-audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.themis-home .th-photo-card{height:255px;position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:15px;color:#fff;box-shadow:0 2px 12px #0219180c}
.themis-home .th-photo-card img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;transition:transform .4s;object-position:center 33%}
.themis-home .th-photo-card:hover img{transform:scale(1.05)}
.themis-home .th-photo-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(1,21,25,.96) 0%,rgba(2,32,32,.6) 37%,rgba(4,30,26,.04) 100%)}
.themis-home .th-photo-content{position:relative;z-index:1;padding:18px 28px 22px;max-width:78%}
.themis-home .th-photo-icon{display:block;background:#057f83;border-radius:50%;height:48px;width:48px;text-align:center;line-height:45px;font-size:28px;margin-bottom:10px}
.themis-home .th-photo-card h3{font-size:29px;line-height:1.02;margin:0 0 9px;color:#fff}
.themis-home .th-photo-card p{font-size:12px;line-height:1.55;max-width:315px;margin:0;color:#f6f9f8}
.themis-home .th-card-arrow{position:absolute;z-index:2;right:22px;bottom:22px;border-radius:50%;height:38px;width:38px;background:#fff;color:#006a6a;text-align:center;line-height:38px;font-size:23px}
/* Sobre */
.themis-home .th-about{padding:26px 0 22px}
.themis-home .th-about-grid{display:grid;grid-template-columns: .8fr 1.12fr .65fr;gap:32px;align-items:center}
.themis-home .th-about-photo{display:block;height:310px;overflow:hidden;border-radius:14px}
.themis-home .th-about-photo img{height:100%;width:100%;object-fit:cover;object-position:center 20%}
.themis-home .th-about-copy h2{font-size:clamp(29px,3.2vw,40px);line-height:1.1;margin-bottom:12px}
.themis-home .th-about-copy p:not(.th-overline){font-size:12px;line-height:1.75;color:#5d6b68;margin-bottom:17px}
.themis-home .th-about-copy .th-button{font-size:11px;padding:10px 20px}
.themis-home .th-about-topics{border-left:1px solid #68c5bf;padding-left:22px}
.themis-home .th-about-topics>div{display:flex;gap:14px;align-items:center;color:#435956;font-size:11px;line-height:1.5;padding:11px 0;border-bottom:1px solid #e5e9e7}
.themis-home .th-about-topics>div:last-child{border:0}
.themis-home .th-about-topics span{font-size:31px;color:#05888e;line-height:1;min-width:34px}
/* Serviços */
.themis-home .th-solutions{padding:18px 0 22px}
.themis-home .th-solutions h2{font-size:clamp(28px,3.2vw,39px);margin-bottom:21px}
.themis-home .th-solutions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.themis-home .th-solution{position:relative;min-height:195px;border-radius:14px;padding:20px 18px;border:1px solid #e4ebe8;box-shadow:0 4px 16px #112a2510;transition:transform .2s,box-shadow .2s}
.themis-home .th-solution:hover{transform:translateY(-3px);box-shadow:0 12px 25px #112a2520}
.themis-home .th-service-icon{display:block;font-size:41px;line-height:1;color:#007d82;margin-bottom:10px}
.themis-home .th-solution h3{font-size:22px;margin:0 0 8px}
.themis-home .th-solution p{font-size:11px;line-height:1.55;max-width:190px;color:#677775;margin:0 25px 0 0}
.themis-home .th-solution-arrow{position:absolute;bottom:16px;right:16px;background:#008d90;color:white;border-radius:50%;width:28px;height:28px;line-height:28px;text-align:center}
/* Pesquisa */
.themis-home .th-research{padding:1px 0 22px}
.themis-home .th-research-panel{border-radius:15px;background:linear-gradient(100deg,#092329ee,#163b3bdd),url('../images/home/projeto-hope-house.jpg') center 60%/cover no-repeat;display:grid;grid-template-columns:.95fr 1.5fr;gap:20px;align-items:center;min-height:190px;color:white;padding:29px 33px}
.themis-home .th-research h2{font-size:clamp(25px,2.8vw,36px);line-height:1.13;color:white}
.themis-home .th-research-topics{display:grid;grid-template-columns:repeat(5,1fr)}
.themis-home .th-research-topics span{border-left:1px solid #1ba19f88;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:110px;gap:12px;text-align:center;font-size:10px;line-height:1.35;padding:0 8px}
.themis-home .th-research-topics b{font:400 32px/1 var(--font-head);color:#d7f9f4}
/* Podcast, livraria e comunidade */
.themis-home .th-discover{padding:0 0 23px}
.themis-home .th-discover-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.themis-home .th-discover-card{border-radius:15px;border:1px solid #e7eeec;min-height:320px;overflow:hidden;position:relative;padding:20px;box-shadow:0 4px 15px #0e211b0c}
.themis-home .th-discover-card h2{font-size:clamp(23px,2.5vw,31px);line-height:1.05;margin-bottom:7px}
.themis-home .th-discover-card>p:not(.th-overline),.themis-home .th-community-copy>p:not(.th-overline){font-size:12px;line-height:1.55;color:#506362}
.themis-home .th-pill-link{position:absolute;bottom:16px;right:17px;display:inline-flex;align-items:center;gap:15px;border-radius:30px;color:#fff;background:#008e91;padding:10px 15px;font-size:11px;font-weight:700;transition:transform .2s,background .2s;z-index:2}
.themis-home .th-pill-link span{font-size:17px;line-height:1}
.themis-home .th-podcast-visual{height:135px;background:linear-gradient(120deg,#114c50,#143137 70%);border-radius:11px;margin-top:12px;display:flex;align-items:center;gap:20px;padding:18px;overflow:hidden;color:#e5fffc}
.themis-home .th-podcast-mark{font-size:55px;color:#1de0cf}
.themis-home .th-podcast-visual>span{font-size:13px;line-height:1.6}
.themis-home .th-books-photo{position:absolute;bottom:0;left:0;right:0;height:190px}
.themis-home .th-books-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 10%,#fff2 100%)}
.themis-home .th-books-photo img{width:100%;height:100%;object-fit:cover;object-position:center 52%}
.themis-home .th-books-card{isolation:isolate}
.themis-home .th-books-card>p,.themis-home .th-books-card>h2{position:relative;z-index:1}
.themis-home .th-community-card{padding:0}
.themis-home .th-community-photo{position:absolute;right:0;top:0;bottom:0;width:55%;background:url('../images/home/comunidade-projeto.jpg') 51% center/cover no-repeat}
.themis-home .th-community-copy{position:absolute;inset:0 40% 0 0;background:#fff;border-radius:0 110px 110px 0;padding:20px 12px 22px 19px;display:flex;flex-direction:column;align-items:flex-start}
.themis-home .th-community-copy .th-pill-link{right:auto;left:16px;bottom:16px;gap:8px;font-size:10px;padding:9px 12px}
.themis-home .th-community-copy h2{font-size:clamp(22px,2.3vw,31px)}
.themis-home .th-community-copy>p:not(.th-overline){max-width:135px;font-size:11px}
/* Contato */
.themis-home .th-final{padding:0 0 28px}
.themis-home .th-final-panel{display:flex;justify-content:space-between;align-items:center;gap:35px;border-radius:16px;padding:31px 39px;min-height:172px;background:linear-gradient(90deg,#0b292cfa 0%,#0b3033c7 55%,#0b303330 100%),url('../images/home/comunidade-projeto.jpg') center 38%/cover no-repeat;color:#fff}
.themis-home .th-final-panel h2{font-size:clamp(27px,3.5vw,43px);color:#fff;margin-bottom:5px}
.themis-home .th-final-panel p:last-child{font-size:12px;line-height:1.55;max-width:620px;color:#edf6f3;margin:0}
.themis-home .th-final-panel .th-button{white-space:nowrap;flex:0 0 auto}
@media(max-width:1100px){
  .is-home .main-nav{background:#112f2c}.is-home .main-nav a{color:#fff}
  .themis-home .th-hero-content{min-height:600px}
  .themis-home .th-intro-split{gap:35px}
  .themis-home .th-section-side{flex-direction:column;align-items:flex-start;gap:15px}
  .themis-home .th-about-grid{grid-template-columns:.8fr 1.2fr}
  .themis-home .th-about-topics{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,1fr);border-left:0;border-top:1px solid #68c5bf;padding:8px 0 0;gap:10px}
  .themis-home .th-about-topics>div{font-size:10px;gap:5px}
  .themis-home .th-research-panel{grid-template-columns:1fr}
}
@media(max-width:760px){
  .is-home .header-inner{min-height:75px}
  .themis-home .container{width:min(100% - 36px,1190px)}
  .themis-home .th-hero-content{min-height:620px;padding-top:122px;padding-bottom:135px}
  .themis-home .th-hero-photo{background-position:67% center}
  .themis-home .th-hero-overlay{background:linear-gradient(90deg,#051b1bdc 0%,#052520a6 54%,#062b2366 100%),linear-gradient(0deg,#091e1b99 0%,transparent 70%)}
  .themis-home .th-hero-copy h1{font-size:clamp(78px,16vw,118px)}
  .themis-home .th-hero-lead{font-size:21px}
  .themis-home .th-hero-intro{font-size:12px;max-width:325px}
  .themis-home .th-method-wrap{bottom:-68px}
  .themis-home .th-method-bar{grid-template-columns:1fr;padding:5px 0;border-radius:14px}
  .themis-home .th-method-step{min-height:67px;padding:11px 23px;gap:18px}
  .themis-home .th-method-step + .th-method-step{border-top:1px solid #18c9bb55;border-left:0}
  .themis-home .th-method-graphic{font-size:30px;flex-basis:38px}
  .themis-home .th-method-step h2{font-size:22px;margin-bottom:2px}
  .themis-home .th-method-step p{font-size:10px}
  .themis-home .th-audiences{padding-top:112px}
  .themis-home .th-intro-split{display:block}
  .themis-home .th-section-side{margin-top:17px;flex-direction:row;align-items:center}
  .themis-home .th-audience-grid{grid-template-columns:1fr}
  .themis-home .th-photo-card{height:250px}
  .themis-home .th-about-grid{grid-template-columns:1fr 1.2fr;gap:17px}
  .themis-home .th-about-photo{height:300px}
  .themis-home .th-about-copy h2{font-size:29px}
  .themis-home .th-about-topics{grid-template-columns:repeat(2,1fr)}
  .themis-home .th-solutions-grid{grid-template-columns:repeat(2,1fr)}
  .themis-home .th-research-topics{grid-template-columns:repeat(3,1fr);gap:10px}
  .themis-home .th-discover-grid{grid-template-columns:1fr 1fr}
  .themis-home .th-community-card{grid-column:1/-1;min-height:270px}
  .themis-home .th-community-copy{inset:0 44% 0 0}
  .themis-home .th-final-panel{align-items:flex-start;flex-direction:column}
}
@media(max-width:500px){
 .themis-home .th-section-side{display:block}
 .themis-home .th-section-side .th-link-outline{margin-top:13px}
 .themis-home .th-about-grid{display:block}
 .themis-home .th-about-photo{height:340px;margin-bottom:20px}
 .themis-home .th-about-topics{margin-top:20px}
 .themis-home .th-solutions h2{font-size:30px}
 .themis-home .th-solution{min-height:200px;padding:17px 12px}
 .themis-home .th-solution p{font-size:10px}
 .themis-home .th-solution h3{font-size:21px}
 .themis-home .th-research-panel{padding:27px 20px}
 .themis-home .th-research-topics{grid-template-columns:repeat(2,1fr)}
 .themis-home .th-research-topics span{border-left:0;border-top:1px solid #1ba19f88}
 .themis-home .th-discover-grid{display:block}
 .themis-home .th-discover-card{margin-bottom:14px}
 .themis-home .th-final-panel{padding:27px 24px}
}
@media(prefers-reduced-motion:reduce){.themis-home *{scroll-behavior:auto!important;transition:none!important}}

/* HOME — livros adaptativos pela quantidade cadastrada.
   Mantido tambem no CSS principal, para a vitrine nao depender da folha da livraria. */
.themis-home .th-lib-featured .th-lib-grid-home{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  justify-content:start;
  align-items:stretch;
  gap:18px;
  width:100%;
  max-width:100%;
}
.themis-home .th-lib-grid-home.th-lib-grid-home--1{
  grid-template-columns:minmax(0,320px);
}
.themis-home .th-lib-grid-home.th-lib-grid-home--2{
  grid-template-columns:repeat(2,minmax(0,285px));
}
.themis-home .th-lib-grid-home.th-lib-grid-home--3{
  grid-template-columns:repeat(3,minmax(0,265px));
}
.themis-home .th-lib-grid-home.th-lib-grid-home--4{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.themis-home .th-lib-grid-home.th-lib-grid-home--5{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.themis-home .th-lib-featured .th-lib-heading{
  display:flex;justify-content:space-between;align-items:end;gap:20px;
  flex-wrap:wrap;margin-bottom:22px;
}
.themis-home .th-lib-featured .th-lib-card{
  display:flex;flex-direction:column;
  min-width:0;max-width:100%;width:100%;overflow:hidden;
  border:1px solid #e0e9e7;border-radius:13px;background:#fff;
}
.themis-home .th-lib-featured .th-lib-cover-link{
  display:block;min-width:0;width:100%;max-width:100%;
  overflow:hidden;padding:15px;background:#eff4f1;
}
.themis-home .th-lib-featured .th-lib-cover{
  display:flex;align-items:center;justify-content:center;
  width:100%;max-width:100%;aspect-ratio:3/4;overflow:hidden;
}
.themis-home .th-lib-featured .th-lib-cover img{
  display:block;width:100%!important;height:100%!important;
  max-width:100%!important;object-fit:contain!important;object-position:center;
  box-shadow:0 10px 20px #071e1a24;
}
.themis-home .th-lib-featured .th-lib-card-body{
  display:flex;flex:1;flex-direction:column;gap:10px;
  padding:16px;min-width:0;
}
.themis-home .th-lib-featured .th-lib-card h3{
  font-size:16px;line-height:1.4;margin:0;
  overflow-wrap:anywhere;letter-spacing:-.025em;
}
.themis-home .th-lib-featured .th-lib-buy{
  margin-top:auto;
  align-self:stretch;
}
/* A Home funciona como vitrine: sinopse e detalhes completos ficam em /livraria. */
.themis-home .th-lib-featured .th-lib-card-description,
.themis-home .th-lib-featured .th-lib-author,
.themis-home .th-lib-featured .th-lib-publisher,
.themis-home .th-lib-featured .th-lib-type,
.themis-home .th-lib-featured .th-lib-price{
  display:none;
}
@media (max-width:1100px){
  .themis-home .th-lib-featured .th-lib-grid-home{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }
  .themis-home .th-lib-grid-home.th-lib-grid-home--1{
    grid-template-columns:minmax(0,300px);
  }
  .themis-home .th-lib-grid-home.th-lib-grid-home--2{
    grid-template-columns:repeat(2,minmax(0,280px));
  }
  .themis-home .th-lib-grid-home.th-lib-grid-home--3{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width:640px){
  .themis-home .th-lib-featured .th-lib-heading{display:block}
  .themis-home .th-lib-featured .th-lib-heading h2{font-size:clamp(26px,7vw,36px)}
  .themis-home .th-lib-featured .th-lib-heading .th-link-outline{
    display:inline-flex;margin:15px 0 0;
  }
  .themis-home .th-lib-featured .th-lib-grid-home{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .themis-home .th-lib-grid-home.th-lib-grid-home--1{
    grid-template-columns:minmax(0,270px);
    justify-content:center;
  }
  .themis-home .th-lib-grid-home.th-lib-grid-home--2{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .themis-home .th-lib-featured .th-lib-cover-link{padding:10px}
  .themis-home .th-lib-featured .th-lib-card-body{padding:12px;gap:9px}
  .themis-home .th-lib-featured .th-lib-card h3{font-size:14px}
  .themis-home .th-lib-featured .th-lib-buy{font-size:11px;gap:6px}
}
