:root{
  --verde-pinheiro:#173C2E;
  --verde-musgo:#2E5D45;
  --verde-claro:#EAF1EA;
  --marfim:#F1ECDE;
  --marfim-alt:#E8E1CC;
  --tinta:#221E17;
  --terracota:#A15A34;
  --dourado:#BE9530;
  --linha:rgba(34,30,23,0.12);
  --branco:#FFFDF8;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--marfim);
  color:var(--tinta);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.display{
  font-family:'Fraunces',serif;
  font-weight:600;
  letter-spacing:-0.01em;
  margin:0;
}
.mono{
  font-family:'IBM Plex Mono',monospace;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
section{position:relative;}
.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
::selection{background:var(--dourado);color:var(--verde-pinheiro);}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}

/* ---------- HEADER ---------- */
header{position:fixed; top:0; left:0; right:0; z-index:100; padding:18px 0; transition:padding .35s ease, background .35s ease, box-shadow .35s ease;}
header.scrolled{padding:12px 0; background:rgba(241,236,222,0.92); backdrop-filter:blur(10px); box-shadow:0 1px 0 var(--linha);}
.header-inner{display:flex; align-items:center; justify-content:space-between; max-width:1180px; margin:0 auto; padding:0 32px; gap:20px;}
.brand{display:flex; align-items:center; gap:12px; flex:none;}
.brand-mark{width:44px; height:44px; flex:none; object-fit:contain;}
.brand-mark-footer{background:var(--marfim); border-radius:8px; padding:4px;}
.brand-text{line-height:1.05;}
.brand-text .name{font-family:'Fraunces',serif; font-weight:600; font-size:16.5px; color:var(--verde-pinheiro);}
.brand-text .sub{font-family:'IBM Plex Mono',monospace; font-size:9.5px; letter-spacing:0.12em; color:var(--terracota); text-transform:uppercase;}
nav{display:flex; align-items:center; gap:34px; flex:1; justify-content:center;}
nav a.navlink{font-size:14px; font-weight:500; color:var(--tinta); position:relative; padding:4px 0; white-space:nowrap;}
nav a.navlink::after{content:''; position:absolute; left:0; bottom:0; width:0; height:1.5px; background:var(--terracota); transition:width .3s ease;}
nav a.navlink:hover::after{width:100%;}
.btn{display:inline-flex; align-items:center; gap:8px; padding:11px 22px; border-radius:100px; font-size:13.5px; font-weight:600; font-family:'Inter',sans-serif; border:1.5px solid var(--verde-pinheiro); transition:transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; cursor:pointer; white-space:nowrap;}
.btn-solid{background:var(--verde-pinheiro); color:var(--branco);}
.btn-solid:hover{background:var(--verde-musgo); transform:translateY(-2px); box-shadow:0 8px 18px rgba(23,60,46,0.25);}
.btn-ghost{background:transparent; color:var(--verde-pinheiro);}
.btn-ghost:hover{background:var(--verde-pinheiro); color:var(--branco); transform:translateY(-2px);}
.btn-small{padding:8px 16px; font-size:12.5px;}
.menu-toggle{display:none; background:none; border:none; cursor:pointer; color:var(--verde-pinheiro); padding:6px; flex:none;}
.menu-toggle svg{width:24px; height:24px;}

/* ---------- HERO ---------- */
.hero{padding:168px 0 0; background:radial-gradient(ellipse 900px 500px at 85% 8%, rgba(190,149,48,0.14), transparent 60%), var(--marfim); position:relative;}
.hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center;}
.eyebrow{font-size:11.5px; color:var(--terracota); font-weight:500; display:inline-flex; align-items:center; gap:10px; margin-bottom:22px;}
.eyebrow .dash{width:28px; height:1.5px; background:var(--terracota); display:inline-block;}
.hero h1{font-size:clamp(34px,4.2vw,58px); line-height:1.08; color:var(--verde-pinheiro); max-width:640px;}
.hero h1 em{font-style:italic; color:var(--terracota); font-weight:500;}
.hero p.lede{margin-top:26px; font-size:17px; line-height:1.65; color:#463F32; max-width:490px;}
.hero-ctas{display:flex; gap:14px; margin-top:38px; flex-wrap:wrap;}
.hero-meta{display:flex; gap:34px; margin-top:56px; padding-top:28px; border-top:1px solid var(--linha); max-width:540px; flex-wrap:wrap;}
.hero-meta div .num{font-family:'Fraunces',serif; font-size:27px; color:var(--verde-pinheiro); font-weight:600;}
.hero-meta div .lbl{font-family:'IBM Plex Mono',monospace; font-size:10px; text-transform:uppercase; letter-spacing:0.08em; color:#6b6151; margin-top:4px;}

.hero-art{position:relative; height:520px;}
.scene{position:absolute; inset:0; border-radius:26px; background:linear-gradient(180deg, #DDE8DD 0%, var(--verde-claro) 55%, #d9e6d6 100%); overflow:hidden; box-shadow:0 30px 60px -20px rgba(23,60,46,0.35);}
.scene svg{position:absolute; bottom:0; left:0; width:100%; height:auto;}
.cloud{position:absolute; opacity:0.55;}
.cloud1{top:34px; left:24px; width:120px; animation:drift 50s linear infinite;}
.cloud2{top:74px; right:-10px; width:90px; animation:drift 65s linear infinite reverse;}
@keyframes drift{from{transform:translateX(0);} to{transform:translateX(30px);}}

.leg{transform-origin:top center; animation:graze 3.6s ease-in-out infinite;}
.leg2{animation-delay:.4s;} .leg3{animation-delay:.8s;} .leg4{animation-delay:1.2s;}
@keyframes graze{0%,100%{transform:rotate(0deg);} 50%{transform:rotate(3deg);}}
.head-bob{transform-origin:70% 90%; animation:bob 4.2s ease-in-out infinite;}
@keyframes bob{0%,100%{transform:rotate(0deg) translateY(0);} 45%{transform:rotate(-4deg) translateY(2px);} 55%{transform:rotate(-4deg) translateY(2px);}}
.tail-wag{transform-origin:left center; animation:wag 2.4s ease-in-out infinite;}
@keyframes wag{0%,100%{transform:rotate(0deg);} 50%{transform:rotate(10deg);}}

.thread-wrap{position:relative; height:0;}

/* ---------- WOOL PRICE CARD (substitui a cena de ovelhas no hero) ---------- */
.wool-card{position:absolute; inset:0; border-radius:26px; overflow:hidden; box-shadow:0 30px 60px -20px rgba(23,60,46,0.35); background:linear-gradient(165deg, var(--verde-pinheiro), #0f2a20); display:flex; flex-direction:column; color:var(--marfim);}
.wool-card-header{flex:none; display:flex; align-items:center; gap:14px; padding:26px 26px 18px; border-bottom:1px solid rgba(255,255,255,0.12);}
.wool-card-header svg{width:30px; height:30px; color:var(--dourado); flex:none;}
.wool-card-header h3{font-size:16.5px; color:var(--branco); font-family:'Fraunces',serif; font-weight:600; margin:0;}
.wool-card-sub{display:block; font-family:'IBM Plex Mono',monospace; font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:#9fb6a3; margin-top:4px;}
.wool-grid{flex:1; overflow-y:auto; padding:16px 26px 10px; column-count:2; column-gap:24px;}
.wool-row{display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px dashed rgba(255,255,255,0.16); break-inside:avoid;}
.wool-type{font-size:12.5px; color:#E4ECE3;}
.wool-price{display:flex; align-items:center; gap:6px; flex:none;}
.wool-price .amount{font-family:'Fraunces',serif; font-weight:600; font-size:14px; color:var(--dourado); white-space:nowrap;}
.wool-edit-btn{width:20px; height:20px; border-radius:50%; border:none; background:rgba(255,255,255,0.14); color:var(--marfim); cursor:pointer; display:flex; align-items:center; justify-content:center; flex:none; padding:0;}
.wool-edit-btn svg{width:10px; height:10px;}
.wool-edit-btn:hover{background:var(--dourado); color:var(--verde-pinheiro);}
.wool-admin-note{flex:none; font-size:10.5px; color:#9fb6a3; text-align:center; padding:10px 20px 16px; border-top:1px solid rgba(255,255,255,0.1);}

/* ---------- STATS BAND ---------- */
.stats-band{background:var(--verde-pinheiro); color:var(--marfim); padding:64px 0; margin-top:110px; position:relative;}
.stats-band::before{content:''; position:absolute; top:-1px; left:0; right:0; height:1px; background:linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);}
.stats-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; text-align:center;}
.stats-grid .stat .num{font-family:'Fraunces',serif; font-size:clamp(36px,4vw,54px); font-weight:600; color:var(--dourado);}
.stats-grid .stat .cap{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; margin-top:8px; color:#D8E3D6; opacity:0.85;}
.stats-grid .stat{border-right:1px solid rgba(255,255,255,0.14);}
.stats-grid .stat:last-child{border-right:none;}

.reveal{opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

.section-head{max-width:640px; margin-bottom:52px;}
.section-head h2{font-size:clamp(28px,3.2vw,42px); color:var(--verde-pinheiro); line-height:1.12;}
.section-head p{margin-top:16px; font-size:16px; line-height:1.65; color:#524a3b;}

/* ---------- SOBRE ---------- */
.sobre{padding:120px 0;}
.sobre-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:70px; align-items:center;}
.sobre-art{position:relative; aspect-ratio:4/5; border-radius:20px; overflow:hidden; box-shadow:0 30px 60px -25px rgba(23,60,46,0.4);}
.sobre-art img{width:100%; height:100%; object-fit:cover;}
.sobre-text p{font-size:16.5px; line-height:1.8; color:#3b3527; margin-bottom:20px;}
.sobre-text p strong{color:var(--verde-pinheiro);}
.pull{border-left:3px solid var(--terracota); padding-left:22px; margin:34px 0; font-family:'Fraunces',serif; font-style:italic; font-size:21px; color:var(--verde-pinheiro); line-height:1.5;}
.badge-row{display:flex; gap:14px; margin-top:30px; flex-wrap:wrap;}
.badge-row span{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; padding:8px 14px; border:1px solid var(--linha); border-radius:100px; color:var(--verde-musgo);}

/* ---------- DIFERENCIAIS ---------- */
.diferenciais{padding:20px 0 110px;}
.dif-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--linha); border:1px solid var(--linha); border-radius:18px; overflow:hidden;}
.dif-card{background:var(--branco); padding:34px 28px; transition:background .3s ease;}
.dif-card:hover{background:var(--verde-claro);}
.dif-card svg{width:30px; height:30px; color:var(--terracota); margin-bottom:18px;}
.dif-card h3{font-size:16.5px; color:var(--verde-pinheiro); margin-bottom:10px;}
.dif-card p{font-size:13.8px; line-height:1.6; color:#5a5344; margin:0;}

/* ---------- PRODUTOS ---------- */
.produtos{padding:100px 0; background:var(--verde-claro);}
.cat-tabs{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px;}
.cat-tab{padding:10px 20px; border-radius:100px; font-size:13px; font-weight:600; background:var(--branco); border:1px solid var(--linha); cursor:pointer; transition:all .25s ease; color:var(--verde-pinheiro);}
.cat-tab.active, .cat-tab:hover{background:var(--verde-pinheiro); color:var(--branco); border-color:var(--verde-pinheiro);}
.search-row{position:relative; max-width:420px; margin-bottom:40px;}
.search-row svg{position:absolute; left:16px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:#8a8071;}
.search-row input{width:100%; padding:13px 16px 13px 44px; border-radius:100px; border:1px solid var(--linha); background:var(--branco); font-family:'Inter',sans-serif; font-size:14px; outline:none; transition:border-color .25s ease;}
.search-row input:focus{border-color:var(--terracota);}
.prod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.prod-card{background:var(--branco); border-radius:16px; overflow:hidden; border:1px solid var(--linha); transition:transform .35s ease, box-shadow .35s ease;}
.prod-card:hover{transform:translateY(-6px); box-shadow:0 22px 40px -18px rgba(23,60,46,0.28);}
.prod-thumb{aspect-ratio:1/1; position:relative; overflow:hidden; background:repeating-linear-gradient(135deg, #E4DECB, #E4DECB 10px, #DCD5BE 10px, #DCD5BE 20px); display:flex; align-items:center; justify-content:center;}
.prod-thumb svg{width:42%; opacity:0.5; color:var(--verde-musgo);}
.prod-tag{position:absolute; top:10px; left:10px; background:var(--marfim); font-family:'IBM Plex Mono',monospace; font-size:9px; letter-spacing:0.05em; text-transform:uppercase; padding:5px 9px; border-radius:100px; color:var(--terracota); max-width:calc(100% - 20px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.prod-code{position:absolute; bottom:10px; right:10px; font-family:'IBM Plex Mono',monospace; font-size:9px; color:#9a9080; background:rgba(255,253,248,0.8); padding:3px 7px; border-radius:100px;}
.prod-body{padding:16px 18px 20px;}
.prod-body .pname{font-family:'Inter',sans-serif; font-weight:600; font-size:14.5px; color:var(--tinta); line-height:1.35; min-height:38px;}
.prod-body .pprice{margin-top:10px; font-family:'Fraunces',serif; font-size:19px; color:var(--verde-pinheiro); font-weight:600;}
.prod-body .punit{font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:#9a9080; text-transform:uppercase; margin-left:6px;}
.prod-body .pbtn{margin-top:14px; width:100%; padding:10px; border-radius:10px; text-align:center; font-size:12.5px; font-weight:600; border:1px solid var(--verde-pinheiro); color:var(--verde-pinheiro); background:transparent; transition:all .25s ease; cursor:pointer;}
.prod-body .pbtn:hover{background:var(--verde-pinheiro); color:#fff;}
.prod-empty{text-align:center; padding:60px 20px; color:#8a8071; font-size:15px;}
.pagination{display:flex; justify-content:center; align-items:center; gap:8px; margin-top:44px; flex-wrap:wrap;}
.pg-btn{min-width:38px; height:38px; padding:0 10px; border-radius:10px; border:1px solid var(--linha); background:var(--branco); color:var(--verde-pinheiro); font-family:'IBM Plex Mono',monospace; font-size:12.5px; cursor:pointer; transition:all .2s ease;}
.pg-btn.active{background:var(--verde-pinheiro); color:#fff; border-color:var(--verde-pinheiro);}
.pg-btn:disabled{opacity:0.35; cursor:not-allowed;}
.pg-btn:not(:disabled):not(.active):hover{border-color:var(--terracota);}

/* ---------- CONTATO ---------- */
.contato{padding:110px 0;}
.contato-card{background:var(--verde-pinheiro); border-radius:24px; overflow:hidden; display:grid; grid-template-columns:1fr 1fr;}
.contato-info{padding:56px 52px; color:var(--marfim);}
.contato-info h2{color:var(--branco); font-size:clamp(26px,3vw,34px); margin-bottom:14px;}
.contato-info > p{color:#CADACB; font-size:15px; line-height:1.7; max-width:400px; margin-bottom:36px;}
.contato-row{display:flex; gap:16px; padding:16px 0; border-top:1px solid rgba(255,255,255,0.14);}
.contato-row:last-of-type{border-bottom:1px solid rgba(255,255,255,0.14);}
.contato-row svg{width:20px; height:20px; flex:none; color:var(--dourado); margin-top:2px;}
.contato-row .lbl{font-family:'IBM Plex Mono',monospace; font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:#9fb6a3; margin-bottom:4px;}
.contato-row .val{font-size:14.5px; color:var(--branco); line-height:1.55;}
.contato-cta{margin-top:30px;}
.contato-map{position:relative; min-height:380px;}
.contato-map iframe{width:100%; height:100%; min-height:380px; border:0; filter:grayscale(0.25) contrast(1.05);}

/* ---------- FOOTER ---------- */
footer{background:#12281F; color:#B9C7BB; padding:64px 0 28px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.09);}
.foot-brand .brand-text .name{color:var(--branco);}
.foot-brand p{margin-top:16px; font-size:13.5px; line-height:1.7; max-width:280px; color:#9AAB9C;}
.foot-col h4{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#7FA085; margin-bottom:18px;}
.foot-col a{display:block; font-size:13.8px; margin-bottom:12px; color:#C4D0C5; transition:color .2s ease;}
.foot-col a:hover{color:var(--dourado);}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:12px; color:#7C8F7E; flex-wrap:wrap; gap:12px;}

.wa-float{position:fixed; bottom:26px; right:26px; z-index:90; width:56px; height:56px; border-radius:50%; background:#1E8A5C; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(30,60,46,0.35); animation:pulse 2.6s ease-in-out infinite;}
@keyframes pulse{0%,100%{box-shadow:0 10px 26px rgba(30,138,92,0.35);} 50%{box-shadow:0 10px 34px rgba(30,138,92,0.55);}}
.wa-float svg{width:26px; height:26px;}

/* ---------- CHATBOT "OVELHINHA" ---------- */
.bot-float{position:fixed; bottom:96px; right:26px; z-index:95; width:56px; height:56px; border-radius:50%; background:var(--dourado); color:var(--verde-pinheiro); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(190,149,48,0.4); cursor:pointer; border:2px solid var(--dourado); overflow:hidden; padding:0; animation:botPulse 3s ease-in-out infinite;}
@keyframes botPulse{0%,100%{box-shadow:0 10px 26px rgba(190,149,48,0.35);} 50%{box-shadow:0 10px 34px rgba(190,149,48,0.6);}}
.bot-float img{width:100%; height:100%; object-fit:cover; border-radius:50%;}
.bot-float .bot-badge{position:absolute; top:-1px; right:-1px; width:14px; height:14px; border-radius:50%; background:#1E8A5C; border:2px solid var(--marfim); z-index:2;}

.bot-panel{position:fixed; bottom:160px; right:26px; z-index:96; width:340px; max-width:calc(100vw - 40px); height:480px; max-height:70vh; background:var(--branco); border-radius:20px; overflow:hidden; box-shadow:0 30px 60px -15px rgba(0,0,0,0.35); display:flex; flex-direction:column; opacity:0; visibility:hidden; transform:translateY(16px) scale(0.97); transition:opacity .25s ease, transform .25s ease, visibility .25s ease;}
.bot-panel.open{opacity:1; visibility:visible; transform:translateY(0) scale(1);}

.bot-header{flex:none; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 18px; background:var(--verde-pinheiro); color:#fff;}
.bot-header-info{display:flex; align-items:center; gap:10px;}
.bot-avatar{width:36px; height:36px; border-radius:50%; overflow:hidden; flex:none; border:2px solid var(--dourado);}
.bot-avatar img{width:100%; height:100%; object-fit:cover;}
.bot-name{font-family:'Fraunces',serif; font-weight:600; font-size:15px;}
.bot-status{font-size:10.5px; color:#B7D0BB; display:flex; align-items:center; gap:5px;}
.bot-status::before{content:''; width:6px; height:6px; border-radius:50%; background:#4ADE80; display:inline-block;}
.bot-close{background:rgba(255,255,255,0.15); border:none; color:#fff; width:26px; height:26px; border-radius:50%; font-size:16px; line-height:1; cursor:pointer; flex:none; display:flex; align-items:center; justify-content:center;}
.bot-close:hover{background:rgba(255,255,255,0.28);}

.bot-messages{flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; background:var(--marfim);}
.bot-msg{max-width:85%; padding:10px 13px; border-radius:14px; font-size:13px; line-height:1.55;}
.bot-msg.bot{align-self:flex-start; background:var(--branco); color:var(--tinta); border:1px solid var(--linha); border-bottom-left-radius:4px;}
.bot-msg.user{align-self:flex-end; background:var(--verde-pinheiro); color:#fff; border-bottom-right-radius:4px;}
.bot-msg ol, .bot-msg ul{margin:6px 0 0; padding-left:18px;}
.bot-msg li{margin-bottom:5px;}
.bot-typing{align-self:flex-start; display:flex; gap:4px; padding:12px 14px; background:var(--branco); border:1px solid var(--linha); border-radius:14px; border-bottom-left-radius:4px;}
.bot-typing span{width:6px; height:6px; border-radius:50%; background:#b2a892; display:inline-block; animation:botTyping 1.2s infinite ease-in-out;}
.bot-typing span:nth-child(2){animation-delay:.15s;}
.bot-typing span:nth-child(3){animation-delay:.3s;}
@keyframes botTyping{0%,60%,100%{transform:translateY(0); opacity:.5;} 30%{transform:translateY(-4px); opacity:1;}}

.bot-quick-replies{flex:none; display:flex; flex-wrap:wrap; gap:6px; padding:10px 14px; border-top:1px solid var(--linha); background:var(--branco);}
.bot-quick-btn{padding:7px 12px; border-radius:100px; border:1px solid var(--verde-musgo); background:var(--verde-claro); color:var(--verde-pinheiro); font-size:11.5px; font-weight:600; cursor:pointer; transition:all .2s ease;}
.bot-quick-btn:hover{background:var(--verde-pinheiro); color:#fff;}

.bot-input-row{flex:none; display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--linha); background:var(--branco);}
.bot-input-row input{flex:1; padding:10px 14px; border-radius:100px; border:1px solid var(--linha); background:var(--marfim); font-family:'Inter',sans-serif; font-size:13px; outline:none; transition:border-color .2s ease;}
.bot-input-row input:focus{border-color:var(--terracota);}
.bot-input-row button{width:38px; height:38px; border-radius:50%; border:none; background:var(--verde-pinheiro); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; flex:none;}
.bot-input-row button:hover{background:var(--verde-musgo);}
.bot-input-row button svg{width:16px; height:16px;}

/* ---------- AUTH: header area ---------- */
.auth-area{display:flex; align-items:center; flex:none;}
.user-chip{position:relative; display:flex; align-items:center; gap:8px; padding:8px 14px; border-radius:100px; background:var(--verde-claro); border:1px solid var(--linha); font-size:13px; font-weight:600; color:var(--verde-pinheiro); cursor:pointer;}
.user-chip-name{white-space:nowrap;}
.admin-badge{background:var(--dourado); color:var(--verde-pinheiro); font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:.06em; padding:3px 8px; border-radius:100px;}
.user-chip-menu{display:none; position:absolute; top:calc(100% + 8px); right:0; background:var(--branco); border:1px solid var(--linha); border-radius:12px; box-shadow:0 14px 30px -10px rgba(23,60,46,0.25); min-width:150px; overflow:hidden; z-index:60;}
.user-chip-menu.open{display:block;}
.user-chip-menu button{display:block; width:100%; text-align:left; padding:11px 16px; background:none; border:none; font-size:13px; color:var(--tinta); cursor:pointer; font-family:'Inter',sans-serif;}
.user-chip-menu button:hover{background:var(--verde-claro); color:var(--verde-pinheiro);}

/* ---------- MODALS (auth + product edit) ---------- */
.modal-overlay{position:fixed; inset:0; background:rgba(23,20,15,0.55); backdrop-filter:blur(3px); z-index:200; display:none; align-items:center; justify-content:center; padding:20px;}
.modal-overlay.open{display:flex;}
.modal-box{background:var(--branco); border-radius:20px; padding:36px 34px; width:100%; max-width:420px; max-height:88vh; overflow-y:auto; position:relative; box-shadow:0 40px 80px -20px rgba(0,0,0,0.35);}
.modal-close{position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%; border:none; background:var(--verde-claro); color:var(--verde-pinheiro); font-size:20px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.modal-close:hover{background:var(--verde-pinheiro); color:#fff;}
.modal-tabs{display:flex; gap:8px; margin-bottom:26px; background:var(--verde-claro); border-radius:100px; padding:4px;}
.modal-tab{flex:1; padding:10px; border-radius:100px; border:none; background:transparent; font-size:13.5px; font-weight:600; color:var(--verde-musgo); cursor:pointer; transition:all .2s ease; font-family:'Inter',sans-serif;}
.modal-tab.active{background:var(--verde-pinheiro); color:#fff;}
.modal-box h2{font-size:22px; color:var(--verde-pinheiro); margin-bottom:6px;}
.modal-box .modal-sub{font-size:13px; color:#7a715f; margin-bottom:22px;}
.modal-form{display:flex; flex-direction:column; gap:16px;}
.modal-form label{display:flex; flex-direction:column; gap:7px; font-size:12.5px; font-weight:600; color:var(--verde-musgo); font-family:'IBM Plex Mono',monospace; text-transform:uppercase; letter-spacing:.04em;}
.modal-form input, .modal-form textarea{
  font-family:'Inter',sans-serif; font-size:14.5px; font-weight:400; text-transform:none; letter-spacing:normal;
  padding:12px 14px; border-radius:10px; border:1px solid var(--linha); background:var(--marfim); outline:none; transition:border-color .2s ease;
}
.modal-form input:focus, .modal-form textarea:focus{border-color:var(--terracota);}
.modal-msg{font-size:13px; min-height:18px;}
.modal-msg.error{color:#B23A2E;}
.modal-msg.ok{color:#1E7A45;}
.modal-hint{font-size:12px; color:#8a8071; margin-top:-8px;}
.img-preview{max-width:100%; max-height:160px; border-radius:10px; margin-top:6px; display:none; object-fit:cover; border:1px solid var(--linha);}
.modal-file-row{display:flex; gap:10px; align-items:center; flex-wrap:wrap;}
.btn-tiny{padding:7px 14px; font-size:11.5px; border-radius:100px; border:1px solid var(--linha); background:var(--branco); color:var(--terracota); cursor:pointer; font-family:'Inter',sans-serif; font-weight:600;}
.btn-tiny:hover{border-color:var(--terracota);}
.btn-danger{color:#B23A2E; border-color:#B23A2E; margin-top:12px;}
.btn-danger:hover{background:#B23A2E; color:#fff; border-color:#B23A2E;}

/* ---------- admin product edit button + banner ---------- */
.edit-fab{position:absolute; top:10px; right:10px; width:32px; height:32px; border-radius:50%; background:var(--verde-pinheiro); color:#fff; border:none; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 6px 14px rgba(23,60,46,0.3); transition:transform .2s ease;}
.edit-fab:hover{transform:scale(1.08); background:var(--terracota);}
.edit-fab svg{width:15px; height:15px;}
.remove-fab{position:absolute; top:10px; right:48px; width:32px; height:32px; border-radius:50%; background:var(--branco); color:#B23A2E; border:1px solid var(--linha); display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 6px 14px rgba(0,0,0,0.15); transition:transform .2s ease;}
.remove-fab:hover{transform:scale(1.08); background:#B23A2E; color:#fff;}
.remove-fab svg{width:14px; height:14px;}
.admin-banner{display:none; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; background:var(--dourado); color:var(--verde-pinheiro); padding:14px 20px; border-radius:12px; font-size:13.5px; font-weight:600; margin-bottom:30px;}
.admin-banner-text{display:flex; align-items:center; gap:12px;}
.admin-banner svg{width:20px; height:20px; flex:none;}
.prod-thumb img{width:100%; height:100%; object-fit:cover;}
.pstock{font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--verde-musgo); margin-top:8px; text-transform:uppercase; letter-spacing:.04em;}

/* ---------- CART: header button ---------- */
.cart-btn{position:relative; width:40px; height:40px; border-radius:50%; border:1px solid var(--linha); background:var(--branco); color:var(--verde-pinheiro); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .2s ease; flex:none;}
.cart-btn:hover{border-color:var(--terracota); color:var(--terracota);}
.cart-btn svg{width:19px; height:19px;}
.cart-count{position:absolute; top:-4px; right:-4px; min-width:18px; height:18px; padding:0 4px; border-radius:100px; background:var(--terracota); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:10px; display:none; align-items:center; justify-content:center;}

/* ---------- CART: drawer ---------- */
.cart-overlay{position:fixed; inset:0; background:rgba(23,20,15,0); z-index:220; visibility:hidden; opacity:0; display:flex; justify-content:flex-end; transition:opacity .3s ease, visibility .3s ease, background .3s ease;}
.cart-overlay.open{visibility:visible; opacity:1; background:rgba(23,20,15,0.5);}
.cart-panel{background:var(--branco); width:100%; max-width:440px; height:100%; display:flex; flex-direction:column; box-shadow:-20px 0 50px rgba(0,0,0,0.25); transform:translateX(100%); transition:transform .35s ease;}
.cart-overlay.open .cart-panel{transform:translateX(0);}
.cart-header{display:flex; align-items:center; justify-content:space-between; padding:26px 28px; border-bottom:1px solid var(--linha); flex:none;}
.cart-header h2{font-size:20px; color:var(--verde-pinheiro);}
.cart-body{flex:1; overflow-y:auto; padding:20px 28px;}
.cart-empty{display:none; flex-direction:column; align-items:center; justify-content:center; height:100%; color:#8a8071; font-size:14.5px; text-align:center; gap:10px;}
.cart-items{display:none; flex-direction:column; gap:18px;}
.cart-item{display:flex; gap:14px; align-items:flex-start; padding-bottom:18px; border-bottom:1px solid var(--linha);}
.cart-item-thumb{width:56px; height:56px; border-radius:10px; background:var(--verde-claro); flex:none; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.cart-item-thumb svg{width:26px; height:26px; color:var(--verde-musgo);}
.cart-item-thumb img{width:100%; height:100%; object-fit:cover;}
.cart-item-info{flex:1; min-width:0;}
.cart-item-name{font-size:13.5px; font-weight:600; color:var(--tinta); line-height:1.35; margin-bottom:4px;}
.cart-item-price{font-size:12px; color:#8a8071; margin-bottom:8px;}
.cart-item-qty{display:flex; align-items:center; gap:10px;}
.qty-btn{width:24px; height:24px; border-radius:6px; border:1px solid var(--linha); background:var(--marfim); color:var(--verde-pinheiro); font-size:14px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.qty-btn:hover{border-color:var(--terracota); color:var(--terracota);}
.cart-item-qty span{font-family:'IBM Plex Mono',monospace; font-size:13px; min-width:16px; text-align:center;}
.cart-item-right{display:flex; flex-direction:column; align-items:flex-end; gap:10px; flex:none;}
.cart-item-subtotal{font-family:'Fraunces',serif; font-weight:600; font-size:14.5px; color:var(--verde-pinheiro); white-space:nowrap;}
.cart-item-remove{width:26px; height:26px; border-radius:50%; border:none; background:none; color:#b2a892; cursor:pointer; display:flex; align-items:center; justify-content:center;}
.cart-item-remove:hover{color:#B23A2E;}
.cart-item-remove svg{width:15px; height:15px;}
.cart-footer{flex:none; padding:24px 28px 28px; border-top:1px solid var(--linha);}
.cart-total-row{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:18px; font-size:14px; color:#524a3b;}
.cart-total-row span:last-child{font-family:'Fraunces',serif; font-size:22px; font-weight:600; color:var(--verde-pinheiro);}

/* ---------- PIX MODAL ---------- */
.pix-qr{display:flex; justify-content:center; align-items:center; margin:22px 0 16px; min-height:200px;}
.pix-qr img, .pix-qr canvas{border-radius:12px; border:1px solid var(--linha);}
.pix-total{text-align:center; font-family:'Fraunces',serif; font-size:30px; font-weight:600; color:var(--verde-pinheiro); margin-bottom:4px;}
.pix-code-label{display:block; text-align:left; font-size:11px; font-weight:600; color:var(--verde-musgo); text-transform:uppercase; letter-spacing:.05em; font-family:'IBM Plex Mono',monospace; margin-top:16px; margin-bottom:8px;}
.pix-code-box{width:100%; font-family:'IBM Plex Mono',monospace; font-size:11px; line-height:1.5; padding:12px 14px; border-radius:10px; border:1px solid var(--linha); background:var(--marfim); resize:none; color:var(--tinta);}
.pix-recipient{font-size:12.5px; color:#7a715f; margin-top:18px; text-align:center; line-height:1.6;}

/* ---------- ORDERS: admin panel ---------- */
.order-card{border:1px solid var(--linha); border-radius:14px; padding:16px 18px; margin-bottom:16px; background:var(--branco);}
.order-card-head{display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:12px;}
.order-id{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--verde-musgo);}
.order-date{font-size:11px; color:#8a8071; margin-top:2px;}
.order-status-pill{font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:.04em; padding:5px 11px; border-radius:100px; white-space:nowrap; flex:none;}
.status-recebido{background:var(--dourado); color:var(--verde-pinheiro);}
.status-separando{background:#EAD9BE; color:#6B4A1E;}
.status-pronto{background:var(--verde-claro); color:var(--verde-pinheiro); border:1px solid var(--verde-musgo);}
.status-entregue{background:var(--verde-pinheiro); color:#fff;}
.status-cancelado{background:#F4D9D4; color:#B23A2E;}
.order-customer{font-size:12.5px; color:var(--tinta); margin-bottom:10px; line-height:1.5;}
.order-customer strong{color:var(--verde-pinheiro);}
.order-items{font-size:12.5px; color:#524a3b; margin-bottom:12px; line-height:1.7;}
.order-total{font-family:'Fraunces',serif; font-weight:600; font-size:15px; color:var(--verde-pinheiro); margin-bottom:14px;}
.order-status-select{width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--linha); background:var(--marfim); font-family:'Inter',sans-serif; font-size:12.5px; color:var(--tinta); cursor:pointer;}

/* ---------- HISTÓRIA PAGE ---------- */
.page-hero{padding:168px 0 90px; background:linear-gradient(180deg, var(--verde-claro), var(--marfim));}
.page-hero h1{font-size:clamp(32px,4.4vw,56px); color:var(--verde-pinheiro); line-height:1.1;}
.page-hero p{margin-top:20px; font-size:16.5px; line-height:1.7; color:#463F32; max-width:640px;}
.back-link{display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:var(--terracota); margin-bottom:24px;}
.back-link svg{width:16px; height:16px;}
.historia-body{padding:20px 0 90px;}
.historia-body .lead-block{max-width:760px; margin-bottom:70px;}
.historia-body .lead-block p{font-size:17px; line-height:1.85; color:#3b3527; margin-bottom:22px;}
.historia-body .lead-block p strong{color:var(--verde-pinheiro);}
.la-quote{background:var(--verde-pinheiro); color:var(--marfim); border-radius:20px; padding:44px 48px; margin:50px 0; max-width:820px;}
.la-quote h3{color:var(--dourado); font-size:14px; text-transform:uppercase; letter-spacing:.1em; font-family:'IBM Plex Mono',monospace; margin-bottom:18px;}
.la-quote p{font-size:15.5px; line-height:1.8; color:#DCE7DC; margin-bottom:16px;}
.la-quote p:last-child{margin-bottom:0;}

.timeline{position:relative; max-width:820px; margin-top:20px;}
.timeline::before{content:''; position:absolute; left:27px; top:8px; bottom:8px; width:2px; background:var(--linha);}
.tl-item{display:flex; gap:26px; margin-bottom:44px; position:relative;}
.tl-marker{flex:none; width:56px; height:56px; border-radius:50%; background:var(--branco); border:2px solid var(--verde-pinheiro); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:600; color:var(--verde-pinheiro); font-size:15px; z-index:2;}
.tl-period{color:var(--terracota); font-size:11px; letter-spacing:0.08em; margin-bottom:6px;}
.tl-body h3{font-size:19px; color:var(--verde-pinheiro); margin-bottom:10px;}
.tl-body p{font-size:14.5px; line-height:1.75; color:#524a3b; margin:0;}

/* ---------- DIREÇÃO PAGE ---------- */
.board-president{display:flex; align-items:center; gap:44px; background:var(--verde-pinheiro); border-radius:24px; padding:44px; margin-bottom:70px;}
.board-president img{width:170px; height:170px; border-radius:50%; object-fit:cover; border:4px solid var(--dourado); flex:none;}
.board-president-info .role{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--dourado); margin-bottom:10px;}
.board-president-info h2{color:var(--branco); font-size:clamp(24px,3vw,32px); margin-bottom:10px;}
.board-president-info p{color:#CADACB; font-size:14.5px; line-height:1.7; max-width:480px; margin:0;}
.board-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px;}
.board-card{background:var(--branco); border:1px solid var(--linha); border-radius:18px; overflow:hidden; text-align:center; transition:transform .3s ease, box-shadow .3s ease;}
.board-card:hover{transform:translateY(-6px); box-shadow:0 22px 40px -18px rgba(23,60,46,0.28);}
.board-card img{width:100%; aspect-ratio:4/5; object-fit:cover; display:block;}
.board-card-body{padding:18px 16px 22px;}
.board-card-body h3{font-size:15px; color:var(--verde-pinheiro); line-height:1.3;}
.board-card-body .role{font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--terracota); margin-top:8px;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  nav{position:fixed; top:0; right:-100%; height:100vh; width:78%; max-width:320px; background:var(--branco); flex-direction:column; justify-content:flex-start; align-items:flex-start; padding:110px 32px 32px; gap:26px; transition:right .35s ease; box-shadow:-10px 0 40px rgba(0,0,0,0.15); z-index:99;}
  nav.open{right:0;}
  .menu-toggle{display:block;}
  .hero-grid{grid-template-columns:1fr;}
  .hero-art{height:340px; margin-top:10px;}
  .sobre-grid{grid-template-columns:1fr; gap:40px;}
  .sobre-art{aspect-ratio:16/9;}
  .stats-grid{grid-template-columns:1fr; gap:36px;}
  .stats-grid .stat{border-right:none; border-bottom:1px solid rgba(255,255,255,0.14); padding-bottom:28px;}
  .stats-grid .stat:last-child{border-bottom:none; padding-bottom:0;}
  .dif-grid{grid-template-columns:1fr 1fr;}
  .prod-grid{grid-template-columns:1fr 1fr;}
  .board-grid{grid-template-columns:1fr 1fr;}
  .board-president{flex-direction:column; text-align:center; gap:24px;}
  .board-president-info p{max-width:100%;}
  .contato-card{grid-template-columns:1fr;}
  .contato-map{min-height:280px;}
  .foot-grid{grid-template-columns:1fr 1fr; row-gap:34px;}
}
@media (max-width:600px){
  .wrap{padding:0 20px;}
  .header-inner{padding:0 20px;}
  .wa-header-btn{display:none;}
  .user-chip-name{display:none;}
  .hero{padding-top:120px;}
  .bot-panel{width:calc(100vw - 32px); right:16px; bottom:150px; height:65vh;}
  .bot-float{right:16px; bottom:90px;}
  .wa-float{right:16px;}
  .dif-grid{grid-template-columns:1fr;}
  .prod-grid{grid-template-columns:1fr 1fr; gap:14px;}
  .board-grid{grid-template-columns:1fr 1fr; gap:14px;}
  .wool-grid{column-count:1;}
  .foot-grid{grid-template-columns:1fr;}
  .contato-info{padding:40px 26px;}
  .la-quote{padding:30px 26px;}
  .tl-item{gap:16px;}
  .tl-marker{width:44px; height:44px; font-size:12px;}
}
