.rede-home-gateway{--yellow:#ffd800;--ink:#111827;--muted:#667085;--line:#dfe3e8;--soft:#f6f7f9;max-width:1180px;margin:36px auto;font-family:Arial,sans-serif;color:#20242b;box-sizing:border-box}
.rede-home-gateway *{box-sizing:border-box}
.rede-home-gateway small{font-weight:800;letter-spacing:.09em;color:#997500}
.rede-home-hero{display:grid;grid-template-columns:1.02fr .98fr;min-height:520px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff}
.rede-home-hero-copy{padding:56px 52px;background:linear-gradient(135deg,#fff 70%,#fff9d8)}
.rede-home-hero h1{font-size:clamp(42px,5.2vw,72px);line-height:.98;font-weight:500;letter-spacing:-.045em;margin:20px 0}
.rede-home-hero p,.rede-home-section p,.rede-home-focus p{color:var(--muted);font-size:18px;line-height:1.55}
.rede-home-hero-media{display:flex;align-items:flex-end;min-height:430px;background:#edf0f4 center/cover no-repeat;text-decoration:none;position:relative}
.rede-home-hero-media:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(17,24,39,.8))}
.rede-home-hero-media span{position:relative;color:#fff;font-size:22px;font-weight:800;padding:34px}
.rede-home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.rede-home-actions a{padding:15px 24px;border:2px solid var(--ink);border-radius:999px;text-decoration:none;color:var(--ink);font-weight:800}
.rede-home-actions .primary{border-color:#1fc467;background:#1fc467;color:#fff}
.rede-home-focus{display:grid;grid-template-columns:minmax(0,.88fr) minmax(360px,1.12fr);gap:28px;margin-top:22px;padding:42px 38px;border:3px solid var(--yellow);border-radius:22px;background:linear-gradient(135deg,#fff 52%,#fff8cf)}
.rede-home-focus h2{font-size:clamp(36px,4.5vw,58px);line-height:1;margin:12px 0}
.rede-home-focus-stock{display:flex;align-items:center;gap:14px;margin-top:18px}
.rede-home-focus-stock strong{font-size:48px;line-height:1;color:var(--ink)}
.rede-home-focus-stock span{max-width:180px;color:var(--muted);font-weight:700}
.rede-home-focus-products{display:block;align-self:stretch;min-width:0}
.rede-home-focus-product,.rede-home-focus-safe{height:100%;min-height:300px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-decoration:none}
.rede-home-focus-product{display:grid;grid-template-columns:minmax(210px,.92fr) minmax(0,1.08fr);gap:20px;align-items:center}
.rede-home-focus-product-media{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;min-height:260px;padding:8px;background:#fff;border-radius:12px;overflow:hidden}
.rede-home-focus-product-media img{display:block;width:100%;height:100%;max-height:320px;object-fit:contain;object-position:center;border-radius:9px}
.rede-home-focus-product-copy{display:flex!important;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;color:var(--ink)!important}
.rede-home-focus-product-copy small{font-size:11px}
.rede-home-focus-product-copy strong{font-size:clamp(20px,2.2vw,30px);line-height:1.12;color:var(--ink)}
.rede-home-focus-price-label{font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)!important;margin-top:8px}
.rede-home-focus-price{font-size:24px;font-weight:800;color:var(--ink)!important}
.rede-home-focus-price del{opacity:.55;margin-left:6px}
.rede-home-focus-price ins{text-decoration:none}
.rede-home-focus-link{margin-top:auto;font-weight:800;color:var(--ink)!important}
.rede-home-focus-safe{display:flex;flex-direction:column;justify-content:center;gap:8px}
.rede-home-focus-safe span{color:var(--muted)}
.rede-home-section{margin-top:22px;padding:40px 38px;border:1px solid var(--line);border-radius:22px;background:#fff}
.rede-home-section h2,.rede-home-final h2{font-size:clamp(32px,4vw,50px);line-height:1.05;font-weight:500;letter-spacing:-.035em;margin:12px 0 28px}
.rede-home-section h3{font-size:24px;margin:28px 0 14px;color:var(--ink)}
.rede-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rede-home-grid a{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:15px;padding:22px;text-decoration:none;color:var(--ink);background:#fff;min-height:118px}
.rede-home-grid a:hover{border-color:var(--yellow);box-shadow:0 9px 24px rgba(17,24,39,.08)}
.rede-home-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.rede-home-grid strong{font-size:18px}
.rede-home-grid span{color:var(--muted)}
.rede-home-opportunities{background:#fffaf0}
.rede-home-badge{align-self:flex-start;padding:6px 10px!important;border-radius:999px;background:var(--yellow);color:var(--ink)!important;font-size:12px;font-weight:800;text-transform:uppercase}
.rede-home-projects{background:var(--ink);color:#fff}
.rede-home-projects small{color:var(--yellow)}
.rede-home-projects a{background:#253044;border-color:#354258;color:#fff}
.rede-home-final{margin-top:22px;padding:58px 36px;text-align:center;border-radius:22px;background:var(--ink);color:#fff}
.rede-home-final p{color:#d4d9e2}
.rede-home-final .rede-home-actions{justify-content:center}
.rede-home-final .rede-home-actions a:not(.primary){color:#fff;border-color:#fff}
.rede-home-safe-routes>div{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:15px;padding:22px;background:#fff;min-height:118px}
.rede-home-safe-routes strong{font-size:18px}
.rede-home-safe-routes span,.rede-home-safe-note{color:var(--muted)}
.rede-home-hero-safe{background:linear-gradient(145deg,#e9edf2,#4b5565)}
.rede-external-campaign-slot{margin:16px 0;border-radius:18px;overflow:hidden;background:#f2f3f5}
.rede-external-campaign-slot picture,.rede-external-campaign-slot a{display:block}
.rede-external-campaign-slot img{display:block;width:100%!important;height:clamp(92px,10.5vw,132px)!important;object-fit:cover;object-position:center;border-radius:18px}
@media(max-width:800px){.rede-home-gateway{margin:18px 12px}
.rede-home-hero,.rede-home-focus{grid-template-columns:1fr}
.rede-home-focus-product{grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr)}
.rede-home-focus-product-media{min-height:220px}
.rede-home-hero-copy{padding:36px 24px}
.rede-home-hero-media{min-height:310px}
.rede-home-grid{grid-template-columns:1fr 1fr}
.rede-home-section,.rede-home-focus{padding:30px 20px}
.rede-external-campaign-slot img{height:clamp(82px,20vw,118px)!important}
}
@media(max-width:520px){.rede-home-grid{grid-template-columns:1fr}
.rede-home-focus-product{grid-template-columns:1fr;min-height:0}
.rede-home-focus-product-media{min-height:0;max-height:none}
.rede-home-focus-product-media img{width:100%;height:auto;max-height:none;object-fit:contain}
.rede-home-hero h1{font-size:44px}
.rede-home-actions a{width:100%;text-align:center}
.rede-home-section h2,.rede-home-final h2,.rede-home-focus h2{font-size:34px}
}
