:root{
  --brand:#2F5E59;
  --brand2:#1F3A35;
  --accent:#C97B43;
  --sand:#F6F2EA;
  --paper:#fff;
  --line:#E7E1D7;
  --text:#12201D;
  --muted:#5E6B66;

  --shadow:0 10px 30px rgba(0,0,0,.08);
  --r:16px;
  --r2:22px;
  --wrap:1180px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,var(--sand),#fff);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input{font:inherit}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 18px}
.fullbleed{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}

/* Top strip */
.top-strip{
  background:var(--brand);
  color:#fff;
  font-size:13px;
  padding:10px 0;
  text-align:center;
}

/* Header */
.header{
  background:rgba(255,255,255,.8);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:grid;
  grid-template-columns:240px 1fr 240px;
  gap:16px;
  align-items:center;
  padding:14px 0;
}
.brand{display:flex;gap:12px;align-items:center}
.brand-badge{
  width:42px;height:42px;border-radius:999px;
  background:var(--brand);
  display:grid;place-items:center;
  color:#fff;font-weight:700;
  box-shadow:0 6px 18px rgba(47,94,89,.25);
}
.brand-title{line-height:1.05}
.brand-title strong{display:block;font-weight:800;color:var(--brand2)}
.brand-title span{display:block;font-size:12px;color:var(--muted)}

/* Search */
.searchbar{
  display:flex;align-items:center;gap:8px;
  background:#f3f0ea;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px;
}
.searchbar input{
  border:0;background:transparent;outline:0;
  width:100%;
  color:var(--text);
}
.searchbar .icon{opacity:.6}

/* Buttons (único lugar) */
.btn, a.btn, button.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  height:40px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(31,58,53,.14);
  background:rgba(255,255,255,.92);
  color:var(--brand2);
  cursor:pointer;
  font-weight:600;
  letter-spacing:.1px;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  backdrop-filter:saturate(180%) blur(10px);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  background:#fff;
  border-color:rgba(31,58,53,.22);
  box-shadow:0 14px 30px rgba(0,0,0,.10);
  transform:translateY(-1px);
}
.btn:active{
  transform:translateY(1px);
  box-shadow:0 8px 16px rgba(0,0,0,.08);
}
.btn-primary{
  background:linear-gradient(180deg,#d58a53,var(--accent));
  border-color:transparent;
  color:#fff;
  box-shadow:0 16px 32px rgba(201,123,67,.26);
}
.btn-primary:hover{
  background:linear-gradient(180deg,#c77a43,#b96f3a);
  box-shadow:0 18px 36px rgba(201,123,67,.32);
}

/* Header actions */
.header-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}
.icon-btn{
  width:40px;height:40px;border-radius:999px;
  display:grid;place-items:center;
  border:1px solid rgba(31,58,53,.14);
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  position:relative;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.icon-btn:hover{
  background:#fff;
  border-color:rgba(31,58,53,.22);
  box-shadow:0 14px 30px rgba(0,0,0,.10);
  transform:translateY(-1px);
}
.cart-badge{
  position:absolute;top:-6px;right:-6px;
  width:18px;height:18px;border-radius:999px;
  background:var(--brand);
  color:#fff;font-size:11px;
  display:grid;place-items:center;
  border:2px solid #fff;
}

/* Nav row */
.navrow{background:#fff;border-bottom:1px solid var(--line)}
.navrow-inner{
  display:flex;gap:22px;align-items:center;
  padding:10px 0;
  overflow:auto;
}
.navlink{
  color:var(--muted);
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
  white-space:nowrap;
}
.navlink:hover{background:#f7f4ee;color:var(--brand2)}

/* Hero (versão nova) */
.hero-full{position:relative;margin:0;background:#0f1c18}
.hero-full .hero-bg{
  height:56vh;
  min-height:560px;
  position:relative;
  overflow:hidden;
  border-radius:0;
}
.hero-full .hero-bg:after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 20% 45%, rgba(0,0,0,.55), rgba(0,0,0,.10) 60%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 45%, rgba(0,0,0,.30));
}
.hero-full .hero-content{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
  padding:0 18px;
  max-width:var(--wrap);
  margin:0 auto;
  color:#fff;
}
.hero-full .hero-content > div{
  max-width:620px;
  padding:22px;
  border-radius:18px;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow:0 18px 40px rgba(0,0,0,.20);
}
.hero-kicker{
  display:inline-flex;gap:10px;align-items:center;
  padding:8px 12px;border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  font-size:13px;
  color:rgba(255,255,255,.92);
  margin-bottom:14px;
}
.hero-title{
  font-family:"Fraunces", Georgia, serif;
  font-size:56px;
  line-height:1.02;
  margin:4px 0 12px;
  letter-spacing:-.6px;
  max-width:820px;
  opacity:.95;
}
.hero-sub{
  font-size:18px;
  color:rgba(255,255,255,.88);
  margin:0 0 18px;
  max-width:560px;
  opacity:.92;
}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.hero-full .hero-cta .btn{height:42px}

/* Benefits (flutuando) */
.hero-benefits{
  margin-top:-56px;
  position:relative;
  z-index:5;
  padding-bottom:10px;
}
.hero-benefits .wrap{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.benefit{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:14px 16px;
  display:flex;gap:12px;align-items:center;
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
}
.benefit .bicon{
  width:42px;height:42px;border-radius:999px;
  background:rgba(246,242,234,.9);
  border:1px solid var(--line);
  display:grid;place-items:center;color:var(--brand);
}
.benefit strong{display:block;color:var(--brand2);font-size:15px}
.benefit span{display:block;font-size:13px;color:var(--muted)}

/* Sections */
.section-title{
  display:flex;justify-content:space-between;align-items:end;
  margin:22px 0 12px;
}
.section-title h2{margin:0;font-size:20px;color:var(--brand2)}
.section-title p{margin:0;color:var(--muted);font-size:14px}

/* Badges */
.badge{
  display:inline-flex;align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:12px;
  color:var(--muted);
}

/* Cards */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.card-pad{padding:16px}

/* Products (única versão) */
.products{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  padding-bottom:34px;
}
.product{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--r);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:100%;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}
.product:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(0,0,0,.10)}
.product-media{
  height:220px;
  overflow:hidden;
  position:relative;
  background:#f7f4ee;
}
.product-media img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.product:hover .product-media img{transform:scale(1.05)}
.product-media:after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,0));
  pointer-events:none;
}
.product .badge{
  position:absolute;
  top:12px;left:12px;
  background:rgba(255,255,255,.92);
  border-color:rgba(0,0,0,.08);
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}
.product-body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.product-title{
  margin:2px 0 8px;
  font-weight:800;
  color:var(--brand2);
  font-size:18px;
  line-height:1.2;
}
.product-meta{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  flex-grow:1;
}
.price{
  font-weight:900;
  font-size:22px;
  color:var(--brand2);
  letter-spacing:-.2px;
  margin-top:8px;
}
.product-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  align-items:center;
}
.product-actions a.btn{
  flex:0 0 auto;
  min-width:90px;
  padding:0 16px;
}
.product-actions form{flex:1}
.product-actions form .btn-primary{width:100%}

