:root{
  --bg: #f6f0e3;              /* off-white quente */
  --card: rgba(255,255,255,.72);
  --card2: rgba(255,255,255,.86);
  --stroke: rgba(20, 28, 22, .10);
  --shadow: 0 18px 50px rgba(0,0,0,.10);
  --shadow2: 0 20px 60px rgba(0,0,0,.16);

  --text: #111312;
  --muted: rgba(17,19,18,.62);

  --green: #1e4f31;           /* verde San Vittorio vibe */
  --green2:#173d26;
  --cream:#f6f0e3;
  --white:#fff;

  /* Premium motion system */
  --ease-premium: cubic-bezier(.22,.75,.12,1);
  --ease-smooth: cubic-bezier(.4,0,.2,1);
  --glass: rgba(255,255,255,.65);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(255,255,255,.55), transparent),
    radial-gradient(900px 520px at 90% 12%, rgba(255,255,255,.40), transparent),
    var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

a{ color:inherit; }
.no-scroll{ overflow:hidden; }

.container{ max-width:1160px; margin:0 auto; padding:0 18px; }
.my-4{ margin:24px auto; }
.m-0{ margin:0; }
.muted{ color:var(--muted); }
.p-4{ padding:18px; }
.p-3{ padding:14px; }

.card-soft{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:22px;
  box-shadow:var(--shadow);
}

/* =========================
   PREMIUM KEYFRAMES
========================= */
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(22px) scale(.985); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
@keyframes shimmerSweep{
  0%{ transform: translateX(-120%); opacity:.0; }
  15%{ opacity:1; }
  100%{ transform: translateX(120%); opacity:0; }
}

/* =========================
   ANNOUNCE (MARQUEE)
========================= */
.announce{
  height:34px;
  background:var(--green);
  color:#fff;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.announce-track{
  display:flex;
  align-items:center;
  gap:18px;
  white-space:nowrap;
  padding-left:18px;
  animation: marquee 18s linear infinite;
  font-weight:800;
  letter-spacing:.2px;
  opacity:.95;
}
.announce-track i{ opacity:.55; font-style:normal; }
@keyframes marquee{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

/* =========================
   TOPBAR
========================= */
.topbar{
  position:sticky;
  top:34px; /* fica abaixo do announce */
  z-index:50;

  background:rgba(246,240,227,.74);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  border-bottom:1px solid rgba(0,0,0,.06);
  transition: background .25s var(--ease-premium);
}
.topbar-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  max-width:1160px;
  margin:0 auto;
}
.topbar-left{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand{
  font-weight:1000;
  text-decoration:none;
  letter-spacing:.2px;
}
.brand-sub{ font-weight:800; opacity:.6; }
.topbar-sep{ opacity:.35; }

.topbar-nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.navlink{
  text-decoration:none;
  font-weight:850;
  color:var(--green2);
  opacity:.95;
  position:relative;
}
.navlink:after{
  content:"";
  position:absolute;
  left:0; bottom:-8px;
  width:0;
  height:2px;
  background:var(--green2);
  border-radius:999px;
  transition:width .22s ease;
}
.navlink:hover:after{ width:100%; }

.topbar-right{
  display:flex;
  align-items:center;
  gap:12px;
}
.cartlink{
  text-decoration:none;
  font-weight:900;
  color:var(--green2);
  display:flex;
  align-items:center;
  gap:8px;
}
.cartbadge{
  min-width:24px;
  height:24px;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:1000;
}

.hamburger{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.85);
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition: transform .18s var(--ease-premium), box-shadow .18s var(--ease-premium);
}
.hamburger:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(0,0,0,.16);
}
.hamburger span{
  display:block;
  width:18px;
  height:2px;
  background:#1a1a1a;
  border-radius:2px;
  margin:2px 0;
}

@media (max-width: 880px){
  .topbar-nav{ display:none; }
}

/* =========================
   DRAWER
========================= */
.drawer{ position:fixed; inset:0; pointer-events:none; z-index:80; }
.drawer.is-open{ pointer-events:auto; }
.drawer-backdrop{
  position:absolute; inset:0;
  background:rgba(0,0,0,.25);
  opacity:0;
  transition:opacity .18s ease;
}
.drawer.is-open .drawer-backdrop{ opacity:1; }

