/* ================================================================
   Brasil Marine — Estilos do site (HTML estatico)
   Base de cores e componentes do rebranding BxM Brasil Marine.
   ================================================================ */

:root{--navy:#032f48;--navy-deep:#022337;--blue:#096fa6;--blue-bright:#148cc3;--blue-pale:#eaf5fa;--blue-mist:#f3f8fb;--ink:#0a2737;--muted:#587080;--line:#d9e4e9;--white:#fcfdfe;--radius:24px;--shell:min(1280px,calc(100% - 64px))}

/* --- Reset e base --- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{margin:0;overflow-x:hidden;background:var(--white);color:var(--ink);font-family:"Avenir Next","Segoe UI Variable","Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,a,summary{font:inherit;touch-action:manipulation}
:focus-visible{outline:3px solid #e7a11a;outline-offset:4px}
.container{width:var(--shell);margin-inline:auto}
.skip-link{position:fixed;z-index:100;top:12px;left:12px;padding:10px 14px;border-radius:10px;color:#fff;background:var(--navy);transform:translateY(-160%)}
.skip-link:focus-visible{transform:translateY(0)}

/* --- Cabecalho --- */
.site-header{position:-webkit-sticky;position:sticky;z-index:40;top:0;background:rgba(252,253,254,.94);border-bottom:1px solid rgba(3,47,72,.08);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.header-inner{min-height:76px;display:flex;align-items:center;gap:36px}
.brand{width:196px;height:58px;display:flex;align-items:center;overflow:hidden}
.brand img{width:196px;transform:scale(1.06)}
.main-nav{display:flex;align-items:center;gap:32px;margin-left:auto}
.main-nav a{padding:28px 0 24px;border-bottom:2px solid transparent;color:#345363;font-size:13px;font-weight:650;transition:color .2s,border-color .2s}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:var(--blue);border-color:var(--blue)}
.header-cta{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border-radius:999px;color:#fff;background:var(--navy);font-size:12px;font-weight:750;transition:transform .2s,background .2s}
.header-cta:hover{transform:translateY(-2px);background:var(--blue)}
.mobile-menu{display:none;margin-left:auto;position:relative}
.mobile-menu summary{list-style:none;cursor:pointer;padding:10px 0 10px 20px;color:var(--navy);font-size:12px;font-weight:800}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu nav{position:absolute;top:44px;right:0;width:min(290px,calc(100vw - 32px));display:flex;flex-direction:column;padding:10px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 20px 45px rgba(3,47,72,.17)}
.mobile-menu nav a{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}
.mobile-menu nav a:last-child{border-bottom:0;color:var(--blue);font-weight:800}
.mobile-menu nav .mm-group{padding:11px 0 4px;border-bottom:0;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.mobile-menu nav a.mm-sub{padding:10px 0 10px 14px;border-left:2px solid var(--line);border-bottom:0;color:#345363}

/* --- Menu suspenso de categorias no cabecalho --- */
.nav-drop{position:relative}
.nav-drop-trigger{display:inline-flex;align-items:center;gap:6px;padding:28px 0 24px;border:0;border-bottom:2px solid transparent;background:none;color:#345363;font-size:13px;font-weight:650;transition:color .2s,border-color .2s}
.nav-drop:hover .nav-drop-trigger,.nav-drop.is-open .nav-drop-trigger,.nav-drop-trigger[aria-current="page"]{color:var(--blue);border-color:var(--blue)}
.nav-drop-trigger svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.nav-drop:hover .nav-drop-trigger svg,.nav-drop.is-open .nav-drop-trigger svg{transform:rotate(180deg)}
.nav-drop-menu{position:absolute;z-index:50;top:calc(100% - 6px);left:50%;width:308px;padding:10px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 24px 55px rgba(3,47,72,.16);opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:opacity .18s,transform .18s,visibility .18s}
.nav-drop:hover .nav-drop-menu,.nav-drop.is-open .nav-drop-menu,.nav-drop-menu:focus-within{opacity:1;visibility:visible;transform:translate(-50%,0)}
.nav-drop-menu a{display:block;padding:11px 13px;border:0;border-radius:12px;color:var(--ink);font-size:13px;font-weight:750;transition:background .18s,color .18s}
.nav-drop-menu a span{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:500;line-height:1.4}
.nav-drop-menu a:hover,.nav-drop-menu a:focus-visible{color:var(--blue);background:var(--blue-mist);border-color:transparent}
.nav-drop-menu a:hover span,.nav-drop-menu a:focus-visible span{color:#4a7d99}

/* --- Botoes --- */
.button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:780;white-space:nowrap;transition:transform .2s,color .2s,background .2s,border-color .2s}
.button:hover{transform:translateY(-2px)}
.button:active{transform:scale(.98)}
.button-primary{color:#fff;background:var(--blue)}
.button-primary:hover{background:var(--navy)}
.button-light{color:var(--navy);background:#fff}
.button-light:hover{background:var(--blue-pale)}

/* --- Eyebrow e link de texto --- */
.eyebrow{margin:0 0 22px;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.eyebrow span{display:inline-block;width:26px;height:1px;margin:0 9px 4px 0;background:currentColor}
.eyebrow-light{color:#92d6f1}
.text-link{display:inline-block;margin-top:20px;padding-bottom:4px;border-bottom:1px solid currentColor;font-size:12px;font-weight:800}

/* --- Ritmo de secao --- */
.section{padding:126px 0}

/* --- Hero --- */
.hero{position:relative;padding:66px 0 0;background:radial-gradient(circle at 10% 30%,rgba(20,140,195,.06),transparent 30%),var(--white)}
.hero-grid{min-height:610px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:48px}
.hero-copy{position:relative;z-index:2;padding:36px 0 78px}
.hero-copy h1{max-width:650px;margin:0;font-size:clamp(54px,5.2vw,76px);line-height:.99;letter-spacing:-.06em;font-weight:760;text-wrap:balance}
.hero-text{max-width:570px;margin:27px 0 32px;color:var(--muted);font-size:18px;line-height:1.55}
.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hero-visual{position:relative;min-height:535px;display:grid;place-items:center;overflow:hidden}
.hero-visual:before{content:"";position:absolute;z-index:0;top:16px;right:0;bottom:16px;left:9%;border-radius:38px 38px 38px 140px;background:radial-gradient(circle at 72% 18%,rgba(255,255,255,.18),transparent 28%),linear-gradient(145deg,var(--blue-bright),var(--navy))}
.hero-visual>img{position:relative;z-index:2;width:min(680px,88%);height:auto;max-height:440px;object-fit:contain;transform:translate(-2%,1%);filter:drop-shadow(0 34px 30px rgba(2,35,55,.3))}
.hero-orbit{position:absolute;z-index:1;border:1px solid rgba(255,255,255,.16);border-radius:50%}
.orbit-one{width:440px;height:440px;right:-160px;bottom:-210px}
.orbit-two{width:300px;height:300px;right:-80px;bottom:-140px;border-color:rgba(255,255,255,.08)}
.hero-dots{position:absolute;z-index:2;right:35px;top:55px;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 18px #fff,0 36px #fff,0 54px #fff;opacity:.55}
.stats{position:relative;z-index:4;display:grid;grid-template-columns:repeat(4,1fr);min-height:108px;margin-top:10px;border-radius:var(--radius) var(--radius) 0 0;background:var(--blue-pale)}
.stats>div{display:flex;flex-direction:column;justify-content:center;padding:20px 28px;border-right:1px solid rgba(9,111,166,.13)}
.stats>div:last-child{border-right:0}
.stats strong{color:var(--navy);font-size:23px;letter-spacing:-.025em}
.stats span{margin-top:5px;color:var(--muted);font-size:11px}

/* --- Linha de produtos (home) --- */
.products-intro{background:var(--blue-mist)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:52px}
.section-heading h2,.story-copy h2,.company-grid h2,.product-info h2,.technical-grid h2{margin:0;font-size:clamp(38px,4.2vw,60px);line-height:1.03;letter-spacing:-.052em}
.section-heading>p{max-width:420px;margin:0;color:var(--muted);line-height:1.65}
.line-grid{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:repeat(2,300px);gap:18px}
.line-card{position:relative;overflow:hidden;min-width:0;padding:30px;isolation:isolate;border-radius:var(--radius);color:#fff;background:var(--navy)}
.line-card-heavy{grid-row:1/3}
.line-card-light{background:var(--blue)}
.line-card-mech{background:#315a64}
.line-card>div{position:relative;z-index:2;max-width:260px}
.line-card p,.line-card span{margin:0;color:#b9ddec;font-size:11px;font-weight:750}
.line-card h3{margin:16px 0 12px;font-size:clamp(27px,2.8vw,42px);line-height:1.03;letter-spacing:-.05em}
.line-card>img{position:absolute;z-index:1;right:-4%;bottom:10%;width:67%;height:72%;object-fit:contain;filter:drop-shadow(0 24px 20px rgba(0,0,0,.23));transition:transform .35s}
.line-card:hover>img{transform:scale(1.06) rotate(-1deg)}
.line-card footer{position:absolute;z-index:2;right:28px;bottom:24px;left:28px;display:flex;align-items:center;gap:12px;padding-top:14px;border-top:1px solid rgba(255,255,255,.25);font-size:10px}
.line-card footer span{margin-right:auto}
.line-card footer i,.model-card i,.all-products i{font-size:18px;font-style:normal}

/* --- Historia / marca --- */
.story{background:#fff}
.story-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:90px;align-items:center}
.story-image{position:relative;overflow:hidden;min-height:480px;border-radius:34px;background:var(--navy)}
.story-image img{width:100%;height:100%;object-fit:cover}
.image-label{position:absolute;bottom:24px;left:24px;padding:14px 16px;border-radius:14px;color:#fff;background:rgba(3,47,72,.85);font-size:12px;line-height:1.45}
.story-copy>p:not(.eyebrow){margin:22px 0;color:var(--muted);font-size:16px;line-height:1.7}
.story-copy-light{color:var(--ink)}

/* --- Faixa de suporte --- */
.support-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:100px;align-items:start}
.support-copy h2,.contact-inner h2,.page-hero h1,.product-info h1{margin:0;font-size:clamp(39px,4vw,60px);line-height:1.03;letter-spacing:-.052em;font-weight:740;text-wrap:balance}
.support-copy>p{max-width:530px;margin:24px 0 32px;color:#d3eaf5;font-size:16px;line-height:1.7}
.support-band{padding:110px 0;color:#fff;background:var(--blue)}
.support-band .support-grid{align-items:center}
.support-steps{margin:0;padding:0;list-style:none;border-top:1px solid rgba(255,255,255,.32)}
.support-steps li{display:grid;grid-template-columns:65px 1fr;gap:18px;padding:23px 0;border-bottom:1px solid rgba(255,255,255,.32)}
.support-steps b{font-size:18px}
.support-steps h3{margin:0 0 7px;font-size:17px}
.support-steps p{margin:0;color:#d3eaf5;font-size:13px;line-height:1.55}
.support-action{align-self:center}
.support-band.compact{padding:76px 0}

/* --- Modelos em destaque --- */
.models{background:#fff}
.models.alt{background:var(--blue-mist)}
.model-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.model-card{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.model-card a{display:block;padding:22px}
.model-card img{width:100%;height:245px;object-fit:contain;border-radius:16px;background:var(--blue-mist);transition:transform .35s}
.model-card:hover img{transform:scale(1.035)}
.model-card span{display:block;margin-top:21px;color:var(--blue);font-size:10px;font-weight:800}
.model-card h3{margin:8px 0 14px;font-size:32px;letter-spacing:-.05em}
.model-card ul,.product-list-card ul{display:flex;gap:8px;margin:0;padding:0;list-style:none}
.model-card li,.product-list-card li{padding:7px 8px;border-radius:9px;color:var(--muted);background:var(--blue-mist);font-size:10px}
.model-card b{display:flex;justify-content:space-between;margin-top:24px;padding-top:15px;border-top:1px solid var(--line);font-size:11px}

/* --- Empresa / simbolo --- */
.company-section{padding:115px 0;background:var(--blue-mist)}
.company-grid{display:grid;grid-template-columns:1fr 1fr;gap:94px;align-items:center}
.company-mark{position:relative;display:grid;place-items:center;min-height:430px;overflow:hidden;border-radius:34px;background:var(--blue-pale)}
.company-mark:before{content:"";position:absolute;width:480px;height:480px;border:1px solid rgba(9,111,166,.17);border-radius:50%;box-shadow:0 0 0 70px rgba(9,111,166,.05)}
.company-mark img{position:relative;width:180px;filter:drop-shadow(0 18px 30px rgba(3,47,72,.18))}
.company-grid>div:last-child>p:not(.eyebrow){max-width:560px;margin:22px 0;color:var(--muted);font-size:16px;line-height:1.7}
.principles{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}
.principles span{padding:10px 14px;border-radius:999px;background:#fff;font-size:11px;font-weight:750}
.company-mark-tech{background:#fff;border:1px solid var(--line);min-height:400px}
.company-mark-tech:before{display:none}
.company-mark-tech img{position:relative;width:auto;height:auto;max-width:86%;max-height:340px;object-fit:contain;filter:none}

/* --- Contato (faixa navy) --- */
.contact-section{padding:96px 0;color:#fff;background:var(--navy)}
.contact-inner{display:grid;grid-template-columns:1fr auto;gap:72px;align-items:center;padding:0}
.contact-inner .eyebrow{margin-bottom:16px}
.contact-inner>div>span{display:block;margin-bottom:18px;color:#8fd3ef;font-size:12px;font-weight:750}
.contact-inner h2{max-width:880px;font-size:clamp(36px,3.7vw,54px)}

/* --- Rodape --- */
.site-footer{color:#a8c0cc;background:#011d2c}
.site-footer .footer-grid{display:grid;grid-template-columns:1.45fr .85fr .85fr 1fr;gap:55px;padding:70px 0 54px}
.site-footer h3{margin:0 0 18px;color:#fff;font-size:12px}
.site-footer .footer-grid>div:not(:first-child){display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.site-footer .footer-grid a,.site-footer .footer-grid p{margin:0;color:#a8c0cc;font-size:12px;line-height:1.55}
.site-footer .footer-grid a:hover{color:#fff}
.footer-brand{width:180px;height:74px;overflow:hidden}
.footer-brand img{width:175px;height:auto;object-fit:contain;transform:none}
.footer-brand+p{margin-top:12px}
.site-footer .footer-grid p.footer-legal{margin-top:18px;padding:13px 15px;border-left:3px solid var(--blue-bright);border-radius:0 8px 8px 0;background:rgba(20,140,195,.1);font-size:12px;color:#e6f1f6;font-weight:600;line-height:1.55;max-width:360px}
.footer-bottom{display:flex;justify-content:space-between;gap:28px;padding:23px 0 28px;border-top:1px solid rgba(255,255,255,.1);font-size:10px}
.footer-bottom a{color:#fff}

/* --- WhatsApp flutuante --- */
.floating-whatsapp{position:fixed;z-index:50;right:22px;bottom:22px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 17px;border:2px solid #fff;border-radius:999px;color:#fff;background:#147a46;box-shadow:0 14px 30px rgba(1,29,44,.22);font-size:11px;font-weight:800;transition:transform .2s}
.floating-whatsapp:hover{transform:translateY(-3px)}

/* --- Paginas internas: hero, produto, detalhes --- */
.page-hero{padding:98px 0 78px;background:var(--blue-mist)}
.page-hero p:not(.crumb){max-width:620px;margin:22px 0 0;color:var(--muted);font-size:17px;line-height:1.65}
.breadcrumb{margin:0 0 20px!important;color:var(--blue)!important;font-size:12px!important;font-weight:800}
.breadcrumb a:hover{text-decoration:underline}
.product-hero .eyebrow{margin-bottom:14px}
.product-layout{padding:90px 0}
.product-layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
/* Palco da galeria: quadrado 1:1 pelo espacador :before (padding-top:100%).
   Tecnica universal — nao depende de aspect-ratio (Safari <15 ignora) nem de
   grid/flex. Sem altura fixa e sem JS. */
.product-stage{position:relative;display:block;width:100%;min-height:0;height:auto;overflow:hidden;border-radius:36px;background:radial-gradient(circle,rgba(20,140,195,.18),transparent 58%),var(--blue-pale)}
.product-stage:before{content:"";display:block;width:100%;padding-top:100%}
.product-stage:after{content:"";position:absolute;width:420px;height:420px;right:-160px;bottom:-190px;border:1px solid rgba(9,111,166,.2);border-radius:50%;box-shadow:0 0 0 70px rgba(9,111,166,.05)}
/* Centralizacao explicita: nao depende da posicao estatica de item de grid. */
.stage-lines{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:320px;height:320px;border:1px solid rgba(9,111,166,.16);border-radius:50%;box-shadow:0 0 0 60px rgba(9,111,166,.04)}
/* Ancorada ao palco com offsets longhand (o shorthand `inset` e' ignorado no
   Safari <14.1). Altura do contêiner e' definida pelo espacador, entao 100%
   resolve igual em todos os navegadores. */
.product-stage img,.product-stage video{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:block;width:100%;height:100%;padding:7%;-webkit-box-sizing:border-box;box-sizing:border-box;object-fit:contain;object-position:center;filter:drop-shadow(0 28px 26px rgba(3,47,72,.2))}
.product-info .eyebrow{margin-bottom:15px}
.product-info h1{font-size:clamp(45px,5vw,70px)}
.product-info h2{font-size:clamp(35px,3.5vw,51px)}
.product-info>p{color:var(--muted);font-size:17px;line-height:1.7}
.spec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:30px 0}
.spec-grid div{padding:16px;border-radius:14px;background:var(--blue-mist)}
.spec-grid span{display:block;color:var(--muted);font-size:10px}
.spec-grid strong{display:block;margin-top:6px;font-size:13px}
.spec-grid b{display:block;margin-bottom:6px;font-size:15px}
.details-band{padding:82px 0;background:var(--navy);color:#fff}
.detail-columns{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}
.detail-columns>div>h2{margin:0;font-size:clamp(35px,3.5vw,52px);letter-spacing:-.05em}
.detail-columns p{margin:0;color:#b9d2df;font-size:14px;line-height:1.6}
.detail-list article{display:grid;grid-template-columns:48px 1fr;gap:14px;padding:20px 0;border-top:1px solid rgba(255,255,255,.28)}
.detail-list article:last-child{border-bottom:1px solid rgba(255,255,255,.28)}
.detail-list h3{margin:0 0 7px;font-size:16px}
.detail-columns p a{color:#92d6f1;border-bottom:1px solid rgba(146,214,241,.42);font-weight:700}
.detail-columns p a:hover{border-bottom-color:#92d6f1}
.technical-grid{display:grid;grid-template-columns:1fr 1fr;gap:82px;align-items:center}
.technical-image{overflow:hidden;border-radius:30px;background:var(--blue-pale)}
.technical-image img{width:100%;height:430px;object-fit:contain}
.technical-grid>div>p:not(.eyebrow){margin:20px 0 26px;color:var(--muted);font-size:16px;line-height:1.7}
.all-products{padding:84px 0;background:var(--blue-mist)}
.all-products .container>div{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.all-products a{display:flex;align-items:center;gap:14px;padding:21px 23px;border-radius:16px;background:#fff;font-size:24px;font-weight:760;letter-spacing:-.04em}
.all-products a span{margin-right:auto;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:0}
.product-list{display:flex;flex-direction:column;gap:20px}
.product-list-card{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:42px;border:1px solid var(--line);border-radius:24px;background:#fff}
.product-list-card.reverse>div{order:2}
.product-list-card.reverse>a{order:1}
.product-list-card span{color:var(--blue);font-size:11px;font-weight:800}
.product-list-card h2{margin:10px 0 14px;font-size:45px;letter-spacing:-.06em}
.product-list-card p{max-width:500px;font-size:15px;line-height:1.7}
.product-list-card ul{margin-top:20px}
.product-list-card .text-link{margin-top:25px}
.product-list-card>a{display:block;overflow:hidden;border-radius:18px;background:var(--blue-mist)}
.product-list-card img{width:100%;height:290px;object-fit:contain}

/* --- Ficha tecnica (paginas de produto) --- */
.specs-section{background:var(--blue-mist)}
.specs-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:72px;align-items:start}
.specs-intro h2{margin:14px 0 0;font-size:clamp(32px,3.4vw,46px);line-height:1.05;letter-spacing:-.04em}
.specs-intro>p{margin:18px 0 26px;color:var(--muted);font-size:16px;line-height:1.7}
.specs-table{margin:0}
.specs-table>div{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:15px 2px;border-bottom:1px solid var(--line)}
.specs-table>div:first-child{border-top:1px solid var(--line)}
.specs-table dt{margin:0;color:var(--muted);font-size:13px}
.specs-table dd{margin:0;color:var(--ink);font-size:14px;font-weight:750;text-align:right}

/* --- Galeria de fotos do produto --- */
.product-media{display:flex;flex-direction:column;gap:14px}
.product-media .product-stage{width:100%}
.gallery-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:10px;margin:0;padding:0}
.gthumb{position:relative;display:block;min-height:0;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s}
.gthumb:before{content:"";display:block;width:100%;padding-top:100%}
.gthumb img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;padding:6px;-webkit-box-sizing:border-box;box-sizing:border-box;object-fit:contain;object-position:center}
.gthumb:hover{transform:translateY(-2px);border-color:var(--blue-bright)}
.gthumb.is-active{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}

/* --- Animacao de entrada (reveal) --- */
/* A animacao so esconde o conteudo quando o JS esta ativo (classe .js no <html>).
   Sem JS, ou se o script falhar, o conteudo aparece normalmente. */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
.js .reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.js .reveal{opacity:1;transform:none}}

/* ================================================================
   Responsivo
   ================================================================ */
@media(max-width:1180px){
  .header-inner{gap:24px}
  .main-nav{gap:20px}
  .main-nav a,.nav-drop-trigger{font-size:12px}
}
@media(max-width:1080px){
  :root{--shell:min(100% - 48px,960px)}
  .main-nav{gap:15px}
  .main-nav a,.nav-drop-trigger{font-size:11px}
  .hero-grid{grid-template-columns:.86fr 1.14fr;gap:20px}
  .hero-copy h1{font-size:56px}
  .support-grid,.company-grid{gap:60px}
  .product-layout-grid{gap:42px}
}
@media(max-width:800px){
  :root{--shell:min(100% - 32px,680px)}
  .header-inner{min-height:68px}
  .brand{width:168px;height:52px}
  .brand img{width:168px}
  .main-nav,.header-cta{display:none}
  .mobile-menu{display:block}
  .hero{padding-top:22px}
  .hero-grid{min-height:auto;grid-template-columns:1fr}
  .hero-copy{padding:48px 0 8px}
  .hero-copy h1{max-width:620px;font-size:clamp(46px,10vw,65px)}
  .hero-visual{min-height:455px}
  .hero-visual:before{top:18px;right:0;bottom:18px;left:0;border-radius:30px 30px 30px 90px}
  .hero-visual>img{width:min(620px,90%);max-height:385px;transform:translate(-1%,1%)}
  .stats{grid-template-columns:1fr 1fr;border-radius:20px 20px 0 0}
  .stats>div:nth-child(2){border-right:0}
  .stats>div:nth-child(-n+2){border-bottom:1px solid rgba(9,111,166,.13)}
  .section{padding:88px 0}
  .section-heading{align-items:start;flex-direction:column}
  .section-heading>p{max-width:600px}
  .line-grid,.model-grid{grid-template-columns:1fr;grid-template-rows:auto}
  .line-card,.line-card-heavy{grid-row:auto;min-height:360px}
  .story-grid,.company-grid,.product-layout-grid,.technical-grid{grid-template-columns:1fr;gap:48px}
  .specs-grid{grid-template-columns:1fr;gap:40px}
  .story-image{min-height:390px}
  .support-grid{grid-template-columns:1fr;gap:52px}
  .contact-inner{grid-template-columns:1fr;gap:34px}
  .contact-inner .button{justify-self:start}
  .site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
  .site-footer .footer-grid>div:first-child{grid-column:1/-1}
  .details-band .detail-columns{grid-template-columns:1fr;gap:45px}
  .detail-columns{grid-template-columns:1fr;gap:45px}
  .product-list-card{grid-template-columns:1fr}
  .product-list-card.reverse>div,.product-list-card.reverse>a{order:initial}
  .product-list-card img{height:240px}
  .all-products .container>div{grid-template-columns:1fr}
  .page-hero{padding:72px 0 58px}
  .filter-select{flex:1 1 100%;min-width:0}
}
/* ================================================================
   Ajustes 2026-07: galeria (setas + zoom), filtros de categoria,
   miniatura em "Outros modelos", redes sociais no rodape
   ================================================================ */

/* --- Galeria: setas de navegacao --- */
.gallery-main{cursor:zoom-in}
.gallery-nav{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:48px;height:48px;display:none;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;color:#fff;background:rgba(3,47,72,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:pointer;opacity:.9;transition:background .2s,opacity .2s}
.product-media[data-count]:not([data-count="1"]) .gallery-nav{display:flex}
.gallery-nav:hover{background:var(--blue);opacity:1}
.gallery-nav svg{width:22px;height:22px;pointer-events:none;stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.gallery-nav.prev{left:16px}
.gallery-nav.next{right:16px}
/* --- Galeria: lente de zoom flutuante (a imagem-base nao se move, as setas continuam clicaveis) --- */
.zoom-lens{position:absolute;z-index:3;width:230px;height:230px;border-radius:22px;overflow:hidden;pointer-events:none;opacity:0;border:2px solid #fff;box-shadow:0 22px 50px rgba(3,47,72,.32);background:radial-gradient(circle,rgba(20,140,195,.16),transparent 62%),var(--blue-pale);transition:opacity .16s}
.gallery-main.is-zooming .zoom-lens{opacity:1}
.zoom-lens-inner{position:absolute;top:0;left:0}
.zoom-lens-inner img{filter:none}
@media(hover:none){.gallery-main{cursor:default}.zoom-lens{display:none}}

/* --- Filtros das paginas de categoria (multiplas caracteristicas) --- */
.category-tools{padding:40px 0 0}
.filter-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:22px}
.filter-head h2{margin:0;font-size:22px;letter-spacing:-.03em}
.filter-count{color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}
.filter-selects{display:flex;flex-wrap:wrap;gap:16px 18px}
.filter-select{position:relative;display:flex;flex-direction:column;gap:8px;min-width:186px}
.fs-label{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.fs-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font-size:13px;font-weight:750;cursor:pointer;transition:border-color .2s,background .2s,color .2s,box-shadow .2s}
.fs-trigger:hover{border-color:var(--blue-bright)}
.filter-select.is-open .fs-trigger{border-color:var(--blue);box-shadow:0 0 0 3px rgba(9,111,166,.14)}
.filter-select.has-value .fs-trigger{border-color:var(--blue);background:var(--blue);color:#fff}
.fs-caret{flex:none;width:17px;height:17px;stroke:currentColor;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .22s}
.filter-select.is-open .fs-caret{transform:rotate(180deg)}
.fs-menu{position:absolute;z-index:25;top:calc(100% + 7px);left:0;min-width:100%;width:-webkit-max-content;width:max-content;max-width:min(320px,78vw);margin:0;padding:7px;list-style:none;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 22px 48px rgba(3,47,72,.2);opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .16s,transform .16s;max-height:290px;overflow:auto}
.filter-select.is-open .fs-menu{opacity:1;transform:none;pointer-events:auto}
.fs-option{padding:11px 13px;border-radius:10px;color:var(--ink);font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer;transition:background .16s,color .16s}
.fs-option:hover{background:var(--blue-mist)}
.fs-option.is-active{background:var(--blue);color:#fff}
.model-card.is-hidden,.part-card.is-hidden{display:none}
.filter-empty{display:none;margin-top:26px;padding:34px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);text-align:center}
.filter-empty.show{display:block}
.category-tools+.models{padding-top:40px}

/* --- Botao de download do desenho tecnico --- */
.button-ghost{color:var(--navy);background:#fff;border-color:var(--line)}
.button-ghost:hover{color:var(--blue);border-color:var(--blue);background:var(--blue-pale)}
.button svg{flex:none;width:17px;height:17px;margin-right:9px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.specs-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.specs-actions .button{margin:0}
.specs-note{margin:14px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
.specs-note a{color:var(--blue);border-bottom:1px solid rgba(9,111,166,.32);font-weight:700}
.specs-note a:hover{border-bottom-color:var(--blue)}

/* --- Pecas de reposicao --- */
.parts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.part-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
.part-card:hover{border-color:var(--blue-bright);box-shadow:0 18px 40px rgba(3,47,72,.09);transform:translateY(-3px)}
.part-thumb{position:relative;display:grid;place-items:center;height:190px;margin:14px 14px 0;border-radius:14px;background:var(--blue-mist);overflow:hidden}
.part-thumb img{width:100%;height:100%;padding:14px;object-fit:contain;transition:transform .35s}
.part-card:hover .part-thumb img{transform:scale(1.05)}
.part-thumb.is-empty{color:#9db6c3;flex-direction:column}
.part-thumb.is-empty svg{width:46px;height:46px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.part-thumb.is-empty b{margin-top:9px;font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.part-model{position:absolute;top:10px;left:10px;padding:5px 9px;border-radius:8px;color:#fff;background:var(--navy);font-size:10px;font-weight:800;letter-spacing:.04em}
.part-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px}
.part-body h3{margin:0;font-size:16px;line-height:1.3;letter-spacing:-.02em;text-wrap:balance}
.part-sku{margin:7px 0 0;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.05em}
.part-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:15px;border-top:1px solid var(--line);color:var(--blue);font-size:11px;font-weight:800;transition:color .2s}
.part-cta i{font-style:normal}
.part-card:hover .part-cta{color:var(--navy)}
.parts-note{max-width:760px;margin:0 auto 34px;padding:20px 24px;border:1px solid var(--line);border-radius:18px;background:var(--blue-mist);color:var(--muted);font-size:13px;line-height:1.65;text-align:center}
.parts-note b{color:var(--ink)}
/* --- Chamada de pecas de reposicao na home --- */
.parts-teaser{background:var(--blue-mist)}
.parts-teaser-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:78px;align-items:center}
/* Altura fixa: com linhas 1fr as fotos preenchem por object-fit em vez de a linha
   crescer junto com a imagem. */
.parts-teaser-media{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:14px;height:clamp(420px,36vw,520px)}
.parts-teaser-media figure{position:relative;overflow:hidden;margin:0;border-radius:22px;background:var(--blue-pale)}
.parts-teaser-media figure:first-child{grid-row:span 2}
.parts-teaser-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.parts-teaser-media figure:hover img{transform:scale(1.05)}
.parts-teaser-media figcaption{position:absolute;right:0;bottom:0;left:0;padding:30px 16px 14px;color:#fff;background:linear-gradient(rgba(2,35,55,0),rgba(2,35,55,.86));font-size:11px;font-weight:750;line-height:1.35}
.parts-teaser-copy h2{margin:0;font-size:clamp(34px,3.7vw,52px);line-height:1.04;letter-spacing:-.05em}
.parts-teaser-copy>p{margin:20px 0 28px;color:var(--muted);font-size:16px;line-height:1.7}
.parts-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 34px;padding:0;list-style:none}
.parts-list li{padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);font-size:12.5px;font-weight:680;line-height:1.4}
.parts-teaser-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.parts-teaser-cta>span{color:var(--muted);font-size:12.5px;line-height:1.5}
.button-lg{min-height:64px;padding:0 34px;font-size:14px;box-shadow:0 16px 32px rgba(9,111,166,.26)}
.button-lg:hover{box-shadow:0 20px 40px rgba(9,111,166,.32)}

@media(max-width:1080px){.parts-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){
  .parts-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .part-thumb{height:158px}
  .part-body{padding:14px 15px 16px}
  .part-body h3{font-size:15px}
  .parts-teaser-grid{grid-template-columns:1fr;gap:46px}
  .parts-teaser-media{height:380px}
  .parts-teaser-cta{gap:16px}
}
@media(max-width:520px){
  .parts-teaser-media{grid-template-rows:auto auto;height:auto;gap:10px}
  .parts-teaser-media figure{aspect-ratio:1/1}
  .parts-teaser-media figure:first-child{grid-column:span 2;grid-row:auto;aspect-ratio:4/3}
  .parts-list{grid-template-columns:1fr}
  .parts-teaser-cta .button{width:100%}
}

/* --- "Outros modelos": miniatura + texto --- */
.all-products a{gap:16px}
.all-products a img{flex:none;width:60px;height:60px;padding:6px;border-radius:14px;object-fit:contain;background:var(--blue-mist)}
.all-products a .rel-text{display:flex;flex-direction:column;gap:2px;min-width:0;margin-right:auto}
.all-products a .rel-text span{margin:0;color:var(--muted);font-size:11px;font-weight:650;letter-spacing:0}

/* --- Redes sociais no rodape --- */
.footer-social{display:flex;gap:10px;margin-top:8px}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#a8c0cc;transition:color .2s,border-color .2s,background .2s,transform .2s}
.footer-social a:hover{color:#fff;border-color:#fff;background:rgba(255,255,255,.08);transform:translateY(-2px)}
.footer-social svg{width:19px;height:19px;fill:currentColor}

/* --- Cards de linha: reversores maiores; leves/mecanicos acima da linha do rodape --- */
.line-card-heavy>img{width:86%;height:78%;right:-3%;bottom:13%}
.line-card-light>img,.line-card-mech>img{width:84%;height:70%;right:-5%;bottom:30%}

/* --- Cursor da marca --- */
body{cursor:url("../img/cursor.png") 1 1, auto}
a,button,summary,label,.button,.header-cta,.text-link,.filter-chip,.gthumb,.gallery-nav,.mobile-menu summary,.floating-whatsapp,.nav-drop-trigger,.part-card{cursor:pointer}
.gallery-main{cursor:zoom-in}

@media(max-width:520px){
  .specs-actions .button{width:100%}
  .part-thumb{height:132px;margin:10px 10px 0}
  .part-body{padding:12px 13px 14px}
  .part-body h3{font-size:14px}
  .line-card-light>img,.line-card-mech>img{width:88%;height:56%;right:-8%;bottom:24%}
  .gallery-nav{width:42px;height:42px}
  .gallery-nav.prev{left:10px}
  .gallery-nav.next{right:10px}
  .hero-copy{padding-top:40px}
  .hero-copy h1{font-size:46px}
  .hero-text{font-size:16px}
  .hero-actions{align-items:stretch;flex-direction:column}
  .hero-actions .button{width:100%}
  .hero-visual{min-height:350px}
  .hero-visual:before{top:18px;right:0;bottom:18px;left:0;border-radius:24px 24px 24px 64px}
  .hero-visual>img{width:94%;max-height:300px;transform:none}
  .stats>div{padding:18px 16px}
  .stats strong{font-size:18px}
  .section-heading h2,.support-copy h2,.company-grid h2,.contact-inner h2,.page-hero h1{font-size:38px}
  .line-card{min-height:410px;padding:24px}
  .line-card>img{right:-16%;bottom:6%;width:90%;height:60%}
  .model-card ul{flex-wrap:wrap}
  .story-copy h2{font-size:39px}
  .company-mark{min-height:350px}
  .contact-inner .button{width:100%}
  .site-footer .footer-grid{grid-template-columns:1fr}
  .site-footer .footer-grid>div:first-child{grid-column:auto}
  .footer-bottom{flex-direction:column}
  .floating-whatsapp{right:14px;bottom:14px}
  .spec-grid{grid-template-columns:1fr}
  .product-stage{border-radius:28px}
  .stage-lines{width:220px;height:220px}
  .product-info h1{font-size:45px}
  .product-list-card{padding:26px}
  .product-list-card h2{font-size:38px}
  .product-list-card ul{flex-wrap:wrap}
  .technical-image img{height:310px}
}
