/*
 * ATTENDY — GLOBAL
 * Fontes locais, tokens (cores, sombras, movimento), ajustes sobre o OceanWP, sombras, hovers,
 * microinterações, máscaras de revelação e utilitários de paralaxe.
 * Tudo escopado em .attendy-page / classes attendy-*. Unidades em px/em (o OceanWP usa html{font-size:62.5%}).
 */
@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");font-weight:600;font-style:italic;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}

/* ---------- Tokens ---------- */
:root{
	--att-navy:#0B1D33; --att-navy-2:#122A47; --att-olive:#556B3F; --att-olive-l:#8FA871;
	--att-gold:#D4A017; --att-gold-h:#E4B22F; --att-mist:#F4F4EE; --att-white:#FFFFFF;
	--att-font:"Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
	--att-font-accent:"Cormorant Garamond",Georgia,"Times New Roman",serif;
	--att-ease:cubic-bezier(.22,.8,.2,1);

	/* Sombras: cada uma com um papel. Não use a mesma em tudo. */
	--att-shadow-soft:     0 1px 2px rgba(11,29,51,.06), 0 8px 24px -12px rgba(11,29,51,.22);
	--att-shadow-medium:   0 2px 4px rgba(11,29,51,.06), 0 18px 40px -22px rgba(11,29,51,.38);
	--att-shadow-deep:     0 4px 8px rgba(0,0,0,.10), 0 30px 60px -28px rgba(0,0,0,.55);
	--att-shadow-floating: 0 6px 12px rgba(11,29,51,.10), 0 34px 70px -30px rgba(11,29,51,.55), 0 0 0 1px rgba(255,255,255,.04);
	--att-shadow-image:    0 24px 60px -28px rgba(0,0,0,.55), 0 8px 18px -10px rgba(0,0,0,.28);
	--att-shadow-gold:     0 14px 30px -14px rgba(212,160,23,.75);
	--att-glow:            radial-gradient(520px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.12), transparent 60%);
}

/* ---------- Ajustes sobre o OceanWP (somente nas páginas Attendy) ---------- */
html.attendy-js{scroll-behavior:smooth}
.attendy-page{background:var(--att-mist);overflow-x:clip}
.attendy-page,.attendy-page .elementor{font-family:var(--att-font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.attendy-page .elementor-heading-title{margin:0;padding:0}
.attendy-page .elementor-widget-text-editor p{margin:0 0 1em}
.attendy-page .elementor-widget-text-editor p:last-child{margin-bottom:0}
.attendy-page a{text-decoration:none}
.attendy-page :focus-visible{outline:2px solid var(--att-gold);outline-offset:3px;border-radius:4px}

/* ---------- Escala de sombras (classes aplicadas nos containers pelo Elementor) ---------- */
.attendy-shadow-soft{box-shadow:var(--att-shadow-soft)}
.attendy-shadow-medium{box-shadow:var(--att-shadow-medium)}
.attendy-shadow-deep{box-shadow:var(--att-shadow-deep)}
.attendy-shadow-floating{box-shadow:var(--att-shadow-floating)}
.attendy-shadow-image{box-shadow:var(--att-shadow-image)}
.attendy-page img.attendy-dropshadow,.attendy-dropshadow img{filter:drop-shadow(0 18px 24px rgba(11,29,51,.28))}

/* ---------- Cabeçalho ---------- */
.attendy-header{position:sticky;top:0;transition:box-shadow .4s var(--att-ease),padding .4s var(--att-ease)}
.attendy-header.is-scrolled{box-shadow:0 12px 30px -18px rgba(0,0,0,.55)}
.attendy-logo .elementor-heading-title a{color:inherit}
.attendy-navlink .elementor-button{transition:background-color .3s var(--att-ease),color .3s var(--att-ease)}

/* ---------- Botões ---------- */
.attendy-btn .elementor-button,.attendy-btn-round .elementor-button{transition:background-color .35s var(--att-ease),color .35s var(--att-ease),box-shadow .35s var(--att-ease),translate .35s var(--att-ease)}
.attendy-btn .elementor-button:hover{box-shadow:var(--att-shadow-gold)}
.attendy-btn-round .elementor-button:hover{box-shadow:0 20px 40px -18px rgba(11,29,51,.7)}
.attendy-btn .elementor-button:active,.attendy-btn-round .elementor-button:active{scale:.97}
.attendy-link-line .elementor-button{transition:letter-spacing .35s var(--att-ease),border-color .35s,color .35s}
.attendy-link-line .elementor-button:hover{letter-spacing:.2em}
.attendy-footlink .elementor-button{transition:color .3s,translate .3s var(--att-ease)}
.attendy-footlink .elementor-button:hover{translate:4px 0}

/* ---------- Profundidade ao passar o mouse (cartões, frentes, parceiros) ---------- */
.attendy-depth{position:relative;transition:box-shadow .5s var(--att-ease),scale .5s var(--att-ease)}
.attendy-depth::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--att-glow);opacity:0;transition:opacity .4s;pointer-events:none;z-index:2}
@media (hover:hover) and (pointer:fine){
	.attendy-depth:hover{scale:1.012;box-shadow:var(--att-shadow-floating)}
	.attendy-depth:hover::after{opacity:1}
	.attendy-partner:hover{scale:1.03}
}
.attendy-partner img{transition:scale .5s var(--att-ease),filter .5s}
.attendy-partner:hover img{scale:1.05}