.drawer-panel{
  position:absolute;
  top:0; right:0;
  width:min(420px, 92vw);
  height:100%;
  background:rgba(255,255,255,.92);
  border-left:1px solid var(--stroke);
  backdrop-filter: blur(12px);
  transform:translateX(110%);
  transition:transform .22s var(--ease-premium);
  padding:18px;
}
.drawer.is-open .drawer-panel{ transform:translateX(0); }

.drawer-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:14px; }
.drawer-title{ font-weight:1000; font-size:18px; }
.drawer-x{
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.9);
  cursor:pointer;
  transition: transform .18s var(--ease-premium);
}
.drawer-x:hover{ transform:rotate(4deg) translateY(-1px); }

.drawer-section{ padding:12px 0; border-top:1px solid rgba(0,0,0,.06); }
.drawer-link{
  display:block;
  text-decoration:none;
  color:var(--text);
  font-weight:950;
  padding:10px 12px;
  border-radius:14px;
}
.drawer-link:hover{ background:rgba(0,0,0,.04); }

.drawer-label{ font-weight:1000; margin-bottom:10px; }
.drawer-cats{ display:flex; flex-wrap:wrap; gap:10px; }
.cat-pill{
  display:inline-flex;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.92);
  text-decoration:none;
  color:var(--text);
  font-weight:900;
  transition: transform .18s var(--ease-premium), box-shadow .18s var(--ease-premium);
}
.cat-pill:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(0,0,0,.12);
}

/* =========================
   SECTION HEAD / SECTIONS
========================= */
.section{
  margin: 34px 0;
}
.section + .section{
  margin-top: 44px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin:16px 0 22px;
}

.h-hero{
  font-size:44px;
  letter-spacing:-.8px;
  line-height:1.04;
}
@media (max-width: 720px){
  .h-hero{ font-size:34px; }
}

.section-title{
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.05;
  font-weight: 950;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.section-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 650;
}
.divider-soft{
  height: 1px;
  background: rgba(0,0,0,.06);
  margin: 26px 0;
}

/* Ajuste de “respiro” no bloco depois do hero */
.container.my-4{
  padding-top: 12px;
}

/* =========================
   BRANDS GRID (antigo b-card)
   (você pode manter, mas no index novo usamos squares)
========================= */
.grid-brands{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  margin-top:16px;
}
@media (max-width: 980px){ .grid-brands{ grid-template-columns:repeat(2, 1fr);} }
@media (max-width: 520px){ .grid-brands{ grid-template-columns:1fr;} }

.b-card{
  text-decoration:none;
  color:var(--text);
  border-radius:26px;
  padding:18px;
  display:flex;
  gap:16px;
  align-items:center;
  position:relative;
  overflow:hidden;

  background: linear-gradient(135deg, var(--green), var(--green2));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    0 20px 50px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.08);

  transform:translateZ(0);
  transition:
    transform .45s var(--ease-premium),
    box-shadow .45s var(--ease-premium);
}
.b-card:before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 60%);
  transform: rotate(18deg);
}
.b-card:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-premium);
}
.b-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 35px 90px rgba(0,0,0,.22);
}
.b-card:hover:after{
  transform: translateX(120%);
}
.b-logo{
  width:74px; height:74px;
  border-radius:22px;
  background:rgba(255,255,255,.92);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
  position:relative;
  z-index:1;
}
.b-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
  filter:contrast(1.02);
}
.b-logo-empty{
  font-weight:1000;
  opacity:.55;
}
.b-body{ position:relative; z-index:1; }
.b-name{
  font-weight:1000;
  font-size:16px;
  margin-bottom:4px;
  color:#fff;
}
.b-body .muted{
  font-size:13px;
  color:rgba(255,255,255,.72);
}
.b-arrow{
  margin-left:auto;
  position:relative;
  z-index:1;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:1000;
  transition: transform .22s var(--ease-premium), background .22s var(--ease-premium);
}
.b-card:hover .b-arrow{
  transform:translateX(3px);
  background:rgba(255,255,255,.16);
}

