.cabecalho-padrao {
  display: contents;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  --navy: #07185a;
  --azul: #233785;
  --linha: #e3e8f2;
  --fundo: #f5f6fb;
  --amarelo: #f2cb07;
  --gutter: clamp(16px, 4vw, 32px);
}
.cabecalho-padrao *, .cabecalho-padrao *::before, .cabecalho-padrao *::after { box-sizing: border-box; }
.cabecalho-padrao .wrap { width: 100%; max-width: calc(1180px + 2 * var(--gutter)); padding: 0 var(--gutter); margin: 0 auto; }
.cabecalho-padrao a { text-decoration: none; font-family: inherit; }
.cabecalho-padrao svg { display: block; }
.cabecalho-padrao .barra-contato { background: #21466e; color: #fff; font-size: 11.52px; line-height: 1.5; }
.cabecalho-padrao .barra-contato .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: nowrap; padding-top: 9px; padding-bottom: 9px; }
.cabecalho-padrao .barra-contato nav { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: inherit; }
.cabecalho-padrao .barra-contato nav > span { margin-right: 4px; }
.cabecalho-padrao .barra-contato nav a { width: 22px; height: 22px; flex: 0 0 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: 0; border: 0; border-radius: 50%; background: #fff; color: #21466e; line-height: 1; }
.cabecalho-padrao .barra-contato nav a svg { width: 13px; height: 13px; flex-shrink: 0; }
.cabecalho-padrao .barra-contato a { color: #fff; font-size: inherit; }
.cabecalho-padrao .barra-contato nav a:hover { background: #f5d900; }
.cabecalho-padrao .barra-informacoes { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.cabecalho-padrao .barra-informacoes > a, .cabecalho-padrao .barra-informacoes > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.cabecalho-padrao .barra-informacoes svg { width: 14px; height: 14px; flex-shrink: 0; }
.cabecalho-padrao .topo { display: block; position: sticky; inset: 0 auto auto; width: 100%; height: auto; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); margin: 0; padding: 0; }
.cabecalho-padrao .topo > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.cabecalho-padrao .topo .logo { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; height: auto; width: auto; padding: 0; margin: 0; position: static; float: none; }
.cabecalho-padrao .topo .logo img { display: block; position: static; inset: auto; transform: none; height: 40px; width: auto; max-width: none; max-height: none; margin: 0; }
.cabecalho-padrao .topo .menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; font-size: 14.72px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.cabecalho-padrao .topo .menu a { color: var(--navy); font-size: inherit; font-weight: inherit; text-transform: none; }
.cabecalho-padrao .topo .menu > a, .cabecalho-padrao .topo .menu .tem-sub > a { border: 0; border-radius: 0; background: transparent; padding: 0; }
.cabecalho-padrao .menu-acoes { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.cabecalho-padrao .topo .btn-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 2px solid var(--azul); border-radius: 999px; background: #fff; color: var(--azul); font-size: 14.08px; font-weight: 700; white-space: nowrap; }
.cabecalho-padrao .topo .btn-zap { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: 999px; background: var(--azul); color: #fff; font-size: 14.08px; font-weight: 700; }
.cabecalho-padrao .topo .btn-zap svg { width: 18px; height: 18px; }
.cabecalho-padrao .tem-sub { position: relative; display: inline-flex; align-items: center; }
.cabecalho-padrao .tem-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.cabecalho-padrao .tem-sub > a svg { width: 14px; height: 14px; }
.cabecalho-padrao .menu .submenu { display: grid; gap: 2px; position: absolute; top: 100%; left: -18px; min-width: 300px; padding: 10px; margin-top: 10px; border: 1px solid var(--linha); border-top: 3px solid var(--amarelo); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(7,24,90,.16); opacity: 0; visibility: hidden; z-index: 60; }
.cabecalho-padrao .submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.cabecalho-padrao .tem-sub:hover .submenu, .cabecalho-padrao .tem-sub:focus-within .submenu { opacity: 1; visibility: visible; }
.cabecalho-padrao .topo .menu .submenu a { display: block; padding: 10px 12px; min-height: 0; border-radius: 10px; border: 0; line-height: 1.3; background: #fff; }
.cabecalho-padrao .submenu strong { display: block; font-size: 15.2px; }
.cabecalho-padrao .submenu span { display: block; font-size: 12.8px; font-weight: 500; color: #5b6478; margin-top: 2px; }
.cabecalho-padrao .topo .menu a:hover { color: var(--azul); }
.cabecalho-padrao .topo .menu .submenu a:hover { background: var(--fundo); }
.cabecalho-padrao .topo .menu > a[aria-current='page'], .cabecalho-padrao .tem-sub:has(a[aria-current='page']) > a { box-shadow: 0 2px 0 var(--amarelo); }
.cabecalho-padrao a:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
@media(max-width:1100px) {
  .cabecalho-padrao .barra-contato .wrap, .cabecalho-padrao .barra-informacoes { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .cabecalho-padrao .topo > .wrap { gap: 14px; }
  .cabecalho-padrao .topo .menu { gap: 14px; }
}

.cabecalho-padrao .menu-toggle { display:none; }
@media (min-width:761px) and (max-width:980px) {
  .cabecalho-padrao .topo > .wrap { flex-wrap:nowrap; gap:12px; height:72px; padding-top:0; }
  .cabecalho-padrao .topo .logo img { height:32px; }
  .cabecalho-padrao .topo .menu { order:0; width:auto; margin:0; padding:0; overflow:visible; gap:16px; }
  .cabecalho-padrao .topo .menu > a, .cabecalho-padrao .topo .menu .tem-sub > a { min-height:0; padding:0; border:0; border-radius:0; background:transparent; font-size:13px; white-space:nowrap; }
  .cabecalho-padrao .topo .menu-acoes { position:static; gap:8px; }
  .cabecalho-padrao .topo .btn-login { padding:0 14px; font-size:12px; }
  .cabecalho-padrao .topo .btn-zap { padding:11px; }
  .cabecalho-padrao .topo .btn-zap span { display:none; }
}
@media (max-width:760px) {
  .cabecalho-padrao .topo > .wrap { position:relative; flex-wrap:nowrap; height:72px; min-height:72px; padding-top:0; padding-bottom:0; gap:12px; }
  .cabecalho-padrao .topo .logo img { height:30px; }
  .cabecalho-padrao .topo .menu-acoes { position:static; gap:8px; margin-left:auto; }
  .cabecalho-padrao .topo .btn-login { padding:0 12px; font-size:12px; min-height:42px; }
  .cabecalho-padrao .topo .btn-zap { padding:12px; min-height:42px; }
  .cabecalho-padrao .topo .btn-zap span { display:none; }
  .cabecalho-padrao .menu-toggle { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; padding:9px; border:1px solid var(--linha); border-radius:10px; background:#fff; color:var(--navy); cursor:pointer; flex-shrink:0; }
  .cabecalho-padrao .menu-toggle svg { width:22px; height:22px; }
  .cabecalho-padrao .topo .menu { display:none !important; position:absolute; left:0; right:0; top:100%; order:0; width:auto; margin:0; padding:12px var(--gutter); overflow:visible; background:#fff; border-bottom:1px solid var(--linha); box-shadow:0 12px 20px rgba(7,24,90,.08); }
  .cabecalho-padrao .topo .menu.is-open { display:grid !important; gap:2px; }
  .cabecalho-padrao .topo .menu > a, .cabecalho-padrao .topo .tem-sub > a { display:flex !important; align-items:center; width:100%; min-height:44px; padding:10px 12px; border:0; border-radius:0; background:transparent; font-size:14px; color:var(--navy); box-shadow:none; }
  .cabecalho-padrao .topo .menu > a[aria-current='page'], .cabecalho-padrao .tem-sub:has(a[aria-current='page']) > a { background:var(--fundo); color:var(--azul); box-shadow:inset 3px 0 var(--amarelo); }
  .cabecalho-padrao .topo .tem-sub { display:block; width:100%; }
  .cabecalho-padrao .topo .menu .submenu, .cabecalho-padrao .tem-sub > a svg { display:none !important; }
}
@media(max-width:600px) {
  .cabecalho-padrao .barra-contato .wrap { padding-top:10px; padding-bottom:10px; }
  .cabecalho-padrao .barra-informacoes { width:100%; font-size:10.4px; gap:8px; }
  .cabecalho-padrao .barra-informacoes .barra-endereco, .cabecalho-padrao .barra-informacoes .barra-horario { width:100%; justify-content:center; white-space:normal; }
}
@media(max-width:360px) {
  .cabecalho-padrao .topo .logo img { height:25px; }
  .cabecalho-padrao .topo .menu-acoes { gap:5px; }
  .cabecalho-padrao .topo .btn-login { padding:0 8px; font-size:11px; }
}

@media (min-width: 761px) {
  .cabecalho-padrao .topo .menu > a,
  .cabecalho-padrao .topo .menu .tem-sub > a {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    white-space: nowrap;
  }
  .cabecalho-padrao .topo .menu > a[aria-current="page"],
  .cabecalho-padrao .topo .menu .tem-sub:has(a[aria-current="page"]) > a {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--navy);
    box-shadow: 0 2px 0 var(--amarelo);
  }
}
/* A EDUCAR mantém a mesma apresentação dos demais links do menu. */
.cabecalho-padrao .topo .menu > a[href="/escola.html"],
.cabecalho-padrao .topo .menu > a[href="/escola.html"][aria-current="page"] {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  box-shadow: none;
}

@media (min-width: 761px) {
  .cabecalho-padrao .topo .menu > a:not(.btn-zap):not(.btn-login),
  .cabecalho-padrao .topo .menu .tem-sub > a:not(.btn-zap):not(.btn-login) {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--navy);
    box-shadow: none;
    font-size: inherit;
    white-space: nowrap;
  }
}


@media (max-width: 760px) {
  .cabecalho-padrao .topo .menu.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter);
    background: #fff;
  }
  .cabecalho-padrao .topo .menu > a:not(.btn-zap):not(.btn-login),
  .cabecalho-padrao .topo .menu .tem-sub > a:not(.btn-zap):not(.btn-login),
  .cabecalho-padrao .topo .menu > a[href="/escola.html"][aria-current="page"] {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
  }
  .cabecalho-padrao .topo .menu .tem-sub {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .cabecalho-padrao .topo .menu > a:hover,
  .cabecalho-padrao .topo .menu .tem-sub > a:hover {
    color: var(--azul);
  }
}
