/* PH Águas — Design System */
:root {
  --blue-dark:   #003D82;
  --blue:        #0055B3;
  --blue-mid:    #0077CC;
  --blue-light:  #E8F4FD;
  --blue-pale:   #F0F7FF;
  --cyan:        #00A8D4;
  --text-dark:   #1A2D3A;
  --text:        #3D5066;
  --text-light:  #6B8299;
  --white:       #FFFFFF;
  --gray-bg:     #F5F7FA;
  --gray-border: #D8E6F0;
  --gray-mid:    #B0C4D8;
  --green:       #1A9E5C;
  --shadow-sm:   0 2px 8px rgba(0,85,179,0.08);
  --shadow:      0 4px 20px rgba(0,85,179,0.12);
  --shadow-lg:   0 8px 40px rgba(0,85,179,0.18);
  --radius:      10px;
  --radius-lg:   16px;
  --font:        'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display:'Raleway', 'Inter', sans-serif;
  --transition:  0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-bg); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 3px; }

/* ── PROGRESS */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); z-index: 9999; transition: width .1s linear; }

/* ── HEADER */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-border);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
  overflow: visible;
}
#header.scrolled { box-shadow: var(--shadow); }
.header-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo img { height: 88px; width: auto; }
.logo-tagline { display: none; }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-main a:hover, .nav-main a.active { background: var(--blue-light); color: var(--blue); }
.nav-main a.btn-nav {
  background: var(--blue); color: var(--white);
  padding: 9px 20px; margin-left: 8px;
}
.nav-main a.btn-nav:hover { background: var(--blue-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform var(--transition); }

.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 96px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--gray-border);
  padding: 12px 20px 20px; gap: 2px; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 8px; }
.mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }

/* ── WHATSAPP */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  animation: waPulse 3s ease-in-out infinite;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.65); }
}

/* ── PAGE WRAPPER */
.page-content { padding-top: 96px; }

/* ── SECTION COMMONS */
.section { padding: 80px 0; }
.section.gray { background: var(--gray-bg); }
.section.blue-dark { background: var(--blue-dark); color: var(--white); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--blue); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4vw, 42px); color: var(--text-dark); line-height: 1.2; margin-bottom: 16px;
}
.section-title span { color: var(--blue); }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 600px; line-height: 1.65; margin-bottom: 48px; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-tag { justify-content: center; }
.section-header.center .section-subtitle { margin: 0 auto 48px; }

/* ── BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: all var(--transition); white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-white { background: var(--white); color: var(--blue); font-weight: 700; }
.btn-white:hover { background: var(--blue-light); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ── CARDS */
.card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-light); padding: 3px 10px; border-radius: 100px; margin-bottom: 10px;
}
.card-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; line-height: 1.35; }
.card-desc { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 16px; }
.card-footer { border-top: 1px solid var(--gray-border); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }

/* ── GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media(max-width:960px){ .grid-3 { grid-template-columns: repeat(2,1fr); } }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }

/* ── FILTER TABS */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-tab {
  padding: 8px 18px; border-radius: 100px; font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--gray-border); color: var(--text); background: var(--white);
  cursor: pointer; transition: all var(--transition);
}
.filter-tab:hover, .filter-tab.active {
  border-color: var(--blue); background: var(--blue); color: var(--white);
}

/* ── PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  padding: 80px 0 64px; color: var(--white); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="30" fill="rgba(255,255,255,0.04)"/></svg>') center/cover;
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.4); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(30px,4vw,48px); font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 560px; }

/* ── STATS BAR */
.stats-bar { background: var(--blue-dark); color: var(--white); }
.stats-bar .container { display: flex; align-items: stretch; }
.stat-item { flex: 1; padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--cyan); display: block; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); }

/* ── HERO (HOME) */
#hero-home {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #004A99 100%);
  overflow: hidden; padding-top: 70px;
}
#hero-home::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(180deg, transparent, var(--white));
}
.hero-bg-img {
  position: absolute; right: 0; top: 0; height: 100%; width: 55%; object-fit: cover;
  opacity: .12; mix-blend-mode: luminosity;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hero-h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5.5vw, 70px); line-height: 1.1; color: var(--white);
  margin-bottom: 24px; letter-spacing: -.02em;
}
.hero-h1 .accent { color: var(--cyan); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.8); max-width: 520px; line-height: 1.65; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-metrics { display: flex; gap: 32px; flex-wrap: wrap; }
.hm { }
.hm strong { display: block; font-size: 28px; font-weight: 800; color: var(--white); }
.hm span { font-size: 13px; color: rgba(255,255,255,.65); }

