/* ==========================================================
   Template Eletrônica Hightec — Joomla 4/5
   Ronni Madeira WebSites
   ========================================================== */

:root {
  --eh-brand: #0a1a33;
  --eh-accent: #00a8e8;
  --eh-solar: #ffb300;
  --eh-wa: #25d366;
  --eh-ink: #14213a;
  --eh-muted: #5b6b82;
  --eh-line: #e3e9f2;
  --eh-bg: #ffffff;
  --eh-bg-alt: #f3f6fb;
  --eh-radius: 14px;
  --eh-shadow: 0 10px 30px rgba(10, 26, 51, .08);
  --eh-shadow-lg: 0 18px 45px rgba(10, 26, 51, .16);
  --eh-logo-h: 54px;
  --eh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --eh-font-head: "Exo 2", "Inter", system-ui, sans-serif;
  --eh-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--eh-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--eh-ink);
  background: var(--eh-bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--eh-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--eh-brand); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--eh-font-head);
  color: var(--eh-brand);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.eh-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.eh-container { width: 100%; max-width: var(--eh-max); margin: 0 auto; padding: 0 20px; }
.eh-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--eh-accent); color: #fff; padding: 10px 16px; }
.eh-skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--eh-accent); outline-offset: 2px; }

/* ---------- Barra superior ---------- */
.eh-topbar { background: var(--eh-brand); color: #c9d6ea; font-size: .86rem; }
.eh-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.eh-topbar__info { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.eh-topbar__info li { display: flex; align-items: center; gap: 7px; }
.eh-topbar__info .eh-ico { color: var(--eh-accent); }
.eh-topbar a { color: #e6eefb; }
.eh-topbar a:hover { color: var(--eh-accent); }
.eh-topbar__right { display: flex; align-items: center; gap: 14px; }

.eh-social { display: flex; gap: 8px; }
.eh-social a {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #e6eefb; transition: background .2s, transform .2s;
}
.eh-social a:hover { background: var(--eh-accent); color: #fff; transform: translateY(-2px); }
.eh-social .eh-ico { width: 16px; height: 16px; }

/* ---------- Cabeçalho ---------- */
.eh-header { position: relative; background: #fff; border-bottom: 1px solid var(--eh-line); z-index: 100; transition: box-shadow .25s; }
.sticky-header .eh-header { position: sticky; top: 0; }
.eh-scrolled .eh-header { box-shadow: 0 6px 24px rgba(10,26,51,.10); }
.eh-header__in { display: flex; align-items: center; gap: 24px; min-height: 80px; }

.eh-logo { display: flex; align-items: center; gap: 12px; color: var(--eh-brand); margin-right: auto; }
.eh-logo img { height: var(--eh-logo-h); width: auto; display: block; }
.eh-logo__mark {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--eh-brand), color-mix(in srgb, var(--eh-brand) 60%, var(--eh-accent)));
  color: var(--eh-accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.eh-logo__mark .eh-ico { width: 28px; height: 28px; }
.eh-logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.eh-logo__txt strong { font-family: var(--eh-font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: .2px; }
.eh-logo__txt small { font-size: .78rem; color: var(--eh-muted); margin-top: 3px; }
.eh-logo:hover { color: var(--eh-brand); }

/* Menu (mod_menu) */
.eh-nav { display: flex; align-items: center; gap: 18px; }
.eh-nav ul { list-style: none; margin: 0; padding: 0; }
.eh-nav > ul, .eh-nav .mod-menu { display: flex; align-items: center; gap: 2px; }
.eh-nav li { position: relative; }
.eh-nav a, .eh-nav .mod-menu__heading, .eh-nav .nav-header {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--eh-font-head); font-weight: 600; font-size: 1rem; color: var(--eh-brand);
}
.eh-nav li > a:hover, .eh-nav li.active > a, .eh-nav li.current > a { color: var(--eh-accent); background: color-mix(in srgb, var(--eh-accent) 9%, transparent); }
.eh-nav ul ul {
  position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px;
  background: #fff; border: 1px solid var(--eh-line); border-radius: 12px; box-shadow: var(--eh-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 20; display: block;
}
.eh-nav li:hover > ul, .eh-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.eh-nav ul ul a { font-family: var(--eh-font); font-weight: 500; font-size: .95rem; }
.eh-nav ul ul ul { left: 100%; top: 0; }
.eh-sub-toggle { display: none; }
.eh-nav__cta { white-space: nowrap; }
.eh-search input[type="search"], .eh-search input[type="text"] {
  border: 1px solid var(--eh-line); border-radius: 999px; padding: 8px 14px; font: inherit; width: 170px;
}

.eh-burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.eh-burger span { display: block; height: 2px; background: var(--eh-brand); margin: 5px 0; border-radius: 2px; transition: .25s; }
.eh-nav-open .eh-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eh-nav-open .eh-burger span:nth-child(2) { opacity: 0; }
.eh-nav-open .eh-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Botões ---------- */
.eh-btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font-family: var(--eh-font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.eh-btn:hover, .btn:hover { transform: translateY(-2px); }
.eh-btn--wa { background: var(--eh-wa); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.30); }
.eh-btn--wa:hover { color: #fff; background: #1fb957; }
.eh-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.eh-btn--ghost:hover { background: #fff; color: var(--eh-brand); }
.eh-btn--light { background: #fff; color: var(--eh-brand); }
.eh-btn--light:hover { color: var(--eh-accent); }
.btn-primary, .eh-btn--primary { background: var(--eh-accent); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--eh-brand); }
.btn-secondary { background: var(--eh-bg-alt); color: var(--eh-brand); border-color: var(--eh-line); }

/* ---------- Destaque principal (hero) ---------- */
.eh-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--eh-accent) 35%, transparent), transparent 60%),
    radial-gradient(600px 300px at 10% 100%, color-mix(in srgb, var(--eh-solar) 18%, transparent), transparent 60%),
    var(--eh-brand);
}
.eh-hero.has-img {
  background:
    linear-gradient(100deg, var(--eh-brand) 30%, color-mix(in srgb, var(--eh-brand) 55%, transparent)),
    var(--eh-hero-img) center / cover no-repeat, var(--eh-brand);
}
.eh-hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.eh-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 84px 20px 92px; }
.eh-hero__in > * { min-width: 0; }
.eh-hero h1 { color: #fff; overflow-wrap: break-word; font-weight: 800; margin-bottom: .45em; }
.eh-hero p { font-size: 1.12rem; color: #d3deef; max-width: 600px; }
.eh-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.eh-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff;
}
.eh-badge .eh-ico { color: var(--eh-wa); }
.eh-hero__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.eh-hero__chips li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  aspect-ratio: 1 / .9; padding: 14px; border-radius: var(--eh-radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(4px); font-family: var(--eh-font-head); font-weight: 600; font-size: .95rem;
  transition: transform .25s, background .25s, border-color .25s;
}
.eh-hero__chips li:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); border-color: var(--eh-accent); }
.eh-hero__chips .eh-ico { width: 34px; height: 34px; color: var(--eh-accent); }
.eh-hero__chips li:nth-child(3) .eh-ico { color: var(--eh-solar); }

.eh-banner img { display: block; width: 100%; }

/* ---------- Seções ---------- */
.eh-section { padding: 76px 0; }
.eh-section--alt { background: var(--eh-bg-alt); }
.eh-sechead { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eh-sechead p { color: var(--eh-muted); font-size: 1.05rem; }
.eh-kicker {
  display: inline-block; margin-bottom: 10px; font-family: var(--eh-font-head); font-weight: 700;
  font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; color: var(--eh-accent);
}
.eh-kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.eh-kicker--light { color: var(--eh-solar); }

/* Cartões de serviço */
.eh-services { background: var(--eh-bg-alt); }
.eh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eh-card {
  position: relative; display: block; padding: 30px 28px; border-radius: var(--eh-radius);
  background: #fff; border: 1px solid var(--eh-line); color: var(--eh-ink); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.eh-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--eh-accent), color-mix(in srgb, var(--eh-accent) 30%, var(--eh-brand)));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.eh-card:hover { transform: translateY(-6px); box-shadow: var(--eh-shadow-lg); border-color: transparent; color: var(--eh-ink); }
.eh-card:hover::after { transform: scaleX(1); }
.eh-card__ico {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--eh-accent) 12%, #fff); color: var(--eh-accent);
}
.eh-card__ico .eh-ico { width: 30px; height: 30px; }
.eh-card--solar .eh-card__ico { background: color-mix(in srgb, var(--eh-solar) 16%, #fff); color: color-mix(in srgb, var(--eh-solar) 80%, #000); }
.eh-card--solar::after { background: linear-gradient(90deg, var(--eh-solar), #ff7a00); }
.eh-card h3 { margin-bottom: .45em; }
.eh-card p { color: var(--eh-muted); margin: 0; font-size: .97rem; }
.eh-card.has-img { padding: 0; display: flex; flex-direction: column; }
.eh-card.has-img .eh-card__body { padding: 0 26px 26px; position: relative; display: flex; flex-direction: column; flex: 1; }
.eh-card__img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--eh-bg-alt); }
.eh-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.eh-card:hover .eh-card__img img { transform: scale(1.05); }
.eh-card__img figcaption {
  position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px;
  background: rgba(7,18,37,.65); color: #fff; font-size: .7rem; letter-spacing: .3px;
}
.eh-card.has-img .eh-card__ico { margin-top: -29px; position: relative; z-index: 1; background: #fff; box-shadow: var(--eh-shadow); }
.eh-card.has-img p { flex: 1; }
.eh-card__btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px;
  padding: 10px 18px; border-radius: 999px; font-family: var(--eh-font-head); font-weight: 700; font-size: .93rem;
  color: var(--eh-accent); border: 2px solid color-mix(in srgb, var(--eh-accent) 35%, transparent); transition: .2s;
}
.eh-card__btn:hover { background: var(--eh-accent); border-color: var(--eh-accent); color: #fff; }
.eh-card--solar .eh-card__btn { color: color-mix(in srgb, var(--eh-solar) 75%, #000); border-color: color-mix(in srgb, var(--eh-solar) 45%, transparent); }
.eh-card--solar .eh-card__btn:hover { background: var(--eh-solar); color: #1a1a1a; }
.eh-card__more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--eh-accent); font-family: var(--eh-font-head); }

/* Diferenciais */
.eh-why { background: var(--eh-brand); color: #d3deef; position: relative; overflow: hidden; }
.eh-why::before {
  content: ""; position: absolute; right: -160px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--eh-accent) 30%, transparent), transparent 70%);
}
.eh-why__in { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.eh-why h2 { color: #fff; }
.eh-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.eh-why__list li {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--eh-radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.eh-why__list .eh-ico { width: 30px; height: 30px; color: var(--eh-accent); margin-top: 2px; }
.eh-why__list strong { display: block; color: #fff; font-family: var(--eh-font-head); font-size: 1.05rem; margin-bottom: 4px; }
.eh-why__list span { font-size: .93rem; }

/* Faixa de chamada */
.eh-cta { background: linear-gradient(120deg, var(--eh-accent), color-mix(in srgb, var(--eh-accent) 55%, var(--eh-brand))); color: #fff; }
.eh-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 46px 20px; flex-wrap: wrap; }
.eh-cta h2 { color: #fff; margin-bottom: .25em; }
.eh-cta p { margin: 0; color: rgba(255,255,255,.9); }
.eh-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Conteúdo principal ---------- */
.eh-main { padding: 56px 0 70px; }
.is-home .eh-main { padding-top: 64px; }
.eh-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.eh-layout.has-left { grid-template-columns: 280px minmax(0, 1fr); }
.eh-layout.has-right { grid-template-columns: minmax(0, 1fr) 300px; }
.eh-layout.has-left.has-right { grid-template-columns: 250px minmax(0, 1fr) 270px; }
.eh-content > *:last-child { margin-bottom: 0; }

.eh-breadcrumbs { margin-bottom: 22px; font-size: .9rem; }
.eh-breadcrumbs ol, .eh-breadcrumbs ul, .breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; margin-right: 6px; color: var(--eh-muted); }
.breadcrumb-item.active { color: var(--eh-muted); }

/* Artigos e blog */
.page-header h1, .page-header h2 { position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.page-header h1::after, .page-header h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--eh-accent);
}
.item-page, .com-content-article { font-size: 1.04rem; }
.item-page img, .com-content-article img { border-radius: 10px; }
.article-info, .com-content-article__info, dl.article-info {
  display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 20px; color: var(--eh-muted); font-size: .88rem;
}
.article-info dd { margin: 0; }
.article-info-term { display: none; }
.item-image, .item-image img, .intro-image img, .full-image img, figure.item-image img { border-radius: 12px; }
.blog-items { display: grid; gap: 26px; }
.blog-items.columns-2 { grid-template-columns: repeat(2, 1fr); }
.blog-items.columns-3 { grid-template-columns: repeat(3, 1fr); }
.blog-item, .com-content-category-blog__item {
  background: #fff; border: 1px solid var(--eh-line); border-radius: var(--eh-radius); padding: 24px;
  transition: box-shadow .25s, transform .25s;
}
.blog-item:hover { box-shadow: var(--eh-shadow); transform: translateY(-3px); }
.blog-item .item-image, .blog-item figure { margin: -24px -24px 18px; }
.blog-item .item-image img { border-radius: var(--eh-radius) var(--eh-radius) 0 0; width: 100%; }
.readmore { margin-top: 12px; }
.readmore .btn { padding: 9px 18px; font-size: .92rem; background: var(--eh-accent); color: #fff; }
.item-page blockquote, .eh-content blockquote {
  margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--eh-accent); background: var(--eh-bg-alt); border-radius: 0 10px 10px 0;
}
.eh-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.eh-content th, .eh-content td { padding: 10px 12px; border-bottom: 1px solid var(--eh-line); text-align: left; }
.eh-content th { background: var(--eh-bg-alt); color: var(--eh-brand); }

/* Paginação */
.pagination, .com-content-category-blog__pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 30px 0 0; }
.pagination .page-link {
  display: block; min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 8px;
  border: 1px solid var(--eh-line); color: var(--eh-brand);
}
.pagination .active .page-link, .pagination .page-link:hover { background: var(--eh-accent); border-color: var(--eh-accent); color: #fff; }
.pagination .disabled .page-link { opacity: .45; }
.counter { color: var(--eh-muted); font-size: .9rem; }

/* Módulos (estilo "card") */
.card, .moduletable {
  background: #fff; border: 1px solid var(--eh-line); border-radius: var(--eh-radius);
  margin-bottom: 26px; overflow: hidden;
}
.card-header, .moduletable > h3 {
  margin: 0; padding: 16px 22px; font-family: var(--eh-font-head); font-size: 1.1rem; font-weight: 700;
  color: var(--eh-brand); border-bottom: 1px solid var(--eh-line); background: var(--eh-bg-alt);
}
.card-body { padding: 20px 22px; }
.card-body > *:last-child { margin-bottom: 0; }
.eh-side .mod-menu, .eh-side ul.menu { list-style: none; margin: 0; padding: 0; }
.eh-side .mod-menu a { display: block; padding: 9px 0; border-bottom: 1px dashed var(--eh-line); color: var(--eh-ink); }
.eh-side .mod-menu a:hover, .eh-side .mod-menu .current > a { color: var(--eh-accent); padding-left: 6px; }
.eh-side .mod-menu li:last-child a { border-bottom: 0; }
.eh-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.eh-grid-auto > .card { margin: 0; }

/* Formulários e mensagens */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="url"], input[type="number"], select, textarea, .form-control, .form-select {
  width: 100%; max-width: 100%; padding: 11px 14px; font: inherit; color: var(--eh-ink);
  border: 1px solid #ccd6e4; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  outline: 0; border-color: var(--eh-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--eh-accent) 18%, transparent);
}
label, .control-label { font-weight: 600; color: var(--eh-brand); display: inline-block; margin-bottom: 6px; }
.control-group, .mb-3 { margin-bottom: 16px; }
.alert, joomla-alert { display: block; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; border: 1px solid var(--eh-line); background: var(--eh-bg-alt); }
.alert-success, joomla-alert[type="success"] { background: #e8f8ef; border-color: #b9e8cc; }
.alert-danger, .alert-error, joomla-alert[type="danger"] { background: #fdecec; border-color: #f3c2c2; }
.alert-warning, joomla-alert[type="warning"] { background: #fff6e0; border-color: #f5dc9c; }
.visually-hidden, .element-invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Rodapé ---------- */
.eh-footer { background: #071225; color: #a9b8cf; font-size: .95rem; }
.eh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 20px 44px; }
.eh-footer h3, .eh-footer .card-header, .eh-footer .moduletable > h3 {
  color: #fff; font-size: 1.08rem; margin: 0 0 18px; padding: 0; background: none; border: 0;
}
.eh-footer .card, .eh-footer .moduletable { background: none; border: 0; margin: 0; }
.eh-footer .card-body { padding: 0; }
.eh-footer a { color: #cfdaeb; }
.eh-footer a:hover { color: var(--eh-accent); }
.eh-footer ul { list-style: none; padding: 0; margin: 0; }
.eh-footer .mod-menu li { margin-bottom: 8px; }
.eh-footer__brand p { margin: 16px 0 18px; }
.eh-logo--footer { color: #fff; }
.eh-logo--footer:hover { color: #fff; }
.eh-logo--footer .eh-logo__txt small { color: #8fa1bd; }
.eh-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.eh-contact .eh-ico { color: var(--eh-accent); margin-top: 4px; }
.eh-contact small { color: #8fa1bd; }
.eh-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.eh-footer__bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 20px; }
.eh-credit a { color: #fff; font-weight: 600; }

/* Botões flutuantes */
.eh-float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--eh-wa); color: #fff;
  box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .2s;
  animation: eh-pulse 2.6s infinite;
}
.eh-float-wa:hover { color: #fff; transform: scale(1.08); }
.eh-float-wa .eh-ico { width: 32px; height: 32px; }
@keyframes eh-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.eh-totop {
  position: fixed; right: 30px; bottom: 92px; z-index: 199; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--eh-brand); color: #fff; font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.eh-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Animação de entrada */
.eh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.eh-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .eh-cards { grid-template-columns: repeat(2, 1fr); }
  .eh-footer__grid { grid-template-columns: 1fr 1fr; }
  .eh-layout.has-left.has-right { grid-template-columns: minmax(0, 1fr) 270px; }
  .eh-layout.has-left.has-right .eh-side--left { order: 3; grid-column: 1 / -1; }
  .hide-md { display: none !important; }
}

@media (max-width: 920px) {
  .eh-burger { display: block; }
  .eh-header__in { min-height: 70px; }
  .eh-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 300;
    flex-direction: column; align-items: stretch; gap: 14px; padding: 90px 22px 30px; overflow-y: auto;
    background: #fff; box-shadow: -20px 0 50px rgba(10,26,51,.2);
    transform: translateX(105%); transition: transform .3s ease;
  }
  .eh-nav-open .eh-nav { transform: none; }
  .eh-nav-open .eh-header { z-index: 400; }
  .eh-nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7,18,37,.5); z-index: 250; }
  .eh-burger { position: relative; z-index: 310; }
  .eh-nav > ul, .eh-nav .mod-menu { flex-direction: column; align-items: stretch; }
  .eh-nav a { padding: 12px 10px; border-bottom: 1px solid var(--eh-line); border-radius: 0; }
  .eh-nav ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
  .eh-nav li.is-open > ul { display: block; }
  .eh-sub-toggle {
    display: block; position: absolute; right: 0; top: 4px; width: 40px; height: 40px; border: 0; background: none;
    color: var(--eh-brand); font-size: 1.1rem; cursor: pointer;
  }
  .eh-nav li.is-open > .eh-sub-toggle span { display: inline-block; transform: rotate(180deg); }
  .eh-search input { width: 100% !important; }
  .eh-hero__in { grid-template-columns: minmax(0, 1fr); padding: 60px 20px 64px; gap: 36px; }
  .eh-why__in { grid-template-columns: minmax(0, 1fr); }
  .eh-why__in { grid-template-columns: 1fr; }
  .eh-layout.has-left, .eh-layout.has-right, .eh-layout.has-left.has-right { grid-template-columns: minmax(0, 1fr); }
  .blog-items.columns-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .eh-topbar__info { gap: 4px 14px; }
  .eh-logo__txt strong { font-size: 1.12rem; }
  .eh-logo__mark { width: 42px; height: 42px; }
  .eh-section { padding: 56px 0; }
  .eh-cards, .eh-why__list, .blog-items.columns-2, .blog-items.columns-3 { grid-template-columns: 1fr; }
  .eh-hero__chips { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .eh-hero__chips li { font-size: .8rem; padding: 10px 6px; aspect-ratio: auto; min-height: 92px; }
  .eh-hero p { font-size: 1rem; }
  .eh-hero__chips .eh-ico { width: 26px; height: 26px; }
  .eh-hero__btns .eh-btn { flex: 1 1 100%; }
  .eh-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .eh-cta__in { flex-direction: column; align-items: flex-start; }
  .eh-float-wa { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .eh-totop { right: 21px; bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .eh-topbar, .eh-header nav, .eh-burger, .eh-float-wa, .eh-totop, .eh-cta, .eh-side { display: none !important; }
  .eh-header { position: static !important; }
}

/* ==========================================================
   Compatibilidade Joomla 3.10
   ========================================================== */
/* Menu principal (ul.nav.menu / ul.nav-child) */
.eh-nav > ul.nav, .eh-nav > ul.menu { display: flex; align-items: center; gap: 2px; }
.eh-nav li.current > a, .eh-nav li.active > a { color: var(--eh-accent); }
.eh-nav .nav-header, .eh-nav .separator { display: block; padding: 10px 14px; font-family: var(--eh-font-head); font-weight: 600; color: var(--eh-brand); cursor: default; }
@media (max-width: 920px) {
  .eh-nav > ul.nav, .eh-nav > ul.menu { flex-direction: column; align-items: stretch; }
}

/* Módulos com estilo xhtml (div.moduletable + h3) */
.eh-side .moduletable, .eh-grid-auto .moduletable, .eh-content .moduletable { padding: 0 22px 18px; }
.eh-side .moduletable > h3, .eh-grid-auto .moduletable > h3, .eh-content .moduletable > h3 { margin: 0 -22px 16px; }
.eh-grid-auto > .moduletable { margin: 0; }
.eh-side ul.menu, .eh-side ul.nav { list-style: none; margin: 0; padding: 0; }
.eh-side ul.menu a, .eh-side ul.nav a { display: block; padding: 9px 0; border-bottom: 1px dashed var(--eh-line); color: var(--eh-ink); }
.eh-side ul.menu a:hover, .eh-side ul.menu .current > a { color: var(--eh-accent); padding-left: 6px; }
.eh-side ul.menu li:last-child a { border-bottom: 0; }
.eh-footer .moduletable { padding: 0; }
.eh-footer .menu li, .eh-footer .nav li { margin-bottom: 8px; }

/* Blog e artigos */
.items-leading > div, .items-row .item, .blog-featured .items-leading > div, .blog-featured .item {
  background: #fff; border: 1px solid var(--eh-line); border-radius: var(--eh-radius); padding: 24px; margin-bottom: 24px;
  transition: box-shadow .25s, transform .25s;
}
.items-leading > div:hover, .items-row .item:hover { box-shadow: var(--eh-shadow); transform: translateY(-3px); }
.items-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.items-row .item { margin-bottom: 0; }
.items-row .row-fluid, .items-row .row { display: contents; }
.pull-left.item-image, .pull-right.item-image { float: none; margin: 0 0 16px; }
.blog .readmore a, p.readmore a.btn {
  display: inline-flex; padding: 9px 18px; border-radius: 999px; background: var(--eh-accent); color: #fff; font-weight: 700; font-family: var(--eh-font-head);
}
.icons, .btn-group.pull-right { display: none; }
dl.article-info dt { display: none; }
dl.article-info dd { margin: 0; }
.items-more ol { padding-left: 18px; }

/* Paginação Joomla 3 */
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 30px 0 0; }
.pagination ul li a, .pagination ul li span {
  display: block; min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 8px; border: 1px solid var(--eh-line); color: var(--eh-brand);
}
.pagination ul li.active span, .pagination ul li a:hover { background: var(--eh-accent); border-color: var(--eh-accent); color: #fff; }
.pagination ul li.disabled span { opacity: .45; }
.pagenav { list-style: none; display: flex; justify-content: space-between; padding: 0; margin: 30px 0 0; }

/* Mensagens do sistema e formulários Joomla 3 */
#system-message-container .alert { position: relative; }
#system-message-container .close { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 1.3rem; cursor: pointer; }
.alert-message { background: #e8f8ef; border-color: #b9e8cc; }
.alert-error { background: #fdecec; border-color: #f3c2c2; }
.form-horizontal .control-label { float: none; width: auto; text-align: left; }
.form-horizontal .controls { margin-left: 0; }
.breadcrumb .divider { margin: 0 6px; color: var(--eh-muted); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb .icon-location { display: none; }
.hidden, .hide { display: none !important; }

/* Menu automático das seções */
.eh-nav > ul.eh-menu { display: flex; align-items: center; gap: 2px; }
.eh-nav > ul.eh-menu.has-module + ul { margin-left: 2px; }
.eh-nav li.deeper > a::after { content: "▾"; font-size: .75em; margin-left: 6px; opacity: .7; }
[id] { scroll-margin-top: 96px; }
.eh-footlinks li { margin-bottom: 8px; }
@media (max-width: 920px) {
  .eh-nav > ul.eh-menu { flex-direction: column; align-items: stretch; }
  .eh-nav li.deeper > a::after { display: none; }
  [id] { scroll-margin-top: 80px; }
}