/* =========================
   PRODUCTS GRID
========================= */
.grid-products{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 980px){ .grid-products{ grid-template-columns:repeat(2, 1fr);} }
@media (max-width: 520px){ .grid-products{ grid-template-columns:1fr;} }

.p-card{
  position:relative;
  background:var(--card2);
  border:1px solid rgba(0,0,0,.06);
  border-radius:26px;
  box-shadow:0 18px 50px rgba(0,0,0,.10);
  overflow:hidden;
  transition: transform .45s var(--ease-premium), box-shadow .45s var(--ease-premium);
}
.p-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.04));
  pointer-events:none;
}
.p-card:hover{
  transform:translateY(-10px) scale(1.015);
  box-shadow:0 35px 90px rgba(0,0,0,.20);
}

.p-card-link{
  text-decoration:none;
  color:var(--text);
  display:block;
}
.p-media{
  height:280px;
  background:rgba(0,0,0,.04);
  overflow:hidden;
  position:relative;
}
.p-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  transition: transform 1.1s var(--ease-premium), filter .6s ease;
  filter: saturate(1.02) contrast(1.01);
}
.p-card:hover .p-media img{
  transform:scale(1.12);
  filter: saturate(1.10) contrast(1.05);
}
.p-media-empty{
  height:100%;
  display:grid;
  place-items:center;
  color:rgba(0,0,0,.45);
  font-weight:900;
}

.pill{
  position:absolute;
  top:14px; left:14px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:1000;
  font-size:12px;
  letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  background:rgba(255,255,255,.20);
  color:#fff;
}
.pill-kit{ background:rgba(30,79,49,.85); border-color:rgba(255,255,255,.22); }

.p-body{ padding:16px 16px 0; }
.p-title{
  margin:0 0 12px;
  font-size:16px;
  font-weight:1000;
  letter-spacing:-.2px;
}
.price{ font-weight:1000; font-size:16px; }
.strike{ margin-left:8px; opacity:.55; text-decoration:line-through; }

.p-actions{
  display:flex;
  gap:10px;
  padding:16px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 16px;
  border-radius:999px;
  font-weight:1000;
  text-decoration:none;
  border:1px solid var(--stroke);
  cursor:pointer;
  transition: transform .22s var(--ease-premium), box-shadow .22s var(--ease-premium), background .18s var(--ease-premium);
  position:relative;
  overflow:hidden;
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 14px 26px rgba(0,0,0,.12); }
.btn::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.40) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-premium);
  pointer-events:none;
}
.btn:hover::after{ transform: translateX(120%); }
.btn-dark{
  background:#0f1110;
  color:#fff;
  border-color:transparent;
}
.btn-outline{
  background:rgba(255,255,255,.92);
  color:var(--text);
}

/* =========================
   REVEAL (scroll)
========================= */
.reveal{
  opacity:0;
  transform: translateY(16px);
  transition: opacity .70s var(--ease-premium), transform .70s var(--ease-premium);
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}

/* =========================
   Marca page header
========================= */
.page-head{ margin-bottom:18px; }
.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:var(--green2);
  font-weight:1000;
  margin-bottom:12px;
}
.brand-head{
  display:flex;
  gap:14px;
  align-items:center;
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:22px;
  padding:14px;
  box-shadow:var(--shadow);
}
.brand-logo{
  width:74px; height:74px;
  border-radius:22px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.9);
  padding:12px;
  object-fit:contain;
}
.brand-logo--placeholder{
  width:74px; height:74px;
  border-radius:22px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.7);
}

/* =========================
   Footer
========================= */
.footer{
  margin-top:36px;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.03));
  border-top:1px solid rgba(0,0,0,.06);
}
.footer-inner{
  max-width:1160px;
  margin:0 auto;
  padding:22px 18px;
  color:var(--muted);
  text-align:center;
  font-weight:700;
}

