/* ==========================================================
   BLM Telecom
   ========================================================== */

:root {
  --navy: #0b2340;
  --navy-2: #12325a;
  --blue: #1a5fa8;
  --blue-light: #e8f0f9;
  --orange: #e8731c;
  --orange-dark: #cc6213;
  --text: #2b3440;
  --text-muted: #5d6b7a;
  --border: #dde3ea;
  --bg-light: #f4f6f9;
  --white: #fff;
  --radius: 4px;
  --font-head: "Barlow", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; }

.container { width: min(1170px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy-2); }

.link-arrow { font-family: var(--font-head); font-weight: 600; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c5d1df; font-size: .88rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar a { color: #c5d1df; }
.topbar a:hover { color: var(--white); }
.topbar__contacts { display: flex; gap: 26px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 2px 12px rgba(11, 35, 64, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 42px; height: 42px; }
.logo__text { font-family: var(--font-head); line-height: 1; }
.logo__text b { display: block; font-size: 1.65rem; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.logo__text small { display: block; font-size: .72rem; font-weight: 600; color: var(--blue); letter-spacing: .38em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy); }
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { color: var(--orange); }
.nav .btn { color: var(--white); padding: 10px 22px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy) url("../img/hero-datacenter.jpg") center right / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 35, 64, .95) 0%, rgba(11, 35, 64, .85) 45%, rgba(11, 35, 64, .35) 100%);
}
.hero__inner { position: relative; padding: 130px 0 140px; max-width: 640px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: #d7e0ea; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Highlights strip ---------- */
.highlights { background: var(--navy-2); color: #d7e0ea; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlights__item { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.highlights__item:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.highlights__item strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
.highlights__item span { font-size: .95rem; }

/* ---------- Page banner (internas) ---------- */
.page-banner {
  position: relative;
  color: var(--white);
  background: var(--navy) center / cover no-repeat;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(11, 35, 64, .82); }
.page-banner__inner { position: relative; padding: 80px 0 70px; }
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.breadcrumb { font-size: .92rem; color: #b8c6d6; }
.breadcrumb a { color: #b8c6d6; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--navy); color: #d7e0ea; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-title { margin-bottom: 50px; }
.section-title--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); position: relative; padding-bottom: 18px; }
.section-title h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: var(--orange);
}
.section-title--center h2::after { left: 50%; transform: translateX(-50%); }
.section-title p { color: var(--text-muted); font-size: 1.08rem; margin-top: 16px; }
.section--navy .section-title p { color: #b8c6d6; }

.subtitle {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 8px;
}
.section--navy .subtitle { color: var(--orange); }

/* ---------- Two columns (texto + foto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.split__text p { color: var(--text-muted); }

.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: .45em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}
.checklist--cols { grid-template-columns: 1fr 1fr; column-gap: 30px; }

/* ---------- Solution cards (com foto) ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.solution {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.solution img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.solution__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.solution h3 { font-size: 1.3rem; }
.solution p { color: var(--text-muted); font-size: .98rem; flex: 1; }

/* ---------- ISP band ---------- */
.isp-band {
  position: relative;
  color: #d7e0ea;
  background: var(--navy) url("../img/racks.jpg") center / cover no-repeat;
}
.isp-band::before { content: ""; position: absolute; inset: 0; background: rgba(11, 35, 64, .9); }
.isp-band .container { position: relative; }
.isp-band h2 { color: var(--white); }
.isp-band .split { align-items: start; }
.isp-band .checklist li { color: var(--white); }

.tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--white);
}

/* ---------- Missão / Visão / Valores ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mvv__item {
  background: var(--white);
  border-top: 4px solid var(--blue);
  padding: 34px 30px;
  box-shadow: 0 2px 10px rgba(11, 35, 64, .06);
}
.mvv__item h3 { font-size: 1.4rem; }
.mvv__item p { color: var(--text-muted); margin: 0; }
.mvv__item .checklist { margin: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.values__item { padding: 32px 30px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.values__item h3 { font-size: 1.2rem; }
.values__item p { color: var(--text-muted); margin: 0; font-size: .98rem; }

/* ---------- Detalhamento de serviços ---------- */
.service-block { padding: 70px 0; border-bottom: 1px solid var(--border); }
.service-block:last-of-type { border-bottom: 0; }
.service-block h2 { font-size: clamp(1.6rem, 2.8vw, 2rem); }

.isp-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.isp-service { padding: 32px; border: 1px solid var(--border); border-left: 4px solid var(--blue); background: var(--white); }
.isp-service h3 { font-size: 1.3rem; }
.isp-service p { color: var(--text-muted); }
.isp-service .checklist { margin-bottom: 0; }

/* ---------- Fabricantes ---------- */
.vendors { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.vendor { padding: 28px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; background: var(--white); }
.vendor strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.vendor span { font-size: .9rem; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta { background: var(--blue); color: var(--white); padding: 56px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 4px; }
.cta p { margin: 0; color: #dce7f3; font-size: 1.08rem; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { background: var(--bg-light); padding: 36px; border-radius: var(--radius); }
.contact-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-info__item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info__item:first-of-type { padding-top: 0; }
.contact-info__item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-info__item p { margin: 0; color: var(--text-muted); }

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  border: 1px solid #c9d2dc;
  border-radius: var(--radius);
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.form .is-invalid { border-color: #c62828; }
.form__error { color: #c62828; margin: 0; }
.form__note { font-size: .9rem; color: var(--text-muted); margin: 0; }
.form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.footer { background: #071a30; color: #a9b8c9; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer a { color: #a9b8c9; }
.footer a:hover { color: var(--white); }
.footer .logo__text b { color: var(--white); }
.footer .logo__text small { color: #7fa7d3; }
.footer__about p { margin-top: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .88rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  z-index: 40;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .solutions, .mvv, .values { grid-template-columns: repeat(2, 1fr); }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlights__item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}

@media (max-width: 860px) {
  .topbar__hours { display: none; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(11, 35, 64, .08);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 16px; text-align: center; }

  .split, .contact, .isp-services { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .vendors { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { padding: 90px 0 100px; }
  .hero::before { background: rgba(11, 35, 64, .85); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .topbar__contacts { gap: 16px; }
  .topbar__email { display: none; }
  .section { padding: 64px 0; }
  .solutions, .mvv, .values, .highlights__grid, .form__row, .checklist--cols, .footer__grid { grid-template-columns: 1fr; }
  .highlights__item { border-right: 1px solid rgba(255,255,255,.1); }
  .contact-info { padding: 26px; }
  .form .btn { justify-self: stretch; text-align: center; }
}

/* ---------- Ajustes pontuais ---------- */
.isp-band .subtitle { color: var(--orange); }
.isp-band p { color: #c5d1df; }
.isp-band__action { margin-top: 30px; }
.section-more { text-align: center; margin: 40px 0 0; }