/* ---------- Máscara de revelação de imagens (fotografias) ---------- */
.attendy-motion .attendy-mask:not(.is-revealed){clip-path:inset(10% 7% 10% 7% round 36px);opacity:.001;transition:clip-path 1.2s var(--att-ease),opacity .9s var(--att-ease)}
.attendy-motion .attendy-mask.is-inview:not(.is-revealed){clip-path:inset(0 0 0 0 round 0);opacity:1}
.attendy-mask.is-revealed{clip-path:none;opacity:1}

/* ---------- Formas orgânicas: movimento lento ---------- */
.attendy-blob{pointer-events:none}
@keyframes att-morph{0%,100%{border-radius:46% 54% 42% 58% / 52% 44% 56% 48%}50%{border-radius:58% 42% 54% 46% / 44% 58% 42% 56%}}
.attendy-motion:not(.attendy-lite) .attendy-blob{animation:att-morph 22s ease-in-out infinite}
.attendy-decor{pointer-events:none}
.attendy-decor svg{display:block;width:100%;height:auto}

/* ---------- Paralaxe: o JavaScript escreve --py / --px; o resultado usa a propriedade "translate"
   (independente de "transform", para não brigar com as animações de entrada do Elementor) ---------- */
.attendy-px-s,.attendy-px-m,.attendy-px-f,.attendy-px-r,.attendy-px-x{translate:var(--px,0) var(--py,0);will-change:translate}

/* ---------- Linha de progresso (Abordagem) ---------- */
.attendy-progress{overflow:hidden}
.attendy-progress__bar{transform-origin:0 50%}
.attendy-gsap .attendy-progress__bar{transform:scaleX(0)}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion:reduce){
	html.attendy-js{scroll-behavior:auto}
	.attendy-page *,.attendy-page *::before,.attendy-page *::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
	.attendy-px-s,.attendy-px-m,.attendy-px-f,.attendy-px-r,.attendy-px-x{translate:none}
	.attendy-mask{clip-path:none;opacity:1}
}

/* ---------- Utilitário: máscara orgânica (aplique a classe attendy-organic em um container de imagem) ---------- */
.attendy-organic{-webkit-mask:url("../svg/organic-blob.svg") center/contain no-repeat;mask:url("../svg/organic-blob.svg") center/contain no-repeat}

/* Logotipo em imagem (inc/logo.php). Altura controlada aqui; a largura acompanha a proporção. */
.attendy-logo .attendy-logo-link{display:inline-flex;align-items:center;line-height:0}
.attendy-logo .attendy-logo-img{display:block;height:var(--att-logo-h,84px);width:auto;max-width:100%;object-fit:contain}
@media (max-width:767px){.attendy-logo .attendy-logo-img{height:var(--att-logo-h-m,58px)}}

/* ==========================================================================
   Cabeçalho do tema (logo + menu do WordPress) — ativo com body.attendy-theme-header
   (opção em Aparência > Personalizar > Logotipo Attendy). O "Container - Cabeçalho" da página fica escondido.
   ========================================================================== */
