/* ==========================================================================
   ECKM — European Consulting on Knowledge and Management
   Folha de estilos principal
   ========================================================================== */

@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/mulish-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta (mantida do website original) */
  --blue: #2e75b6;
  --blue-600: #24639e;
  --blue-700: #1c5185;
  --blue-50: #eef4fa;
  --blue-100: #dce9f5;
  --navy: #0f2d4e;
  --navy-900: #0a1f37;
  --text: #46586b;
  --muted: #6b7e93;
  --heading: #1f3550;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #dde6ef;
  --footer: #33373b;
  --footer-2: #2a2d31;
  --success: #1f7a4d;
  --error: #b42318;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 45, 78, .06), 0 2px 8px rgba(15, 45, 78, .05);
  --shadow: 0 10px 30px -12px rgba(15, 45, 78, .22);
  --shadow-lg: 0 24px 60px -20px rgba(15, 45, 78, .35);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid rgba(46, 117, 182, .55); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: .95rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; text-align: center; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(46, 117, 182, .8); }
.btn-primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); color: var(--navy); transform: translateY(-1px); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .4em; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid,
.site-header.is-open { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgba(15, 45, 78, .25); backdrop-filter: saturate(160%) blur(8px); }
.site-header.is-solid { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand svg { width: 52px; height: 52px; flex: none; transition: width .3s, height .3s; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; letter-spacing: .04em; }
.brand-text small { font-size: .7rem; font-weight: 600; opacity: .85; letter-spacing: .02em; }
.site-header.is-solid .brand,
.site-header.is-open .brand { color: var(--blue); }
.site-header.is-solid .brand svg { width: 44px; height: 44px; }
.site-header.is-solid .brand-text small,
.site-header.is-open .brand-text small { color: var(--muted); opacity: 1; }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 8px 14px; border-radius: 8px; color: #fff;
  font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; position: relative;
}
.nav-list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-solid .nav-list a,
.site-header.is-open .nav-list a { color: var(--heading); }
.site-header.is-solid .nav-list a[aria-current="page"],
.site-header.is-solid .nav-list a:hover { color: var(--blue); }
.nav-list .nav-cta a { background: var(--blue); color: #fff !important; padding: 9px 18px; border-radius: 999px; margin-left: 8px; }
.nav-list .nav-cta a::after { display: none; }
.nav-list .nav-cta a:hover { background: var(--blue-700); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .14);
  color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.site-header.is-solid .nav-toggle,
.site-header.is-open .nav-toggle { color: var(--navy); background: var(--blue-50); }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff;
    padding: 16px 16px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .site-header.is-solid .site-nav { top: 66px; }
  .site-header.is-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { color: var(--heading) !important; font-size: 1.05rem; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--blue) !important; }
  .nav-list .nav-cta a { margin: 18px 0 0; text-align: center; border-radius: 999px; border: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10, 31, 55, .92) 0%, rgba(15, 45, 78, .78) 45%, rgba(46, 117, 182, .35) 100%);
}
.hero-home { min-height: min(92vh, 820px); display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 110px; }
.hero-page { padding: calc(var(--header-h) + 70px) 0 80px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero-page h1 { max-width: none; margin-bottom: .3em; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 60ch; color: rgba(255, 255, 255, .9); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #9cc6ee; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .75); }
.breadcrumb a { color: rgba(255, 255, 255, .9); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 8px; }

.hero .hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .2); max-width: 720px; }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .92); }
.hero-trust svg { width: 20px; height: 20px; color: #9cc6ee; flex: none; }

/* ---------- Secções ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.lead-text { font-size: 1.2rem; line-height: 1.65; color: var(--heading); font-weight: 500; }
.lead-text strong { color: var(--blue); }
.list-reset { list-style: none; margin: 0; padding: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2 { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Estatísticas sobrepostas ao hero */
.stats-bar { position: relative; z-index: 2; margin-top: -64px; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--blue); font-weight: 800; line-height: 1.1; }
.stat span { font-size: .95rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 420px) { .stat { padding: 22px 18px; } }

