/* material — 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;
  font-size: clamp(26px,2.6vw,48px); font-weight: 300;
  letter-spacing: .04em; 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 — flow layout, responsive with clamp (no absolute for content) ===== */
body {
  background: url(../../images/material/material.jpg) top center / 100% auto no-repeat #04140F;
}

/* page title — line1 white light-italic, line2 teal medium-italic, full-bleed rules */
.page-title-block { padding: clamp(40px,9vw,180px) var(--container-px) 0; }
.page-title-block .line1 {
  display: flex; align-items: center; gap: .5vw;
  font-size: clamp(24px,3.33vw,60px); font-weight: 300; font-style: italic;
  letter-spacing: .035em; text-transform: uppercase;
  color: #fff; line-height: 1.1; margin: 0;
}
.page-title-block .line1::before {
  content: ''; display: block; width: 13.9vw; height: 3px;
  margin-left: -14.4vw; background: #fff; flex-shrink: 0;
}
.page-title-block .line2 {
  display: flex; align-items: center; gap: .6vw;
  font-size: clamp(24px,3.55vw,64px); text-transform: uppercase;
  font-weight: 500; font-style: italic;
  color: var(--capi-teal-accent); line-height: 1.1; margin: 0;
  padding-left: clamp(16px,3.39vw,60px);
}
.page-title-block .line2::after {
  content: ''; display: block; flex: 1; height: 3px;
  background: #fff; margin-right: -14.4vw;
}
.page-title-block--sites { padding-top: clamp(24px,2.3vw,44px); }

/* content section */
.material-section { display: flow-root; padding: 0 var(--container-px); }

/* search pill */
.material-search {
  display: flex; align-items: center; gap: clamp(8px,1.25vw,22px);
  background: var(--capi-teal-accent);
  border-radius: 100px; padding: clamp(8px,.7vw,15px) clamp(14px,1.2vw,26px);
  width: 100%; max-width: 640px; margin: clamp(16px,2vw,36px) 0 0 auto;
  border: 0;
}
.material-search img { width: clamp(16px,1.45vw,26px); height: auto; flex-shrink: 0; }
.material-search input {
  background: transparent; border: 0; outline: 0; color: #000;
  font-family: inherit; font-size: clamp(13px,1.22vw,20px); font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase; flex: 1; min-width: 0;
}
.material-search input::placeholder { color: #000; text-transform: uppercase; }

/* download cards — responsive grid; icon badge is the only (decorative) absolute */
.download-grid {
  display: grid;
  /* 270px cap (not 280): at 1800px the container is 1281.6px and 4×280+3×54
     misses by half a pixel — PSD has 4 cards per row. */
  grid-template-columns: repeat(auto-fill, minmax(clamp(150px,15vw,270px), 1fr));
  gap: clamp(30px,3vw,60px) clamp(24px,3vw,54px);
  margin-top: clamp(40px,7vw,140px);
}
.download-card { background: none; padding: 0; text-align: left; }
.download-card__box {
  position: relative; width: 100%; aspect-ratio: 15.28 / 13.94;
  background: var(--capi-green); border-radius: clamp(10px,2vw,36px);
  display: flex; align-items: center; justify-content: center;
}
.download-card__logo { width: 68%; height: auto; }
.download-card__icon {
  position: absolute; top: clamp(-24px,-2vw,-14px); right: clamp(-18px,-1.61vw,-10px);
  width: clamp(40px,4.61vw,84px); height: clamp(40px,4.61vw,84px); border-radius: 50%;
  background: var(--capi-teal-accent);
  display: flex; align-items: center; justify-content: center;
}
.download-card__icon img { width: 46%; height: auto; }
.download-card__label {
  display: block; margin: clamp(10px,1.33vw,24px) 0 0;
  font-size: clamp(13px,1.31vw,24px); line-height: 1.35; font-weight: 400;
  text-transform: uppercase; color: #fff; letter-spacing: .02em; text-decoration: none;
}

/* pager arrows */
.material-pager { display: flex; justify-content: center; gap: clamp(30px,4.5vw,84px); margin-top: clamp(20px,2.4vw,44px); }
.material-pager img { width: clamp(16px,1.83vw,34px); height: auto; }

/* sites pills — uniform-width rounded bars, alternating teal/green */
.sites-section { display: flow-root; padding: 0 var(--container-px); margin: 0; }
.sites-list {
  list-style: none; padding: 0; margin: clamp(20px,2.64vw,50px) 0 0;
  display: flex; flex-direction: column; gap: clamp(6px,.5vw,12px);
}
.sites-list a {
  display: flex; align-items: center;
  width: min(100%, 620px); border-radius: 100px;
  padding: clamp(8px,.55vw,14px) clamp(16px,1.83vw,34px); color: #000; text-decoration: none;
  font-size: clamp(13px,1.4vw,24px); font-weight: 400; letter-spacing: .02em; text-transform: uppercase;
  border: 0;
}
.sites-list li:nth-child(odd) a { background: var(--capi-teal-accent); }
.sites-list li:nth-child(even) a { background: var(--capi-green); }
.material-bottom-gap { height: clamp(40px,5.95vw,110px); }