.attendy-theme-header:has(#site-header) .attendy-header{display:none!important}
.attendy-theme-header #site-header{position:sticky;top:0;z-index:60;background:var(--att-mist,#F4F4EE);border:0;box-shadow:none;height:auto;transition:box-shadow .4s var(--att-ease,ease)}
.attendy-theme-header.attendy-inner #site-header{background:var(--att-navy,#0B1D33)}
.attendy-theme-header #site-header.is-scrolled{box-shadow:0 12px 30px -18px rgba(0,0,0,.55)}
.attendy-theme-header #site-header-inner{max-width:none;width:100%;padding:14px 72px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.attendy-theme-header #site-logo,.attendy-theme-header #site-logo #site-logo-inner{display:flex;align-items:center;margin:0;padding:0;height:auto;line-height:0}
.attendy-theme-header #site-logo a.custom-logo-link{display:inline-flex;align-items:center;padding:0;height:auto}
.attendy-theme-header #site-logo img.custom-logo{display:block;height:var(--att-logo-h,84px);width:auto;max-width:100%;max-height:none;object-fit:contain}
.attendy-theme-header #site-navigation-wrap .search-toggle-li,.attendy-theme-header #site-navigation-wrap li.search-toggle-li{display:none!important}
.attendy-theme-header #site-navigation-wrap{float:none;position:static;right:auto;margin:0;flex:0 1 auto}
.attendy-theme-header #site-navigation-wrap .dropdown-menu{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px;margin:0;padding:5px;list-style:none;background:#fff;border-radius:999px;box-shadow:var(--att-shadow-soft)}
.attendy-theme-header.attendy-inner #site-navigation-wrap .dropdown-menu{background:var(--att-mist,#F4F4EE)}
.attendy-theme-header #site-navigation-wrap .dropdown-menu>li{float:none;margin:0;display:block}
.attendy-theme-header #site-navigation-wrap .dropdown-menu>li>a.menu-link{display:block;padding:11px 18px;line-height:1.2;height:auto;font-family:Montserrat,system-ui,sans-serif;font-size:13px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--att-navy,#0B1D33);background:transparent;border-radius:999px;transition:background-color .3s var(--att-ease,ease),color .3s var(--att-ease,ease)}
.attendy-theme-header #site-navigation-wrap .dropdown-menu>li>a.menu-link:hover{background:rgba(11,29,51,.09);color:var(--att-navy,#0B1D33)}
.attendy-theme-header #site-navigation-wrap .dropdown-menu>li.current-menu-item>a.menu-link,
.attendy-theme-header #site-navigation-wrap .dropdown-menu>li.current-menu-ancestor>a.menu-link,
.attendy-theme-header #site-navigation-wrap .dropdown-menu>li.current_page_item>a.menu-link{background:var(--att-navy,#0B1D33);color:#fff}
.attendy-theme-header.attendy-inner #site-navigation-wrap .dropdown-menu>li.current-menu-item>a.menu-link{background:var(--att-navy,#0B1D33);color:#fff}
.attendy-theme-header #site-navigation-wrap .dropdown-menu>li>a.menu-link:after,.attendy-theme-header #site-navigation-wrap .dropdown-menu>li>a.menu-link span.nav-arrow{display:none}
.attendy-theme-header #top-bar-wrap,.attendy-theme-header .page-header,.attendy-theme-header #footer-widgets,.attendy-theme-header #footer-bottom,.attendy-theme-header #footer-outer,.attendy-theme-header #scroll-top{display:none!important}
.attendy-theme-header #main #content-wrap{padding:0;max-width:none;width:100%}
.attendy-theme-header #main,.attendy-theme-header #wrap{background:transparent}

/* Celular e tablet (ponto de quebra do OceanWP: 959px) — botão de menu do tema */
@media (max-width:959px){
	.attendy-theme-header #site-header-inner{padding:16px 20px;flex-wrap:nowrap}
	.attendy-theme-header #site-logo img.custom-logo{height:var(--att-logo-h-m,58px)}
	.attendy-theme-header .oceanwp-mobile-menu-icon{position:static;display:block;float:none;margin:0 0 0 auto;right:auto}
	.attendy-theme-header .oceanwp-mobile-menu-icon button.mobile-menu{color:var(--att-navy,#0B1D33);background:transparent;border:0;padding:8px 4px;line-height:1;font-family:Montserrat,system-ui,sans-serif;font-size:13px;font-weight:500;cursor:pointer}
	.attendy-theme-header.attendy-inner .oceanwp-mobile-menu-icon button.mobile-menu{color:#fff}
	.attendy-theme-header #mobile-dropdown{position:absolute;left:0;right:0;top:100%;max-height:none;background:#fff;box-shadow:0 24px 40px -20px rgba(11,29,51,.45);border-top:1px solid rgba(11,29,51,.08)}
	.attendy-theme-header #mobile-dropdown ul li a{font-family:Montserrat,system-ui,sans-serif;font-size:15px;font-weight:500;color:var(--att-navy,#0B1D33);padding:14px 24px;border-bottom:1px solid rgba(11,29,51,.07)}
	.attendy-theme-header #mobile-dropdown ul li.current-menu-item>a{background:var(--att-mist,#F4F4EE);font-weight:600}
}
.attendy-theme-header #mobile-menu-search{display:none!important}
