/* Raylis Photo System
   Imagens editoriais separadas e independentes dos controles interativos.
   Cards continuam sendo botões reais e preservam os filtros do catálogo. */

/* Cabeçalho visual: conteúdo real sobre um asset fotográfico independente. */
.hero {padding:20px 0 25px;}
.hero-card {
  display:block;
  position:relative;
  isolation:isolate;
  min-height:385px;
  padding:0;
  overflow:hidden;
  background:#f6f3e9;
  border:1px solid #e0e4d7;
  border-radius:27px;
  box-shadow:none;
}
.hero-content {
  position:relative;
  z-index:2;
  width:57%;
  max-width:630px;
  padding:57px 24px 55px clamp(29px,4.4vw,66px);
}
.hero-kicker {
  display:flex;align-items:center;gap:12px;
  margin:0 0 20px;
  color:#357447;
  font-size:10px;font-weight:800;letter-spacing:.13em;
}
.hero-kicker::before {
  content:"";display:block;width:3px;height:23px;border-radius:3px;
  background:#619d3c;flex:none;
}
.hero h1 {
  font-size:clamp(38px,4.2vw,62px);
  line-height:1.08;
  letter-spacing:-.052em;
  color:#103a25;
  margin-bottom:21px;
}
.hero h1 em {color:#59983b;}
.hero-description {
  max-width:500px;
  font-size:14px;
  line-height:1.7;
  color:#3e5e45;
  margin-bottom:27px;
}
.hero-button {
  min-height:48px;
  padding:13px 23px;
  gap:24px;
  border-radius:50px;
  background:#064714;color:#fff;
  box-shadow:none;
}
.hero-button:hover {background:#236a32;transform:translateY(-1px);}
.hero-visual {
  position:absolute;
  z-index:1;
  inset:0 0 0 auto;
  width:61%;
  height:100%;
  min-height:0;
  padding:0;
  overflow:hidden;
  border-radius:0;
  background:transparent;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 28%);
  mask-image:linear-gradient(to right,transparent 0%,#000 28%);
}
.hero-visual::before,.hero-visual::after,.hero-visual-ring {display:none!important;}
.hero-visual img.hero-artwork {
  position:absolute;
  display:block;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:55% center;
  opacity:1;
  filter:none;
  transform:translate3d(var(--mouse-x,0px),var(--mouse-y,0px),0) scale(1.045);
  transition:transform .5s cubic-bezier(.2,.75,.2,1);
}
.hero-visual-caption {
  position:absolute;
  bottom:22px;right:23px;
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 12px;
  border-radius:50px;
  background:rgba(251,250,244,.94);
  color:#24562f;
  font-size:9px;font-weight:800;letter-spacing:.10em;
  white-space:nowrap;
  box-shadow:0 3px 10px rgba(43,47,29,.06);
}
.hero-visual-caption svg {
  display:block;width:14px;height:14px;fill:none;
  stroke:#60943a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}

/* Um trilho de categorias que mostra os ativos sem esconder o rótulo. */
.category-tiles {
  display:flex;
  gap:13px;
  padding:3px 2px 13px;
  scroll-padding-inline:2px;
  scroll-snap-type:x mandatory;
}
.category-tile {
  display:flex;
  flex-direction:column;
  flex:0 0 207px;
  min-width:207px;
  height:208px;
  min-height:208px;
  padding:0;
  border-radius:17px;
  overflow:hidden;
  background:#fffdf8!important;
  border:1px solid #dfe5d9;
  color:#15472c;
  box-shadow:none;
  text-align:left;
  transition:transform .24s cubic-bezier(.2,.75,.2,1),box-shadow .24s,border-color .24s,background .24s;
}
.category-tile::after{display:none;}
.category-tile .tile-visual {
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  height:161px;
  flex:1;
  background:#efefe5;
  overflow:hidden;
}
.category-tile:nth-child(2n) .tile-visual {background:#e9ede1;}
.category-tile:nth-child(3n) .tile-visual {background:#f1eee4;}
.category-tile .tile-visual img.category-art {
  width:100%;
  height:100%;
  max-width:none;
  object-fit:contain;
  object-position:center;
  filter:none;
  transition:transform .35s cubic-bezier(.2,.75,.2,1);
}
.category-tile .tile-count {
  position:absolute;
  right:11px;
  top:11px;
  min-height:24px;
  min-width:26px;
  padding:4px 7px;
  border-radius:30px;
  color:#315b34;
  background:rgba(255,254,246,.89);
  font-variant-numeric:tabular-nums;
  font-size:10px;
  font-weight:750;
}
.category-tile .tile-name {
  display:flex;
  align-items:center;
  width:100%;
  min-height:46px;
  margin:0;
  padding:10px 13px 11px;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size:13px;
  font-weight:750;
  line-height:1.25;
  letter-spacing:-.025em;
  white-space:normal;
  max-width:none;
}
.category-tile.active,.category-tile[aria-pressed="true"] {
  background:#f1f7eb!important;
  color:#0b481f;
  border-color:#23743b;
  box-shadow:0 0 0 2px #23743b inset;
}
.category-tile.active .tile-name {background:#e5f1dd;}
.category-tile.active .tile-count {background:#145c2d;color:white;}
@media (hover:hover) and (pointer:fine) {
  .category-tile:hover {transform:translateY(-3px);box-shadow:0 10px 24px rgba(11,66,27,.11);border-color:#79a779;}
  .category-tile:hover img.category-art {transform:scale(1.075);}
}
/* Fotos de categoria são apoio editorial, não fotografia do produto cadastrado. */
.product-visual {
  position:relative;
  background:#efeee5;
}
.product-visual::after{display:none;}
.product-visual img.category-illustration {
  display:block;
  width:90%;
  height:88%;
  max-height:none;
  object-fit:contain;
  position:relative;
  z-index:1;
  transition:transform .3s cubic-bezier(.2,.75,.2,1);
}
.product-visual .illustration-note {
  position:absolute;
  left:8px;
  right:8px;
  bottom:5px;
  color:#436b42;
  font-size:9px;
  text-align:center;
  line-height:1.2;
  z-index:2;
  font-weight:650;
  text-shadow:0 1px 3px #f8f7ed;
}
.dialog-visual img.category-illustration {
  display:block;
  max-width:300px;
  width:83%;
  height:93%;
  object-fit:contain;
}
@media(hover:hover) and (pointer:fine) {
  .product-card:hover img.category-illustration {transform:scale(1.04);}
}
@media(max-width:1050px) {
  .category-tile {flex-basis:194px;min-width:194px;height:200px;min-height:200px;}
}
@media(max-width:760px) {
  .hero {padding:13px 0 18px;}
  .hero-card {min-height:265px;border-radius:20px;}
  .hero-content {width:70%;padding:25px 12px 25px 23px;max-width:none;}
  .hero-kicker {font-size:8px;letter-spacing:.08em;margin-bottom:12px;gap:8px;}
  .hero-kicker::before {height:18px;width:3px;}
  .hero h1 {font-size:clamp(27px,4.8vw,38px);margin-bottom:10px;line-height:1.12;}
  .hero-description {font-size:12px;line-height:1.5;margin-bottom:16px;}
  .hero-button {min-height:40px;padding:11px 16px;font-size:11px;gap:12px;}
  .hero-visual {width:61%;height:100%;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 43%);mask-image:linear-gradient(to right,transparent 0%,#000 43%);}
  .hero-visual img.hero-artwork {object-position:52% center;transform:scale(1.03);}
  .hero-visual-caption {bottom:8px;right:8px;font-size:7px;padding:5px 8px;gap:4px;letter-spacing:.04em;}
  .hero-visual-caption svg {width:11px;height:11px;}
  .category-tiles {gap:10px;padding-bottom:12px;}
  .category-tile {
    flex:0 0 166px;
    min-width:166px;
    min-height:178px;
    height:178px;
    border-radius:15px;
  }
  .category-tile .tile-visual {height:130px;}
  .category-tile .tile-name {min-height:47px;font-size:12px;padding:9px 10px;}
  .category-tile .tile-count {right:7px;top:7px;font-size:9px;}
  .product-visual img.category-illustration {width:97%;height:86%;max-height:none;}
  .product-visual .illustration-note {font-size:8px;bottom:5px;}
}
@media(max-width:580px) {
  .hero-card {min-height:350px;}
  .hero-content {width:100%;padding:21px 20px 157px;}
  .hero-kicker {margin-bottom:11px;}
  .hero h1 {max-width:340px;font-size:clamp(29px,7vw,37px);margin-bottom:9px;}
  .hero-description {max-width:335px;font-size:11.5px;line-height:1.5;margin-bottom:14px;}
  .hero-visual {
    top:auto;right:0;bottom:0;left:0;
    width:100%;height:176px;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 28%);
    mask-image:linear-gradient(to bottom,transparent 0%,#000 28%);
  }
  .hero-visual img.hero-artwork {object-position:center 55%;transform:scale(1.025);}
  .hero-visual-caption {bottom:9px;right:10px;}
}
@media(max-width:380px) {
  .hero-card {min-height:356px;}
  .hero-content {padding:19px 17px 161px;}
  .hero h1 {font-size:29px;}
  .hero-description {font-size:11px;}
  .category-tile {flex-basis:153px;min-width:153px;height:170px;min-height:170px;}
}
@media(hover:none),(pointer:coarse) {
  .category-tile:hover,.product-card:hover {transform:none;}
  .category-tile:hover img.category-art,.product-card:hover img.category-illustration {transform:none;}
}
@media(prefers-reduced-motion:reduce) {
  .hero-visual img.hero-artwork,
  .category-tile,
  .category-tile img.category-art,
  .product-visual img.category-illustration {transition:none;}
}
