@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("/assets/fonts/roboto-slab-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #203246;
  --navy: #173c63;
  --blue-soft: #edf3f6;
  --surface: #f6f8f9;
  --muted: #536374;
  --line: #d7dee3;
  --red: #c43432;
  --red-dark: #9f2427;
  --wa-green: #25d366;
  --wa-green-hover: #1ebe5d;
  --wa-dark: #075e54;
  --wa-ink: #04332d;
  --white: #fff;
  --paper: #f5f3ed;
  --wrap: 1180px;
  --header-height: 112px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 180px; }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--ink); font-family: "Roboto", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
figure, h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h2, .family-feature__content h3 { font-family: "Roboto Slab", Georgia, serif; font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 4.7vw, 4.35rem); line-height: 1.08; }
h2 { font-size: clamp(2.05rem, 3.2vw, 3rem); line-height: 1.17; }
h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.22; }
p { line-height: 1.67; }
em { font-style: normal; color: inherit; }
::selection { background: #cde1ee; color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.wrap { width: min(calc(100% - 64px), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 16px; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.contact-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.contact-strip__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 20px; }
.social-links { display: flex; align-items: center; gap: 5px; }
.social-links a { display: grid; width: 34px; height: 34px; place-items: center; color: var(--navy); transition: color .2s ease, background .2s ease; }
.social-links a:hover { color: var(--red-dark); background: var(--white); }
.social-links .wa-link:hover { color: var(--wa-dark); }
.social-links svg { width: 18px; height: 18px; }
.contact-strip__phone { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 13px; white-space: nowrap; }
.contact-strip__phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-strip__phone svg { width: 17px; height: 17px; }
.contact-strip__phone strong { font-weight: 700; }
.site-header { position: sticky; z-index: 100; top: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15,39,62,.05); }
.header-inner { display: flex; align-items: center; min-height: var(--header-height); gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 106px; height: 106px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 31px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--navy); }
.desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-contact { display: inline-flex; align-items: center; gap: 14px; padding: 11px 14px; border: 1px solid var(--navy); border-radius: 3px; color: var(--navy); font-size: 13px; font-weight: 700; transition: color .2s, background .2s; }
.header-contact:hover { color: var(--white); background: var(--navy); }
.header-contact svg { width: 15px; height: 15px; }
.menu-toggle { display: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav { padding: 8px 20px 22px; background: var(--white); border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mobile-nav a:last-child { margin-top: 16px; padding: 13px 16px; border: 0; border-radius: 3px; background: var(--red); color: var(--white); text-align: center; }
.mobile-nav a.wa-link { display: flex; align-items: center; justify-content: center; gap: 10px; }
.mobile-nav a.wa-link svg { width: 18px; height: 18px; }
.mobile-nav a.wa-link:hover { background: var(--red-dark); }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 13px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 700; line-height: 1.25; transition: background .22s ease, transform .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-signal { background: var(--red); color: var(--white); }
.button-signal:hover { background: var(--red-dark); }
.button svg { width: 17px; height: 17px; }
.button svg, .header-contact svg, .category-item__link svg, .footer-wa svg { transition: transform .22s var(--ease); }
.button:hover svg, .header-contact:hover svg, .category-item__link:hover svg, .footer-wa:hover svg { transform: translate(2px,-2px); }
.wa-link .wa-cta-icon { flex: none; fill: currentColor; stroke: none; transition: transform .22s var(--ease); }
.wa-link:hover .wa-cta-icon, .wa-link:focus-visible .wa-cta-icon { transform: scale(1.12); }
.wa-link:active .wa-cta-icon { transform: scale(.96); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.3; transition: color .2s ease, gap .2s ease; }
.text-link:hover { color: var(--red-dark); gap: 17px; }
.text-link svg { width: 16px; height: 16px; }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.7fr); gap: clamp(32px,6vw,90px); align-items: end; margin-bottom: 48px; }
.section-heading p { max-width: 49ch; color: var(--muted); font-size: 16px; }
figcaption { color: var(--muted); font-size: 12px; line-height: 1.5; }