/* ================================
   COMMUNITY / CAROUSEL
================================ */
.community-wrap{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.community-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.community-head .left{ min-width: 220px; }
.community-kicker{
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .8;
  font-size: 12px;
  margin-bottom: 6px;
}
.carousel-controls{
  display: flex;
  gap: 10px;
  align-items: center;
}
.carousel-btn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform .18s var(--ease-premium), box-shadow .18s var(--ease-premium);
  user-select: none;
}
.carousel-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.carousel-btn:active{ transform: translateY(0px) scale(.98); }
.carousel-btn[disabled]{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.community-rail{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;

  overflow-x: auto;
  padding: 10px 6px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.community-rail::-webkit-scrollbar{ height: 10px; }
.community-rail::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}
.community-rail::-webkit-scrollbar-track{
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}
.community-item{
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.82);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  transform: translateZ(0);
  transition: transform .32s var(--ease-premium), box-shadow .32s var(--ease-premium);
}
.community-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
}
.community-item img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .6s var(--ease-premium);
}
.community-item:hover img{ transform: scale(1.07); }
.community-item--empty{
  height: 180px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(700px 240px at 30% 20%, rgba(0,0,0,.05), transparent),
    linear-gradient(135deg, rgba(0,0,0,.04), rgba(0,0,0,.02));
  color: rgba(0,0,0,.55);
  font-weight: 900;
  letter-spacing: .02em;
}
.community-meta{
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.community-meta .tag{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.86);
}

@media (max-width: 520px){
  .community-rail{ grid-auto-columns: 82%; }
  .community-item img, .community-item--empty{ height: 210px; }
}

/* ================================
   FAQ (bonito com <details>)
================================ */
.faq-wrap{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.faq-card{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.faq-card details{
  border: 1px solid rgba(0,0,0,.07);
  background: rgba(255,255,255,.88);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  transition: transform .22s var(--ease-premium), box-shadow .22s var(--ease-premium);
}

.faq-card details:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.10);
}

.faq-card summary{
  list-style: none;
  cursor: pointer;
  padding: 16px 16px;
  font-weight: 950;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.faq-card summary::-webkit-details-marker{ display:none; }

.faq-card summary::after{
  content:"▾";
  font-weight: 1000;
  opacity: .6;
  transition: transform .25s var(--ease-premium), opacity .25s var(--ease-premium);
}

.faq-card details[open] summary::after{
  transform: rotate(-180deg);
  opacity: .9;
}

.faq-card details p{
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.6;
}

/* =========================
   HERO — FULL WIDTH PREMIUM (corrigido p/ seu HTML)
========================= */
.hero{
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,.06);

  height: clamp(520px, 60vh, 640px);

  background:
    radial-gradient(1200px 520px at 20% 20%, rgba(255,255,255,.30), transparent 60%),
    radial-gradient(900px 420px at 88% 14%, rgba(255,255,255,.22), transparent 55%),
    #0f0f10;

  animation: fadeUp 1.05s var(--ease-premium);
}

/* ✅ wrapper do hero (seu HTML tem hero-shell) */
.hero-shell{
  height: 100%;
  position: relative;
}

/* track ocupa altura do hero */
.hero-track{
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform .60s var(--ease-premium);
}

.hero-slide{
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow:hidden;
}

/* ✅ overlay vai no slide */
.hero-slide::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg,
      rgba(15,15,16,.82) 0%,
      rgba(15,15,16,.58) 36%,
      rgba(15,15,16,.22) 72%,
      rgba(15,15,16,.08) 100%);
  pointer-events:none;
  z-index: 1;
}

/* ✅ GRID vai no hero-inner (seu HTML) */
.hero-inner{
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  padding: 42px 0;
  position: relative;
  z-index: 2;
}

/* tipografia */
.hero-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 14px;
  animation: fadeUp 1.1s var(--ease-premium);
}

.hero-title{
  margin: 0 0 10px;
  font-weight: 950;
  line-height: 1.02;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 64px);
  letter-spacing:-.02em;
  animation: fadeUp 1.25s var(--ease-premium);
}

.hero-sub{
  margin: 0 0 18px;
  max-width: 52ch;
  color: rgba(255,255,255,.78);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
  animation: fadeUp 1.4s var(--ease-premium);
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  animation: fadeUp 1.55s var(--ease-premium);
}