/* Imagem com moldura */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--blue-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255, 255, 255, .96); border-radius: 12px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); max-width: calc(100% - 40px);
}
.media-badge svg { width: 34px; height: 34px; color: var(--blue); flex: none; }
.media-badge strong { display: block; color: var(--heading); font-size: .98rem; line-height: 1.3; }
.media-badge span { font-size: .85rem; color: var(--muted); }

/* Lista de verificação */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e75b6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list li strong { color: var(--heading); }

/* Cartões */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.icon-box {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); color: #fff; box-shadow: 0 10px 20px -10px rgba(46, 117, 182, .9);
}
.icon-box svg { width: 28px; height: 28px; }

.service-card { padding: 44px 40px; }
.service-card h3 { font-size: 1.6rem; }
.service-card .check-list { margin-top: 6px; }
@media (max-width: 600px) { .service-card { padding: 32px 24px; } }

/* Valores / pilares */
.pillar { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.pillar h3 { font-size: 1.1rem; margin-bottom: .4em; }
.pillar p { margin: 0; font-size: .98rem; color: var(--muted); }
.pillar .num { font-size: .85rem; font-weight: 800; color: var(--blue); letter-spacing: .1em; display: block; margin-bottom: 12px; }

/* Setores de atividade */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sector {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; font-weight: 600; color: var(--heading); font-size: .97rem; line-height: 1.35;
  transition: border-color .2s, box-shadow .2s;
}
.sector:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.sector svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .sectors { grid-template-columns: 1fr; } }

/* Testemunhos */
.testimonials { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.testimonial-track { display: grid; }
.testimonial { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease), visibility .5s; }
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial blockquote { margin: 0 0 28px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.6; color: var(--heading); font-weight: 500; }
.testimonial .quote-mark { width: 46px; height: 46px; color: var(--blue); opacity: .25; margin: 0 auto 18px; }
.testimonial cite { font-style: normal; display: block; }
.testimonial cite strong { display: block; color: var(--heading); font-size: 1.05rem; }
.testimonial cite span { color: var(--muted); font-size: .95rem; }
.testimonial-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 34px; }
.testimonial-dots { display: flex; gap: 10px; }
.testimonial-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue); background: transparent; padding: 0; cursor: pointer; transition: background-color .2s, transform .2s; }
.testimonial-dots button[aria-selected="true"] { background: var(--blue); transform: scale(1.15); }
.testimonial-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--heading); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.testimonial-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.testimonial-arrow svg { width: 18px; height: 18px; }

/* Faixa CTA */
.cta-band { position: relative; isolation: isolate; color: #fff; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); background: var(--navy); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(10, 31, 55, .95) 0%, rgba(28, 81, 133, .86) 60%, rgba(46, 117, 182, .7) 100%); }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 58ch; font-size: 1.1rem; }
.cta-band .hero-actions { margin-top: 24px; }

/* ---------- Formação ---------- */
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .download-grid { grid-template-columns: 1fr; } }
.download-card {
  display: flex; gap: 22px; align-items: flex-start; padding: 30px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.download-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.download-card .file-icon { width: 64px; height: 76px; flex: none; color: var(--blue); }
.download-card h3 { margin-bottom: .3em; }
.download-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1em; }
.download-card .meta { font-size: .82rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.download-card.featured { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); border-color: transparent; color: #fff; }
.download-card.featured h3, .download-card.featured .file-icon { color: #fff; }
.download-card.featured p, .download-card.featured .meta { color: rgba(255, 255, 255, .85); }
@media (max-width: 480px) { .download-card { flex-direction: column; padding: 26px 22px; } .download-card .file-icon { width: 48px; height: 58px; } }

.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.search-field { position: relative; flex: 1 1 320px; max-width: 460px; }
.search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 1rem; color: var(--heading); background: #fff; }
.search-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 117, 182, .15); }
.catalog-count { font-size: .92rem; color: var(--muted); font-weight: 600; }

