/* ============================================================
   Think Etnus — Componentes e seções
   ============================================================ */

/* ===================== HEADER ===================== */
.te-header{background:var(--black);position:relative;z-index:50}
.te-header__inner{display:flex;align-items:center;justify-content:space-between;height:var(--header-h)}
.te-header__logo img{height:var(--logo-h);width:auto;transition:height .3s ease}
.te-nav{display:flex;align-items:center;gap:clamp(1.1rem,2.4vw,2.6rem)}
.te-nav__link{font-family:var(--f-body);font-weight:500;font-size:.875rem;color:#fff;opacity:.9;transition:opacity .2s,color .2s}
.te-nav__link:hover{opacity:1}
.te-nav__link.is-active{color:var(--green);opacity:1}
.te-nav__cta{margin-left:.6rem}
.te-nav__cta.btn{padding:12px 24px}
.te-header__toggle{display:none}

@media (max-width:880px){
  .te-header__toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;background:none;border:0;cursor:pointer;z-index:60}
  .te-header__toggle span{display:block;width:26px;height:2px;background:var(--cream);transition:transform .3s,opacity .3s}
  .te-header.is-open .te-header__toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .te-header.is-open .te-header__toggle span:nth-child(2){opacity:0}
  .te-header.is-open .te-header__toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .te-nav{position:fixed;inset:0;background:rgba(0,0,0,.97);flex-direction:column;justify-content:center;gap:1.6rem;transform:translateX(100%);transition:transform .35s ease}
  .te-header.is-open .te-nav{transform:translateX(0)}
  .te-nav__link{font-size:1.5rem;opacity:.95}
  .te-nav__cta{margin-top:.6rem}
}

/* ===================== HERO ===================== */
.hero{position:relative;min-height:800px;display:flex;align-items:center;overflow:hidden;background:#0d0d0d}
.hero__slideshow{position:absolute;inset:0;z-index:0}
.hero__slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.4s ease}
.hero__slide.is-active{opacity:1}
.hero::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(95deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,.34) 72%, rgba(0,0,0,.15) 100%)}
.hero__inner{position:relative;z-index:2;width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad-x)}
.hero__content{max-width:780px}
.hero__eyebrow{display:inline-block;margin-bottom:1.5rem}
.hero__title{font-family:var(--f-hero);font-weight:600;font-size:var(--fs-hero-1);color:var(--cream);line-height:1}
.hero__title em{display:block;font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:var(--fs-hero-2);color:var(--green);line-height:1.02}
.hero__lead{margin:1.9rem 0 2.3rem;max-width:640px;font-size:1.125rem;line-height:1.6;color:var(--cream);opacity:.92}
.hero__actions{display:flex;flex-wrap:wrap;gap:1rem}

/* ===================== SEÇÃO: A MAIOR POPULAÇÃO ===================== */
/* fundo em parallax (fixo na viewport) — igual ao original */
.maioria{position:relative;min-height:800px;display:flex;align-items:center;
  background:var(--beige) url("../img/bg-016.webp") -230px 0/cover no-repeat fixed}
/* véu bege SÓ atrás do conteúdo (à direita) — a foto da mulher fica nítida à esquerda */
.maioria::before{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg, transparent 18%, var(--beige-veil) 20%)}
/* trilha vazia à esquerda revela a foto; texto na 2ª trilha, stats na 3ª (sem comprimir o texto) */
.maioria__inner{position:relative;z-index:1;width:100%;max-width:var(--maxw);margin-inline:auto;
  padding:var(--section-y) var(--pad-x);display:grid;
  grid-template-columns:clamp(0px,13vw,185px) 1.08fr .92fr;gap:clamp(1.25rem,2.5vw,2.5rem);align-items:center}
