/* Brasil Refino — Visual Refinement V3.1. Overrides only, site V3 stays intact. */
:root{--forest:#042f24;--deep:#062f23;--green:#035f3a;--gold:#f6af02;--ink:#133429;--cream:#fbfcf9;--line:#dae4dc}
html{scroll-padding-top:82px}body{background:#fbfcf9;letter-spacing:.005em}
/* Clean institutional navigation, inspired by recovered original but with modern spacing */
.site-header{background:rgba(255,255,255,.985);border-bottom:1px solid #dce7dc;box-shadow:0 5px 22px rgba(9,45,29,.05);backdrop-filter:blur(18px)}
.nav-shell{min-height:84px}.brand{background:transparent;box-shadow:none;padding:0;border-radius:0}.brand img{width:236px}
.main-nav{gap:30px}.nav-link{color:#164d34;font-size:11px;position:relative;padding:34px 0}.nav-link:hover,.nav-link:focus-visible{color:#036d3d}
.nav-link:after{content:"";position:absolute;bottom:27px;left:0;right:100%;height:2px;background:var(--gold);transition:right .22s ease}
.nav-link:hover:after,.nav-link:focus-visible:after{right:0}
.nav-cta{border-radius:4px;background:#f6b300;box-shadow:0 4px 0 rgba(246,175,2,.18);font-size:11px;letter-spacing:.09em}
/* Let the real plant photograph lead; reduce AI-like haze and filters */
.hero{min-height:700px}.hero-image{background-position: center 42%}
.hero-vignette{background:linear-gradient(91deg,rgba(2,32,24,.97) 0%,rgba(2,32,24,.92) 24%,rgba(3,37,28,.70) 41%,rgba(3,37,28,.12) 72%,rgba(3,37,28,.03) 100%),linear-gradient(0deg,rgba(2,25,19,.36),transparent 48%)}
.hero-grid{min-height:670px}.hero-copy{width:680px}.hero h1{letter-spacing:-.048em;font-weight:800;line-height:1.05;max-width:690px}.hero h1 span{color:#ffd044}
.hero p{font-size:19px;line-height:1.7;color:#e7f1eb}.eyebrow-light{color:#d7eadb}
.button,.filter-chip,.product-card{border-radius:6px}.button-gold{box-shadow:0 10px 26px rgba(3,22,15,.16)}
.value-strip{border-bottom:1px solid #e3ede5}.value-item{padding-top:30px;padding-bottom:30px}
.section-space{padding-top:108px;padding-bottom:108px}.intro-section{background:#fff}.intro-photo{border-radius:9px}
.intro-info p,.structure-copy p{line-height:1.8}.intro-info h2,.structure-copy h2,.products h2,.history h2,.closing h2{font-weight:800;letter-spacing:-.044em}
.structure-photo{border-radius:8px;box-shadow:0 22px 50px rgba(0,0,0,.14)}
/* Product panels: quieter, more architectural, with deliberate tactile states */
.products{background:#f5f8f3}.product-grid{gap:16px}.product-card{border:1px solid #d6e3d8;box-shadow:0 3px 8px rgba(16,53,32,.025);min-height:244px;position:relative;overflow:hidden}
.product-card:before{content:"";position:absolute;right:-60px;bottom:-85px;height:190px;width:190px;border:1px solid rgba(3,95,58,.13);border-radius:50%;box-shadow:0 0 0 35px rgba(3,95,58,.028),0 0 0 70px rgba(3,95,58,.018);pointer-events:none}
.product-card:hover,.product-card:focus-visible,.product-card.is-selected{background:#065238;border-color:#087c50;transform:translateY(-5px);box-shadow:0 20px 42px rgba(5,64,41,.18)}
.product-card:hover:before,.product-card.is-selected:before{border-color:rgba(255,255,255,.17);box-shadow:0 0 0 35px rgba(255,255,255,.024),0 0 0 70px rgba(255,255,255,.02)}
.product-name{font-weight:780;position:relative}.product-details{border-radius:6px;box-shadow:0 6px 18px rgba(8,65,38,.055)}
/* Timeline: animated progress tracking the selected year, no external plugin */
.timeline-track{--progress:0%;isolation:isolate}
.timeline-track:after{content:"";position:absolute;z-index:0;top:20px;left:0;height:2px;width:var(--progress);background:linear-gradient(90deg,#046a43,#e4a800);transition:width .33s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.timeline-year{cursor:pointer}.timeline-year .node{transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.timeline-year.active .node{transform:scale(1.12)}
.history-feature{border-radius:10px;background:#063b29;box-shadow:0 18px 48px rgba(4,46,31,.11)}.history-photo img{object-position:center 36%}
.history-dynamic.animate{animation:history-reveal .28s ease-out}
@keyframes history-reveal{from{opacity:.55;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
/* Small screens retain the white header but recover dark contrast for menu */
@media(max-width:1100px){.main-nav{gap:16px}.brand img{width:190px}.nav-link{font-size:10px}}
@media(max-width:760px){.shell{width:calc(100% - 36px)}.nav-shell{min-height:74px}.brand img{width:168px}.menu-toggle span{background:#075338}.main-nav{background:#fff;box-shadow:0 18px 30px #092b1a24;border-top:1px solid #dbe6dc}.nav-link{color:#075338;padding:14px 0;border-color:#e0e9e2;font-size:12px}.nav-link:after{bottom:7px}.nav-cta{background:#f6af02;color:#043b25}.hero-image{background-position:65% 40%}.hero-vignette{background:linear-gradient(90deg,rgba(2,32,23,.94),rgba(2,36,27,.58)),linear-gradient(0deg,rgba(2,24,17,.45),transparent 48%)}.hero{min-height:650px}.hero-grid{min-height:610px}.hero-copy{padding:45px 0}.product-card{min-height:215px}.timeline-track:after{display:none}}
@media(prefers-reduced-motion:reduce){.timeline-track:after{transition:none}.history-dynamic.animate{animation:none}}

/* V3.3 — História 2016–2026: dez marcos reais, com rolagem horizontal acessível. */
.timeline-controls{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:23px 0 8px;font-size:10px;font-weight:850;letter-spacing:.13em;color:#687c70}
.timeline-arrows{display:flex;gap:9px}
.timeline-arrow{width:38px;height:38px;display:grid;place-items:center;border:1px solid #b9cfbe;background:#fff;border-radius:50%;color:#075338;font-size:17px;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.timeline-arrow:hover,.timeline-arrow:focus-visible{background:#075338;color:#fff;border-color:#075338}
.timeline-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#afc9b5 #f0f4f0;overscroll-behavior-inline:contain;padding:4px 1px 8px;scroll-snap-type:x proximity}
.timeline-scroll::-webkit-scrollbar{height:6px}.timeline-scroll::-webkit-scrollbar-thumb{background:#a5c6ad;border-radius:4px}
.timeline-track{grid-template-columns:repeat(10,minmax(104px,1fr));min-width:1140px}
.timeline-year{scroll-snap-align:center}
.timeline-year.active .year-number{color:#025f3d}
.timeline-year:focus-visible{outline:2px solid #035f3a;outline-offset:4px;border-radius:3px}
.history-bigyear{font-size:clamp(54px,6vw,90px)}
.history-dynamic{min-height:225px}
.history-dynamic p{max-width:540px}
@media(max-width:760px){.timeline-track{grid-template-columns:repeat(10,minmax(102px,1fr));min-width:1070px;overflow:visible}.timeline-track:after{display:block}.timeline-controls>span{max-width:220px;font-size:9px;line-height:1.5}.timeline-scroll{margin-right:-18px;padding-right:18px}.history-dynamic{min-height:235px}}
@media(max-width:450px){.history-bigyear{font-size:58px}.history-dynamic{min-height:270px}.timeline-controls{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.timeline-scroll{scroll-behavior:auto}}
