/* =========================================================================
   AÇOS LITORAL — home.css (v10)
   Específico da Home. Depende de /assets/css/base.css.
   ========================================================================= */

/* ---------- Hero ---------- */
.home-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--ink-900);color:#fff}
.home-hero::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(80% 60% at 90% 0%,rgba(245,196,0,.16),transparent 55%);
}
.home-hero .container{padding:clamp(48px,6vw,86px) 0 clamp(40px,5vw,64px)}
.home-hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(30px,5vw,68px);align-items:center;
  margin-bottom:clamp(40px,5vw,64px);
}
.home-hero-copy h1{margin:18px 0 22px;max-width:16ch}
.home-hero-copy .lead{color:rgba(255,255,255,.8);max-width:56ch}
.home-hero-copy .actions{margin-top:34px}

.home-hero-frame{border-radius:var(--r-lg);overflow:hidden;background:#05070c;box-shadow:var(--shadow-lg);aspect-ratio:16/11}
.home-hero-video{width:100%;height:100%;object-fit:cover;display:block;background:#05070c}
.home-hero-badge{
  position:absolute;left:16px;bottom:16px;z-index:3;
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 14px;border-radius:var(--r-pill);
  background:rgba(5,7,12,.72);backdrop-filter:blur(6px);
  color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.02em;
}
.home-hero-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--yellow)}

/* ---------- Fornecedores ---------- */
.brands-section{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}
.brands-title{text-align:center;color:var(--steel);font-size:.82rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:clamp(22px,3vw,34px)}

/* ---------- Localização ---------- */
.home-loc{display:grid;grid-template-columns:1.05fr .95fr;min-height:520px;background:var(--ink-900)}
.home-loc-map{position:relative;min-height:360px;background:#0d1017}
.home-loc-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:saturate(.92) contrast(.98)}
.home-loc-body{display:flex;align-items:center;color:#fff;padding:clamp(44px,6vw,88px) var(--gutter)}
.home-loc-body h2{color:#fff}
.home-loc-body .lead{color:rgba(255,255,255,.78);max-width:52ch}
.home-loc-addr{display:grid;gap:4px;margin:26px 0 30px;padding-left:16px;border-left:3px solid var(--yellow)}
.home-loc-addr strong{font-size:1rem}
.home-loc-addr span{color:rgba(255,255,255,.66);font-size:.94rem}

@media (max-width:1080px){
  .home-hero-grid{grid-template-columns:1fr}
  .home-hero-media{max-width:640px}
  .home-loc{grid-template-columns:1fr}
  .home-loc-map{min-height:340px}
}
@media (max-width:480px){
  .home-hero-badge{left:12px;bottom:12px}
}

/* Ajustes definitivos da Home — 27/07/2026 */
.service-card-grid .prod-media{aspect-ratio:4/3;padding:24px}
.service-card-grid .prod-media img{object-fit:contain}
.service-card-grid .prod-body{text-align:center}

/* Blocos "Por que a Aços Litoral" mais interativos e com resposta visual clara. */
.home-why .feat{
  cursor:default;
  isolation:isolate;
  transition:transform .32s var(--ease-out),background .32s var(--ease-out),border-color .32s var(--ease-out),box-shadow .32s var(--ease-out);
}
.home-why .feat::after{
  content:"";
  position:absolute;
  inset:auto 18px 0;
  height:3px;
  background:var(--yellow);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .32s var(--ease-out);
}
.home-why .feat:hover,
.home-why .feat:focus-within{
  transform:translateY(-9px);
  background:rgba(255,255,255,.085);
  border-color:rgba(245,196,0,.72);
  box-shadow:0 24px 50px rgba(0,0,0,.25);
}
.home-why .feat:hover::after,
.home-why .feat:focus-within::after{transform:scaleX(1)}
.home-why .feat:nth-child(3) .feat-num{
  color:#fff;
  opacity:1;
  text-shadow:0 0 18px rgba(255,255,255,.4);
}
.home-loc-body{text-align:center;justify-content:center}
.home-loc-addr{border-left:0;border-top:3px solid var(--yellow);padding:18px 0 0;margin-inline:auto}


/* Ajustes Home — fornecedores, centralização e formulário final */
.page-home main > section:not(.home-hero) h2,
.page-home main > section:not(.home-hero) .actions,
.page-home main > section:not(.home-hero) .reveal[style*="margin-top"]{text-align:center;justify-content:center}
.brands-title{
  font-family:var(--font-title);font-size:clamp(1.9rem,3.6vw,3.3rem);line-height:1.05;
  color:var(--ink);letter-spacing:.005em;text-transform:none;margin:0 0 clamp(28px,4vw,46px);
}
.supplier-logos-row{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:clamp(12px,2vw,32px) !important;
  width:100%;max-width:1280px;margin-inline:auto;padding:12px 0;
}
.supplier-logos-row img{
  flex:1 1 0 !important;
  min-width:0 !important;
  width:auto !important;
  max-width:170px;height:70px;object-fit:contain;margin-inline:auto;filter:grayscale(1) brightness(.42);opacity:.72;
  transition:filter .25s var(--ease),opacity .25s var(--ease),transform .25s var(--ease);
}
.supplier-logos-row img:hover{filter:grayscale(0) brightness(1);opacity:1;transform:translateY(-3px)}
@media(max-width:720px){
  .supplier-logos-row{gap:10px}
  .supplier-logos-row img{height:42px;max-width:110px}
}