/* botões no hero */
.hero .btn{
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.hero .btn-dark{
  background: rgba(255,255,255,.92);
  color: #0f0f10;
  border-color: rgba(255,255,255,0);
}
.hero .btn-outline{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.18);
}
.hero .btn-outline:hover{
  background: rgba(255,255,255,.10);
}

/* media */
.hero-media{
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: clamp(18px, 2.2vw, 28px);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}
.hero-media::after{
  content:"";
  position:absolute; inset:-30%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.20), transparent 60%);
  transform: rotate(14deg);
  pointer-events:none;
}
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.03);
  transition: transform 1.25s var(--ease-premium), filter .6s ease;
  filter: saturate(1.06) contrast(1.03);
}
.hero:hover .hero-media img{ transform: scale(1.08); }

/* dots */
.hero-dots{
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;

  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15,15,16,.45);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.hero-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .18s var(--ease-premium), background .18s var(--ease-premium), width .18s var(--ease-premium);
  display: inline-block;
}
.hero-dot.is-on{
  background: rgba(255,255,255,.92);
  width: 26px;
  transform: translateY(-1px);
}

/* ✅ arrows (classe certa do seu HTML) */
.hero-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(15,15,16,.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 7;
  backdrop-filter: blur(10px);
  transition: transform .18s var(--ease-premium), background .18s var(--ease-premium), opacity .18s var(--ease-premium);
  opacity: .92;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.hero-arrow:hover{
  transform: translateY(-50%) scale(1.05);
  background: rgba(15,15,16,.50);
}
.hero-arrow:active{ transform: translateY(-50%) scale(.985); }
.hero-prev{ left: 18px; }
.hero-next{ right: 18px; }

/* Mobile */
@media (max-width: 900px){
  .hero{ height: 560px; }
  .hero-inner{
    grid-template-columns: 1fr;
    padding: 28px 0;
    gap: 14px;
  }
  .hero-slide::before{
    background: linear-gradient(180deg,
      rgba(15,15,16,.82) 0%,
      rgba(15,15,16,.60) 46%,
      rgba(15,15,16,.22) 100%);
  }
  .hero-media{ height: 240px; }
  .hero-arrow{ width: 42px; height: 42px; opacity: .85; }
  .hero-prev{ left: 12px; }
  .hero-next{ right: 12px; }
  .hero-dots{ bottom: 12px; }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce){
  .hero-track,
  .hero-media img,
  .btn,
  .reveal{
    transition: none !important;
    animation: none !important;
  }
}

/* ================================
   Brand Grid — Quadrado Minimal (UNIFICADO)
   ✅ pega thumb do admin sem “forçar branco”
================================ */
.brands-square-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.brand-square{
  aspect-ratio: 1/1;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--green), var(--green2));
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
}
.brand-square:before{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.16), transparent 55%);
  transform: rotate(14deg);
  pointer-events:none;
}
.brand-square img{
  width: 78%;
  height: 78%;
  object-fit: contain;
  display:block;
  position:relative;
  z-index:1;
  transition: transform .22s ease;
}
.brand-square:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
}
.brand-square:hover img{
  transform: scale(1.06);
}
.brand-placeholder{
  color: white;
  font-weight: 900;
  font-size: 14px;
  text-align:center;
  padding: 10px;
  position: relative;
  z-index: 1;
}


/* =========================================================
   HOME — Layout Premium Organizado
========================================================= */

.home-wrap{
  margin-top: 22px;
}

/* =========================
   Painel Vitrine
========================= */

.home-panel{
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.74));
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.10);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.home-panel:before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 20% 20%, rgba(30,79,49,.12), transparent 58%);
  transform: rotate(12deg);
  pointer-events:none;
}

.home-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  position:relative;
  z-index:1;
}

.home-title{
  font-size: clamp(34px, 4vw, 48px);
  font-weight:1000;
  margin:0;
  letter-spacing:-.02em;
}

.home-sub{
  margin-top:8px;
  color:var(--muted);
  font-weight:600;
  max-width:65ch;
}

.home-quick{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.home-divider{
  height:1px;
  background: rgba(0,0,0,.06);
  margin: 22px 0;
}

/* =========================
   Stats
========================= */

.home-stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}

.home-stat{
  background: rgba(255,255,255,.9);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:14px 16px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  transition:.25s;
}