.home-hero { position: relative; isolation: isolate; display: flex; align-items: stretch; min-height: clamp(620px, calc(100svh - 154px), 790px); overflow: hidden; background: #102338; color: var(--white); }
.home-hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,22,38,.9) 0%, rgba(7,25,43,.77) 42%, rgba(7,25,43,.43) 100%), linear-gradient(0deg, rgba(5,22,38,.45), transparent 30%); pointer-events: none; }
.hero-gallery { position: absolute; z-index: -2; inset: 0; background: #102338; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide.is-active img { animation: hero-settle 5.8s ease-out both; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero-slide--first img { object-position: center 50%; }
.hero-slide--second img { object-position: center 54%; }
@keyframes hero-settle { from { transform: scale(1.035); } to { transform: scale(1); } }
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; min-height: inherit; padding-block: 98px 142px; }
/* Abertura: marcador vermelho da marca desenhado acima do título; texto sobe em sequência curta. */
.hero-copy { position: relative; max-width: 770px; }
.hero-copy::before { position: absolute; top: -34px; left: 0; width: 56px; height: 4px; content: ""; background: var(--red); transform-origin: left center; animation: draw-x .7s var(--ease) .45s backwards; }
.hero-copy h1 { max-width: 12ch; color: var(--white); font-size: clamp(3.3rem, 6vw, 5.8rem); line-height: 1.045; letter-spacing: -.04em; animation: rise-in .8s var(--ease) backwards; }
.hero-copy > p { max-width: 50ch; margin-top: 26px; color: #e7eef3; font-size: clamp(1.05rem, 1.5vw, 1.23rem); line-height: 1.58; animation: rise-in .8s var(--ease) .12s backwards; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 29px; margin-top: 34px; animation: rise-in .8s var(--ease) .24s backwards; }
@keyframes rise-in { from { opacity: 0; transform: translate3d(0,16px,0); } }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes fade-in { from { opacity: 0; } }
.hero-actions .text-link { color: var(--white); }
.hero-actions .text-link:hover { color: #ffcdcb; }
.intro-section { padding-block: 92px; background: var(--blue-soft); }
.intro-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,1fr); align-items: center; gap: clamp(55px,9vw,140px); }
.intro-copy h2 { max-width: 16ch; }
.intro-copy p { max-width: 53ch; margin-top: 21px; color: var(--muted); }
.intro-copy .text-link { margin-top: 26px; }
.intro-figure { max-width: 600px; }
.intro-figure img { width: 100%; height: auto; }
.intro-figure figcaption { margin-top: 9px; }

.families-section { padding-block: 100px 96px; background: var(--paper) url("/assets/pole-line.svg") no-repeat right -72px top 24px / min(42vw, 500px); }
.family-list { border-top: 1px solid var(--line); }
.family-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(55px,8vw,120px); padding-block: 52px; border-bottom: 1px solid var(--line); }
.family-feature > .media-gallery { max-width: 500px; }
.family-feature__content { max-width: 470px; }
.family-feature__content h3 { font-size: clamp(2rem,3vw,2.8rem); }
.family-feature__content p { margin-top: 18px; color: var(--muted); }
.family-feature__content .text-link { margin-top: 26px; }
.family-feature--reverse > .media-gallery { order: 2; }
.family-feature--reverse .family-feature__content { order: 1; }

.detail-section { padding-block: 96px; background: var(--surface); }
.detail-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); align-items: center; gap: clamp(50px,8vw,125px); }
.detail-copy h2 { max-width: 17ch; }
.detail-copy p { max-width: 50ch; margin-top: 20px; color: var(--muted); }
.detail-copy .text-link { margin-top: 25px; }
.detail-layout > .media-gallery { max-width: 535px; }

