/* Jeisys Cloner — estilos dos widgets interativos da home. */

/* ---------- Carrossel de produtos ---------- */
/* Proporções do original: texto 700px + imagem 340px, grupo centralizado,
   gap 80px, imagem alinhada embaixo e altura limitada à viewport. */
.jc-pc { display:flex; justify-content:center; align-items:center; gap:80px; width:100%; max-height:calc(100vh - 200px); }
.jc-pc-text { width:700px; max-width:100%; position:relative; text-align:center; margin-bottom:80px; flex-shrink:1; }
.jc-pc-text, .jc-pc-imgs { position:relative; }
/* Slides empilhados (grid 1/1) e trocados por opacidade = fade, sem vazamento. */
.jc-pc-track { display:grid; }
.jc-pc-slide, .jc-pc-img { grid-area:1 / 1; opacity:0; transition:opacity .5s ease; pointer-events:none; }
.jc-pc-slide.is-active, .jc-pc-img.is-active { opacity:1; pointer-events:auto; }
.jc-pc-slide { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:0 20px; }
.jc-pc-logo { display:flex; align-items:flex-end; justify-content:center; height:70px; }
.jc-pc-logo img { max-height:52px; width:auto; }
.jc-pc-desc { color:#464C53; line-height:1.6; font-size:20px; margin-top:44px; }
.jc-pc-imgs { width:340px; flex-shrink:0; align-self:flex-end; }
.jc-pc-img { display:flex; align-items:flex-end; }
.jc-pc-img img { width:100%; height:auto; }
.jc-pc-pagination { margin-top:44px; font-family:'Palatino Linotype','Lora',serif; color:#1E212466; letter-spacing:2px; font-size:20px; }
.jc-pc-pagination .jc-pc-cur { color:#1E2124; }
.jc-pc-arrows { display:flex; justify-content:center; gap:16px; margin-top:56px; }
.jc-pc-arrow { width:60px; height:60px; border-radius:50%; border:0; background:#fff; box-shadow:0 4px 20px rgba(0,0,0,.16); color:#333; font-size:22px; cursor:pointer; transition:.2s; }
.jc-pc-arrow:hover { background:#21358d; color:#fff; }
/* Mobile: imagem no topo, setas nas laterais (centradas na imagem), texto embaixo. */
@media (max-width:900px){
	.jc-pc { position:relative; flex-direction:column; max-height:none; gap:24px; }
	.jc-pc-text { width:100%; margin-bottom:0; }
	.jc-pc-imgs { order:-1; width:100%; align-self:center; }
	.jc-pc-img { justify-content:center; }
	.jc-pc-img img { width:auto; max-height:300px; margin:0 auto; }
	.jc-pc-arrows { position:absolute; top:0; left:0; right:0; width:100%; height:300px; margin:0; padding:0 6px; justify-content:space-between; align-items:center; pointer-events:none; z-index:5; }
	.jc-pc-arrow { pointer-events:auto; width:48px; height:48px; font-size:20px; }
}

/* ---------- Marquee de tratamentos ---------- */
/* Full-bleed: ocupa a largura toda da viewport mesmo dentro de um container boxed. */
.jc-marquee { overflow:hidden; width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); }
.jc-marquee-wrapper { display:flex; width:max-content; animation:jc-marquee 20s linear infinite; }
.jc-marquee:hover .jc-marquee-wrapper { animation-play-state:paused; }
@keyframes jc-marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.jc-marquee-content { display:flex; flex-shrink:0; gap:.5rem; padding:0 .25rem; margin:0; list-style:none; }
/* drop-shadow segue o recorte inclinado (clip-path), criando a borda fina. */
.jc-marquee-item { position:relative; width:400px; aspect-ratio:4/5; flex-shrink:0; background:#fff; margin:0 -1rem; filter:drop-shadow(1px 0 0 #d4d4d4) drop-shadow(-1px 0 0 #d4d4d4) drop-shadow(0 1px 0 #d4d4d4) drop-shadow(0 -1px 0 #d4d4d4); }
.jc-marquee-item.shape-1 { clip-path:polygon(0 0, 100% 0, 90% 100%, 10% 100%); }
.jc-marquee-item.shape-2 { clip-path:polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.jc-marquee-inbox { display:block; height:100%; text-decoration:none; color:inherit; }
.jc-marquee-img { height:78%; overflow:hidden; }
.jc-marquee-img img { width:100%; height:100%; object-fit:cover; }
.jc-marquee-txt { height:22%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; }
.jc-marquee-txt i { display:block; height:30px; }
.jc-marquee-txt i img { height:100%; width:auto; }
.jc-marquee-txt strong { font-family:'Palatino Linotype','Lora',serif; font-weight:400; font-size:20px; color:#333; }
@media (max-width:600px){ .jc-marquee-item { width:260px; } }

/* ---------- Company (colunas inclinadas + hover-swap) ---------- */
.jc-company { position:relative; display:flex; align-items:center; background-position:50% 50%; background-size:cover; background-repeat:no-repeat; transition:background-image .2s linear; overflow:hidden; }
.jc-company-overlay { position:absolute; inset:0; background:rgba(0,0,0,.1); mix-blend-mode:multiply; z-index:1; }
.jc-company-list { position:relative; z-index:2; display:flex; justify-content:center; width:100%; margin:0; padding:0 2%; list-style:none; }
.jc-company-item { position:relative; flex:1 1 25%; margin:0 -2%; overflow:hidden; text-align:center; color:#ffffff80; transition:.2s linear; }
.jc-company-item.is-active { color:#fff; }
.jc-company-line { position:absolute; inset:0; width:100%; height:100%; z-index:2; pointer-events:none; overflow:visible; }
.jc-company-line polyline { fill:none; stroke:#ffffff45; stroke-width:1; vector-effect:non-scaling-stroke; }
.jc-company-item.jc-shape-first { clip-path:polygon(0 0, 100% 0, 90% 100%, 0 100%); }
.jc-company-item.jc-shape-last { clip-path:polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.jc-company-item.jc-shape-wide { clip-path:polygon(0 0, 100% 0, 90% 100%, 10% 100%); }
.jc-company-item.jc-shape-narrow { clip-path:polygon(10% 0, 90% 0, 100% 100%, 0% 100%); }
.jc-company-link { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; padding:4rem 2rem; text-decoration:none; color:inherit; }
.jc-company-item dl { margin:0; padding:0 20px; }
.jc-company-item dt { font-size:40px; font-weight:700; font-family:'Palatino Linotype','Lora',serif; }
.jc-company-item dd { font-size:20px; margin-top:24px; line-height:1.3; }
/* Desktop: o fundo por-item (inline) some para o hover-swap do container atuar. */
@media (min-width:901px){ .jc-company-item { background-image:none !important; } }
/* Mobile: 4 faixas horizontais inclinadas, cada uma com sua própria imagem. */
@media (max-width:900px){
	.jc-company { display:block; min-height:0 !important; background:none !important; }
	.jc-company-overlay, .jc-company-line { display:none; }
	.jc-company-list { flex-direction:column; padding:0; }
	.jc-company-item { flex:none; width:100%; min-height:200px; margin:-16px 0; overflow:visible; color:#fff; background-size:cover; background-position:center; transition:none; clip-path:polygon(0 14%, 100% 0, 100% 86%, 0 100%) !important; }
	.jc-company-item:nth-child(even) { clip-path:polygon(0 0, 100% 14%, 100% 100%, 0 86%) !important; }
	.jc-company-item:first-child { margin-top:0; }
	.jc-company-item:last-child { margin-bottom:0; }
	.jc-company-link { width:100%; padding:3rem 2rem; background:rgba(0,0,0,.14); text-align:center; }
	.jc-company-item dl { margin:0 auto; padding:0; }
	.jc-company-item dt { font-size:26px; color:#fff; text-shadow:0 1px 10px rgba(0,0,0,.55); }
	.jc-company-item dd { font-size:15px; margin:8px auto 0; color:#fff; max-width:250px; text-shadow:0 1px 8px rgba(0,0,0,.55); }
}

/* ---------- Header (fixo, transparente sobre o hero, mega-menu) ---------- */
.jc-header { position:fixed; top:0; left:0; width:100%; height:94px; z-index:1000; background:#fff; border-bottom:1px solid #eee; transition:background-color .3s, border-color .3s; }
.jc-header-inner { position:relative; display:flex; align-items:center; height:100%; padding:0 40px; }
.jc-logo { display:flex; align-items:center; height:100%; text-decoration:none; }
/* Logo colorido por máscara: a cor vem do background, não do SVG. */
.jc-logo--mask { width:105px; height:34px; background-color:#21358d; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:0 50%; mask-position:0 50%; -webkit-mask-size:contain; mask-size:contain; transition:background-color .3s; }
.jc-logo--mask img { opacity:0; height:34px; width:auto; display:block; }
.jc-logo span { font-family:'Palatino Linotype','Lora',serif; font-size:26px; font-weight:700; color:#21358d; }
.jc-gnb { position:static; margin:0 auto; }
.jc-gnb-list { display:flex; margin:0; padding:0; list-style:none; }
.jc-gnb-link { display:block; font-size:18px; font-weight:500; color:#333; line-height:94px; padding:0 30px; text-decoration:none; transition:color .3s; }
.jc-gnb-item:hover .jc-gnb-link { color:#21358d; }
.jc-header-right { display:flex; align-items:center; gap:24px; margin-left:auto; }
.jc-lang { font-size:16px; font-weight:500; color:#333; cursor:pointer; }
.jc-lang i { font-style:normal; font-size:12px; }
/* Ícone de duas linhas desiguais bicolores (dark + cinza), como no original. */
.jc-burger { display:flex; flex-direction:column; gap:7px; width:40px; background:none; border:0; cursor:pointer; padding:4px 0; }
.jc-burger span { display:block; height:2px; width:40px; transition:background .3s; }
.jc-burger span:nth-child(1) { background:linear-gradient(90deg,#333 62%,#c9c9c9 62%); }
.jc-burger span:nth-child(2) { background:linear-gradient(90deg,#333 40%,#c9c9c9 40%); }

/* Mega-menu (snb): painel full-width no hover do item de topo. */
.jc-snb { position:fixed; top:94px; left:0; width:100%; background:#fff; box-shadow:0 12px 24px rgba(0,0,0,.06); border-top:1px solid #eee; opacity:0; visibility:hidden; transform:translateY(-8px); transition:.2s ease; z-index:999; }
.jc-gnb-item.has-sub:hover .jc-snb { opacity:1; visibility:visible; transform:translateY(0); }
.jc-snb-inner { display:flex; max-width:1400px; margin:0 auto; padding:48px 40px; gap:40px; }
.jc-snb-name { width:320px; flex-shrink:0; font-family:'Palatino Linotype','Lora',serif; font-size:44px; color:#515151; line-height:1.2; }
.jc-snb-list { display:flex; flex-direction:column; flex-wrap:wrap; max-height:220px; gap:0 60px; margin:0; padding:0; list-style:none; }
.jc-snb-list li { width:auto; }
.jc-snb-list a { display:block; font-size:18px; color:#888; padding:12px 0; text-decoration:none; transition:color .2s; }
.jc-snb-list a:hover { color:#21358d; }

/* Transparente sobrepondo o topo em TODAS as páginas, com texto/logo BRANCOS
   (igual à home) — some ao rolar, virando header branco sólido. */
.jc-header.jc-header--overlay:not(.jc-scrolled) { background:transparent; border-bottom-color:#ffffff1a; }
.jc-header.jc-header--overlay:not(.jc-scrolled) .jc-gnb-link,
.jc-header.jc-header--overlay:not(.jc-scrolled) .jc-lang { color:#fff; }
.jc-header.jc-header--overlay:not(.jc-scrolled) .jc-logo--mask { background-color:#fff; }
.jc-header.jc-header--overlay:not(.jc-scrolled) .jc-logo span { color:#fff; }
.jc-header.jc-header--overlay:not(.jc-scrolled) .jc-burger span { background:#fff; }
.jc-header.jc-scrolled { border: 0; }

/* Páginas de produto têm hero claro: o header transparente usa texto/logo escuros. */
body.jc-type-product .jc-header.jc-header--overlay:not(.jc-scrolled) { border-bottom-color:rgba(0,0,0,.06); }
body.jc-type-product .jc-header.jc-header--overlay:not(.jc-scrolled) .jc-gnb-link,
body.jc-type-product .jc-header.jc-header--overlay:not(.jc-scrolled) .jc-lang { color:#333; }
body.jc-type-product .jc-header.jc-header--overlay:not(.jc-scrolled) .jc-logo--mask { background-color:#21358d; }
body.jc-type-product .jc-header.jc-header--overlay:not(.jc-scrolled) .jc-logo span { color:#21358d; }
body.jc-type-product .jc-header.jc-header--overlay:not(.jc-scrolled) .jc-burger span:nth-child(1) { background:linear-gradient(90deg,#333 62%,#c9c9c9 62%); }
body.jc-type-product .jc-header.jc-header--overlay:not(.jc-scrolled) .jc-burger span:nth-child(2) { background:linear-gradient(90deg,#333 40%,#c9c9c9 40%); }

/* Mega-menu aberto (hover) mesmo sem sticky: header fica sólido pra contrastar. */
.jc-header.jc-header--overlay:has(.jc-gnb-item.has-sub:hover) { background:#fff; border-bottom-color:#eee; }
.jc-header.jc-header--overlay:has(.jc-gnb-item.has-sub:hover) .jc-gnb-link,
.jc-header.jc-header--overlay:has(.jc-gnb-item.has-sub:hover) .jc-lang { color:#333; }
.jc-header.jc-header--overlay:has(.jc-gnb-item.has-sub:hover) .jc-logo--mask { background-color:#21358d; }
.jc-header.jc-header--overlay:has(.jc-gnb-item.has-sub:hover) .jc-burger span { background:#333; }

/* O header é fixo (fora do fluxo) em todas as páginas: o conteúdo (banner
   de topo) fica sob o header transparente, sem reservar altura. */
.elementor-location-header { height:0; }

/* ---------- Menu completo (sitemap) — drawer lateral direito ---------- */
.jc-sitemap { position:fixed; top:0; right:0; height:100%; width:460px; max-width:90%; z-index:2000; background:#21358d; padding:40px; overflow-y:auto; box-shadow:-12px 0 40px rgba(0,0,0,.22); transform:translateX(100%); visibility:hidden; transition:transform .35s ease, visibility 0s .35s; }
.jc-sitemap.jc-sitemap--open { transform:translateX(0); visibility:visible; transition:transform .35s ease, visibility 0s 0s; }
.jc-sitemap-close { position:absolute; top:30px; right:40px; width:44px; height:44px; background:none; border:0; color:#fff; font-size:40px; line-height:1; cursor:pointer; }
.jc-sitemap-list { list-style:none; margin:64px 0 0; padding:0; }
.jc-sitemap-item { border-bottom:1px solid rgba(255,255,255,.12); }
.jc-sitemap-toggle, .jc-sitemap-link { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; background:none; border:0; color:#fff; font-family:'Palatino Linotype','Lora',serif; font-size:30px; font-weight:700; text-transform:uppercase; padding:18px 4px; cursor:pointer; text-decoration:none; }
.jc-sitemap-chev { font-style:normal; font-size:26px; line-height:1; }
.jc-sitemap-chev::before { content:"\203A"; }
.jc-sitemap-item.is-open .jc-sitemap-toggle { outline:1px solid rgba(255,255,255,.4); }
.jc-sitemap-item.is-open .jc-sitemap-chev::before { content:"\2212"; }
.jc-sitemap-sub { list-style:none; margin:0; padding:0; max-height:0; overflow:hidden; transition:max-height .3s ease; }
.jc-sitemap-item.is-open .jc-sitemap-sub { max-height:600px; padding:4px 0 16px; }
.jc-sitemap-sub li a { display:block; color:#ffffff99; font-size:15px; font-weight:600; padding:8px 4px; text-decoration:none; }
.jc-sitemap-sub li a::before { content:"\2022  "; }
.jc-sitemap-sub li a:hover { color:#fff; }

@media (max-width:1024px){
	.jc-header-inner { padding:0 20px; }
	.jc-gnb { display:none; }
	.jc-header-right { gap:16px; }
	.jc-snb { display:none; }
}
@media (max-width:520px){
	.jc-sitemap { width:100%; max-width:100%; padding:24px; }
	.jc-sitemap-toggle, .jc-sitemap-link { font-size:24px; }
}

/* ---------- Footer (movido do Kit para cá: carrega sempre, não quebra) ---------- */
.jc-site-footer { background-color:#292929 !important; }
.jc-site-footer .elementor-heading-title { color:#ffffff; }
.jc-site-footer .elementor-widget-text-editor, .jc-site-footer p, .jc-site-footer li { color:#ffffffb3; }
.jc-site-footer a { color:#ffffffcc; text-decoration:none; }
.jc-site-footer a:hover { color:#ffffff; }
.jc-footer-top { align-items:center; }
.jc-footer-privacy strong { color:#ffffff; font-weight:600; font-size:16px; }
.jc-footer-mark img { width:206px; max-width:206px; filter:brightness(0) invert(1); opacity:.2; }
.jc-footer-info { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:6px 24px; }
.jc-footer-info li { position:relative; display:flex; gap:8px; font-size:15px; color:#ffffffb3; }
.jc-footer-info li span { color:#ffffff; font-weight:600; opacity:.9; }
.jc-footer-info li.w100p { flex-basis:100%; }
.jc-footer-info li:not(:last-child):not(.w100p)::after { content:"|"; position:absolute; right:-13px; color:#ffffff40; }
.jc-site-footer .elementor-social-icon { background-color:transparent !important; color:#ffffff !important; width:30px; height:30px; font-size:19px; }
.jc-site-footer .elementor-social-icon:hover { opacity:.75; }
.jc-footer-company .elementor-heading-title { font-size:15px; color:#ffffff; }
.jc-footer-copy p { font-size:14px; color:#ffffff80; margin:0; }
/* FAMILY SITE como dropdown (abre para cima). */
.jc-family { position:relative; display:inline-block; background:#ffffff1a; border-radius:22px; }
.jc-family > summary { list-style:none; cursor:pointer; color:#fff; font-weight:600; font-size:14px; padding:9px 22px; display:flex; align-items:center; gap:12px; white-space:nowrap; }
.jc-family > summary::-webkit-details-marker { display:none; }
.jc-family > summary::after { content:"\25BE"; font-size:11px; }
.jc-family[open] > summary::after { content:"\25B4"; }
.jc-family ul { position:absolute; bottom:calc(100% + 8px); right:0; margin:0; padding:12px 0; list-style:none; background:#3a3a3a; border-radius:10px; min-width:210px; box-shadow:0 8px 24px rgba(0,0,0,.3); }
.jc-family ul li a { display:block; padding:8px 20px; color:#ffffffcc; font-size:14px; white-space:nowrap; }
.jc-family ul li a:hover { color:#fff; background:#ffffff12; }

/* FAQ / acordeão: estado ativo em teal (nunca laranja). */
.elementor-accordion .elementor-tab-title.elementor-active,
.elementor-accordion .elementor-tab-title.elementor-active a { color:#0F7A6D; }

/* ---------- Banner de topo das páginas internas (.svisual) ---------- */
.jc-svisual { position:relative; min-height:490px; }
.jc-svisual::before { content:""; position:absolute; inset:0; background:rgba(0,0,0,.12); pointer-events:none; }
.jc-svisual > .e-con-inner, .jc-svisual > .elementor-widget-wrap { position:relative; z-index:1; }
.jc-svisual-tit .elementor-heading-title { font-family:'Palatino Linotype','Lora',serif; font-size:68px; font-weight:400; color:#ffffff; line-height:1; }
@media (max-width:900px){ .jc-svisual { min-height:320px; } .jc-svisual-tit .elementor-heading-title { font-size:44px; } }
