/* =========================================================
   TORKIT — Estilos do layout
   Paleta da marca: azul marinho (#103461) + vermelho (#E85024)
   ========================================================= */

:root {
    --ink: #0e1116;
    --ink-2: #1a1f27;
    --graphite: #2b313b;
    --muted: #6b7280;
    --muted-2: #9aa1ad;
    --line: #e7e9ee;
    --bg: #ffffff;
    --bg-soft: #f5f6f8;
    --brand: #103461;
    --brand-dark: #0c2849;
    --accent: #E85024;
    --accent-dark: #c7431c;
    --accent-soft: rgba(232, 80, 36, 0.12);
    --brand-soft: rgba(16, 52, 97, 0.12);
    --primary-color: #E85024;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(14, 17, 22, 0.08);
    --shadow-lg: 0 24px 60px rgba(14, 17, 22, 0.14);
    --container: 1200px;
    --header-h: 84px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--ink); line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 26px; border-radius: 999px;
    font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.95rem;
    cursor: pointer; border: 1.5px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(232, 80, 36, 0.32); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--graphite); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Eyebrow / Section titles ---------- */
.eyebrow {
    display: inline-block; font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--center { text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.01em; }
.section--center .section__title { margin-bottom: 16px; }
.section__title--left { text-align: left; }
.section__lead { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 1.06rem; }
.section--center .section__lead { margin-inline: auto; }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section__head-note { color: var(--muted); max-width: 380px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand); color: #cfd3da; font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__contacts { display: flex; gap: 22px; }
.topbar__contacts a, .topbar__meta span { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; white-space: nowrap; flex-shrink: 0; }
.topbar__contacts a:hover { color: #fff; }
.topbar i { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(14, 17, 22, 0.07); }

.header__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--header-h);
    transition: height 0.3s;
}
.site-header.is-stuck .header__bar { height: 70px; }

.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img,
.header__logo-img { height: 54px; width: auto; transition: height 0.3s; }
.site-header.is-stuck .header__logo img,
.site-header.is-stuck .header__logo-img { height: 46px; }

.site-header .nav {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.header__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__cta { white-space: nowrap; }

.nav__menu { display: flex; align-items: center; justify-content: center; gap: 0; }
.nav__menu > li > a {
    display: inline-flex; align-items: center; gap: 6px; position: relative;
    font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.92rem;
    color: var(--graphite); padding: 10px 14px; border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav__menu > li > a:hover { color: var(--brand); }
.nav__menu > li > a.is-active { color: var(--accent); }
.nav__menu > li > a.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
    height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__menu > li > a i { font-size: 0.7rem; opacity: 0.7; }

/* submenu */
.nav__has-children { position: relative; }
.nav__submenu {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav__has-children:hover .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__submenu-title { font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); padding: 10px 12px 4px; }
.nav__submenu-title:hover { background: transparent; color: var(--brand); }
.nav__submenu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--graphite); transition: background 0.2s, color 0.2s; }
.nav__submenu a:hover { background: var(--bg-soft); color: var(--accent); }