.steps-section { padding-block: 98px; }
/* Os passos ficam pendurados num mesmo cabo: uma linha contínua com um isolador por etapa. */
/* Ao entrar na tela, o cabo é estendido e cada etapa desliza até seu isolador. */
.steps-list { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin: 0 0 34px; padding: 0; list-style: none; counter-reset: step; }
.steps-list::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; content: ""; background: #9fb0c1; transform-origin: left center; transition: transform 1.1s var(--ease); }
.steps-list li { position: relative; padding: 30px 20px 0 0; counter-increment: step; transition: opacity .6s var(--ease) var(--step-delay,.35s), transform .6s var(--ease) var(--step-delay,.35s); }
.steps-list li:nth-child(2) { --step-delay: .55s; }
.steps-list li:nth-child(3) { --step-delay: .75s; }
.steps-list li::after { position: absolute; top: -5px; left: 0; width: 11px; height: 11px; content: ""; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); }
.steps-list li:first-child::after { border-color: var(--red); background: var(--red); }
.steps-list li::before { content: counter(step) "."; display: block; margin-bottom: 17px; color: var(--red); font-size: 14px; font-weight: 700; }
.steps-list strong { display: block; font-size: 18px; }
.steps-list p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.faq-section { padding-block: 92px 106px; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1fr); gap: clamp(50px,10vw,150px); }
.faq-intro p { max-width: 34ch; margin-top: 17px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 19px 35px 19px 0; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.45; list-style: none; cursor: pointer; transition: color .2s ease; }
.faq-list summary:hover { color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
/* Sinal de mais desenhado: a haste vertical recolhe ao abrir. */
.faq-list summary::before, .faq-list summary::after { position: absolute; top: 50%; right: 6px; width: 14px; height: 2px; margin-top: -1px; content: ""; background: var(--red); transition: transform .3s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(90deg) scaleX(0); }
.faq-list details p { max-width: 66ch; padding: 0 36px 21px 0; color: var(--muted); font-size: 14px; }
.faq-list details[open] p { animation: rise-in .4s var(--ease); }

.closing-section { background: var(--blue-soft); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 72px 124px; }
.closing-inner h2 { max-width: 19ch; }
.closing-inner p { max-width: 52ch; margin-top: 14px; color: var(--muted); }
.closing-inner .button { flex: none; }

.site-footer { background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) minmax(0,.72fr) minmax(0,1.15fr); gap: clamp(24px,3.6vw,58px); padding-block: 65px 56px; }
/* A versão branca preserva o desenho da marca e deixa o azul do rodapé visível. */
.brand-footer { display: inline-block; width: 128px; height: 128px; }
.brand-footer img { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-brand p { max-width: 29ch; margin-top: 17px; color: #d9e4ed; font-size: 14px; }
.footer-social { display: flex; gap: 8px; margin-top: 23px; }
.footer-social a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transition: background .2s ease, border-color .2s ease, transform .2s var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column h2 { position: relative; margin-bottom: 9px; padding-bottom: 13px; color: var(--white); font-family: "Roboto", Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.footer-column h2::after { position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; content: ""; background: #e87976; }
.footer-column a { display: inline-flex; align-items: flex-start; gap: 9px; color: var(--white); font-size: 14px; line-height: 1.45; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s ease, color .2s ease; }
.footer-column a:hover { text-decoration-color: currentColor; }
.footer-column a svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #bacbd8; transition: color .2s ease, transform .2s var(--ease); }
.footer-column a:hover svg { color: var(--white); transform: translateX(2px); }
.footer-contact p { margin-top: 5px; color: #d9e4ed; font-size: 14px; }
.footer-wa svg { fill: currentColor; stroke: none; }
.footer-column .footer-wa svg, .footer-column .footer-wa:hover svg { color: var(--wa-green); }
/* Linha final: copyright | localidade à esquerda, crédito à direita. O respiro inferior
   impede que o botão flutuante cubra o crédito no fim da página. */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px 92px; border-top: 1px solid rgba(255,255,255,.22); color: #cbd9e4; font-size: 12px; line-height: 1.5; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; row-gap: 4px; line-height: 1.5; }
.footer-legal > span + span, .footer-legal > a { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.34); }
.footer-legal > a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.footer-legal > a:hover { text-decoration-color: currentColor; }
.footer-signature { white-space: nowrap; }
.page-privacy .footer-bottom { padding-bottom: 25px; }
.footer-credit { display: inline-flex; align-items: center; gap: 5px; color: var(--white); white-space: nowrap; }
.footer-credit:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit img { width: 16px; height: 17px; object-fit: contain; }

/* O verde fica reservado às ações do WhatsApp; a identidade do site permanece azul e vermelha. */
.floating-whatsapp { position: fixed; z-index: 110; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); display: grid; width: 60px; height: 60px; place-items: center; border: 2px solid var(--white); border-radius: 50%; background: var(--wa-green); box-shadow: 0 12px 32px rgba(0,0,0,.3); color: var(--white); animation: fab-in .5s .5s cubic-bezier(.2,.75,.25,1) backwards; transition: transform .22s var(--ease), background .22s ease, box-shadow .22s ease; }
.floating-whatsapp:hover { transform: translateY(-3px); background: var(--wa-green-hover); box-shadow: 0 16px 36px rgba(0,0,0,.34); }
.floating-whatsapp:active { transform: translateY(0); }
.floating-whatsapp[aria-expanded="true"] { background: var(--wa-dark); }
.floating-whatsapp:focus-visible { outline-color: var(--wa-dark); }
.floating-whatsapp svg { width: 29px; height: 29px; }
@keyframes fab-in { from { opacity: 0; translate: 0 14px; } }

/* Janela compacta junto ao botão, no padrão de atendimento do Joinchat. */
.lead-dialog { position: fixed; z-index: 111; inset: auto 24px 96px auto; width: min(370px, calc(100vw - 32px)); max-height: calc(100dvh - 116px); margin: 0; padding: 0; overflow-y: auto; border: 0; border-radius: 14px; background: var(--white); box-shadow: 0 24px 60px rgba(0,0,0,.28), 0 1px 4px rgba(0,0,0,.1); color: var(--ink); }
.lead-dialog[open] { animation: dialog-in .26s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } }
.lead-dialog__head { position: relative; display: flex; align-items: center; min-height: 78px; padding: 16px 60px 16px 20px; background: var(--wa-dark); color: var(--white); }
.lead-dialog__head::before { position: absolute; left: 20px; bottom: 0; width: 40px; height: 3px; content: ""; background: var(--wa-green); }
.lead-dialog__close { position: absolute; top: 16px; right: 14px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--white); transition: background .2s ease; }
.lead-dialog__close:hover { background: rgba(255,255,255,.12); }
.lead-dialog__close:focus-visible { outline-color: var(--white); outline-offset: -2px; }
.lead-dialog__close svg { width: 18px; height: 18px; }
.lead-dialog h2 { color: var(--white); font-family: "Roboto", Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.lead-dialog__body { padding: 20px; background: #f1f8f4; }
.lead-dialog__message { max-width: 29ch; padding: 13px 16px; border-radius: 3px 13px 13px 13px; background: var(--white); box-shadow: 0 3px 12px rgba(0,0,0,.08); color: var(--ink); font-size: 14px; line-height: 1.5; }
.lead-dialog__form { display: flex; flex-direction: column; margin-top: 20px; }
.lead-dialog__form label { margin-bottom: 8px; color: var(--wa-ink); font-size: 13px; font-weight: 700; }
.lead-dialog__form input[name="name"] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #aebdcc; border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s ease; }
.lead-dialog__form input::placeholder { color: #617385; }
.lead-dialog__form input:focus { border-color: var(--wa-dark); outline: 3px solid #bcebd2; outline-offset: 0; }
.lead-dialog__form input[aria-invalid="true"] { border-color: var(--red-dark); }
.lead-dialog__form input[aria-invalid="true"]:focus { outline-color: #f2d2d1; }
.lead-dialog__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lead-dialog__turnstile[hidden], .lead-dialog__status[hidden] { display: none; }
.lead-dialog__status { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.lead-dialog__status[data-kind="error"] { color: #9f2427; }
.lead-dialog__status[data-kind="success"] { color: var(--navy); }
.lead-dialog__submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 16px; padding: 10px 14px; border: 0; border-radius: 6px; background: var(--wa-green); color: var(--wa-ink); font-size: 14px; font-weight: 700; transition: background .22s ease, transform .22s var(--ease); }
.lead-dialog__submit:hover:not(:disabled) { background: var(--wa-green-hover); transform: translateY(-2px); }
.lead-dialog__submit:focus-visible { outline-color: var(--wa-dark); }
.lead-dialog__submit:active:not(:disabled) { transform: translateY(0); }
.lead-dialog__submit:disabled { opacity: .68; cursor: wait; }
.lead-dialog__submit svg { width: 20px; height: 20px; flex: none; }

/* Products */
.product-hero { background: var(--surface); }
.product-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,.76fr); align-items: center; gap: clamp(50px,8vw,125px); padding-block: 62px 72px; }
.product-hero__content { max-width: 620px; }
.product-hero__content > * { animation: rise-in .8s var(--ease) backwards; }
.product-hero__content > h1 { animation-delay: .06s; }
.product-hero__content > .product-hero__lead { animation-delay: .14s; }
.product-hero__content > .button { animation-delay: .22s; }
.breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 37px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.product-hero__content h1 { max-width: 13ch; font-size: clamp(2.7rem, 4.2vw, 3.8rem); }
.product-hero__lead { max-width: 55ch; margin-top: 23px; color: var(--muted); font-size: 16px; }
.product-hero__content .button { margin-top: 29px; }
/* A foto de Produtos é a imagem principal da página: só desliza, sem esmaecer, para não atrasar a exibição. */
.product-hero__figure { justify-self: center; width: min(100%,420px); animation: photo-rise .9s var(--ease) .1s backwards; }
.product-hero__figure img { width: 100%; height: auto; object-fit: contain; }
@keyframes photo-rise { from { transform: translate3d(0,18px,0); } }
.catalog-nav { position: sticky; z-index: 90; top: var(--header-height); overflow-x: auto; background: var(--white); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.catalog-nav .wrap { display: flex; align-items: center; gap: 30px; width: max-content; min-width: min(calc(100% - 64px), var(--wrap)); min-height: 57px; }
.catalog-nav a { position: relative; display: flex; flex: none; align-items: center; align-self: stretch; color: var(--muted); font-size: 13px; font-weight: 700; transition: color .2s ease; }
.catalog-nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--red); transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease); }
.catalog-nav a:hover, .catalog-nav a.is-current { color: var(--navy); }
.catalog-nav a.is-current::after { transform: scaleX(1); }
.catalog-intro { padding-block: 91px; background: var(--paper) url("/assets/pole-line.svg") no-repeat right -88px top -80px / 410px; }
.catalog-intro__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(50px,8vw,120px); }
.catalog-intro__grid h2 { max-width: 17ch; }
.catalog-intro__copy p { color: var(--muted); }
.catalog-intro__copy p + p { margin-top: 17px; }
.catalog-block { padding-block: 95px; border-top: 1px solid var(--line); }
.catalog-block--alternate { background: var(--surface); }
.catalog-block__grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1fr); align-items: start; gap: clamp(55px,8vw,120px); }
.catalog-block__figure { width: 100%; max-width: 500px; min-width: 0; }
.catalog-block--alternate .catalog-block__figure { order: 2; }
.catalog-block--alternate .catalog-block__body { order: 1; }
.catalog-block--portrait .catalog-block__figure { width: min(100%,420px); }
.catalog-block--portrait .catalog-block__figure { width: min(100%,500px); }

