/*
Theme Name: Torcisao Site 2026
Theme URI: https://torcisao.com.br
Author: Torcisao Trefilados
Description: Tema reconstruido e versionado para o site institucional da Torcisao Trefilados.
Version: 2026.09.30.1
Text Domain: torcisao
*/

:root{
  --tor-orange:#ef7b30;
  --tor-orange-dark:#c9611e;
  --tor-ink:#17191c;
  --tor-text:#626870;
  --tor-bg:#f2f0ee;
  --tor-card:#ffffff;
  --tor-line:rgba(24,25,27,.11);
  --tor-soft:#faf8f6;
  --tor-black:#171717;
  --tor-radius:26px;
  --tor-shadow:0 22px 70px rgba(20,20,20,.09);
  --tor-header-height:180px;
}
html[data-bs-theme="dark"]{
  --tor-ink:#f7f7f7;
  --tor-text:#bfc3c7;
  --tor-bg:#101011;
  --tor-card:#1a1a1b;
  --tor-line:rgba(255,255,255,.11);
  --tor-soft:#151516;
  --tor-black:#09090a;
  --tor-shadow:0 22px 80px rgba(0,0,0,.34);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--tor-bg)}
body{margin:0;background:var(--tor-bg);color:var(--tor-ink);font-family:'Montserrat',Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip}
body:not(.home){padding-top:var(--tor-header-height)}
a{color:inherit}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.tor-container{width:min(1440px,calc(100% - 64px));margin-inline:auto}
.tor-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--tor-orange);font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.tor-kicker:before{content:'';width:20px;height:1px;background:currentColor}
.tor-title{margin:10px 0 0;font-size:clamp(2.15rem,3.7vw,4.3rem);line-height:1.02;letter-spacing:-.045em;font-weight:850}
.tor-copy{margin:14px 0 0;color:var(--tor-text);font-size:clamp(.94rem,1.05vw,1.08rem);line-height:1.72}
.tor-pill{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:999px;font-size:.74rem;font-weight:850;text-decoration:none;border:1px solid transparent;transition:transform .2s ease,background-color .2s ease,border-color .2s ease}
.tor-pill:hover{transform:translateY(-2px)}
.tor-pill-primary{background:var(--tor-orange);color:#fff}.tor-pill-primary:hover{background:var(--tor-orange-dark)}
.tor-pill-ghost{border-color:var(--tor-line);background:rgba(255,255,255,.55)}
html[data-bs-theme="dark"] .tor-pill-ghost{background:rgba(255,255,255,.05)}

/* Home hero */
.tor-home{background:var(--tor-bg)}
.tor-hero{position:relative;height:100svh;min-height:720px;overflow:hidden;background:#111;color:#fff}
.tor-hero-track{position:absolute;inset:0}
.tor-hero-slide{position:absolute;inset:0;opacity:0;transform:scale(1.025);transition:opacity 1s ease,transform 7s ease;pointer-events:none}
.tor-hero-slide.is-active{opacity:1;transform:scale(1);pointer-events:auto}
.tor-hero-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,5,6,.78) 0%,rgba(4,5,6,.48) 42%,rgba(4,5,6,.12) 72%,rgba(4,5,6,.26) 100%)}
.tor-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tor-hero-inner{position:relative;z-index:3;height:100%;display:flex;align-items:flex-end;padding:calc(var(--tor-header-height) + 44px) 0 80px}
.tor-hero-content{max-width:820px}
.tor-hero-eyebrow{display:inline-flex;align-items:center;gap:10px;color:#ff9d5e;font-size:.72rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.tor-hero-eyebrow:before{content:'';width:24px;height:1px;background:currentColor}
.tor-hero h1{margin:16px 0 14px;font-size:clamp(3rem,6vw,6.6rem);line-height:.91;font-weight:850;letter-spacing:-.055em}
.tor-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.78);font-size:clamp(1rem,1.25vw,1.2rem);line-height:1.65}
.tor-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.tor-hero-actions .tor-pill-ghost{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;backdrop-filter:blur(10px)}
.tor-hero-dots{position:absolute;z-index:5;right:clamp(24px,4vw,70px);bottom:44px;display:flex;gap:7px}
.tor-hero-dot{width:32px;height:4px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.35)}
.tor-hero-dot.is-active{background:var(--tor-orange)}