.maioria__col{grid-column:2}
.stats{grid-column:3}
.maioria__title{font-family:var(--f-display);font-weight:500;font-size:var(--fs-display);color:#000;line-height:1.02;margin-bottom:1.6rem}
.maioria__text p{color:#16110e;font-size:1.0625rem;line-height:1.6;margin-bottom:1.1rem;max-width:46ch}
.maioria__text p:first-child{font-weight:500}

.stats{display:flex;flex-direction:column;gap:1rem}
.stat{display:flex;align-items:center;gap:1.3rem;background:var(--black);color:var(--cream);padding:1.5rem 1.7rem;border-radius:10px}
.stat.-terracotta{background:var(--terracotta-dark)}
.stat__icon{flex:none;width:42px;height:42px;stroke:var(--green);stroke-width:1.6;fill:none}
.stat__body{display:flex;flex-direction:column;gap:.15rem}
.stat__num{font-family:var(--f-serif);font-weight:800;font-size:var(--fs-stat);line-height:1}
.stat__desc{font-size:.92rem;line-height:1.35;opacity:.82}

/* ===================== ZONA ESCURA ===================== */
/* wrapper preto; cada seção interna define seu próprio fundo (igual ao original) */
.darkzone{background:#000}

/* ===================== BANNER TERRACOTA (bloco) ===================== */
/* textura bg-019 rola normal (scroll); bloco terracota deslocado à direita */
.banner{background:#000 url("../img/bg-019.webp") left top/cover no-repeat;padding-block:clamp(3rem,6vw,5rem)}
.banner__inner{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad-x)}
.banner__box{background:var(--terracotta);padding:clamp(1.8rem,3.4vw,1.9rem) clamp(1.8rem,4vw,2.6rem);max-width:1000px;margin-left:auto}
.banner__title{font-family:var(--f-serif);font-weight:800;font-size:var(--fs-banner);color:var(--cream);line-height:1.08;margin-bottom:1.1rem;max-width:20ch}
.banner__text{color:var(--cream);font-size:1.075rem;line-height:1.6;max-width:82ch}
.banner__text b{font-weight:700}

/* ===================== SEÇÃO: O ERRO DE LEITURA ===================== */
/* fundo geométrico (bg-019) em parallax (fixo na viewport) — igual ao original */
.erro{background:#000 url("../img/bg-019.webp") center/cover no-repeat fixed;padding-block:var(--section-y)}
.erro__inner{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad-x)}
.erro__title{font-family:var(--f-serif);font-weight:500;font-size:var(--fs-banner);color:var(--cream);
  line-height:1.12;max-width:24ch;margin-bottom:clamp(2.2rem,5vw,3.5rem)}
.erro__title em{font-style:italic;color:var(--green)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.card{position:relative;background:#000;border:1px solid var(--line);border-radius:12px;padding:2rem 1.9rem;transition:border-color .25s,transform .25s}
.card:hover{border-color:rgba(132,255,0,.4);transform:translateY(-3px)}
.card__title{position:relative;font-family:var(--f-serif);font-weight:600;font-size:var(--fs-card-title);color:var(--cream);margin-bottom:.9rem;padding-top:1rem}
.card__title::before{content:"";position:absolute;top:0;left:0;width:30px;height:3px;background:var(--green)}
.card__text{font-size:.94rem;color:var(--cream-dim);line-height:1.6}

/* ===================== BLOCO POÉTICO ===================== */
/* fundo: foto + formas geométricas (bg-b09) ancorada embaixo-esquerda; texto à direita */
.poetico{position:relative;background:#000 url("../img/bg-b09.webp") left bottom/cover no-repeat;
  display:flex;align-items:center;min-height:clamp(520px,60vw,760px);padding-block:var(--section-y)}
.poetico__inner{position:relative;z-index:1;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad-x);width:100%;
  display:flex;flex-direction:column;align-items:flex-end;gap:1.8rem;text-align:right}
.poetico__lines{font-family:var(--f-serif);font-weight:500;font-size:var(--fs-poetic);color:#fff;line-height:1.3;max-width:560px}
.poetico__lines b{font-weight:500}
.poetico__text{font-size:1.125rem;line-height:1.65;color:var(--cream);opacity:.92;max-width:528px}

/* ===================== FOOTER ===================== */
.te-footer{background:var(--black);padding-block:clamp(3.5rem,7vw,6rem);border-top:1px solid var(--line)}
.te-footer__inner{display:flex;flex-wrap:wrap;gap:clamp(2.5rem,5vw,5rem);align-items:flex-start}
.te-footer__logo img{height:clamp(88px,9vw,128px);width:auto}
.te-footer__cols{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(2rem,4vw,3.5rem);flex:1;min-width:280px}
.te-footer__head{font-family:var(--f-body);font-weight:800;font-size:var(--fs-foot-head);color:var(--cream);margin-bottom:1.3rem}
.te-footer__item{display:flex;align-items:flex-start;gap:.65rem;color:var(--cream);opacity:.84;font-size:1rem;line-height:1.5;margin-bottom:.7rem}
.te-footer__item svg{flex:none;width:18px;height:18px;margin-top:.2rem;stroke:var(--green);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.te-footer__item svg.-fill{fill:var(--green);stroke:none}
a.te-footer__item{transition:color .2s,opacity .2s}
a.te-footer__item:hover{opacity:1;color:var(--green)}

/* ===================== PÁGINAS INTERNAS (placeholder) ===================== */
.page-hero{min-height:72vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--section-y) var(--pad-x);background:#000 url("../img/bg-019.webp") center/cover no-repeat fixed}
.page-hero__eyebrow{margin-bottom:1.2rem}
.page-hero__title{font-family:var(--f-serif);font-weight:600;font-size:var(--fs-display);color:var(--cream);line-height:1.04}
.page-hero__note{margin-top:1.4rem;font-size:1.05rem;color:var(--cream-dim);max-width:52ch}
.page-hero__cta{margin-top:2rem}

/* ===================== RESPONSIVO ===================== */
@media (max-width:980px){
  .cards{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  /* parallax (background fixed) trava/buga em iOS — vira scroll no mobile */
  .maioria{min-height:0;background-position:center;background-attachment:scroll}
  .maioria::before{background:var(--beige-veil)}
  .maioria__inner{grid-template-columns:1fr;gap:2.5rem}
  .maioria__col,.stats{grid-column:auto}
  .erro{background-attachment:scroll}
  .page-hero{background-attachment:scroll}
  .banner__box{max-width:100%;margin-left:0}
  .poetico{min-height:0;background-position:center bottom}
  .poetico::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.62)}
  .poetico__inner{align-items:flex-start;text-align:left}
}
@media (max-width:620px){
  .hero{min-height:88vh}
  .cards{grid-template-columns:1fr}
  .te-footer__cols{grid-template-columns:1fr;gap:1.8rem}
  .hero__actions .btn{width:100%}
}