/* Foto-galerias: fotos reais inteiras, com navegação manual e gesto horizontal. */
.media-gallery { width: 100%; min-width: 0; }
.media-gallery__track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-inline: contain; }
.media-gallery__track::-webkit-scrollbar { display: none; }
.media-gallery__slide { flex: 0 0 100%; min-width: 0; max-width: none; scroll-snap-align: start; }
.media-gallery__frame { display: grid; place-items: center; height: clamp(310px, 33vw, 430px); overflow: hidden; background: #e8edf0; }
.media-gallery--portrait .media-gallery__frame { height: 500px; }
.media-gallery__frame img, .catalog-block--portrait .media-gallery__frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.media-gallery__slide figcaption { min-height: 38px; padding: 10px 3px 0; }
.media-gallery__toolbar { display: flex; align-items: center; justify-content: space-between; padding-top: 5px; }
/* Régua entre o contador e os botões: o trecho azul acompanha a foto exibida. */
.media-gallery__toolbar::before { order: 1; flex: 1; height: 3px; margin-inline: 18px 14px; content: ""; background: linear-gradient(var(--navy), var(--navy)) no-repeat calc(var(--gallery-pos, 0) * 100%) 0 / var(--gallery-size, 20%) 3px, linear-gradient(#c4d0da, #c4d0da) no-repeat left 1px / 100% 1px; transition: background-position .45s var(--ease); }
.media-gallery__count { order: 0; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.media-gallery__count strong { color: var(--navy); font-size: 14px; }
.media-gallery__toolbar > div { order: 2; display: flex; gap: 6px; }
.media-gallery__toolbar button { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid var(--navy); border-radius: 2px; background: transparent; color: var(--navy); transition: background .2s, color .2s; }
.media-gallery__toolbar button:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.media-gallery__toolbar button:disabled { opacity: .35; cursor: default; }
.media-gallery__toolbar svg { width: 17px; height: 17px; }
.catalog-block__body > p { max-width: 60ch; margin-top: 17px; color: var(--muted); }
.category-list { margin: 29px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.category-item { display: grid; grid-template-columns: 45px minmax(0,1fr) auto; align-items: start; gap: 15px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.category-item__code { color: var(--navy); font-size: 18px; font-weight: 700; transition: color .2s ease; }
.category-item:hover .category-item__code { color: var(--red-dark); }
.category-item__text h3 { font-size: 16px; letter-spacing: -.02em; }
.category-item__text p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.category-item__link { display: inline-flex; align-items: center; gap: 5px; padding-top: 3px; color: var(--red-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
.category-item__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.category-item__link svg { width: 14px; height: 14px; }
.catalog-note { margin-top: 17px; color: var(--muted); font-size: 13px; }
.meters-note { padding-block: 80px; background: var(--blue-soft); }
.meters-note__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(50px,8vw,120px); }
.meters-note__grid p { color: var(--muted); }
.meters-note__grid p + p { margin-top: 14px; }
.meters-note__grid .text-link { margin-top: 23px; }
.more-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 12px 80px; align-items: end; padding-block: 95px; }
.more-section h2 { grid-row: span 2; max-width: 17ch; }
.more-section p { color: var(--muted); }
.more-section .text-link { justify-self: start; }
.privacy-main { padding-block: 80px 100px; background: var(--paper) url("/assets/pole-line.svg") no-repeat right -80px top 30px / 380px; }
.privacy-copy { max-width: 790px; }
.privacy-copy > p { max-width: 70ch; margin-top: 18px; color: var(--muted); }
.privacy-copy h2 { margin-top: 43px; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.privacy-copy h2 + p { margin-top: 12px; }
.privacy-copy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* Detalhes gráficos
   Desenhos técnicos de rede e padrão de entrada, sempre em pseudo-elementos (sem conteúdo
   para leitores de tela). Os SVGs em assets/decor/ servem de máscara: a cor vem do
   background-color, então o mesmo traço funciona em branco sobre azul ou azul sobre claro. */
.home-hero::before, .detail-section::before, .closing-section::before, .site-footer::before { pointer-events: none; }

/* Cabos e postes com medidor atravessando a base do hero. */
.home-hero::before { position: absolute; z-index: 0; right: 0; bottom: 0; left: 0; height: 140px; content: ""; background: rgba(255,255,255,.22); -webkit-mask: url("/assets/decor/cables.svg") left -140px bottom / 1200px 140px repeat-x; mask: url("/assets/decor/cables.svg") left -140px bottom / 1200px 140px repeat-x; animation: fade-in 1.4s ease .6s backwards; }

/* Marcas de corte de prancha técnica nas fotos de abertura; encaixam depois da foto. */
.intro-figure, .product-hero__figure { position: relative; }
.intro-figure::before, .intro-figure::after, .product-hero__figure::before, .product-hero__figure::after { position: absolute; width: 20px; height: 20px; content: ""; border: 0 solid var(--navy); pointer-events: none; transition: opacity .6s ease .35s, transform .6s var(--ease) .35s; }
.intro-figure::before, .product-hero__figure::before { top: -11px; left: -11px; border-top-width: 2px; border-left-width: 2px; }
.intro-figure::after, .product-hero__figure::after { right: -11px; bottom: -11px; border-right-width: 2px; border-bottom-width: 2px; border-color: var(--red); }
.product-hero__figure::before { animation: mark-in-start .6s var(--ease) .55s backwards; }
.product-hero__figure::after { animation: mark-in-end .6s var(--ease) .55s backwards; }
@keyframes mark-in-start { from { opacity: 0; transform: translate(10px,10px); } }
@keyframes mark-in-end { from { opacity: 0; transform: translate(-10px,-10px); } }

/* Cota de largura sobre a foto de abertura: linha com terminais e ponto vermelho ao centro. */
.dim-mark { position: absolute; top: -32px; right: 0; left: 0; height: 9px; border-inline: 1px solid rgba(23,60,99,.5); pointer-events: none; transition: transform .8s var(--ease) .45s; }
.dim-mark::before { position: absolute; top: 4px; right: 0; left: 0; height: 1px; content: ""; background: rgba(23,60,99,.5); }
.dim-mark::after { position: absolute; top: 2px; left: calc(50% - 2.5px); width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--red); }
.product-hero__figure .dim-mark { animation: draw-x .8s var(--ease) .6s backwards; transform-origin: center; }

/* Assinatura de fase: duas senoides no bifásico, três no trifásico. Desenhada da esquerda para a direita ao entrar. */
[data-phase]::before { display: block; width: 104px; height: 24px; margin-bottom: 20px; content: ""; background: url("/assets/decor/phase-3.svg") left center / contain no-repeat; transition: clip-path 1s var(--ease) .3s; }
[data-phase="2"]::before { background-image: url("/assets/decor/phase-2.svg"); }

/* Elevação de uma caixa de medição com cotas, ao lado do texto sobre montagem. */
.detail-section { position: relative; isolation: isolate; overflow: hidden; }
.detail-section::before { position: absolute; z-index: -1; bottom: -14px; left: max(-30px, calc(50% - 700px)); width: 200px; height: 246px; content: ""; background: var(--navy); opacity: .15; -webkit-mask: url("/assets/decor/meter-box.svg") center / contain no-repeat; mask: url("/assets/decor/meter-box.svg") center / contain no-repeat; }

/* Dois medidores lado a lado na nota sobre quantidade de medidores. */
.meters-note__grid > div:first-child::after { display: block; width: 256px; height: 158px; margin-top: 38px; content: ""; background: var(--navy); opacity: .2; -webkit-mask: url("/assets/decor/meter-box.svg") left top / 128px 158px no-repeat, url("/assets/decor/meter-box.svg") 128px top / 128px 158px no-repeat; mask: url("/assets/decor/meter-box.svg") left top / 128px 158px no-repeat, url("/assets/decor/meter-box.svg") 128px top / 128px 158px no-repeat; }

/* Símbolo de aterramento abaixo da introdução das dúvidas. */
.faq-intro::after { display: block; width: 88px; height: 88px; margin-top: 44px; content: ""; background: var(--navy); opacity: .3; -webkit-mask: url("/assets/decor/ground.svg") left top / contain no-repeat; mask: url("/assets/decor/ground.svg") left top / contain no-repeat; }

/* No fechamento, os postes ficam de pé sobre o rodapé, que recebe a hachura de solo. */
.closing-section { position: relative; isolation: isolate; overflow: hidden; }
.closing-section::before { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 140px; content: ""; background: var(--navy); opacity: .17; -webkit-mask: url("/assets/decor/cables.svg") right -260px bottom / 1200px 140px repeat-x; mask: url("/assets/decor/cables.svg") right -260px bottom / 1200px 140px repeat-x; }
.site-footer { position: relative; }
.site-footer::before { position: absolute; top: 0; right: 0; left: 0; height: 12px; content: ""; background: rgba(255,255,255,.16); -webkit-mask: url("/assets/decor/soil.svg") left top / 16px 12px repeat-x; mask: url("/assets/decor/soil.svg") left top / 16px 12px repeat-x; }

/* Entradas discretas
   main.js só aplica .motion com IntersectionObserver e sem movimento reduzido; sem ele,
   tudo fica visível. Apenas opacity e transform, sem alterar o fluxo da página. */
.motion [data-reveal] { transition: opacity .7s var(--ease) var(--reveal-delay,0s), transform .7s var(--ease) var(--reveal-delay,0s); }
.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0,18px,0); }
.motion [data-reveal="photo"]:not(.is-in) { transform: translate3d(0,26px,0); }
.family-feature__content, .detail-layout > .media-gallery, .catalog-block__body, .catalog-intro__copy, .meters-note__grid > div + div, .faq-list { --reveal-delay: .12s; }
.motion [data-phase]:not(.is-in)::before { clip-path: inset(0 100% 0 0); }
.motion .intro-figure:not(.is-in)::before { opacity: 0; transform: translate(10px,10px); }
.motion .intro-figure:not(.is-in)::after { opacity: 0; transform: translate(-10px,-10px); }
.motion .intro-figure:not(.is-in) .dim-mark { transform: scaleX(0); }
.motion .steps-list:not(.is-in)::before { transform: scaleX(0); }
.motion .steps-list:not(.is-in) li { opacity: 0; transform: translate3d(-12px,0,0); }
/* A caixa de medição sobe devagar; os postes do fechamento se erguem sobre o solo do rodapé. */
.detail-section::before, .closing-section::before { transition: opacity 1s ease .15s, transform 1.1s var(--ease) .15s; }
.motion .detail-section:not(.is-in)::before { opacity: 0; transform: translate3d(0,24px,0); }
.motion .closing-section:not(.is-in)::before { opacity: 0; transform: translate3d(0,28px,0); }

@media (max-width: 1024px) {
  .hero-slide img, .hero-slide--first img, .hero-slide--second img { object-position: right center; }
}

@media (max-width: 980px) {
  .product-hero__grid { gap: 45px; }
  .hero-copy h1 { font-size: clamp(3rem,6vw,4.4rem); }
  .product-hero__content h1 { font-size: clamp(2.6rem,5.7vw,3.5rem); }
  .category-item { grid-template-columns: 36px minmax(0,1fr); }
  .category-item__link { grid-column: 2; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 2; grid-row: 2; }
  .footer-navigation { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
  .footer-navigation h2 { flex-basis: 100%; }
}

@media (max-width: 820px) {
  :root { --header-height: 82px; }
  html { scroll-padding-top: 108px; }
  .wrap { width: min(calc(100% - 40px), var(--wrap)); }
  .desktop-nav, .header-contact { display: none; }
  .header-inner { justify-content: space-between; }
  .brand img { width: 76px; height: 76px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--navy); border-radius: 2px; background: var(--white); color: var(--navy); }
  .menu-toggle svg { width: 21px; height: 21px; }
  .menu-toggle .menu-close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
  .intro-layout, .detail-layout, .product-hero__grid, .catalog-intro__grid, .catalog-block__grid, .meters-note__grid, .more-section, .faq-grid { grid-template-columns: 1fr; }
  .hero-content { padding-block: 85px 130px; }
  .hero-copy h1 { max-width: 12ch; font-size: clamp(2.9rem,7.3vw,4.6rem); }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .intro-layout, .detail-layout { gap: 35px; }
  .intro-figure { width: min(100%,600px); }
  .family-feature { gap: 35px; }
  .steps-list { gap: 18px; }
  .product-hero__grid { padding-block: 50px 65px; }
  .product-hero__content h1 { max-width: 16ch; font-size: clamp(2.8rem,6.5vw,4rem); }
  .product-hero__figure { width: min(100%,450px); }
  .catalog-nav .wrap { min-width: calc(100% - 40px); }
  .catalog-block--alternate .catalog-block__figure, .catalog-block--alternate .catalog-block__body { order: initial; }
  .catalog-block__figure { width: min(100%,500px); }
  .catalog-block--portrait .catalog-block__figure { width: min(100%,420px); }
  .more-section { gap: 22px; }
  .more-section h2 { grid-row: auto; }
  .footer-grid { gap: 36px 30px; }
  .detail-section::before { top: 26px; right: -34px; bottom: auto; left: auto; width: 138px; height: 170px; opacity: .1; }
  .meters-note__grid > div:first-child::after, .faq-intro::after { display: none; }
  .dim-mark { top: -22px; }
}

@media (max-width: 600px) {
  :root { --header-height: 76px; }
  .wrap { width: min(calc(100% - 36px), var(--wrap)); }
  h1 { font-size: clamp(2.45rem,10vw,3.2rem); }
  h2 { font-size: clamp(2rem,8vw,2.65rem); }
  .contact-strip__inner { min-height: 39px; gap: 12px; }
  .social-links { gap: 0; }
  .social-links a { width: 31px; height: 31px; }
  .contact-strip__phone { gap: 6px; font-size: 12px; }
  .contact-strip__phone svg { width: 15px; height: 15px; }
  .phone-prefix { display: none; }
  .brand img { width: 68px; height: 68px; }
  .home-hero { min-height: 650px; }
  .home-hero::after { background: linear-gradient(90deg, rgba(5,22,38,.84), rgba(7,25,43,.72)), linear-gradient(0deg, rgba(5,22,38,.54), transparent 48%); }
  .hero-content { padding-block: 72px 126px; }
  .hero-copy h1 { max-width: 11ch; font-size: clamp(2.55rem,10.8vw,3.55rem); }
  .hero-copy > p { max-width: 34ch; margin-top: 20px; font-size: 16px; }
  .hero-actions { align-items: flex-start; gap: 20px; margin-top: 27px; }
  .intro-section, .detail-section, .families-section, .steps-section, .faq-section { padding-block: 67px; }
  .intro-copy h2, .detail-copy h2 { max-width: none; }
  .intro-copy p, .family-feature__content p { font-size: 15px; }
  .family-feature { grid-template-columns: 1fr; gap: 23px; padding-block: 33px; }
  .family-feature--reverse > .media-gallery, .family-feature--reverse .family-feature__content { order: initial; }
  .family-feature__content h3 { font-size: 29px; }
  .media-gallery__frame { height: 330px; }
  .media-gallery--portrait .media-gallery__frame { height: 390px; }
  .steps-list { grid-template-columns: 1fr; gap: 8px; padding-left: 26px; }
  .steps-list::before { top: 0; right: auto; bottom: 0; width: 1px; height: auto; transform-origin: center top; }
  .motion .steps-list:not(.is-in)::before { transform: scaleY(0); }
  .steps-list li { padding-block: 14px; padding-right: 0; }
  .steps-list li::before { margin-bottom: 9px; }
  .steps-list li::after { top: 17px; left: -31px; }
  .faq-grid { gap: 32px; }
  .closing-inner { align-items: stretch; flex-direction: column; padding-block: 62px 112px; }
  .home-hero::before { height: 104px; -webkit-mask-size: 890px 104px; mask-size: 890px 104px; opacity: .8; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 53px 42px; }
  .footer-brand { grid-column: auto; }
  .footer-contact { grid-column: auto; grid-row: auto; order: 1; }
  .footer-models { order: 2; }
  .footer-navigation { grid-column: auto; flex-direction: column; gap: 13px; order: 3; }
  .footer-navigation h2 { flex-basis: auto; }
  .brand-footer { width: 112px; height: 112px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 20px 28px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-legal > span + span, .footer-legal > a { margin-left: 0; padding-left: 0; border-left: 0; }
  .footer-signature { align-self: stretch; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
  .floating-whatsapp { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .lead-dialog { inset: auto 14px calc(84px + env(safe-area-inset-bottom)) 14px; width: auto; max-height: calc(100dvh - 105px - env(safe-area-inset-bottom)); }
  .product-hero__grid { gap: 31px; padding-block: 37px 60px; }
  .breadcrumb { margin-bottom: 22px; }
  .product-hero__content h1 { font-size: clamp(2.45rem,9.4vw,3.2rem); }
  .product-hero__lead { margin-top: 19px; font-size: 15px; }
  .product-hero__figure { width: min(100%,390px); }
  .catalog-nav { position: relative; top: auto; scrollbar-width: thin; scrollbar-color: #aab9c4 transparent; }
  .catalog-nav::-webkit-scrollbar { height: 3px; }
  .catalog-nav::-webkit-scrollbar-thumb { background: #aab9c4; }
  .catalog-nav .wrap { gap: 24px; min-width: calc(100% - 36px); min-height: 50px; }
  .catalog-intro, .catalog-block { padding-block: 66px; }
  .catalog-block__grid { gap: 27px; }
  .catalog-block__body > p { font-size: 15px; }
  .category-item { grid-template-columns: 34px minmax(0,1fr); gap: 9px; padding-block: 17px; }
  .category-item__code { font-size: 16px; }
  .category-item__text h3 { font-size: 15px; }
  .category-item__link { font-size: 12px; }
  .meters-note, .more-section { padding-block: 66px; }
  .privacy-main { padding-block: 55px 75px; background-size: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .media-gallery__track { scroll-behavior: auto; }
  .button:hover, .floating-whatsapp:hover, .lead-dialog__submit:hover:not(:disabled), .footer-social a:hover, .footer-column a:hover svg, .wa-link:hover .wa-cta-icon, .wa-link:focus-visible .wa-cta-icon { transform: none; }
}

@media print {
  .motion [data-reveal], .motion .steps-list li { opacity: 1 !important; transform: none !important; }
}
