/* ---------- CORES E FONTES (mude aqui) ---------- */
.mph{
  --azul-escuro:#0E3B6C;
  --azul-noite:#0A2647;
  --amarelo:#FFCC00;
  --laranja:#F26A1B;
  --azul-royal:#1F4FD1;
  --creme:#FFF8E9;
  --texto:#1D2433;
  --branco:#FFFFFF;
  --verde-whats:#25D366;
  --fonte-titulo:'Aleo',Georgia,serif;
  --fonte-texto:'Figtree','Segoe UI',Arial,sans-serif;
}

/* ---------- BASE ---------- */
.mph,.mph *{box-sizing:border-box;margin:0;padding:0}
.mph{position:fixed;top:0;left:0;right:0;z-index:9990;font-family:var(--fonte-texto);color:var(--texto)}
.admin-bar .mph{top:32px}
.mph a{text-decoration:none}
.mph ul{list-style:none}
.mph svg{display:block;flex-shrink:0}
.mph-container{max-width:1280px;margin:0 auto;padding:0 24px}

/* Zera o espaçamento do container do Elementor no template */
.elementor-location-header .elementor-widget-html,
.elementor-location-header .e-con,
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-column-wrap,
.elementor-location-header .elementor-widget-wrap{padding:0!important;margin:0!important}

/* ---------- ESPAÇO RESERVADO (altura EXATA do cabeçalho) ---------- */
.mph-espaco{height:178px}

