/* Shared semantic components: mobile layout follows the supplied 390px references. */
.technology-anchor { position: absolute; top: 0; left: 0; scroll-margin-top: 0; }
.desktop-copy,.m-desktop-hero-visual,.m-solution-photo,.m-solution-action,.site-header #navigation .mobile-nav { display: none; }
@media (max-width: 767px), (max-width: 1023px) and (max-height: 500px) {
 body:not(.privacy-page) { background: #0b120d; }
 main > .mobile-section,.mobile-footer { display: block; }
 .site-header { top: max(12px,env(safe-area-inset-top)); left: max(16px,env(safe-area-inset-left)); right: max(16px,env(safe-area-inset-right)); min-height: 68px; padding: 9px 12px; gap: 10px; border: 1px solid #b49a564d; border-radius: 16px; background: #0c140ff5; backdrop-filter: blur(14px); }
 .site-header .brand { margin: 0 auto 0 0; padding: 0; min-width: 44px; }
 .site-header .brand-logo { width: 46px; height: 48px; max-width: none; object-fit: contain; border: 0; border-radius: 0; }
 .site-header .header-cta { display: inline-flex; order: 1; margin: 0; min-height: 44px; padding: 10px 12px; border-radius: 10px; background: linear-gradient(125deg,#f8dc91,#e4bd61); color: #11170e; font-size: 11px; font-weight: 800; gap: 12px; white-space: normal; text-align: center; }
 .site-header .menu-toggle { display: flex; order: 2; flex: 0 0 44px; min-height: 44px; width: 44px; margin: 0; padding: 10px; justify-content: center; font-size: 0; border: 0; }
 .site-header .menu-toggle span { font-size: 23px; line-height: 1; }
 .site-header #navigation { position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 8px 14px; max-height: calc(100dvh - var(--nav-height,90px) - 28px); overflow-y: auto; overscroll-behavior: contain; border-radius: 14px; background: #0c140ffc; border: 1px solid #b49a5659; align-items: stretch; gap: 0; }
 .site-header #navigation a:not(.mobile-nav) { display: none; }
 .site-header #navigation .mobile-nav { display: block; padding: 12px 8px; min-height: 44px; font-size: 14px; line-height: 1.5; }
 .site-header #navigation .mobile-nav-product { padding-left: 24px; color: #d4cbb6; font-size: 13px; }
 .site-header #navigation a[aria-current] { color: #f3d58a; background: #e4bd6110; border-radius: 6px; }
 .site-header #navigation a::after { display: none; }
 .mobile-section,.mobile-footer { position: relative; padding: 36px max(24px,env(safe-area-inset-right)) 36px max(24px,env(safe-area-inset-left)); min-height: 0; width: 100%; max-width: 100%; color: #f9f4e8; background: #0b120d; scroll-margin-top: calc(var(--nav-height,84px) + 18px); }
 .mobile-section h1,.mobile-section h2,.mobile-footer h2 { font-family: Manrope,Arial,sans-serif; font-size: clamp(28px,7.7vw,34px); font-weight: 750; line-height: 1.13; letter-spacing: -.035em; overflow-wrap: anywhere; }
 .mobile-section h1 { font-size: clamp(34px,8.8vw,40px); max-width: 12ch; }
 .mobile-section h1 em,.mobile-section h2 em,.mobile-footer h2 em { display: block; color: #ebca78; font: inherit; }
 .mobile-section h3,.mobile-footer h3 { font-family: Manrope,Arial,sans-serif; letter-spacing: -.02em; }
 .m-kicker { font-size: 9px; font-weight: 500; color: #cab77e; line-height: 1.5; letter-spacing: .035em; text-transform: uppercase; margin: 0 0 22px; }
 .m-lead { color: #c4c8c0; font-size: 14px; line-height: 1.55; margin: 20px 0 0; max-width: 42ch; }
 .m-button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 11px 14px 11px 17px; color: #10160e; background: linear-gradient(115deg,#f8de98 0%,#edc66d 70%,#e2b659 100%); border: 1px solid #f5d989; border-radius: 12px; font: 750 14px/1.35 Manrope,Arial,sans-serif; text-align: left; box-shadow: inset 0 1px 1px #fff7d366,0 4px 15px #0002; cursor: pointer; transition: transform .18s,box-shadow .18s; }
 .m-button > span[aria-hidden] { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; color: #f0cd7b; background: #0e170f; font-size: 20px; font-weight: 400; }
 .m-secondary { background: #0d1711; color: #f1eee5; border-color: #b7a06459; box-shadow: inset 0 0 0 3px #ceb16a08; }
 .m-secondary > span[aria-hidden] { border: 1px solid #c7ac644d; background: transparent; }
 .m-button:active { transform: translateY(1px); box-shadow: none; }
 .m-button:focus-visible,.m-solution-link:focus-visible,.m-faq-item summary:focus-visible { outline: 3px solid #f7db91; outline-offset: 4px; }
 .m-actions { display: grid; gap: 12px; }
 .m-footnote { color: #a7ada3; font-size: 10px; line-height: 1.6; margin: 30px 0 0; }
 .m-footnote a { color: #e8cb85; text-decoration: underline; text-underline-offset: 3px; }
 .m-hero { padding-top: calc(var(--nav-height,84px) + 32px); padding-bottom: 32px; background: linear-gradient(180deg,#07100bd6,#0a120da3 52%,#0b120df2),url('assets/hensec/mobile/arquitetura-ambiente.webp') center / cover; }
 .m-hero .m-kicker { margin-bottom: 18px; }
 .m-hero .m-lead { max-width: 35ch; }
 .m-hero-products { display: grid; grid-template-columns: 1.6fr 1fr; gap: 9px; margin: 30px 0 24px; align-items: start; }
 .m-hero-products figure { margin: 0; min-width: 0; }
 .m-hero-products img { display: block; width: 100%; height: 145px; max-width: 100%; object-fit: contain; border: 1px solid #bca66a4d; border-radius: 11px; background: #0d1612; padding: 0; }
 .m-hero-products figure:nth-child(2) img { background: #e7e9e5; }
 .m-hero-products figcaption { margin-top: 10px; font-size: 8px; text-transform: uppercase; color: #deca8c; }
 .m-solution-list { display: grid; gap: 12px; margin: 30px 0 0; }
 .m-solution-link { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px; border: 1px solid #b4a06a4d; box-shadow: inset 0 0 0 3px #c3a66a06; border-radius: 13px; background: #111a14; }
 .m-solution-link svg { width: 22px; height: 25px; flex: 0 0 22px; color: #ddc37f; }
 .m-solution-link > span { min-width: 0; }
 .m-solution-link strong { display: block; font-size: 14px; line-height: 1.35; font-weight: 700; }
 .m-solution-link small { display: block; color: #b4bcb0; font-size: 10px; line-height: 1.5; margin-top: 4px; }
 .m-solution-link b { color: #d9bf79; margin-left: auto; font-weight: 400; }
 .m-product-index { display: flex; gap: 24px; align-items: baseline; font-size: 9px; text-transform: uppercase; color: #adb5a7; margin: 0 0 24px; }
 .m-product-index span { color: #e6c577; flex-shrink: 0; }
 .m-product .m-lead { min-height: 0; }
 .m-product-figure { margin: 30px 0 0; }
 .m-photo { display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #baa36a52; background: #151e17; border-radius: 14px; }
 .m-photo img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; border-radius: 13px; }
 .m-product-figure figcaption { margin-top: 12px; color: #c9cbbf; font-size: 10px; line-height: 1.5; }
 .m-product-alarmes .m-photo { max-width: 500px; margin-inline: auto; }
 .m-product-cerca .m-photo { max-width: 726px; margin-inline: auto; padding: 12px; background: #e8e9e6; }
 .m-product-interfone .m-photo { max-width: 327px; margin-inline: auto; padding: 8px; background: #e8e9e6; }
 .m-product-interfone .m-photo img { max-width: 309px; border-radius: 0; }
 .m-product-facial .m-photo { padding: 12px; }
 .m-product-facial .m-photo img { width: auto; height: auto; max-height: 300px; max-width: 100%; border-radius: 0; }
 .m-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; list-style: none; padding: 0; margin: 16px 0 22px; color: #bfc7b7; font-size: 10px; line-height: 1.5; }
 .m-benefits li::before,.m-about-values li::before { content: '✓'; margin-right: 8px; color: #d6bd78; }
 .m-note { color: #b4bbae; font-size: 11px; line-height: 1.6; }
 .m-product > .m-note { margin: -8px 0 18px; }
 .m-architecture { margin: 26px 0 0; }
 .m-architecture img { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 14px; }
 .m-architecture figcaption { margin-top: 6px; color: #a7ada3; font-size: 9px; }
 .m-about-values { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 12px; font-size: 12px; color: #c6cbbc; }
 .m-process-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
 .m-process-list li { display: flex; align-items: center; gap: 16px; border: 1px solid #baa36a4d; border-radius: 13px; padding: 17px 15px; background: #111a14; }
 .m-process-list li > span { color: #d6bf80; font-size: 22px; font-weight: 400; flex-shrink: 0; }
 .m-process-list li > div { padding-left: 15px; border-left: 1px solid #a3946e45; }
 .m-process-list h3 { font-size: 13px; line-height: 1.45; }
 .m-process-list p { font-size: 11px; line-height: 1.5; margin-top: 5px; color: #b1baaa; }
 .m-faq-list { display: grid; gap: 12px; margin: 30px 0; }
 .m-faq-item { border: 1px solid #b3a06d59; border-radius: 12px; background: #111a14; }
 .m-faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; min-height: 56px; padding: 15px; font-size: 13px; font-weight: 700; cursor: pointer; }
 .m-faq-item summary::-webkit-details-marker { display: none; }
 .m-faq-item summary > span { color: #d2ba7c; font-size: 20px; font-weight: 400; }
 .m-faq-item[open] summary > span { transform: rotate(45deg); }
 .m-faq-item > p { margin: 0; padding: 0 15px 17px; font-size: 12px; color: #c3c9bc; line-height: 1.7; }
 .mobile-footer { padding-top: 40px; padding-bottom: 32px; }
 .mobile-footer > .m-button { margin-top: 26px; }
 .mobile-footer nav,.m-footer-privacy { position: static; display: grid; margin: 30px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid #c5b27a38; border-radius: 0; background: transparent; gap: 0; align-items: start; }
 .mobile-footer h3 { font-size: 13px; margin-bottom: 10px; }
 .mobile-footer nav a,.m-footer-privacy a,.m-footer-privacy button { display: flex; align-items: center; min-height: 44px; padding: 10px 0; font: 12px/1.5 Manrope,Arial,sans-serif; color: #c4cabc; }
 .mobile-footer nav a::after { display: none; }
 .m-footer-privacy button { border: 0; background: transparent; text-align: left; cursor: pointer; }
 .mobile-footer > .m-note { margin-top: 28px; }
 .mobile-footer .m-note a { display: inline-block; padding: 10px 0; }
 /* WhatsApp stays fixed and visible; the script reserves space above privacy notices. */
 .floating-contact { width: 48px; height: 48px; right: max(12px,env(safe-area-inset-right)); bottom: max(12px,env(safe-area-inset-bottom)); padding: 10px; }
 .floating-tooltip { display: none; }
 .cookie-notice { left: max(12px,env(safe-area-inset-left)); right: max(12px,env(safe-area-inset-right)); width: auto; bottom: max(12px,env(safe-area-inset-bottom)); max-height: calc(100dvh - 24px); overflow-y: auto; }
 @media (hover: hover) {
  .m-button:hover { box-shadow: inset 0 1px 1px #fff8,0 5px 20px #d0a75422; }
  .m-solution-link:hover { border-color: #e4c476; }
 }
}
@media (max-width: 374px) {
 .mobile-section,.mobile-footer { padding-left: max(20px,env(safe-area-inset-left)); padding-right: max(20px,env(safe-area-inset-right)); }
 .site-header { left: max(12px,env(safe-area-inset-left)); right: max(12px,env(safe-area-inset-right)); padding-left: 10px; padding-right: 10px; gap: 7px; }
 .site-header .header-cta { font-size: 10px; padding: 9px; gap: 8px; }
 .m-button { font-size: 13px; padding-left: 13px; }
}
@media (prefers-reduced-motion: reduce) {
 .m-button,.m-faq-item summary > span { transition: none; }
 .m-button:active { transform: none; }
}

/* Complementary products follow all five priorities and stay optional. */
.m-complementary { margin-top: 24px; border: 1px solid #b5a06b50; border-radius: 12px; background: #101b14; }
.m-complementary > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; list-style: none; min-height: 48px; padding: 14px; color: #d1c39a; font-size: 11px; line-height: 1.5; cursor: pointer; }
.m-complementary > summary::-webkit-details-marker { display: none; }
.m-complementary-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 20px; padding: 0 16px 16px; }
.m-complementary article { display: flex; gap: 18px; align-items: center; }
.m-complementary article img { display: block; width: auto; height: auto; max-width: 95px; max-height: 130px; object-fit: contain; }
.m-complementary h3 { font-size: 14px; font-weight: 700; line-height: 1.4; }
.m-complementary p { color: #b9c3b0; font-size: 11px; line-height: 1.5; margin-top: 8px; }
.m-complementary article a { display: inline-flex; align-items: center; min-height: 44px; color: #e7ca82; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.m-complementary:not([open]) > .m-complementary-grid { display: none; }

/* Brand name and the requested signature remain readable beside the original logo. */
.site-header .brand { gap: 10px; }
.site-header .brand-identity { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.site-header .brand-identity strong { font: 800 26px/1 Manrope,Arial,sans-serif; letter-spacing: .055em; }
.site-header .brand-identity small { margin: 0; font: 500 9px/1.4 Manrope,Arial,sans-serif; letter-spacing: .015em; color: #dfd5bc; }
@media (max-width: 767px), (max-width: 1023px) and (max-height: 500px) {
 .site-header .brand { gap: 8px; }
 .site-header .brand-identity strong { font-size: 18px; }
 .site-header .brand-identity small { font-size: 7px; }
 .site-header .header-cta { padding-inline: 10px; gap: 8px; }
}
@media (max-width: 374px) {
 .site-header .brand { gap: 7px; }
 .site-header .brand-logo { width: 40px; height: 44px; }
 .site-header .brand-identity strong { font-size: 16px; }
 .site-header .brand-identity small { font-size: 6.5px; }
}
/* Opening signature: logo, name, rule, then the requested promise. */
.henseg-entry { touch-action: none; overscroll-behavior: contain; position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 42%,#22291e,#0b120e 58%,#050906); color: #fff8e7; }
.entry-identity { display: flex; flex-direction: column; align-items: center; padding: 28px; text-align: center; }
.entry-identity img { width: min(230px,42vw,30svh); height: auto; object-fit: contain; animation: henseg-entry-reveal .8s both; }
.entry-name { margin-top: 18px; font: 800 clamp(30px,5vw,51px)/1.1 Manrope,Arial,sans-serif; letter-spacing: .16em; padding-left: .16em; animation: henseg-entry-reveal .7s .5s both; }
.entry-rule { width: clamp(130px,24vw,270px); height: 1px; margin-top: 26px; background: linear-gradient(90deg,#e8c67833,#f2d58b,#e8c67833); transform-origin: center; animation: henseg-entry-rule .8s 1.15s both; }
.entry-signature { margin-top: 23px; color: #e7d6b0; font: 500 clamp(13px,2.8vw,18px)/1.6 Manrope,Arial,sans-serif; letter-spacing: .09em; animation: henseg-entry-reveal .7s 1.8s both; }
.entry-skip { position: absolute; right: max(24px,env(safe-area-inset-right)); bottom: max(24px,env(safe-area-inset-bottom)); min-height: 44px; padding: 10px 15px; border: 1px solid #c4aa665c; border-radius: 8px; background: #111c1280; color: #d6ccaf; font: 12px/1.5 Manrope,Arial,sans-serif; cursor: pointer; }
.entry-skip span { margin-left: 15px; }
.entry-skip:hover { color: #fff2cf; border-color: #e9c778; }
.henseg-entry.is-leaving { animation: henseg-entry-exit .7s ease both; }
@keyframes henseg-entry-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes henseg-entry-rule { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes henseg-entry-exit { to { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .henseg-entry { display: none; } }

/* Progressive enhancement: reserve the image's space without showing it early. */
@media (prefers-reduced-motion: no-preference) {
 html.motion-ready .reveal:not(.is-revealed) { opacity: 0; }
}