/* nav toggle */
.nav__toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
    position: relative; z-index: 130;
    min-width: 44px; min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: clamp(440px, 62vh, 680px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0e1116;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0e1116;
}
.hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.hero__video-stage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 36%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero__video-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, #0e1116 0%, rgba(14, 17, 22, 0.9) 10%, rgba(14, 17, 22, 0.35) 24%, transparent 40%),
        linear-gradient(180deg, rgba(14, 17, 22, 0.4) 0%, transparent 18%, transparent 82%, rgba(14, 17, 22, 0.35) 100%),
        radial-gradient(ellipse 92% 86% at 52% 50%, transparent 48%, rgba(14, 17, 22, 0.2) 72%, rgba(14, 17, 22, 0.65) 100%);
}
.hero__video {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: clamp(200px, 48vh, 460px);
    object-fit: contain;
    object-position: center;
    opacity: 0.98;
    mix-blend-mode: multiply;
    filter: brightness(1.32) contrast(1.06) saturate(1.04);
    -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 58%, transparent 100%);
    mask-image: radial-gradient(ellipse 92% 88% at 50% 50%, #000 58%, transparent 100%);
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: clamp(48px, 8vh, 72px) 24px clamp(56px, 9vh, 80px);
}
.hero__content { max-width: 620px; color: #fff; }
.hero__content .eyebrow { color: var(--accent); margin-bottom: 10px; }
.hero h1 { color: #fff; font-size: clamp(1.35rem, 3.4vw, 2.65rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; max-width: none; line-height: 1.22; }
.hero__title-line { display: block; color: #fff; }
.hero__title-line:first-child { white-space: nowrap; }
.hero__title-accent { color: var(--accent); }
.hero__lead { color: #c4c9d2; font-size: 1.05rem; max-width: 600px; margin-bottom: 24px; line-height: 1.55; }
.hero p { color: #c4c9d2; font-size: 1.05rem; max-width: 600px; margin-bottom: 24px; line-height: 1.55; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero__sitelinks {
    position: absolute;
    bottom: 44px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    opacity: 0.6;
}
.hero__sitelinks a {
    color: #c4c9d2;
    text-decoration: none;
    white-space: nowrap;
}
.hero__sitelinks a:hover { color: #fff; opacity: 1; }

.hero__scroll {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
    display: grid; place-items: center; color: #fff; font-size: 0.85rem; animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.4rem; margin-bottom: 20px; }
.feature h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Brands ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; max-width: 900px; margin-inline: auto; }
.brand-chip {
    font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.95rem;
    color: var(--graphite); background: #fff; border: 1px solid var(--line);
    padding: 11px 22px; border-radius: 999px; transition: transform 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.brand-chip:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow); }

/* ---------- Categorias (home) — reutiliza .catalog-grid / .catalog-card ---------- */
#produtos .catalog-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.home-cat-block { margin-bottom: 40px; }
.home-cat-footer { text-align: center; margin-top: 12px; }
.home-cat-empty { text-align: center; color: var(--muted); padding: 24px 0; }

/* ---------- Catálogo (catalogo.php / lista.php) ---------- */
.catalog-page { padding: 40px 0 80px; }
.catalog-header { text-align: center; margin-bottom: 40px; }
.catalog-header h1 { font-size: 2rem; margin: 8px 0; }
.catalog-header p { color: var(--muted); }
.catalog-search {
    display: flex; max-width: 420px; margin: 20px auto 0;
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; background: #fff;
}
.catalog-search input { flex: 1; border: none; outline: none; padding: 10px; font-size: 1rem; background: transparent; }
.catalog-search button { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 1.1rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.catalog-card {
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    text-decoration: none; color: inherit; background: #fff;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: block; padding: 0;
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.catalog-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    box-sizing: border-box;
}
.catalog-card img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 108px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    mix-blend-mode: multiply;
}
.catalog-card img.is-cutout,
.catalog-card__media--transparent img {
    mix-blend-mode: normal;
}
.catalog-card span { display: block; text-align: center; padding: 14px 10px; font-weight: 600; font-size: 0.92rem; line-height: 1.35; border-top: none; }
.catalog-group { margin-bottom: 48px; }
.catalog-group h2 { font-size: 1.1rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.catalog-alert {
    background: #fdecea; color: #a93226; border: 1px solid #f5c6c0;
    border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 32px; text-align: center;
}
.catalog-empty { text-align: center; color: var(--muted); padding: 48px 24px; }

/* ---------- Split (serviços) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { position: relative; }
.split__photo { aspect-ratio: 4/3; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.split__photo--usinagem {
    background-image: linear-gradient(135deg, rgba(14,17,22,0.55), rgba(232,80,36,0.28)), url('https://images.unsplash.com/photo-1565939574671-3a02e7c5af2c?auto=format&fit=crop&w=1200&q=80');
    background-color: var(--graphite);
}
.split__badge { position: absolute; bottom: -18px; left: 30px; background: #fff; color: var(--ink); font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.9rem; padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 10px; }
.split__badge i { color: var(--accent); }
.split__text .section__title { margin: 14px 0 18px; }
.split__text p { color: var(--muted); margin-bottom: 24px; }
.check-list { display: grid; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.check-list i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 0.72rem; flex-shrink: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--ink); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, rgba(232,80,36,0.24), transparent 50%); }
.cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 72px 24px; flex-wrap: wrap; }
.cta__text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; max-width: 600px; margin-bottom: 12px; }
.cta__text p { color: #b9bfca; max-width: 520px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #0a0d12; color: #aeb4bf; border-top: 3px solid var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 24px 50px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 0.94rem; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: 0.93rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent); }
.footer__contact li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; }
.footer__contact i { color: var(--accent); width: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: #767d89; }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(232,80,36,0.20), transparent 45%),
        linear-gradient(135deg, #0b0e13 0%, #161b24 60%, #0e1116 100%);
}
.page-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(circle at 75% 30%, #000 0%, transparent 70%);
}
.page-hero__inner { position: relative; z-index: 2; padding: 64px 24px 56px; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.page-hero p { color: #c4c9d2; max-width: 600px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted-2); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: #f0a68a; transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 0.7rem; opacity: 0.6; }

/* ---------- Localização ---------- */
.location { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: stretch; }
.location__info .section__title { margin-bottom: 26px; }
.location__list { display: grid; gap: 22px; margin-bottom: 32px; }
.location__list li { display: flex; gap: 16px; align-items: flex-start; }
.location__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
.location__list strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.location__list div { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.location__list a { color: var(--accent); }
.location__list a:hover { text-decoration: underline; }
.location__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.location__map { min-height: 420px; }
.location__map-link { position: relative; display: block; height: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.location__map-link iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(0.15); }
.location__map-hint {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    background: var(--ink); color: #fff; font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 500;
    padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow); display: none; align-items: center; gap: 8px; pointer-events: none;
}
.location__map-hint i { color: var(--accent); }
/* Mostra a dica "toque para abrir" só em telas de toque/menores */
@media (hover: none), (max-width: 860px) {
    .location__map-hint { display: inline-flex; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 200;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 26px rgba(37,211,102,0.4);
    transition: transform 0.25s; animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    #produtos .catalog-grid { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 861px) {
    .site-header {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .nav__menu > li > a {
        padding: 8px 10px;
        font-size: 0.86rem;
    }
}

@media (min-width: 861px) and (max-width: 1180px) {
    .nav__menu > li > a {
        padding: 8px 6px;
        font-size: 0.78rem;
    }
    .header__cta.btn {
        padding: 10px 14px;
        font-size: 0.82rem;
    }
}

@media (min-width: 1181px) {
    .nav__menu > li > a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 860px) {
    .site-header { background: #fff; }
    .header__bar { position: relative; z-index: 2; }
    .header__logo img,
    .header__logo-img { height: 62px; }
    .site-header.is-stuck .header__logo img,
    .site-header.is-stuck .header__logo-img { height: 52px; }
    .header__bar {
        position: relative;
        justify-content: center;
    }
    .header__logo {
        margin: 0 auto;
        max-width: calc(100% - 88px);
    }
    .header__actions {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
    .header__cta { display: none; }
    .nav__toggle { display: flex; position: relative; z-index: 3; }
    .site-header .nav {
        flex: none;
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 340px);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        background: #fff;
        margin: 0;
        padding: calc(var(--header-h) + 16px) 20px 32px;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform 0.35s var(--ease), visibility 0.35s;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1;
        pointer-events: none;
        visibility: hidden;
    }
    .nav.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }
    body.nav-open .site-header { z-index: 200; }
    body.nav-open .header__bar { pointer-events: none; }
    body.nav-open .header__logo,
    body.nav-open .header__actions,
    body.nav-open .nav__toggle { pointer-events: auto; }
    body.nav-open .whatsapp-float { z-index: 90; }
    body.nav-open::before {
        content: "";
        position: fixed; inset: 0;
        background: rgba(14, 17, 22, 0.52);
        z-index: 150;
        pointer-events: auto;
    }
    .nav__menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .nav__menu > li { width: 100%; }
    .nav__menu > li > a {
        display: block;
        width: 100%;
        padding: 15px 12px;
        font-size: 1rem;
        color: var(--graphite);
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        position: relative;
        z-index: 1;
    }
    .nav__menu > li > a.is-active { color: var(--accent); }
    .nav__menu > li > a.is-active::after { display: none; }
    .nav__submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 6px 0 6px 12px; min-width: 0; }
    .topbar__meta { display: none; }
    .topbar__inner { height: auto; min-height: 40px; padding: 8px 0; justify-content: center; }
    .topbar .container { padding-inline: 12px; }
    .topbar__contacts {
        justify-content: center;
        flex-wrap: nowrap;
        width: 100%;
        gap: 10px 14px;
        font-size: clamp(0.62rem, 2.7vw, 0.74rem);
    }
    .topbar__contacts a { gap: 5px; }
    .topbar__contacts a[href^="mailto"] { display: none; }
    .location { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
    .hero__sitelinks { display: none; }
    .hero__title-line:first-child { white-space: normal; }
    .hero__content {
        text-align: center;
        margin-inline: auto;
        max-width: 100%;
    }
    .hero__actions { justify-content: center; }
    .hero {
        min-height: clamp(360px, 52vh, 520px);
    }
    .hero__inner {
        grid-template-columns: 1fr;
        padding: 32px 20px 44px;
    }
    .hero__video-stage {
        left: 0;
        display: none;
    }
    .hero__content .eyebrow {
        font-size: 0.7rem;
        margin-bottom: 10px;
        letter-spacing: 0.14em;
    }
    .hero h1 {
        font-size: clamp(1.55rem, 6.2vw, 2rem);
        font-weight: 700;
        line-height: 1.16;
        margin-bottom: 14px;
        letter-spacing: -0.03em;
    }
    .hero__lead,
    .hero p {
        display: none;
    }
    .hero { min-height: clamp(320px, 48vh, 460px); }
    .hero__actions { gap: 10px; }
    .hero__actions .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .hero { min-height: clamp(300px, 46vh, 420px); }
    .hero__inner { padding: 22px 20px 30px; }
    .hero__content .eyebrow {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }
    .hero h1 {
        font-size: clamp(1.62rem, 7.2vw, 1.95rem);
        margin-bottom: 12px;
    }
    .hero__lead,
    .hero p { display: none; }
    .hero__actions .btn {
        padding: 11px 18px;
        font-size: 0.86rem;
        width: auto;
        max-width: 280px;
        justify-content: center;
    }
    .features { grid-template-columns: 1fr; }
    #produtos .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .cta__inner { flex-direction: column; align-items: flex-start; }
}