/* ── OVERVIEW CARDS (home grid) */
.overview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }
.ov-card {
  background: var(--blue); border-radius: var(--radius-lg);
  padding: 40px 32px 36px; display: flex; flex-direction: column; gap: 8px;
  transition: all var(--transition); cursor: pointer;
  text-decoration: none; color: white; border: none;
}
.ov-card:hover { background: var(--blue-dark); box-shadow: 0 12px 32px rgba(0,55,130,.28); transform: translateY(-3px); }
.ov-icon { display: none; }
.ov-title { font-size: 22px; font-weight: 700; color: white; line-height: 1.2; }
.ov-count { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 4px; }
.ov-arrow { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.85); font-weight: 700; display: flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: .06em; }

/* ── FAMILY SECTION (sistemas/serviços) */
.family-block { margin-bottom: 72px; }
.family-header {
  display: flex; align-items: baseline; gap: 20px;
  padding: 0 0 20px; background: transparent; border-radius: 0;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 36px;
}
.family-icon { display: none; }
.family-name { font-size: 22px; font-weight: 700; color: var(--text-dark); letter-spacing: -.01em; }
.family-count { font-size: 13px; color: var(--text-light); font-weight: 500; margin-left: auto; }

/* ── SYSTEM CARD */
.sys-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 280px 1fr; overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  text-decoration: none; color: inherit; position: relative;
}
.sys-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--blue); opacity: 0; transition: opacity var(--transition);
}
.sys-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.sys-card:hover::before { opacity: 1; }
.sys-card-img { width: 280px; height: 200px; object-fit: cover; flex-shrink: 0; }
.sys-card-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.sys-card-tag { font-size: 10px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; }
.sys-card-title { font-size: 19px; font-weight: 700; color: var(--text-dark); line-height: 1.25; }
.sys-card-desc { font-size: 14px; color: var(--text); line-height: 1.65; flex: 1; margin-top: 4px; }
.sys-card-footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-border); }

/* ── EQUIPMENT CARD */
.eq-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.eq-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.eq-card-img { width: 100%; height: 220px; object-fit: cover; background: var(--gray-bg); }
.eq-card-body { padding: 20px; }
.eq-card-title { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.eq-card-desc { font-size: 13px; color: var(--text); line-height: 1.55; }

/* ── SERVICE CARD */
.srv-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all var(--transition);
  border-left: 3px solid var(--blue);
}
.srv-card:hover { box-shadow: var(--shadow-lg); border-left-color: var(--blue-dark); transform: translateY(-2px); }
.srv-icon { display: none; }
.srv-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.srv-desc { font-size: 14px; color: var(--text); line-height: 1.65; }

/* ── PRODUCT CARD */
.prod-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.prod-card-img { width: 100%; height: 180px; object-fit: contain; background: var(--gray-bg); padding: 20px; }
.prod-card-body { padding: 20px; border-top: 1px solid var(--gray-border); }
.prod-tag { font-size: 11px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.prod-title { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.prod-formula { font-family: monospace; font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.prod-desc { font-size: 13px; color: var(--text); line-height: 1.55; }

/* ── SPECS TABLE */
.specs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs-table tr { border-bottom: 1px solid var(--gray-border); }
.specs-table td { padding: 10px 16px; font-size: 14px; }
.specs-table td:first-child { color: var(--text-light); width: 45%; font-weight: 500; }
.specs-table td:last-child { color: var(--text-dark); font-weight: 600; }

/* ── CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 64px 0; color: var(--white); text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px,3.5vw,38px); font-weight: 700; margin-bottom: 16px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── ABOUT */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; }
.value-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 24px 20px; transition: all var(--transition); }
.value-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.value-num { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--blue-light); }
.value-title { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.value-desc { font-size: 13px; color: var(--text); }

/* ── CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); transition: all var(--transition); }
.ci:hover { border-color: var(--blue); }
.ci-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 18px; stroke: var(--blue); fill: none; stroke-width: 2; }
.ci-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 2px; }
.ci-value { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.ci-sub { font-size: 12px; color: var(--text-light); }

.form-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: 1/-1; }
.fg label { font-size: 13px; font-weight: 600; color: var(--text); }
.fg input, .fg select, .fg textarea {
  padding: 11px 14px; border: 1.5px solid var(--gray-border); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--text-dark); background: var(--white);
  transition: border-color var(--transition); outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }
.fg textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; grid-column: 1/-1; padding: 14px; border-radius: 8px;
  background: var(--blue); color: var(--white); font-size: 15px; font-weight: 700;
  cursor: pointer; border: none; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

/* ── FOOTER */
#footer { background: var(--text-dark); color: var(--white); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4,1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 72px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social a:hover { background: var(--blue-mid); }
.footer-social svg { width: 16px; fill: white; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.45); }

/* ── ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sys-card { grid-template-columns: 160px 1fr; }
  .sys-card-img { width: 160px; height: 140px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-main { display: none; }
  .hamburger { display: flex; }
  .header-wrap { padding: 0 20px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-metrics { gap: 20px; }
  .sys-card { grid-template-columns: 1fr; }
  .sys-card-img { width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .stats-bar .container { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .overview-grid { grid-template-columns: 1fr; }
}

/* ── MEGA MENU ──────────────────────────────────────────────── */
.nav-main { align-items: stretch; }
.nav-link-plain {
  display: flex; align-items: center;
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap; text-decoration: none;
}
.nav-link-plain:hover, .nav-link-plain.active { background: var(--blue-light); color: var(--blue); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link-drop {
  display: flex; align-items: center; gap: 4px; align-self: stretch;
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
.nav-link-drop:hover, .nav-link-drop.active { background: var(--blue-light); color: var(--blue); }
.nav-item:hover .nav-link-drop { background: var(--blue-light); color: var(--blue); }
.nav-caret { width: 12px; height: 12px; transition: transform var(--transition); flex-shrink: 0; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.mega-drop {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--gray-border);
  border-top: 2px solid var(--blue);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,55,130,.14); z-index: 2000; min-width: 500px;
}
.mega-drop-right { left: auto; right: 0; }
.nav-item:hover .mega-drop,
.nav-item.nav-open .mega-drop { display: block; }
/* bridge gap between nav link and dropdown */
.nav-item::after { content: ''; position: absolute; top: 100%; left: -10px; right: -10px; height: 10px; }
.mega-section { display: flex; padding: 24px 8px; }
.mega-col { flex: 1; padding: 0 16px; border-right: 1px solid var(--gray-border); }
.mega-col:last-child { border-right: none; }
.mega-col-head {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-light); margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-border);
}
.mega-col a {
  display: block; font-size: 13px; font-weight: 500; color: var(--text);
  padding: 5px 6px; border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap; text-decoration: none;
}
.mega-col a:hover { color: var(--blue); background: var(--blue-light); }
.mega-view-all { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--gray-border); }
.mega-view-all a { font-size: 12px; font-weight: 700; color: var(--blue); padding: 4px 6px; }
.mega-view-all a:hover { background: var(--blue-light); }
@media(max-width:768px){ .nav-item { display: none; } .nav-link-plain { display: none; } .btn-nav { display: none; } }