/* Home sections */
.tor-section{padding:clamp(64px,7vw,106px) 0;border-top:1px solid var(--tor-line)}
.tor-section-head{display:grid;grid-template-columns:minmax(0,.8fr) minmax(400px,1.2fr);gap:50px;align-items:end;margin-bottom:36px}
.tor-section-head .tor-copy{margin:0}
.tor-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tor-product-card{position:relative;min-height:520px;border-radius:var(--tor-radius);overflow:hidden;background:#111;color:#fff;box-shadow:var(--tor-shadow);isolation:isolate}
.tor-product-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.22,.61,.36,1)}
.tor-product-card:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.05) 25%,rgba(0,0,0,.8) 100%)}
.tor-product-card:hover img{transform:scale(1.035)}
.tor-product-card-content{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:30px}
.tor-product-card small{display:block;color:#ffad78;font-size:.66rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.tor-product-card h3{margin:8px 0 8px;font-size:clamp(1.55rem,2vw,2.2rem);line-height:1.05;font-weight:850;letter-spacing:-.025em}
.tor-product-card p{margin:0;color:rgba(255,255,255,.74);font-size:.78rem;line-height:1.55}
.tor-product-card-link{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#fff;font-size:.72rem;font-weight:850;text-decoration:none}.tor-product-card-link span{color:var(--tor-orange);font-size:1.1rem}
.tor-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:24px}
.tor-stat{padding:22px;border:1px solid var(--tor-line);border-radius:18px;background:var(--tor-card)}
.tor-stat strong{display:block;color:var(--tor-orange);font-size:clamp(1.45rem,2.6vw,2.5rem);font-weight:850;letter-spacing:-.04em}.tor-stat span{display:block;margin-top:5px;color:var(--tor-text);font-size:.7rem;line-height:1.45;font-weight:650}
.tor-about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);gap:48px;align-items:center}
.tor-about-media{position:relative;min-height:560px;border-radius:var(--tor-radius);overflow:hidden}.tor-about-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tor-about-media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.28))}
.tor-about-panel{padding:34px;border:1px solid var(--tor-line);border-radius:22px;background:var(--tor-card)}
.tor-about-panel h3{margin:0 0 12px;font-size:1.35rem}.tor-about-panel p{margin:0;color:var(--tor-text);font-size:.83rem;line-height:1.7}
.tor-timeline{display:grid;gap:10px;margin-top:24px}.tor-timeline-item{display:grid;grid-template-columns:82px 1fr;gap:14px;padding:15px 0;border-top:1px solid var(--tor-line)}.tor-timeline-item strong{color:var(--tor-orange);font-size:.76rem}.tor-timeline-item span{color:var(--tor-text);font-size:.75rem;line-height:1.5}
.tor-quality-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:30px;border-radius:22px;background:var(--tor-black);color:#fff}.tor-quality-strip h3{margin:0 0 7px;font-size:1.5rem}.tor-quality-strip p{margin:0;color:#bebebe;font-size:.8rem;line-height:1.6}

/* Footer */
.site-footer{padding:54px 0 26px;background:#111;color:#fff}.footer-grid{display:grid;grid-template-columns:1.25fr repeat(3,minmax(0,.7fr));gap:36px}.footer-brand img{width:205px;max-width:100%;filter:brightness(0) invert(1)}.footer-brand p{max-width:440px;margin:16px 0 0;color:#aaa;font-size:.76rem;line-height:1.65}.footer-col h4{margin:0 0 14px;color:#fff;font-size:.76rem}.footer-col a{display:block;margin:9px 0;color:#aaa;font-size:.72rem;text-decoration:none}.footer-col a:hover{color:#fff}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:38px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);color:#777;font-size:.64rem}

@media(max-width:1100px){.tor-container{width:calc(100% - 40px)}.tor-section-head{grid-template-columns:1fr;gap:14px}.tor-product-grid{grid-template-columns:1fr 1fr}.tor-product-card:last-child{grid-column:1/-1;min-height:430px}.tor-about-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:991.98px){:root{--tor-header-height:124px}.tor-hero{min-height:640px}.tor-hero-inner{padding-top:150px}.tor-hero-dots{right:18px;bottom:24px}.tor-stats{grid-template-columns:1fr 1fr}}
@media(max-width:767.98px){.tor-container{width:auto;margin-left:14px;margin-right:14px}.tor-hero{height:92svh;min-height:620px}.tor-hero-inner{padding:145px 0 46px;align-items:flex-end}.tor-hero h1{font-size:clamp(2.65rem,13vw,4.25rem)}.tor-hero p{font-size:.9rem}.tor-section{padding:48px 0}.tor-product-grid{grid-template-columns:1fr}.tor-product-card,.tor-product-card:last-child{grid-column:auto;min-height:430px}.tor-stats{grid-template-columns:1fr 1fr}.tor-about-media{min-height:420px}.tor-quality-strip{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.tor-product-card-content{padding:22px}}
@media(max-width:380px){.tor-container{margin-left:11px;margin-right:11px}.tor-stats{grid-template-columns:1fr}.tor-hero-actions{display:grid}.tor-pill{width:100%}}

/* Global quote tab */
.btn-cta-mobile,
#hfQuoteTab,
#afQuoteTab,
#bfQuoteTab{
  border:1px solid var(--tor-orange,#ef7b30) !important;
}
