/* equipamentos (listing) — ported from html-v2. */
:root {
  --capi-green:       #2D9773;
  --capi-dark-bar:    #032025;
  --capi-bg:          #000000;
  --capi-teal-accent: #4FBAAD;
  --capi-divider:     rgba(255,255,255,.45);
  --container-px:     14.4%;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--capi-bg);
  color: #fff;
  font-family: 'DIN Next LT Pro', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

/* ── LOGIN BAR */
.login-bar {
  background: var(--capi-dark-bar);
  height: clamp(60px,5vw,90px);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: var(--container-px);
  position: relative; z-index: 2;
}
.login-btn {
  display: inline-flex; align-items: center; gap: clamp(10px,.9vw,18px);
  background: transparent; border: 0; color: #fff; cursor: pointer;
  font-family: inherit; font-size: clamp(14px,1.05vw,19px); font-weight: 400;
}
.login-btn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(36px,2.78vw,50px); aspect-ratio: 1;
  background: var(--capi-green); border-radius: 4px;
}
.login-btn__icon img { width: 40%; height: auto; }

/* ── SITE HEADER */
.site-header {
  background: var(--capi-bg);
  padding: clamp(36px,4.7vw,85px) var(--container-px);
  display: flex; align-items: center;
}
.site-header .logo { width: clamp(200px,26.7vw,480px); height: auto; display: block; }

/* ── MENU */
.header-menu {
  background: var(--capi-green);
  padding: 0 var(--container-px);
  height: clamp(52px,5.22vw,94px);
  display: flex; align-items: center;
  position: relative; z-index: 2;
}
.header-menu ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: clamp(18px,3vw,56px);
}
.header-menu a {
  color: #fff; text-decoration: none; font-weight: 400;
  font-size: clamp(13px,1.06vw,19px); letter-spacing: .02em;
  transition: opacity .15s ease;
}
.header-menu a:hover { opacity: .75; }
.header-menu a.is-active { font-weight: 700; }

/* ── PAGE TITLE (pattern: white bold line + teal italic line) */
.page-title-block {
  padding: clamp(44px,5vw,90px) var(--container-px) clamp(32px,3.5vw,60px);
}
.page-title-block .line1 {
  display: flex; align-items: center; gap: 1rem;
  /* Stronger main title — it read as a light subtitle vs the bold equipment
     detail titles (HuddleKit 17). Index-only (equipamentos.css). */
  font-size: clamp(30px,3vw,56px); font-weight: 700; font-style: italic;
  letter-spacing: .02em; text-transform: uppercase;
  color: #fff; line-height: 1;
}
.page-title-block .line1::before {
  content: '';
  display: block; width: clamp(20px,1.8vw,32px); height: 1px;
  background: var(--capi-divider); flex-shrink: 0;
}
.page-title-block .line2 {
  display: flex; align-items: center; gap: .75rem;
  font-size: clamp(26px,2.6vw,48px);
  font-weight: 300; font-style: italic;
  color: var(--capi-teal-accent); line-height: 1;
  padding-left: 1.6em;
}
.page-title-block .line2::after {
  content: '';
  display: block; flex: 1; height: 1px;
  background: var(--capi-divider);
  margin-right: calc(-1 * var(--container-px));
}

/* ── FOOTER */
.footer-capi {
  background: var(--capi-green); color: #fff;
  padding-top: clamp(36px,3.28vw,64px);
  padding-bottom: clamp(48px,4.22vw,80px);
  padding-left: 14.39%; padding-right: 11.28%;
}
.footer-capi .endereco-title {
  font-weight: 700; font-size: clamp(15px,1.37vw,22px); line-height: 1.25; margin-bottom: .35em;
}
.footer-capi .endereco-text {
  font-weight: 300; font-size: clamp(14px,1.18vw,19px); line-height: 1.45;
}
.footer-capi hr.endereco-divider {
  border: 0; border-top: 1px solid var(--capi-divider); margin: clamp(14px,1.4vw,24px) 0; opacity: 1;
}
.footer-capi .social-row { gap: clamp(10px,1.22vw,22px); }
.footer-capi .social-row a {
  display: inline-flex; width: clamp(30px,2.61vw,47px); aspect-ratio: 1; transition: transform .15s ease;
}
.footer-capi .social-row a:hover { transform: translateY(-2px); }
.footer-capi .social-row img { width: 100%; height: 100%; display: block; }
.footer-capi .logo-capi { max-width: 100%; height: auto; display: block; }

@media (max-width: 768px) {
  :root { --container-px: 24px; }
  .header-menu ul { gap: 14px; }
  .header-menu a { font-size: 13px; }
  .footer-capi { padding: 32px 24px; }
}


.material-section { padding: 0 var(--container-px) clamp(48px,5vw,90px); }
.material-search {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px; padding: 10px 18px;
  max-width: 400px; margin-bottom: clamp(28px,3vw,52px);
}
.material-search input {
  background: transparent; border: 0; outline: 0; color: #fff;
  font-family: inherit; font-size: clamp(13px,1vw,16px); flex: 1;
}
.material-search input::placeholder { color: rgba(255,255,255,.45); }
.material-search svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .6; }
.download-card {
  background: var(--capi-green); border-radius: 10px;
  padding: clamp(14px,1.5vw,24px); display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 12px;
  transition: transform .15s ease;
}
.download-card:hover { transform: translateY(-3px); }
.download-card__logo {
  width: 80%; max-width: 140px; border-radius: 6px;
  background: rgba(0,0,0,.15); padding: 16px;
  font-size: clamp(22px,2vw,34px); font-weight: 700;
  color: rgba(255,255,255,.9); letter-spacing: .05em;
}
.download-card__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.2); display: flex; align-items: center;
  justify-content: center; font-size: 16px; color: #fff;
}
.download-card__label {
  font-size: clamp(12px,.9vw,15px); font-weight: 300;
  color: rgba(255,255,255,.85); margin: 0;
}
.sites-section { margin-top: clamp(44px,4.5vw,80px); }
.sites-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sites-list a {
  display: block; background: rgba(79,186,173,.15); border: 1px solid var(--capi-teal-accent);
  border-radius: 4px; padding: 10px 18px;
  color: var(--capi-teal-accent); text-decoration: none;
  font-size: clamp(13px,.95vw,16px); font-weight: 400;
  letter-spacing: .02em; transition: background .15s ease;
}
.sites-list a:hover { background: rgba(79,186,173,.28); }


/* === listagem de equipamentos === */
.equipamentos-list {
  padding: clamp(24px,3vw,60px) clamp(20px,4vw,80px) clamp(48px,6vw,100px);
}
.equipamentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(20px,2.5vw,40px);
}
.equip-card {
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 14px;
  color: #fff;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.equip-card:hover {
  background: rgba(79,186,173,.15);
  border-color: var(--capi-teal-accent);
  color: #fff;
  transform: translateY(-2px);
}
.equip-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}
.equip-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.equip-card__title {
  font-size: clamp(15px,1.1vw,18px);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  font-family: 'DINNextLTPro', sans-serif;
}
.equip-card__sub {
  font-size: clamp(12px,.85vw,14px);
  margin: 0;
  color: var(--capi-teal-accent);
  font-weight: 400;
}