/* ── HERO REDESIGN ──────────────────────────────────────────── */
#hero-home { background: var(--white); padding: 0; min-height: auto; overflow: visible; display: block; border-bottom: 1px solid var(--gray-border); }
#hero-home::after { display: none; }
.hero-bg-img { display: none; }
.hero-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; min-height: 560px; padding: 72px 0 80px; }
.hero-content { padding-right: 56px; }
.hero-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; display: block; width: 22px; height: 2px; background: var(--blue); flex-shrink: 0; }
.hero-h1 { font-family: var(--font-display); font-size: clamp(32px, 3.2vw, 50px); color: var(--text-dark); line-height: 1.1; font-weight: 800; margin-bottom: 20px; letter-spacing: -.02em; }
.hero-h1 .accent { color: var(--blue); }
.hero-sub { font-size: 16px; color: var(--text); line-height: 1.7; margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.btn-outline-dark { border: 2px solid var(--gray-mid); color: var(--text-dark); background: transparent; }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }
.hero-trust-row { display: flex; align-items: center; }
.trust-stat { padding: 0 20px; text-align: center; }
.trust-stat:first-child { padding-left: 0; }
.trust-num { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--blue); line-height: 1; }
.trust-lbl { font-size: 12px; color: var(--text-light); margin-top: 2px; display: block; }
.trust-sep { width: 1px; height: 32px; background: var(--gray-border); flex-shrink: 0; }
.hero-photo { position: relative; }
.hero-photo-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,55,130,.18); }
.hero-photo-frame img { width: 100%; height: 440px; object-fit: cover; display: block; }
.hero-badge-card { position: absolute; bottom: 20px; left: 20px; background: white; border-radius: 10px; padding: 11px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.12); font-size: 13px; font-weight: 500; color: var(--text-dark); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero-partners-bar { background: var(--gray-bg); border-top: 1px solid var(--gray-border); padding: 18px 0; }
.hero-partners-bar .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.partners-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); white-space: nowrap; }
.partners-row { display: flex; align-items: center; gap: 0; flex-wrap: wrap; flex: 1; }
.partner-name { font-size: 14px; font-weight: 700; color: var(--text); padding: 0 14px; }
.partner-sep { width: 1px; height: 16px; background: var(--gray-border); }
@media(max-width:1024px){ .hero-wrap { grid-template-columns: 1fr; min-height: auto; padding: 60px 0 48px; } .hero-photo { display: none; } .hero-content { padding-right: 0; } }

/* ── SECTORS GRID ───────────────────────────────────────────── */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media(max-width:900px){ .sector-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:600px){ .sector-grid { grid-template-columns: repeat(2, 1fr); } }
.sector-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 18px 16px; text-align: center; transition: all var(--transition); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; }
.sector-card:hover { border-color: var(--blue); box-shadow: var(--shadow); background: var(--blue-light); }
.sector-icon { display: none; }
.sector-name { font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.3; }

/* ── MODAL ──────────────────────────────────────────────────── */
.ph-modal { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: 20px; }
.ph-modal.open { display: flex; }
.ph-modal-backdrop { position: absolute; inset: 0; background: rgba(10,25,47,.55); backdrop-filter: blur(3px); }
.ph-modal-box { position: relative; background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,.3); animation: modalIn .22s ease; }
@keyframes modalIn { from { opacity:0; transform: translateY(16px) scale(.97); } to { opacity:1; transform: none; } }
.ph-modal-close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 32px; height: 32px; border-radius: 8px; background: var(--gray-bg); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.ph-modal-close:hover { background: var(--gray-border); }
.ph-modal-close svg { width: 16px; height: 16px; }
.ph-modal-img-wrap img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; display: block; }
.ph-modal-body { padding: 28px; }
.ph-modal-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 6px; }
.ph-modal-title { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; }
.ph-modal-sub { font-size: 13px; color: var(--text-light); margin-bottom: 12px; font-family: monospace; }
.ph-modal-desc { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 16px; }
.ph-modal-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.modal-spec-chip { font-size: 12px; background: var(--blue-light); color: var(--blue); padding: 4px 12px; border-radius: 100px; font-weight: 500; }
.ph-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── PRODUTO DETAIL PAGE ─────────────────────────────────────── */
.prod-detail-hero { background: var(--gray-bg); border-bottom: 1px solid var(--gray-border); padding: 64px 0 56px; }
.prod-detail-layout { display: grid; grid-template-columns: 520px 1fr; gap: 64px; align-items: start; }
.prod-detail-img-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-border); background: var(--white); }
.prod-detail-img-wrap img { width: 100%; height: 380px; object-fit: cover; display: block; }
.prod-detail-img-placeholder { width: 100%; height: 380px; background: linear-gradient(135deg, var(--blue-light), var(--blue-pale)); display: flex; align-items: center; justify-content: center; }
.prod-detail-info { display: flex; flex-direction: column; gap: 0; }
.prod-detail-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.prod-detail-category::before { content: ''; display: block; width: 20px; height: 2px; background: var(--blue); }
.prod-detail-name { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--text-dark); line-height: 1.15; margin-bottom: 8px; }
.prod-detail-formula { font-family: monospace; font-size: 15px; color: var(--text-light); margin-bottom: 20px; }
.prod-detail-desc { font-size: 16px; color: var(--text); line-height: 1.7; margin-bottom: 28px; }
.prod-detail-apps-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 10px; }
.prod-detail-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.prod-detail-chip { font-size: 12px; background: var(--blue-light); color: var(--blue); padding: 5px 14px; border-radius: 100px; font-weight: 600; }
.prod-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.prod-detail-body { padding: 72px 0; }
.prod-detail-body .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.prod-detail-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-border); }
.prod-specs-table { width: 100%; border-collapse: collapse; }
.prod-specs-table tr { border-bottom: 1px solid var(--gray-border); }
.prod-specs-table tr:last-child { border-bottom: none; }
.prod-specs-table td { padding: 12px 0; font-size: 14px; vertical-align: top; }
.prod-specs-table td:first-child { color: var(--text-light); width: 45%; font-weight: 500; }
.prod-specs-table td:last-child { color: var(--text-dark); font-weight: 600; }
.prod-uses-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.prod-uses-list li { font-size: 14px; color: var(--text); padding-left: 20px; position: relative; line-height: 1.55; }
.prod-uses-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.prod-safety-box { background: var(--gray-bg); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 20px 24px; font-size: 14px; color: var(--text); line-height: 1.65; }
.prod-safety-box strong { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 8px; }
@media(max-width:960px){ .prod-detail-layout { grid-template-columns: 1fr; } .prod-detail-img-wrap img, .prod-detail-img-placeholder { height: 280px; } .prod-detail-body .container { grid-template-columns: 1fr; } }