.home-stat:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.home-ico{
  width:44px;
  height:44px;
  border-radius:14px;
  background: rgba(30,79,49,.12);
  display:grid;
  place-items:center;
  font-size:18px;
}

.home-stat strong{
  font-weight:1000;
  display:block;
}

.home-stat span{
  font-size:13px;
  color:var(--muted);
}

@media (max-width: 980px){
  .home-stats{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px){
  .home-stats{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Categorias
========================= */

.home-tiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}

.home-tile{
  border-radius:20px;
  padding:18px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.85);
  text-decoration:none;
  transition:.25s;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.home-tile:hover{
  transform:translateY(-4px);
  box-shadow:0 25px 60px rgba(0,0,0,.14);
}

.home-tile .k{
  font-weight:900;
  color:var(--green2);
  margin-bottom:6px;
}

.home-tile .d{
  font-size:13px;
  color:var(--muted);
}

@media (max-width: 980px){
  .home-tiles{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px){
  .home-tiles{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Section Head
========================= */

.home-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:18px;
  flex-wrap:wrap;
  gap:12px;
}

.home-h2{
  font-size: clamp(24px, 3vw, 36px);
  font-weight:1000;
}

.home-p{
  color:var(--muted);
  font-weight:600;
}

/* =========================
   Toolbar Marcas
========================= */

.home-toolbar{
  border-radius:22px;
  background: rgba(255,255,255,.85);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.08);
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.home-toolbar .left{
  font-weight:900;
  display:flex;
  gap:8px;
  align-items:center;
}

.home-toolbar .right{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.home-input,
.home-select{
  height:44px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.1);
  padding:0 14px;
  background:#fff;
  font-weight:700;
}

/* =========================
   Marcas Grid
========================= */

.brands-square-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap:22px;
  margin-top:24px;
}

.brand-square{
  aspect-ratio:1/1;
  border-radius:18px;
  background: linear-gradient(145deg, var(--green), var(--green2));
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition:.3s;
  box-shadow:0 25px 60px rgba(0,0,0,.18);
  text-decoration:none;
}

.brand-square:hover{
  transform:translateY(-6px);
  box-shadow:0 35px 80px rgba(0,0,0,.28);
}

.brand-square img{
  width:75%;
  height:75%;
  object-fit:contain;
  transition:.3s;
}

.brand-square:hover img{
  transform:scale(1.08);
}

.brand-placeholder{
  color:#fff;
  font-weight:900;
  font-size:14px;
  text-align:center;
  padding:12px;
}


/* ================================
   COMMUNITY — Premium rail
================================ */

.community-wrap{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

.community-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.community-kicker{
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 6px;
}

.community-title{
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -.02em;
  font-weight: 1000;
}

.community-sub{
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.community-controls{
  display:flex;
  gap: 10px;
  align-items:center;
}

.carousel-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  transition: transform .18s var(--ease-premium), box-shadow .18s var(--ease-premium);
  user-select: none;
  font-weight: 1000;
  font-size: 18px;
}

.carousel-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

.carousel-btn:active{
  transform: translateY(0px) scale(.98);
}

.carousel-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* rail */
.community-rail{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 14px;

  overflow-x: auto;
  padding: 10px 6px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.community-rail::-webkit-scrollbar{ height: 10px; }
.community-rail::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}
.community-rail::-webkit-scrollbar-track{
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}

.community-item{
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.82);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  transform: translateZ(0);
  transition: transform .32s var(--ease-premium), box-shadow .32s var(--ease-premium);
}

.community-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
}

.community-item img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-premium);
}

.community-item:hover img{
  transform: scale(1.07);
}

/* empty state */
.community-empty{
  width: 100%;
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.14);
  background: rgba(255,255,255,.86);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 6px;
  color: rgba(0,0,0,.70);
  font-weight: 750;
}
.community-empty strong{
  font-weight: 1000;
}
.community-empty span{
  color: var(--muted);
  font-weight: 650;
}

/* mobile */
@media (max-width: 520px){
  .community-rail{
    grid-auto-columns: 82%;
  }
  .community-item img{
    height: 210px;
  }
}