/* Grupo Milani — vermelho e preto do logo, visual escuro e limpo */
:root {
  --primary: #c8211b;        /* vermelho do "M", escurecido para texto branco legível */
  --primary-dark: #a11a15;
  --brand-red: #e3261f;
  --dark: #141414;
  --dark-2: #1f1f1f;
  --bg-alt: #f4f4f5;
  --line: #e3e3e6;
  --on-dark-muted: #b4b4bb;
  --font-head: "Bahnschrift", "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
h1, h2 { font-weight: 700; letter-spacing: -.01em; }
.eyebrow { color: var(--primary); }
.section-dark .eyebrow, .g-hero .eyebrow { color: #ff6a63; }

.logo-img { height: 50px; width: auto; }
@media (max-width: 420px) { .logo-img { height: 42px; } }
.nav a.btn-primary { color: #fff; }
.footer-brand .logo-img { height: 48px; }

/* Topo: só tipografia sobre fundo escuro com o traço vermelho do logo */
.g-hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem); }
.g-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60rem 30rem at 85% 10%, rgba(227,38,31,.28), transparent 60%),
  radial-gradient(40rem 25rem at 0% 100%, rgba(227,38,31,.12), transparent 60%); }
.g-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--brand-red) 20%, var(--brand-red) 80%, transparent); }
.g-hero .container { position: relative; }
.g-hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.05; max-width: 15ch; margin-bottom: 1.2rem; }
.g-hero h1 em { font-style: normal; color: #ff6a63; }
.g-hero .lead { color: var(--on-dark-muted); max-width: 46ch; }
.g-hero .stats { max-width: 640px; }
.g-hero .stat strong { color: #fff; }
.g-hero .stat span { color: var(--on-dark-muted); }

/* Cartões das empresas */
.biz-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 620px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .biz-grid { grid-template-columns: repeat(4, 1fr); } }
.biz { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.biz:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.biz-logo { height: 110px; display: grid; place-items: center; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.biz-logo img { max-height: 86px; max-width: 100%; width: auto; height: auto; }
.biz .post-meta { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: .35rem; }
.biz h3 { margin-bottom: .5rem; }
.biz p { color: var(--muted); flex: 1; }
.biz .card-link { margin-top: .8rem; }

/* Linha do tempo */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1rem; }
.timeline li { border-top: 3px solid var(--brand-red); padding-top: 1rem; }
.timeline strong { display: block; font: 700 2rem/1 var(--font-head); color: #fff; margin-bottom: .4rem; }
.timeline span { color: var(--on-dark-muted); font-size: .95rem; }

.split.top { align-items: start; }
.footer-contact .icon { color: #ff6a63; }
.socials a:hover { background: var(--primary); }

/* Cartão sem link (empresa sem site no momento) */
.biz-static:hover { transform: none; box-shadow: none; border-color: var(--line); }