.accordion { display: grid; gap: 14px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.accordion details[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  font-weight: 700; color: var(--heading); font-size: 1.08rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .acc-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.accordion summary .acc-icon svg { width: 22px; height: 22px; }
.accordion summary .acc-count { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.accordion summary .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); flex: none; }
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion summary:hover { color: var(--blue); }
.course-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.course-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 24px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.course-table th:last-child, .course-table td:last-child { text-align: right; white-space: nowrap; }
.course-table td { padding: 13px 24px; border-top: 1px solid var(--line); color: var(--heading); }
.course-table tr:hover td { background: #fafcfe; }
.course-table td:last-child { color: var(--blue); font-weight: 700; }
.course-table tr[hidden] { display: none; }
.no-results { display: none; padding: 26px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
.no-results.is-visible { display: block; }
@media (max-width: 540px) {
  .accordion summary { padding: 16px; gap: 12px; font-size: 1rem; }
  .accordion summary .acc-icon { width: 34px; height: 34px; }
  .course-table th, .course-table td { padding: 12px 16px; }
}

.format-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .format-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .format-list { grid-template-columns: 1fr; } }

/* Passos / metodologia */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue);
  font-weight: 800; display: grid; place-items: center; font-size: .95rem;
}
.step::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: var(--blue-100); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .97rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Consultoria (separadores) ---------- */
.tabs { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 96px; }
.tab-list button {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--heading); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.tab-list button svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.tab-list button:hover { border-color: var(--blue-100); background: var(--blue-50); }
.tab-list button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(46, 117, 182, .9); }
.tab-list button[aria-selected="true"] svg { color: #fff; }
.tab-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }
.tab-panel > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tab-panel .intro { font-size: 1.08rem; color: var(--text); }
.domain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.domain { background: var(--bg-soft); border-radius: 14px; padding: 26px; border: 1px solid transparent; }
.domain h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.domain h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); transform: rotate(45deg); flex: none; }
.domain ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.domain li { position: relative; padding-left: 20px; font-size: .96rem; line-height: 1.55; }
.domain li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; background: var(--blue); }
.domain.full { grid-column: 1 / -1; }
.tab-panel .panel-cta { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.tab-panel .panel-cta p { margin: 0; font-weight: 600; color: var(--heading); }
@media (max-width: 980px) {
  .tabs { grid-template-columns: 1fr; gap: 20px; }
  .tab-list { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .tab-list button { flex: none; width: auto; white-space: nowrap; scroll-snap-align: start; padding: 12px 16px; }
  .domain-grid { grid-template-columns: 1fr; }
}
/* Sem JavaScript: mostrar todos os painéis */
.no-js .tab-list { display: none; }
.no-js .tab-panel[hidden] { display: block; }
.no-js .tabs { grid-template-columns: 1fr; }
.no-js .tab-panel + .tab-panel { margin-top: 24px; }

/* ---------- Equipa ---------- */
.team-grid { display: grid; gap: 32px; }
.member {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.member::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-700)); }
.member-photo { text-align: center; }
.member-photo .avatar { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 6px solid var(--blue-50); box-shadow: var(--shadow); background: var(--blue-100); }
.member-photo .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.member-links { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.member-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; }
.member-links svg { width: 18px; height: 18px; }
.member h2 { font-size: 1.8rem; margin-bottom: .1em; }
.member .role { color: var(--blue); font-weight: 700; font-size: 1rem; letter-spacing: .02em; margin-bottom: 18px; display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.tags li { background: var(--blue-50); color: var(--blue-700); font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; }
.member-more { overflow: hidden; }
.member-more[hidden] { display: none; }
.toggle-bio { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.toggle-bio svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.toggle-bio[aria-expanded="true"] svg { transform: rotate(180deg); }
.toggle-bio:hover { color: var(--blue-700); }
.credentials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 6px 0 20px; padding: 0; list-style: none; }
.credentials li { position: relative; padding-left: 26px; font-size: .95rem; }
.credentials li svg { position: absolute; left: 0; top: .28em; width: 17px; height: 17px; color: var(--blue); }
@media (max-width: 860px) {
  .member { grid-template-columns: 1fr; gap: 26px; padding: 32px 24px; }
  .member-photo .avatar { width: 170px; height: 170px; }
  .member-links { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 18px; }
  .member-body { text-align: left; }
  .credentials { grid-template-columns: 1fr; }
}

/* ---------- Contactos / formulário ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-item .icon-box { width: 48px; height: 48px; margin: 0; border-radius: 12px; flex: none; }
.contact-item .icon-box svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin-bottom: .2em; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; color: var(--text); font-size: .98rem; }
.contact-item a { font-weight: 700; }

.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: background-color .2s, color .2s, transform .2s; }
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.7rem; margin-bottom: .3em; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 26px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 700; color: var(--heading); margin-bottom: 7px; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--heading); background: #fbfcfe; border: 1px solid #cfdbe7;
  border-radius: 10px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7e93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(46, 117, 182, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field .error-msg { display: none; color: var(--error); font-size: .85rem; margin-top: 6px; font-weight: 600; }
.field.has-error .error-msg { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.field.has-error .checkbox { color: var(--error); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }
.form-actions small { color: var(--muted); }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-weight: 600; align-items: flex-start; gap: 12px; }
.form-status svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.form-status.is-success { display: flex; background: #e9f6ef; color: var(--success); border: 1px solid #bfe3cf; }
.form-status.is-error { display: flex; background: #fdeceb; color: var(--error); border: 1px solid #f5c6c2; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.map-wrap { margin-top: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--blue-50); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; height: 380px; padding: 24px; }
.map-placeholder svg { width: 48px; height: 48px; color: var(--blue); }
.map-placeholder p { margin: 0; max-width: 46ch; color: var(--text); }

/* Página legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal ul { margin: 0 0 1.1em; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .72); font-size: .96rem; }
.footer-main { padding-block: 70px 50px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; padding-block: 54px 36px; } }
.site-footer h2 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 18px; }
.footer-brand svg { width: 50px; height: 50px; color: #fff; }
.footer-brand strong { font-size: 1.15rem; letter-spacing: .04em; display: block; line-height: 1.1; }
.footer-brand small { font-size: .74rem; color: rgba(255, 255, 255, .7); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #8fbde8; }
.site-footer .social a { background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer .social a:hover { background: var(--blue); }
.livro-rec { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; font-size: .85rem; font-weight: 700; }
.footer-bottom { background: var(--footer-2); padding: 20px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }

/* Botão voltar ao topo */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background-color .2s; z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-700); }
.to-top svg { width: 20px; height: 20px; }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Impressão */
@media print {
  .site-header, .to-top, .nav-toggle, .hero-media, .cta-band > img { display: none !important; }
  .hero { color: #000; background: none; padding: 20px 0; }
  .hero::before { display: none; }
  .hero h1, .hero .lead { color: #000; }
}

/* Ajustes */
.livro-rec svg { width: 18px; height: 18px; flex: none; }
.field label.checkbox { display: flex; font-weight: 500; font-size: .9rem; color: var(--muted); margin: 0; }
.field.has-error label.checkbox { color: var(--error); }

/* Seletor de idioma */
.nav-list .nav-lang { display: flex; align-items: center; gap: 2px; margin-left: 10px; font-size: .85rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.nav-list .nav-lang a { padding: 6px 7px; font-size: .85rem; letter-spacing: .04em; opacity: .75; }
.nav-list .nav-lang a::after { display: none; }
.nav-list .nav-lang a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.nav-list .nav-lang a:hover { opacity: 1; }
.site-header.is-solid .nav-lang, .site-header.is-open .nav-lang { color: var(--muted); }
@media (max-width: 960px) {
  .nav-list .nav-lang { margin: 18px 0 0; justify-content: center; gap: 8px; font-size: 1rem; }
  .nav-list .nav-lang a { border-bottom: 0; padding: 10px 16px; font-size: 1rem; }
}

/* Menu móvel: o efeito de desfoque do cabeçalho não pode estar ativo com o menu aberto
   (faria o painel ficar limitado à altura do cabeçalho) */
@media (max-width: 960px) {
  .site-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}