/* ── RESPONSIVE UPDATES ──────────────────────────────────────── */
@media(max-width:1024px){ .sys-card { grid-template-columns: 200px 1fr; } .sys-card-img { width: 200px; height: 170px; } }

/* ── DETAIL PAGE (sistema / equipamento / servico) ───────────── */
.detail-hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%); padding: 64px 0 56px; color: var(--white); position: relative; overflow: hidden; }
.detail-hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="30" fill="rgba(255,255,255,0.04)"/></svg>') center/cover; }
.detail-hero .container { position: relative; }
.detail-category-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.detail-category-tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--cyan); }
.detail-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 14px; line-height: 1.1; }
.detail-hero-sub { font-size: 17px; color: rgba(255,255,255,.8); max-width: 640px; line-height: 1.65; margin-bottom: 28px; }
.detail-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.detail-hero-chip { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 100px; }
.detail-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.detail-img-section { padding: 0; background: var(--gray-bg); border-bottom: 1px solid var(--gray-border); }
.detail-img-wrap { width: 100%; height: 420px; overflow: hidden; }
.detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-img-placeholder { width: 100%; height: 420px; background: linear-gradient(135deg, var(--blue-light), var(--blue-pale)); display: flex; align-items: center; justify-content: center; }

.detail-body { padding: 72px 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.detail-full { grid-column: 1/-1; }
.detail-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.detail-section-label::before { content: ''; display: block; width: 16px; height: 2px; background: var(--blue); }
.detail-section-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.3; }
.detail-text { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 24px; }
.detail-specs-table { width: 100%; border-collapse: collapse; }
.detail-specs-table tr { border-bottom: 1px solid var(--gray-border); }
.detail-specs-table tr:last-child { border-bottom: none; }
.detail-specs-table td { padding: 13px 0; font-size: 14px; vertical-align: top; }
.detail-specs-table td:first-child { color: var(--text-light); width: 45%; font-weight: 500; }
.detail-specs-table td:last-child { color: var(--text-dark); font-weight: 600; }
.detail-steps { display: flex; flex-direction: column; gap: 20px; }
.detail-step { display: flex; gap: 20px; align-items: flex-start; }
.detail-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: white; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-step-content strong { display: block; font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.detail-step-content span { font-size: 14px; color: var(--text); line-height: 1.6; }
.detail-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-benefit { background: var(--blue-light); border-radius: var(--radius); padding: 16px 18px; }
.detail-benefit strong { display: block; font-size: 14px; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.detail-benefit span { font-size: 13px; color: var(--text); line-height: 1.55; }
.detail-uses-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.detail-uses-list li { font-size: 14px; color: var(--text); padding-left: 20px; position: relative; line-height: 1.55; }
.detail-uses-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.detail-sectors { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-sector-chip { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius); padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--text-dark); }
@media(max-width:900px){ .detail-grid { grid-template-columns: 1fr; gap: 40px; } .detail-benefits { grid-template-columns: 1fr; } }
