/* servicos-prestados — ported from html-v2. Fonts via fonts.css; bg in theme images. */
: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: #04140F;
  color: #fff;
  font-family: 'DIN Next LT Pro', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* ── 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: 4.56vw var(--container-px) 3.22vw;
  display: flex; align-items: flex-start;
}
.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: nowrap; gap: clamp(16px,3.15vw,57px);
}
.header-menu a {
  color: #fff; text-decoration: none; font-weight: 400;
  font-size: clamp(13px,1.33vw,24px); letter-spacing: .02em;
  transition: opacity .15s ease; white-space: nowrap;
}
.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; }
}


/* ===== Flow rebuild — hero banner + grey content panel (no absolute) ===== */
/* Hero: title lower-left, fiery-cell image on the right, on black. */
.page-title-block {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(190px, 26vw, 500px);
  margin: 0; padding: clamp(28px,4vw,80px) var(--container-px) clamp(18px,2.6vw,50px);
  background: url(../../images/servicos-prestados/hero-cells.jpg) no-repeat right top / auto 100%;
}
.page-title-block .line1 {
  display: flex; align-items: center;
  font-size: clamp(20px,2.9vw,52px); font-weight: 300; font-style: italic;
  letter-spacing: .05em; line-height: 1; gap: .9vw; color: #fff;
}
.page-title-block .line1::before { content: ''; display: block; width: clamp(16px,2.2vw,40px); height: 2px; background: #fff; }
.page-title-block .line2 {
  display: flex; align-items: center;
  font-size: clamp(20px,2.9vw,52px); font-weight: 400; font-style: italic;
  line-height: 1.05; padding-left: clamp(18px,3.3vw,60px); gap: .9vw;
  margin-top: .67vw;
  color: var(--capi-teal-accent);
}
.page-title-block .line2::after { content: ''; display: block; flex: 1; height: 2px; background: var(--capi-teal-accent); margin-right: 0; }

/* Dropdown submenu box under the "Serviços" menu item */
.header-menu li.has-submenu { position: relative; }
.servicos-submenu {
  position: absolute; top: 100%; left: 0;
  display: none;                 /* fechado por padrão — abre no hover */
  width: 16.94vw; margin: 0;
  padding: .5vw 0; background: #278465;
  border: 0; border-radius: 0 0 .5vw .5vw; z-index: 60;
}
.header-menu li.has-submenu:hover .servicos-submenu,
.header-menu li.has-submenu:focus-within .servicos-submenu { display: block; }
.servicos-submenu ul { list-style: none; margin: 0; padding: 0; display: block; }
.servicos-submenu li { border-top: 1px solid rgba(255,255,255,.35); }
.servicos-submenu li:first-child { border-top: 0; }
.servicos-submenu a {
  display: block; padding: .62vw 1.7vw; color: #fff; text-decoration: none;
  font-size: 1.06vw; font-weight: 400; letter-spacing: .05em; line-height: 1;
}
.servicos-submenu a:hover { color: #ECD381; }
.servicos-submenu a.is-active { color: #ECD381; font-weight: 400; }

/* Service bands — grey rounded panel; each band flows; teal title bars in CSS. */
.serv-bands {
  position: relative;
  background: #51514F;
  border-radius: clamp(16px,1.7vw,32px);
  margin: clamp(-40px,-3vw,-24px) 5.5% clamp(48px,7vw,140px);
  padding: clamp(44px,6.5vw,130px) clamp(28px,5.5vw,110px) clamp(52px,7.5vw,150px);
}
.servico-bloco {
  position: static; width: auto;
  margin: 0 0 clamp(48px,7.5vw,140px); padding: 0;
}
.servico-bloco:last-child { margin-bottom: 0; }
/* Band heading sits on a teal pill bar with an icon on the right. */
.servico-bloco > .servico-titulo:first-child {
  position: relative;
  margin: 0 0 clamp(22px,2.6vw,50px);
  padding: clamp(12px,1.5vw,28px) clamp(56px,6vw,96px) clamp(12px,1.5vw,28px) clamp(18px,2.2vw,44px);
  background: #365357; border-radius: 100px;
  font-size: clamp(15px,2.05vw,38px); line-height: 1.2;
  font-weight: 700; font-style: italic; color: #fff;
}
.servico-bloco > .servico-titulo:first-child::after {
  content: ''; position: absolute; right: clamp(16px,1.8vw,36px); top: 50%; transform: translateY(-50%);
  width: clamp(24px,2.6vw,48px); height: clamp(24px,2.6vw,48px);
  background: no-repeat center / contain;
}
.servico-bloco.b1 > .servico-titulo:first-child::after { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7'><rect x='2' y='4' width='14' height='10' rx='1'/><path d='M9 14v4M5 18h8'/><circle cx='20' cy='8' r='2'/><path d='M18 18v-3a2 2 0 0 1 4 0v3'/></svg>"); }
.servico-bloco.b2 > .servico-titulo:first-child::after { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7'><path d='M6 18h11'/><path d='M9 18a5 5 0 0 0 6-8'/><path d='M12 4l3 3-2.5 2.5L9.5 6.5z'/><path d='M10.5 8.5L7 12'/><path d='M9 21h7'/></svg>"); }
.servico-bloco.b3 > .servico-titulo:first-child::after { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7'><rect x='3' y='7' width='14' height='11' rx='1'/><circle cx='8' cy='11' r='1.5'/><path d='M3 15l4-3 4 3 3-2 3 2'/><path d='M8 7V4h13v11h-3'/></svg>"); }
.servico-bloco.b4 > .servico-titulo:first-child::after { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7'><path d='M12 3v11'/><path d='M7 10l5 5 5-5'/><path d='M4 20h16'/></svg>"); }
/* Body copy */
.servico-body {
  margin: 0 0 clamp(14px,1.6vw,30px); font-size: clamp(13px,1.35vw,26px); line-height: 1.55;
  font-weight: 300; font-style: italic; color: #fff;
}
/* Inline sub-heading (e.g. "Procedimento…") */
.servico-bloco > .servico-titulo {
  margin: clamp(20px,2.2vw,42px) 0 clamp(12px,1.4vw,26px); font-size: clamp(14px,1.5vw,28px); line-height: 1.3;
  font-weight: 600; font-style: italic; color: #fff;
}
.servico-steps { list-style: none; margin: 0 0 clamp(12px,1.4vw,26px); padding: 0; }
.servico-steps li {
  margin: 0 0 clamp(8px,.9vw,16px); font-size: clamp(13px,1.35vw,26px); line-height: 1.5;
  font-weight: 500; font-style: italic; color: #fff;
}
.servico-bloco a { color: var(--capi-teal-accent); text-decoration: none; }
.servico-bloco a:hover { text-decoration: underline; }
.info-box {
  margin: 0 0 clamp(14px,1.6vw,30px); padding: 0; background: none; border: 0;
  font-size: clamp(13px,1.35vw,26px); line-height: 1.5; font-weight: 300; font-style: italic; color: #fff;
}
/* Centered bold statement in a teal pill at the foot of the panel. */
.info-pill {
  margin: clamp(40px,5.5vw,110px) auto 0; max-width: 90%;
  padding: clamp(14px,1.6vw,30px) clamp(20px,3vw,54px);
  background: #365357; border-radius: 100px;
  font-size: clamp(14px,1.7vw,32px); line-height: 1.25; text-align: center;
  font-weight: 700; font-style: italic; color: #fff;
}
