/* ==========================================================
   Jamart Química - site público
   As cores --primary, --accent e --dark vêm do painel admin.
   ========================================================== */
:root {
    --primary: #0b5394;
    --accent: #16a34a;
    --dark: #0c1b2b;
    --panel: #04296c;
    --text: #1f2a37;
    --muted: #5b6878;
    --line: #e3e8ef;
    --soft: #f3f6fa;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(12, 27, 43, .08);
    --shadow-lg: 0 20px 50px rgba(12, 27, 43, .14);
    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--dark); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.15em; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--dark); }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Topbar / Header ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; }
.topbar-contacts { display: flex; gap: 1.5rem; }
.topbar-sac { color: #fff !important; font-weight: 600; }
.topbar-sac .icon { color: #25d366; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(12,27,43,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand img { max-height: 56px; width: auto; }
.brand-text { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--primary); }
.brand-text .icon { width: 1.3em; height: 1.3em; color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav > a, .dropdown-toggle { padding: .55rem .85rem; color: var(--dark); font-weight: 500; font-size: .95rem; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: .3em; }
.main-nav > a:hover, .dropdown-toggle:hover { color: var(--primary); background: var(--soft); }
.main-nav > a.active, .dropdown-toggle.active { color: var(--primary); font-weight: 600; }
.main-nav > a.nav-cta { color: #fff; background: var(--accent); margin-left: .5rem; }
.main-nav > a.nav-cta:hover { background: var(--accent); color: #fff; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; border: 1px solid var(--line); }
.dropdown::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: .6rem .9rem; border-radius: 8px; color: var(--text); font-size: .93rem; }
.dropdown a:hover { background: var(--soft); color: var(--primary); }
.nav-backdrop { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--dark); }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

/* ---------- Hero ---------- */
/* Banner no estilo das artes da marca: azul-marinho com painel diagonal azul e engrenagens */
.hero { position: relative; color: #fff; background: radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--primary) 45%, var(--dark)) 0%, var(--dark) 60%); background-size: cover; background-position: center; overflow: hidden; }
.hero-panel { content: ''; position: absolute; inset: 0 0 0 auto; width: 46%; background: var(--panel); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; }
.hero-panel img, .hero-panel video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Foto vertical (produto) exibida inteira, sobre a cor das bordas da própria foto */
.media-fit { position: relative; width: 100%; height: 100%; overflow: hidden; }
.media-fit img.media-fit-fg { width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.hero-panel .media-fit img.media-fit-fg { padding: 4% 4% 4% 14%; } /* centraliza na parte visível da diagonal */
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; min-height: 600px; padding: 90px 20px 140px; }
.hero-content { max-width: 680px; grid-column: 1; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.hero p { font-size: 1.2rem; font-style: italic; color: rgba(255,255,255,.9); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-product { grid-column: 2; display: flex; justify-content: center; }
.hero-product img { max-height: 440px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.eyebrow-light { color: #fff; border: 1.5px solid var(--accent); padding: .55em 1.6em; border-radius: 999px; letter-spacing: .25em; font-weight: 500; }

/* ---------- Selos ---------- */
.seals-strip { position: relative; margin-top: -70px; z-index: 2; }
.seals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.seal-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1.1rem; }
.seal-card img { max-height: 64px; max-width: 110px; object-fit: contain; }
.seal-card p { margin: 0; font-weight: 500; color: var(--dark); line-height: 1.4; }
.seal-card strong { font: inherit; color: inherit; }
.seal-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); flex-shrink: 0; }
.seal-icon .icon { width: 28px; height: 28px; }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section-compact { padding: 56px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.85); }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section-head h2, .about-content h2, .contact-info h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.rich-text p:last-child { margin-bottom: 0; }

.media-placeholder { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 14%, #fff), color-mix(in srgb, var(--accent) 14%, #fff)); color: var(--primary); }
.media-placeholder .icon { width: 64px; height: 64px; opacity: .55; }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; }
.about-media img, .about-media .media-placeholder { border-radius: 20px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.years-badge { position: absolute; right: -18px; bottom: -22px; background: var(--primary); color: #fff; padding: 1.2rem 1.5rem; border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.1; }
.years-badge strong { display: block; font-family: var(--font-head); font-size: 2.6rem; }
.years-badge span { font-size: .85rem; opacity: .9; }
.about-content .rich-text { color: var(--muted); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.check-list .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }

/* Linhas */
/* Carrossel (linhas de produtos na página inicial) */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .8rem .2rem 1.6rem; margin: -.8rem -.2rem 0; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 calc((100% - 3 * 1.5rem) / 4); scroll-snap-align: start; }
.carousel-nav { position: absolute; top: calc(50% - 24px); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--dark); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.carousel-nav:hover { background: var(--accent); color: #fff; }
.carousel-nav .icon { width: 22px; height: 22px; }
.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .4rem; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--primary) 22%, #fff); cursor: pointer; transition: width .3s, background .3s; }
.carousel-dots button.active { width: 28px; background: var(--primary); }
.carousel.is-static .carousel-nav, .carousel.is-static .carousel-dots { display: none; }
@media (max-width: 1100px) { .carousel-item { flex-basis: calc((100% - 2 * 1.5rem) / 3); } .carousel-prev { left: -10px; } .carousel-next { right: -10px; } }
@media (max-width: 800px) { .carousel-item { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width: 560px) { .carousel-track { gap: 1rem; } .carousel-item { flex-basis: 82%; } .carousel-nav { display: none; } }
.segment-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; color: inherit; }
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.segment-media { aspect-ratio: 16 / 11; overflow: hidden; }
.segment-media img, .segment-media .media-placeholder { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .5s; }
.segment-card:hover .segment-media img { transform: scale(1.06); }
.segment-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.segment-body h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.segment-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.link-more { display: inline-flex; align-items: center; gap: .4em; color: var(--primary); font-weight: 600; font-size: .92rem; }
.segment-card:hover .link-more .icon { transform: translateX(4px); }
.link-more .icon { transition: transform .2s; }

.about-more { margin-top: 2rem; }

/* ---------- Nossos clientes (carrossel de logos) ---------- */
.clients-section { overflow: hidden; }
.clients-marquee { overflow: hidden; padding: .6rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { display: flex; width: max-content; animation: clientsScroll calc(var(--count, 8) * 3.2s) linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clientsScroll { to { transform: translateX(-50%); } }
.client-logo { flex: 0 0 auto; width: 210px; height: 112px; margin-right: 1.2rem; display: grid; place-items: center; padding: 1.2rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 14px rgba(12,27,43,.04); transition: box-shadow .3s, border-color .3s, transform .3s; }
.client-logo { overflow: hidden; display: flex; align-items: center; justify-content: center; }
/* O logo sempre cabe no quadro; mix-blend-mode some com o fundo branco de logos em JPG */
.client-logo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.client-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--dark); text-align: center; line-height: 1.25; }
a.client-logo:hover { border-color: color-mix(in srgb, var(--primary) 30%, #fff); box-shadow: var(--shadow); transform: translateY(-3px); }
@media (hover: hover) {
    .client-logo img { filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
    .client-logo:hover img { filter: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .clients-marquee { -webkit-mask-image: none; mask-image: none; }
    .clients-track { animation: none; width: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .clients-track [aria-hidden="true"] { display: none; }
    .clients-track .client-logo { width: auto; margin-right: 0; }
}
.muted-text { color: var(--muted); }

/* ---------- Página A Empresa ---------- */
/* ---------- Serviços (ex.: Pintura Epóxi em Piso) ---------- */
.segment-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: .25em .75em; border-radius: 999px; margin-bottom: .6rem; }
.service-intro-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 4rem; align-items: center; }
.service-text { font-size: 1.1rem; color: var(--muted); }
.service-cta { background: var(--soft); border-radius: 22px; padding: 2.2rem; border: 1px solid var(--line); }
.service-cta h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.service-cta p { color: var(--muted); }
.service-cta-actions { display: grid; gap: .7rem; margin-top: 1.4rem; }
.service-cta-actions .btn { width: 100%; }

/* Seções de conteúdo (cards com título e lista de locais) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.info-card { background: #fff; border-radius: 18px; padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.info-card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); margin-bottom: 1rem; }
.info-card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.info-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.chips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-chip { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; font-weight: 500; color: var(--dark); box-shadow: 0 4px 14px rgba(12,27,43,.04); }
.info-chip .icon { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
@media (max-width: 1024px) { .info-grid, .chips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .service-intro-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 640px) { .info-grid, .chips-grid { grid-template-columns: 1fr; } .service-cta { padding: 1.6rem; } }

/* O que fazemos */
.whatwedo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.whatwedo-intro { position: sticky; top: 110px; }
.whatwedo-intro h2, .performance-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.whatwedo-intro .rich-text, .performance-content .rich-text { color: var(--muted); font-size: 1.05rem; }
.whatwedo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.whatwedo-item { display: flex; gap: 1.2rem; align-items: flex-start; background: #fff; border-radius: 16px; padding: 1.3rem 1.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.whatwedo-num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1; color: color-mix(in srgb, var(--primary) 30%, #fff); min-width: 2.2rem; }
.whatwedo-item strong { display: block; font-family: var(--font-head); color: var(--dark); font-size: 1.08rem; margin-bottom: .2rem; }
.whatwedo-item span { color: var(--muted); }

/* Desempenho e flexibilidade */
.performance-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.commitment-card { background: linear-gradient(160deg, var(--dark), var(--primary)); color: rgba(255,255,255,.9); border-radius: 22px; padding: 2.2rem; box-shadow: var(--shadow-lg); }
.commitment-card h3 { color: #fff; font-size: 1.3rem; margin: 1rem 0 1.2rem; }
.commitment-card .detail-icon { background: rgba(255,255,255,.12); color: #fff; }
.commitment-card .check-list { margin: 0; gap: .9rem; }
.commitment-card .check-list li { align-items: flex-start; font-weight: 400; }
.commitment-card .check-list .icon { background: #fff; color: var(--primary); flex-shrink: 0; margin-top: .1em; }

/* FAQ da página A Empresa: mais respiro abaixo da faixa azul "Encontre a solução" */
.page-company .faq-section { padding-top: 90px; }

/* Mapa do Brasil (atendimento nacional) */
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.coverage-map { max-width: 520px; width: 100%; justify-self: center; }
.brazil-map { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--primary) 30%, transparent)); }
.brazil-map-shape { fill: var(--primary); stroke: color-mix(in srgb, var(--primary) 60%, #fff); stroke-width: 2; stroke-linejoin: round; }
.brazil-map-line { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.2; stroke-dasharray: 3 4; }
.brazil-map-dot { fill: #fff; }
.brazil-map-hq { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.brazil-map-pulse { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; animation: mapPulse 3s ease-out infinite; }
.brazil-map-pulse-hq { fill: var(--accent); animation-duration: 2.2s; }
@keyframes mapPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.coverage-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.coverage-content .rich-text { color: var(--muted); font-size: 1.05rem; }
.coverage-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.8rem; font-size: .9rem; color: var(--muted); }
.coverage-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.coverage-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend-hq { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.legend-dot { background: var(--primary); }
@media (prefers-reduced-motion: reduce) { .brazil-map-pulse { animation: none; } }
.stats-band { background: radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--primary) 45%, var(--dark)) 0%, var(--dark) 70%); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.5rem; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; margin-bottom: .3rem; }
.stat-item span { color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 600; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.pillar-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.pillar-card h3 { font-size: 1.3rem; margin: 1rem 0 .7rem; }
.pillar-card .rich-text { color: var(--muted); }
.values-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.seals-grid-page .seal-card { box-shadow: var(--shadow); }
.cta-band { background: var(--primary); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: .3rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--primary); }

/* ---------- Página de contato ---------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-page-info h2, .contact-page-form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.contact-page-info .contact-list { margin: 1.8rem 0 2rem; }
.contact-page-info .contact-list small { color: var(--muted); }
.contact-page-info .contact-list a, .contact-page-info .contact-list span { color: var(--dark); }
.contact-page-info .contact-icon { background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); }
.contact-page-form .contact-form { box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.btn-whatsapp { background: #25d366; color: #fff; }
.map-card { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1.6fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-card-info { padding: 2.5rem; display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; }
.map-card-info h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: -.4rem 0 0; }
.map-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.map-info-item small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.map-info-item p { margin: .1rem 0 0; color: var(--dark); font-weight: 500; }
.map-info-item .contact-icon { background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); }
.map-card-info .btn { margin-top: .4rem; }
.map-card-map { min-height: 380px; background: var(--soft); }
.map-card-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* Formulário: mensagens e estado de envio */
.form-feedback:empty { display: none; }
.btn.is-loading { opacity: .65; pointer-events: none; }

/* ---------- Pop-up ---------- */
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(4, 12, 28, .7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: modalFade .25s ease; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 2.2rem; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: modalUp .3s cubic-bezier(.2, .7, .2, 1); }
.modal-box h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.modal-box .contact-form { padding: 0; box-shadow: none; margin-top: 1.2rem; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); color: var(--dark); display: grid; place-items: center; cursor: pointer; }
.modal-close:hover { background: var(--line); }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalUp { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list small { display: block; color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span { color: #fff; font-weight: 500; font-size: 1.05rem; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--accent); flex-shrink: 0; }
.contact-icon .icon { width: 22px; height: 22px; }
.contact-form { background: #fff; color: var(--text); border-radius: 20px; padding: 2.2rem; box-shadow: var(--shadow-lg); display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--dark); }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-weight: 400; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); transition: border-color .2s, background .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; font-size: .95rem; }
.alert-success { background: #e8f8ee; color: #136c34; }
.alert-error { background: #fdecec; color: #a12121; }

/* ---------- Página de linha ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 70px 0 64px; background: radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--primary) 45%, var(--dark)) 0%, var(--dark) 65%); background-size: cover; background-position: center; }
.page-hero .hero-panel { width: 40%; }
.page-hero.has-media { min-height: 340px; display: flex; align-items: center; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .container > * { max-width: 56%; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3rem; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,.85); margin: 0; }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { text-decoration: underline; }
.segment-intro { max-width: 820px; font-size: 1.1rem; color: var(--muted); margin-bottom: 3rem; }

/* Cards de produto (página da linha) */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: box-shadow .3s, border-color .3s, transform .3s; }
.product-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-6px); }
.product-media { background: var(--soft); display: flex; align-items: center; justify-content: center; height: 280px; padding: 1.4rem; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; will-change: transform; }
.product-card:hover .product-media img { scale: 1.05; }
/* Foto ambientada (com cenário): preenche todo o espaço */
.product-media.is-photo { padding: 0; }
.product-media.is-photo img { object-fit: cover; }
.product-hero-frame.is-photo { padding: 0; }
.product-hero-frame.is-photo img { object-fit: cover; }
.product-media img { transition: scale .5s ease; }
.product-media .media-placeholder { min-height: 0; height: 100%; border-radius: 10px; }
.product-media .media-placeholder .icon { width: 44px; height: 44px; }
.product-body { flex: 1; padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.product-body h2 { font-size: 1.2rem; margin-bottom: .25rem; }
.product-subtitle { color: var(--primary); font-weight: 600; font-size: .93rem; margin-bottom: 1rem; }
.product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.product-more { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--soft); color: var(--primary); transition: background .25s, color .25s, transform .25s; }
.product-card:hover .product-more { background: var(--accent); color: #fff; transform: translateX(3px); }
.chips { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; color: var(--muted); }
.chip { font-size: .78rem; font-weight: 600; padding: .2em .7em; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); }
.chip-lg { font-size: .95rem; padding: .35em 1em; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; }
.feature-list .icon { color: var(--accent); margin-top: .3em; }
.feature-list strong { color: var(--dark); }

/* ---------- Página de produto ---------- */
.product-hero { position: relative; padding: 56px 0 80px; background: linear-gradient(180deg, var(--soft), #fff); overflow: hidden; }
.product-hero::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 46%; background: radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--primary) 45%, var(--dark)) 0%, var(--dark) 75%); clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.product-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.product-hero-frame { position: relative; aspect-ratio: 1 / 1.05; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; padding: 2rem; overflow: hidden; }
.product-hero-frame img { width: 100%; height: 100%; object-fit: contain; will-change: transform; }
.product-hero-frame.is-cutout img { filter: drop-shadow(0 24px 30px rgba(12,27,43,.18)); }
.product-hero-frame .media-placeholder { border-radius: 16px; }
.breadcrumb-dark { color: var(--muted); }
.breadcrumb-dark a { color: var(--primary); }
.product-hero-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: .4rem; }
.product-lead { font-size: 1.25rem; font-style: italic; color: var(--primary); font-weight: 500; }
.product-description { color: var(--muted); font-size: 1.05rem; }
.product-hero-info h1 .h1-lead { display: block; margin-top: .45rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.35; font-weight: 500; text-transform: none; letter-spacing: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Texto longo "Sobre o produto" */
.product-about { padding-bottom: 24px; }
.product-about-text { max-width: 820px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.product-about-text h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--dark); margin: 2.2rem 0 .9rem; }
.product-about-text .feature-list { margin: 0 0 1.2rem; }
.product-about-text .feature-list li span { color: var(--text, inherit); }
.product-about-text a, .detail-card a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.detail-card-accent .feature-list .icon { color: #fff; }
.detail-card-accent .feature-list strong { color: #fff; }
.product-packaging { margin: 1.8rem 0; padding: 1.1rem 1.3rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.product-packaging .label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--dark); }
.product-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.product-details { padding-top: 40px; }
.details-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem; }
.details-grid-single { grid-template-columns: 1fr; }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem 2.2rem; box-shadow: var(--shadow); }
.detail-card h2 { font-size: 1.3rem; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.3rem; }
.detail-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); }
.detail-card-accent { background: linear-gradient(160deg, var(--dark), var(--primary)); color: rgba(255,255,255,.9); border: 0; font-size: 1.05rem; }
.detail-card-accent h2 { color: #fff; }
.detail-card-accent .detail-icon { background: rgba(255,255,255,.12); color: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec-table th, .spec-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table tr:nth-child(odd) { background: var(--soft); }
.spec-table th { width: 38%; color: var(--dark); font-weight: 600; }
.spec-download { display: inline-flex; align-items: center; gap: .5em; margin-top: 1.2rem; font-weight: 600; }

/* Galeria em carrossel (imagens e vídeos) */
.gallery-section { padding: 70px 0 90px; overflow: hidden; }
.gallery-title { text-align: center; font-size: clamp(1.7rem, 3vw, 2.3rem); text-transform: uppercase; margin-bottom: 2rem; }
.gallery { position: relative; }
.gallery-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 0 10px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { position: relative; flex: 0 0 calc((100% - 40px) / 5); aspect-ratio: 1 / 1; scroll-snap-align: start; border: 0; padding: 0; cursor: zoom-in; background: var(--dark); overflow: hidden; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.07); }
.gallery-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,.3); pointer-events: none; transition: opacity .3s; }
.gallery-item.is-playing .gallery-play { opacity: 0; }
.gallery-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--dark); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.gallery-nav:hover { background: var(--accent); color: #fff; }
.gallery-nav .icon { width: 22px; height: 22px; }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-nav[disabled] { opacity: 0; pointer-events: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 12, 28, .94); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox[hidden] { display: none; }
.lightbox-stage { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 24px; height: 24px; }

/* Perguntas frequentes (FAQ) do produto */
.faq-section { padding-top: 40px; }
.faq-container { max-width: 880px; }
.faq-accordion { display: grid; gap: .9rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 14px rgba(12,27,43,.04); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 35%, #fff); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-toggle { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--soft); color: var(--primary); transition: transform .3s, background .3s, color .3s; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }
/* Abertura suave (navegadores que suportam) */
:root { interpolate-size: allow-keywords; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }

/* ---------- Efeitos de entrada ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* A foto do produto entra "expandindo" */
.js .product-hero-media[data-reveal] { transform: scale(.86); transition-duration: 1s; }
.js .product-hero-media[data-reveal].is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    [data-parallax] { transform: none !important; }
}

.empty-state { text-align: center; padding: 3rem 1rem; max-width: 560px; margin: 0 auto; }
.empty-state > .icon { width: 64px; height: 64px; color: var(--primary); opacity: .5; margin-bottom: 1rem; }
.empty-state p { color: var(--muted); }

.other-title { font-size: 1.4rem; text-align: center; }
.other-segments { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.other-segment { display: inline-flex; align-items: center; gap: .5em; padding: .75em 1.3em; background: #fff; border-radius: 999px; box-shadow: var(--shadow); color: var(--dark); font-weight: 600; transition: .2s; }
.other-segment:hover { color: var(--primary); transform: translateY(-2px); }

/* ---------- Rodapé ---------- */
.site-footer { background: color-mix(in srgb, var(--dark) 80%, #000); color: rgba(255,255,255,.7); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 2.5rem; padding-top: 70px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.brand-footer { display: inline-block; margin-bottom: 1rem; }
.brand-footer .brand-text { color: #fff; }
.footer-links, .footer-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer h4.footer-sub { margin-top: 1.8rem; }
.footer-contacts li { display: flex; gap: .7rem; line-height: 1.45; }
.footer-contacts .icon { color: var(--accent); margin-top: .2em; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.07); }
.social a:hover { background: var(--primary); }
.footer-seals { display: grid; gap: 1rem; }
.footer-seal { display: flex; align-items: center; gap: .8rem; }
.footer-seal img { max-height: 48px; max-width: 90px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.footer-seal .seal-icon { width: 44px; height: 44px; background: rgba(255,255,255,.07); color: var(--accent); }
.footer-seal .seal-icon .icon { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; }
.dev-credit { color: rgba(255,255,255,.55); }
.site-footer .dev-credit a { color: #fff; font-weight: 600; }
.site-footer .dev-credit a:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .footer-bottom-inner { flex-direction: column; text-align: center; padding-bottom: 60px; } /* espaço para o botão flutuante do WhatsApp */
}

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 32px; height: 32px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    /* Cabeçalho: menu à esquerda, logo no centro (a 3ª coluna vazia mantém o logo centralizado) */
    .site-header { backdrop-filter: none; background: #fff; } /* backdrop-filter prenderia o menu fixo dentro do cabeçalho */
    .header-inner { display: grid; grid-template-columns: 46px 1fr 46px; min-height: 68px; gap: .5rem; }
    .nav-toggle { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--soft); color: var(--dark); }
    .brand { grid-column: 2; grid-row: 1; justify-self: center; }
    .brand img { max-height: 46px; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
    .whatsapp-float .icon { width: 30px; height: 30px; }
    body.nav-open .whatsapp-float { opacity: 0; visibility: hidden; } /* não cobre o menu aberto */

    /* Menu em gaveta saindo da esquerda */
    .main-nav { position: fixed; top: var(--nav-top, 108px); bottom: 0; left: 0; z-index: 2; width: min(86vw, 340px); background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 20px 2rem; gap: .2rem; overflow-y: auto; visibility: hidden; transform: translateX(-100%); transition: transform .3s ease, visibility .3s; box-shadow: 12px 0 40px rgba(4, 12, 28, .18); }
    body.nav-open { overflow: hidden; }
    body.nav-open .main-nav { visibility: visible; transform: none; }
    .nav-backdrop { display: block; position: fixed; top: var(--nav-top, 108px); left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(4, 12, 28, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    body.nav-open .nav-toggle { background: var(--primary); color: #fff; }
    body.nav-open .nav-toggle .icon-open { display: none; }
    body.nav-open .nav-toggle .icon-close { display: block; }
    .main-nav > a, .dropdown-toggle { padding: .95rem .4rem; font-size: 1.05rem; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; }
    .main-nav > a.active, .dropdown-toggle.active { color: var(--primary); }
    .main-nav > a.nav-cta { margin: 1.2rem 0 0; justify-content: center; border: 0; border-radius: 999px; padding: .95rem 1rem; }
    .has-dropdown.open .dropdown-toggle .icon { transform: rotate(180deg); }
    .dropdown a { padding: .7rem .6rem; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: .3rem 0 .3rem 1rem; min-width: 0; }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.open .dropdown { display: block; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero { display: flex; flex-direction: column; }
    .hero-panel { width: 32%; opacity: .55; }
    /* No celular, a foto/vídeo vira um bloco abaixo do texto */
    .hero-panel.has-media { position: relative; order: 2; width: 100%; height: 300px; opacity: 1; clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%); margin-top: -40px; }
    .hero-panel.has-media ~ .hero-inner { min-height: 0; padding-bottom: 70px; }
    .hero-panel .media-fit img.media-fit-fg { padding: 12% 4% 4%; }
    .page-hero .hero-panel { width: 32%; }
    .page-hero .hero-panel.has-media { width: 100%; height: 260px; margin-bottom: -1px; }
    .page-hero.has-media { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
    .page-hero .container > * { max-width: none; }
    .page-hero.has-media .container { padding-bottom: 60px; }
    .hero-product { grid-column: 1; }
    .hero-product img { max-height: 280px; }
    .about-grid, .contact-grid, .contact-page-grid, .coverage-grid, .whatwedo-grid, .performance-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .whatwedo-intro { position: static; }
    .whatwedo-item { padding: 1.1rem 1.2rem; gap: 1rem; }
    .commitment-card { padding: 1.6rem; }
    .coverage-map { max-width: 380px; }
    .stats-band { padding: 40px 0; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.4rem; }
    .stat-item strong { font-size: 2rem; }
    .stat-item span { font-size: .78rem; letter-spacing: .08em; }
    .map-card { grid-template-columns: 1fr; margin-top: 3rem; }
    .map-card-info { padding: 1.8rem 1.5rem; }
    .map-card-map, .map-card-map iframe { min-height: 300px; }
    .product-hero { padding: 32px 0 24px; }
    .product-details { padding-top: 24px; }
    .product-hero::before { width: 100%; height: 300px; bottom: auto; clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%); }
    .product-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .product-hero-frame { max-width: 460px; margin: 0 auto; }
    .details-grid { grid-template-columns: 1fr; }
    .gallery-item { flex-basis: calc((100% - 20px) / 3); }
    .about-media { max-width: 560px; }
    .seals-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hide-sm { display: none !important; }
    .topbar-inner { justify-content: center; }
    .topbar-contacts { display: none; }
    .section { padding: 70px 0; }
    .hero-inner { min-height: 520px; padding-top: 60px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
    .product-media { height: 180px; padding: .8rem; }
    .product-body { padding: 1rem; }
    .product-body h2 { font-size: 1rem; }
    .product-subtitle { font-size: .82rem; }
    .product-more { display: none; }
    .product-card .chips { gap: .25rem; }
    .product-card .chip { font-size: .66rem; padding: .15em .45em; }
    .product-actions .btn { width: 100%; }
    .product-packaging { padding: .9rem 1rem; gap: .6rem; }
    .gallery-item { flex-basis: 78%; }
    .gallery-nav { width: 40px; height: 40px; }
    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }
    .lightbox { padding: 60px 12px; }
    .modal { padding: 0; align-items: flex-end; }
    .modal-box { border-radius: 20px 20px 0 0; padding: 1.6rem 1.2rem; max-height: 92vh; }
    .lightbox-nav { top: auto; bottom: 18px; transform: none; }
    .detail-card { padding: 1.5rem; }
    .faq-item summary { padding: 1rem 1.1rem; font-size: .98rem; }
    .client-logo { width: 160px; height: 92px; padding: 1rem 1.2rem; margin-right: .8rem; }
    .faq-answer { padding: 0 1.1rem 1.1rem; }
    .years-badge { right: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
}
