/* =========================================================
   CROMAMIX — Design system
   ========================================================= */
:root {
  --bg: #0b0d12;
  --bg-alt: #12151c;
  --bg-card: #171b24;
  --line: #262b36;
  --text: #eef0f4;
  --text-muted: #a6acba;

  --blue: #1c66b0;
  --blue-light: #6fb8e8;
  --green: #2f9e52;
  --red: #d63a34;
  --pink: #e8918a;

  --gradient-brand: linear-gradient(120deg, var(--blue) 0%, var(--green) 35%, var(--red) 65%, var(--pink) 100%);

  --radius: 14px;
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }
p { color: var(--text-muted); margin: 0 0 16px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient-brand); color: #fff; }
.btn-primary:hover { opacity: .92; }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--blue-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,13,18,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; }
.brand span { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px; font-weight: 600; color: var(--text-muted);
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--text); border-color: var(--green); }
.nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  font-size: 26px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav {
    display: flex !important;
    position: fixed !important;
    top: 84px; left: 0; right: 0; bottom: 0;
    width: 100%; height: calc(100vh - 84px); height: calc(100dvh - 84px);
    background: var(--bg);
    flex-direction: column; align-items: flex-start; padding: 32px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    z-index: 99;
    visibility: hidden;
  }
  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav a { width: 100%; font-size: 18px; }
  .nav-toggle { display: block; z-index: 101; position: relative; }
  body.nav-open-lock { overflow: hidden; }
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background:
    radial-gradient(circle at 15% 20%, rgba(28,102,176,.25), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(214,58,52,.18), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(47,158,82,.18), transparent 50%),
    var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); }
.hero .lead { font-size: 19px; color: var(--text-muted); max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-media {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder blocks for missing media */
.ph {
  background: repeating-linear-gradient(45deg, #1a1e28, #1a1e28 10px, #191c25 10px, #191c25 20px);
  border: 1px dashed #3a4152;
  color: #7c8398;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 13px; padding: 12px;
  border-radius: var(--radius);
}

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .num {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* Cards / grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: #39404f; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
}

.bg-alt { background: var(--bg-alt); }

/* Timeline (Nossa Historia) */
.timeline { position: relative; margin-top: 24px; }
.timeline::before {
  content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px;
  background: var(--gradient-brand); opacity: .5;
}
.timeline-item { position: relative; padding-left: 56px; margin-bottom: 40px; }
.timeline-item::before {
  content: ""; position: absolute; left: 10px; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--green);
}
.timeline-item .year { font-weight: 800; color: var(--blue-light); font-size: 14px; letter-spacing: .06em; }

/* Clientes / logos */
.logo-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-tile {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
  height: 90px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 13px; text-align: center; padding: 8px;
}

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { font-size: 13px; font-weight: 700; color: var(--text-muted); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 13px 14px; font-family: var(--font); font-size: 15px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-light); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--text-muted); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; }

/* ESG cards with PDF links */
.esg-pillar {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px;
}
.esg-pillar .letter {
  font-size: 34px; font-weight: 800; width: 56px; flex-shrink: 0;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.doc-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.doc-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px;
  font-size: 14px;
}
.doc-list a { font-weight: 700; color: var(--blue-light); }

/* Ouvidoria channel box */
.channel-box {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.channel-box h3 { margin-bottom: 8px; }

/* CTA band */
.cta-band {
  background: var(--gradient-brand); border-radius: var(--radius);
  padding: 56px; text-align: center; margin: 0 24px;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a, .footer-grid p { color: var(--text-muted); font-size: 14px; margin: 0; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-muted);
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.social-row a:hover { border-color: var(--blue-light); }

.breadcrumb-hero {
  padding: 64px 0 40px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28,102,176,.12), transparent);
}
.breadcrumb-hero .eyebrow { margin-bottom: 8px; }
