/* Home — Quem Somos + História
 * Reconstrução isolada. Não altera Produto, Qualidade ou Resultados.
 */

body.home .tor-about-history{
  padding:clamp(48px,5.2vw,78px) 0 clamp(54px,5.4vw,84px);
  background:var(--th-bg,#f2f0ee);
  border-top:1px solid var(--th-line,rgba(24,25,27,.09));
}
body.home .tor-about-container{
  width:min(1480px,calc(100% - 64px));
  margin:0 auto;
}
body.home .tor-about-top{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(300px,.92fr);
  gap:clamp(48px,6vw,90px);
  align-items:start;
}
body.home .tor-about-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--th-orange,#ef7b30);
  font-size:.69rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.home .tor-about-kicker::before{
  content:'';
  width:26px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
body.home .tor-about-copy h2{
  margin:16px 0 20px;
  color:var(--th-ink,#17191c);
  font-size:clamp(2rem,3vw,3.1rem);
  line-height:1.02;
  font-weight:650;
  letter-spacing:-.04em;
}
body.home .tor-about-lead{
  margin:0 0 22px;
  padding:2px 0 2px 18px;
  border-left:3px solid var(--th-orange,#ef7b30);
  color:var(--th-ink,#17191c);
  font-size:clamp(.94rem,1.15vw,1.08rem);
  line-height:1.62;
  font-weight:600;
}
body.home .tor-about-copy p:not(.tor-about-lead){
  margin:0 0 14px;
  max-width:980px;
  color:var(--th-text,#676d73);
  font-size:.93rem;
  line-height:1.72;
}
body.home .tor-about-copy p:last-child{margin-bottom:0}

body.home .tor-mvv-list{
  display:grid;
  gap:14px;
}
body.home .tor-mvv-btn{
  min-height:66px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1.5px solid var(--th-orange,#ef7b30);
  border-radius:999px;
  background:transparent;
  color:var(--th-orange,#ef7b30);
  font:700 .91rem/1 'Montserrat',sans-serif;
  cursor:pointer;
  transition:transform .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
body.home .tor-mvv-btn i{font-size:1rem}
body.home .tor-mvv-btn:hover,
body.home .tor-mvv-btn:focus-visible{
  transform:translateY(-2px);
  background:var(--th-orange,#ef7b30);
  color:#fff;
  box-shadow:0 14px 28px rgba(239,123,48,.18);
  outline:none;
}

body.home .tor-history{
  margin-top:clamp(54px,6vw,86px);
  padding-top:clamp(34px,4vw,56px);
  border-top:1px solid var(--th-line,rgba(24,25,27,.09));
}
body.home .tor-history-head{
  margin-bottom:24px;
}
body.home .tor-history-head h3{
  margin:0 0 8px;
  color:var(--th-ink,#17191c);
  font-size:clamp(1.25rem,1.8vw,1.7rem);
  line-height:1.15;
  font-weight:650;
  letter-spacing:-.025em;
}
body.home .tor-history-head p{
  margin:0;
  color:var(--th-text,#777c81);
  font-size:.84rem;
  line-height:1.55;
}
body.home .tor-timeline-shell{
  position:relative;
  overflow:hidden;
  border:1px solid var(--th-orange,#ef7b30);
  border-radius:999px;
  background:rgba(255,255,255,.24);
}
body.home .tor-timeline{
  display:grid;
  grid-template-columns:repeat(15,minmax(68px,1fr));
  min-width:1180px;
}
body.home .tor-year-btn{
  position:relative;
  min-height:54px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  padding:6px 8px;
  border:0;
  border-right:1px solid rgba(239,123,48,.48);
  background:transparent;
  color:var(--th-orange,#ef7b30);
  font:500 .72rem/1 'Montserrat',sans-serif;
  cursor:pointer;
  transition:background-color .16s ease,color .16s ease,transform .16s ease;
}
body.home .tor-year-btn:last-child{border-right:0}
body.home .tor-year-btn i{
  height:13px;
  font-size:.72rem;
  line-height:1;
}
body.home .tor-year-btn:not(.is-milestone) i{visibility:hidden}
body.home .tor-year-btn:hover,
body.home .tor-year-btn:focus-visible{
  background:rgba(239,123,48,.10);
  transform:translateY(-1px);
  outline:none;
}
body.home .tor-year-btn.is-current{
  background:var(--th-orange,#ef7b30);
  color:#fff;
}

/* Modais */
body.home .tor-about-modal{
  position:fixed;
  inset:0;
  z-index:1000070;
  display:none;
  place-items:center;
  padding:20px;
  background:rgba(8,9,10,.68);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
body.home .tor-about-modal.is-open{display:grid}
body.home .tor-about-dialog{
  position:relative;
  width:min(680px,calc(100vw - 32px));
  max-height:calc(100dvh - 32px);
  overflow:auto;
  padding:34px;
  border:1px solid var(--th-line,rgba(24,25,27,.11));
  border-radius:26px;
  background:var(--th-card,#fff);
  color:var(--th-ink,#17191c);
  box-shadow:0 36px 120px rgba(0,0,0,.28);
}
body.home .tor-about-close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--th-line,rgba(24,25,27,.13));
  border-radius:50%;
  background:transparent;
  color:inherit;
  font:500 1.25rem/1 'Montserrat',sans-serif;
  cursor:pointer;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease;
}
body.home .tor-about-close:hover{
  transform:rotate(4deg);
  background:rgba(239,123,48,.08);
  border-color:rgba(239,123,48,.45);
}
body.home .tor-history-modal-kicker,
body.home .tor-mvv-modal-kicker{
  display:block;
  margin:0 56px 10px 0;
  color:var(--th-orange,#ef7b30);
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}
body.home .tor-history-counter{
  display:block;
  margin:2px 56px 16px 0;
  color:var(--th-orange,#ef7b30);
  font-size:clamp(3.35rem,8vw,5.5rem);
  line-height:.88;
  font-weight:650;
  letter-spacing:-.065em;
  font-variant-numeric:tabular-nums;
}
body.home .tor-about-dialog h3{
  margin:0 56px 16px 0;
  color:inherit;
  font-size:clamp(1.55rem,2.4vw,2.15rem);
  line-height:1.08;
  font-weight:650;
  letter-spacing:-.035em;
}
body.home .tor-about-dialog p{
  margin:0;
  color:var(--th-text,#686e73);
  font-size:.92rem;
  line-height:1.7;
}
body.home .tor-history-nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:28px;
}
body.home .tor-history-nav button{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(239,123,48,.45);
  border-radius:999px;
  background:transparent;
  color:var(--th-orange,#ef7b30);
  font:700 .78rem/1 'Montserrat',sans-serif;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
body.home .tor-history-nav button:hover:not(:disabled){
  background:var(--th-orange,#ef7b30);
  color:#fff;
  border-color:var(--th-orange,#ef7b30);
}
body.home .tor-history-nav button:disabled{
  opacity:.28;
  cursor:default;
}
body.home .tor-values{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:6px;
}
body.home .tor-values span{
  padding:8px 13px;
  border:1px solid rgba(239,123,48,.48);
  border-radius:999px;
  background:rgba(239,123,48,.07);
  color:var(--th-orange,#ef7b30);
  font-size:.77rem;
  line-height:1.15;
  font-weight:650;
}

html[data-bs-theme="dark"] body.home .tor-about-history{
  background:#111;
  border-top-color:rgba(255,255,255,.08);
}
html[data-bs-theme="dark"] body.home .tor-about-copy h2,
html[data-bs-theme="dark"] body.home .tor-about-lead,
html[data-bs-theme="dark"] body.home .tor-history-head h3{color:#f4f4f4}
html[data-bs-theme="dark"] body.home .tor-about-copy p:not(.tor-about-lead),
html[data-bs-theme="dark"] body.home .tor-history-head p{color:#aaaeb2}
html[data-bs-theme="dark"] body.home .tor-history{border-top-color:rgba(255,255,255,.08)}
html[data-bs-theme="dark"] body.home .tor-timeline-shell{background:rgba(255,255,255,.025)}
html[data-bs-theme="dark"] body.home .tor-year-btn:hover,
html[data-bs-theme="dark"] body.home .tor-year-btn:focus-visible{background:rgba(239,123,48,.14)}
html[data-bs-theme="dark"] body.home .tor-about-dialog{
  background:#191a1b;
  border-color:rgba(255,255,255,.11);
  color:#f4f4f4;
  box-shadow:0 36px 120px rgba(0,0,0,.52);
}
html[data-bs-theme="dark"] body.home .tor-about-dialog p{color:#c6c8ca}
html[data-bs-theme="dark"] body.home .tor-about-close{border-color:rgba(255,255,255,.16)}

@media(max-width:1050px){
  body.home .tor-about-top{grid-template-columns:1fr;gap:34px}
  body.home .tor-mvv-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  body.home .tor-mvv-btn{min-height:58px}
}
@media(max-width:760px){
  body.home .tor-about-container{width:calc(100% - 28px)}
  body.home .tor-about-history{padding:42px 0 52px}
  body.home .tor-about-copy h2{font-size:clamp(1.8rem,8vw,2.35rem)}
  body.home .tor-about-lead{font-size:.9rem;line-height:1.55}
  body.home .tor-about-copy p:not(.tor-about-lead){font-size:.86rem;line-height:1.65}
  body.home .tor-mvv-list{grid-template-columns:1fr}
  body.home .tor-mvv-btn{min-height:54px}
  body.home .tor-history{margin-top:46px;padding-top:34px}
  body.home .tor-timeline-shell{
    overflow-x:auto;
    overflow-y:hidden;
    border-radius:18px;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch;
  }
  body.home .tor-timeline-shell::-webkit-scrollbar{display:none!important}
  body.home .tor-timeline{display:flex;min-width:max-content}
  body.home .tor-year-btn{flex:0 0 86px;min-height:58px}
  body.home .tor-about-dialog{padding:30px 22px 24px;border-radius:22px}
  body.home .tor-about-close{top:14px;right:14px;width:40px;height:40px}
  body.home .tor-history-counter{margin-right:48px;font-size:clamp(3.1rem,19vw,4.5rem)}
  body.home .tor-about-dialog h3{margin-right:46px;font-size:1.55rem}
  body.home .tor-history-nav{grid-template-columns:1fr;gap:9px}
}

@media(prefers-reduced-motion:reduce){
  body.home .tor-mvv-btn,
  body.home .tor-year-btn,
  body.home .tor-about-close,
  body.home .tor-history-nav button{transition:none!important}
}