/* Forms */
.field{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.field label{font-size:13px;color:var(--muted)}
.field input,.field select,.field textarea{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  outline:0;
  background:#fff;
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:rgba(47,94,89,.45);
  box-shadow:0 0 0 4px rgba(47,94,89,.12);
}

/* Responsive */
@media (max-width:980px){
  .header-inner{grid-template-columns:1fr; gap:10px}
  .header-actions{justify-content:flex-start}
  .hero-title{font-size:40px}
  .hero-full .hero-bg{min-height:460px;height:54vh}
  .hero-benefits .wrap{grid-template-columns:1fr}
  .products{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
  .products{grid-template-columns:1fr}
}
/* HERO SLIDER (corrige empilhamento + fundo via data-img) */
.hero-full{ background:#0f1c18; }
.hero-full .hero-bg{
  height:56vh;
  min-height:560px;
  position:relative;
  overflow:hidden;
}

.hero-slide{
  position:absolute; inset:0;
  opacity:0;
  pointer-events:none;
  transition: opacity .8s ease;
  display:flex;
}
.hero-slide.is-active{
  opacity:1;
  pointer-events:auto;
}

.hero-bg::before{
  content:"";
  position:absolute; 
  inset:0;
  background: var(--hero-img);
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax, 0px)) scale(1.06);
  transition: transform .2s ease-out;
  z-index:0;
}

.hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 20% 45%, rgba(0,0,0,.55), rgba(0,0,0,.10) 60%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 45%, rgba(0,0,0,.30));
  z-index:1;
}

/* garante conteúdo acima do overlay */
.hero-slide .hero-content{ position:relative; z-index:2; width:100%; }

main.wrap{
  padding: 0 18px 46px !important;
}
.page{
  margin-top: 16px;
}

/* cards/telas mais “centradas” */
.shell{
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}

/* Footer */
.footer{
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(246,242,234,.9));
}
.footer-inner{
  padding: 22px 0;
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
  align-items:center;
}
.footer-brand strong{color:var(--brand2);display:block}
.footer-brand span{color:var(--muted);font-size:13px}
.footer-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.footer-links a{color:var(--muted);font-size:14px}
.footer-links a:hover{color:var(--brand2)}
.footer-copy{color:var(--muted);font-size:13px;text-align:right}

@media (max-width:980px){
  .footer-inner{grid-template-columns:1fr; text-align:left}
  .footer-links{justify-content:flex-start}
  .footer-copy{text-align:left}
}

/* FORÇA hero a ser full-bleed mesmo dentro do <main class="wrap"> */
.hero-full{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  overflow:hidden;
}

/* evita barra horizontal se algum cálculo sobrar 1px */
html, body{ overflow-x:hidden; }

input.input-error{
  border-color:#d9534f !important;
  box-shadow:0 0 0 3px rgba(217,83,79,.15);
}

.muted{ color:var(--muted); }

.grid{ display:grid; gap:14px; }
.grid.cols-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:980px){ .grid.cols-3{ grid-template-columns:1fr; } }

.table{ width:100%; border-collapse:collapse; }
.table th,.table td{ padding:12px 14px; border-top:1px solid var(--line); text-align:left; font-size:14px; }
.table thead th{ border-top:0; color:var(--muted); font-size:12px; letter-spacing:.2px; text-transform:uppercase; }