/* ---------- 1. FAIXA DE FRETE (texto correndo) ---------- */
.mph-faixa{height:36px;background:var(--laranja);color:var(--branco);overflow:hidden;display:flex;align-items:center}
.mph-faixa-trilho{display:flex;width:max-content;animation:mph-correr 75s linear infinite}
.mph-faixa-trilho span{display:inline-flex;align-items:center;gap:10px;padding:0 34px;font-size:14px;font-weight:700;letter-spacing:.3px;white-space:nowrap}
.mph-faixa-trilho span::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--amarelo)}
@keyframes mph-correr{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- 2. LINHA PRINCIPAL (logo, busca, WhatsApp) ---------- */
.mph-principal{height:88px;background:var(--branco)}
.mph-principal .mph-container{height:100%;display:flex;align-items:center;gap:32px}
.mph-logo img{display:block;height:58px;width:auto}

.mph-busca{flex:1;max-width:560px;display:flex;align-items:center;height:48px;background:var(--creme);border:2px solid #EFE3C4;border-radius:999px;overflow:hidden}
.mph-busca input{flex:1;height:100%;border:0;background:transparent;padding:0 22px;font-family:var(--fonte-texto);font-size:15px;color:var(--texto);outline:none}
.mph-busca input::placeholder{color:#7A7F8C}
.mph-busca button{width:48px;height:44px;margin-right:2px;border:0;border-radius:999px;background:var(--azul-escuro);color:var(--branco);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.mph-busca button:hover{background:var(--laranja)}

.mph-acoes{margin-left:auto;display:flex;align-items:center;gap:22px}
.mph-telefone{display:flex;align-items:center;gap:10px;color:var(--azul-escuro)!important;transition:color .2s}
.mph-telefone small{display:block;font-size:12px;color:#6B7280}
.mph-telefone strong{display:block;font-size:16px;font-weight:700}
.mph-telefone:hover{color:var(--laranja)!important}
.mph-botao-whats{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 22px;border-radius:999px;background:var(--verde-whats);color:var(--branco)!important;font-weight:700;font-size:15px;transition:transform .2s}
.mph-botao-whats:hover{transform:translateY(-2px)}

/* ---------- 3. MENU (barra azul + mega menu) ---------- */
.mph-menu{height:54px;background:var(--azul-escuro);position:relative}
.mph-menu > .mph-container{height:100%}
.mph-menu-lista{height:100%;display:flex;align-items:center;justify-content:space-between}
.mph-item{height:100%;display:flex;align-items:center}
.mph-item > a{height:100%;display:flex;align-items:center;gap:9px;padding:0 14px;color:var(--branco)!important;font-size:15px;font-weight:600;position:relative;transition:color .2s}
.mph-item > a::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--amarelo);opacity:0;transition:opacity .2s}
.mph-item > a svg{color:var(--amarelo)}
.mph-item:hover > a,.mph-item:focus-within > a{color:var(--amarelo)!important}
.mph-item:hover > a::after,.mph-item:focus-within > a::after{opacity:1}
.mph-item-todas > a{background:var(--azul-noite);padding:0 20px}

/* Painel do mega menu */
.mph-painel{position:absolute;left:24px;right:24px;top:100%;max-width:1232px;margin:0 auto;background:var(--branco);border-radius:0 0 22px 22px;box-shadow:0 24px 50px rgba(10,38,71,.22);display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:26px 30px 30px;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.mph-item:hover .mph-painel,.mph-item:focus-within .mph-painel{opacity:1;visibility:visible;transform:translateY(0)}
.mph-painel-titulo{font-family:var(--fonte-titulo);font-size:20px;font-weight:700;color:var(--azul-escuro);margin-bottom:10px}
.mph-painel-lista li a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px 11px 16px;border-bottom:1px solid #EEF0F4;color:var(--texto)!important;font-size:15px;position:relative;transition:color .2s}
.mph-painel-lista li a::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:4px;border-radius:4px;background:var(--laranja);opacity:0;transition:opacity .2s}
.mph-painel-lista li a svg{color:#B6BCC8;transition:color .2s}
.mph-painel-lista li a:hover{color:var(--laranja)!important}
.mph-painel-lista li a:hover::before{opacity:1}
.mph-painel-lista li a:hover svg{color:var(--laranja)}
.mph-painel-ver{display:inline-flex;align-items:center;gap:8px;margin-top:16px;color:var(--azul-royal)!important;font-weight:700;font-size:15px;transition:color .2s}
.mph-painel-ver:hover{color:var(--laranja)!important}
.mph-painel-foto{border-radius:18px;display:flex;align-items:center;justify-content:center;padding:20px;min-height:300px}
.mph-painel-foto img{max-width:100%;max-height:300px;width:auto;height:auto;filter:drop-shadow(0 18px 18px rgba(0,0,0,.18))}
.mph-fundo-creme{background:var(--creme)}
.mph-fundo-amarelo{background:#FFF1B8}
.mph-fundo-laranja{background:#FFE3D2}
.mph-fundo-azul{background:#E4ECFF}

/* ---------- 4. CELULAR (menu com checkbox) ---------- */
.mph-check{display:none}
.mph-abrir{display:none}
.mph-gaveta{display:none}

@media (max-width:1180px){
  .mph-item > a{padding:0 9px;font-size:14px}
  .mph-telefone{display:none}
}
@media (max-width:1023px){
  .mph-espaco{height:102px}
  .mph-faixa{height:32px}
  .mph-faixa-trilho span{font-size:13px}
  .mph-principal{height:70px;box-shadow:0 6px 20px rgba(10,38,71,.10)}
  .mph-principal .mph-container{gap:12px;padding:0 16px}
  .mph-logo img{height:44px}
  .mph-busca,.mph-menu{display:none}
  .mph-botao-whats{height:44px;width:44px;padding:0;justify-content:center}
  .mph-botao-whats span{display:none}
  .mph-acoes{gap:10px}
  .mph-abrir{display:flex;width:44px;height:44px;border-radius:12px;background:var(--azul-escuro);color:var(--branco);align-items:center;justify-content:center;cursor:pointer}
  .mph-gaveta{display:block;position:fixed;top:102px;left:0;right:0;bottom:0;background:var(--branco);overflow-y:auto;padding:18px 16px 40px;transform:translateX(100%);transition:transform .3s}
  .admin-bar .mph-gaveta{top:134px}
  .mph-check:checked ~ .mph-gaveta{transform:translateX(0)}
  .mph-gaveta .mph-busca{display:flex;max-width:none;margin-bottom:16px}
  .mph-gaveta details{border-bottom:1px solid #EEF0F4}
  .mph-gaveta summary{list-style:none;display:flex;align-items:center;gap:12px;padding:15px 4px;font-size:17px;font-weight:700;color:var(--azul-escuro);cursor:pointer}
  .mph-gaveta summary::-webkit-details-marker{display:none}
  .mph-gaveta summary svg{color:var(--laranja)}
  .mph-gaveta summary::after{content:"+";margin-left:auto;font-size:24px;font-weight:400;color:var(--laranja)}
  .mph-gaveta details[open] summary::after{content:"\2013"}
  .mph-gaveta details ul{padding:0 4px 14px 36px}
  .mph-gaveta details li a{display:block;padding:8px 0;font-size:15px;color:var(--texto)!important}
  .mph-gaveta .mph-link-simples{display:flex;align-items:center;gap:12px;padding:15px 4px;border-bottom:1px solid #EEF0F4;font-size:17px;font-weight:700;color:var(--azul-escuro)!important}
  .mph-gaveta .mph-link-simples svg{color:var(--laranja)}
  .mph-gaveta .mph-botao-whats{width:100%;height:52px;margin-top:22px;justify-content:center}
  .mph-gaveta .mph-botao-whats span{display:inline}
}
@media (max-width:782px){
  .admin-bar .mph{top:46px}
  .admin-bar .mph-gaveta{top:148px}
}
@media (prefers-reduced-motion:reduce){
  .mph-faixa-trilho{animation:none}
}